Documentation ¶
Index ¶
- Constants
- func GetFilename(name string) string
- func GetRootCmd(args []string) *cobra.Command
- func NewCrdCmd(args []string) *cobra.Command
- func NewDumpCmd(args []string) *cobra.Command
- func NewIndexCmd(args []string) *cobra.Command
- func ParseName(name string) (group, version, kind string)
- type ACTION
- type AllJson
- type CRD
- type CRDVersion
- type OpenAPIV3Root
- type PathInfo
- type Ref
Constants ¶
View Source
const XGVK_NAME = "x-kubernetes-group-version-kind"
Variables ¶
This section is empty.
Functions ¶
func GetFilename ¶
func GetRootCmd ¶
func NewDumpCmd ¶
Types ¶
type CRD ¶
type CRD struct { ApiVersion string `json:"apiVersion" yaml:"apiVersion"` Kind string `json:"kind" yaml:"kind"` Metadata struct { Name string `json:"name" yaml:"name"` } `json:"metadata" yaml:"metadata"` Spec struct { Group string `json:"group" yaml:"group"` Names struct { Kind string `json:"kind" yaml:"kind"` Singular string `json:"singular" yaml:"singular"` } `json:"names" yaml:"names"` Versions []CRDVersion `json:"versions" yaml:"versions"` } `json:"spec" yaml:"spec"` }
type CRDVersion ¶
type OpenAPIV3Root ¶
Click to show internal directories.
Click to hide internal directories.