Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collection ¶
type Collection struct { Name string `json:"name"` VariableName string `json:"variableName"` Description string `json:"description"` Group string `json:"group"` Kind string `json:"kind"` Pilot bool `json:"pilot"` Builtin bool `json:"builtin"` Deprecated bool `json:"deprecated"` }
Collection metadata. Describes basic structure of collections.
type Metadata ¶
type Metadata struct { Collections []*Collection `json:"collections"` Resources []*Resource `json:"resources"` }
Metadata is the top-level container.
func (*Metadata) FindResourceForGroupKind ¶
FindResourceForGroupKind looks up a resource with the given group and kind. Returns nil if not found.
func (*Metadata) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type Resource ¶
type Resource struct { Group string `json:"group"` Version string `json:"version"` Kind string `json:"kind"` Plural string `json:"plural"` ClusterScoped bool `json:"clusterScoped"` Proto string `json:"proto"` ProtoPackage string `json:"protoPackage"` StatusProto string `json:"statusProto"` StatusProtoPackage string `json:"statusProtoPackage"` Validate string `json:"validate"` Description string `json:"description"` }
Resource metadata for resources contained within a collection.
Click to show internal directories.
Click to hide internal directories.