This file is indexed.

/usr/share/gocode/src/github.com/google/cups-connector/cdd/cjt.go is in google-cloud-print-connector 0.0~git20151105.24.1902938-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
/*
Copyright 2015 Google Inc. All rights reserved.

Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd
*/

package cdd

type CloudJobTicket struct {
	Version string             `json:"version"`
	Print   PrintTicketSection `json:"print"`
}

type PrintTicketSection struct {
	VendorTicketItem []VendorTicketItem         `json:"vendor_ticket_item,omitempty"`
	Color            *ColorTicketItem           `json:"color,omitempty"`
	Duplex           *DuplexTicketItem          `json:"duplex,omitempty"`
	PageOrientation  *PageOrientationTicketItem `json:"page_orientation,omitempty"`
	Copies           *CopiesTicketItem          `json:"copies,omitempty"`
	Margins          *MarginsTicketItem         `json:"margins,omitempty"`
	DPI              *DPITicketItem             `json:"dpi,omitempty"`
	FitToPage        *FitToPageTicketItem       `json:"fit_to_page,omitempty"`
	PageRange        *PageRangeTicketItem       `json:"page_range,omitempty"`
	MediaSize        *MediaSizeTicketItem       `json:"media_size,omitempty"`
	Collate          *CollateTicketItem         `json:"collate,omitempty"`
	ReverseOrder     *ReverseOrderTicketItem    `json:"reverse_order,omitempty"`
}

type VendorTicketItem struct {
	ID    string `json:"id"`
	Value string `json:"value"`
}

type ColorTicketItem struct {
	VendorID string    `json:"vendor_id"`
	Type     ColorType `json:"type"`
}

type DuplexTicketItem struct {
	Type DuplexType `json:"type"`
}

type PageOrientationTicketItem struct {
	Type PageOrientationType `json:"type"`
}

type CopiesTicketItem struct {
	Copies int32 `json:"copies"`
}

type MarginsTicketItem struct {
	TopMicrons    int32 `json:"top_microns"`
	RightMicrons  int32 `json:"right_microns"`
	BottomMicrons int32 `json:"bottom_microns"`
	LeftMicrons   int32 `json:"left_microns"`
}

type DPITicketItem struct {
	HorizontalDPI int32  `json:"horizontal_dpi"`
	VerticalDPI   int32  `json:"vertical_dpi"`
	VendorID      string `json:"vendor_id"`
}

type FitToPageTicketItem struct {
	Type FitToPageType `json:"type"`
}

type PageRangeTicketItem struct {
	Interval []PageRangeInterval `json:"interval"`
}

type MediaSizeTicketItem struct {
	WidthMicrons     int32  `json:"width_microns"`
	HeightMicrons    int32  `json:"height_microns"`
	IsContinuousFeed bool   `json:"is_continuous_feed"` // default = false
	VendorID         string `json:"vendor_id"`
}

type CollateTicketItem struct {
	Collate bool `json:"collate"`
}

type ReverseOrderTicketItem struct {
	ReverseOrder bool `json:"reverse_order"`
}