Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metadata ¶
type Metadata struct {
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 { Identifier string `json:"identifier"` Group string `json:"group"` Version string `json:"version"` VersionAliases []string `json:"versionAliases"` Kind string `json:"kind"` Plural string `json:"plural"` ClusterScoped bool `json:"clusterScoped"` Builtin bool `json:"builtin"` Specless bool `json:"specless"` Synthetic bool `json:"synthetic"` 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.