Documentation
¶
Overview ¶
Package parser provide types and methods used to convert the swagger.json into a valid KubeAPI structure
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeAPI ¶
type KubeAPI struct { Description string Group string // kind, as for Kind: Pod Kind string Version string // Name is the resource name in plural (pods) to be used by the resource lister for dynamic client Name string Deprecated bool }
KubeAPI represents a Kubernetes API defined in swagger.json
type KubernetesAPIs ¶
KubernetesAPIs is a map of KubeAPI objects
func (KubernetesAPIs) PopulateKubeAPIMap ¶
func (KubeAPIs KubernetesAPIs) PopulateKubeAPIMap(swaggerfile string) (err error)
PopulateKubeAPIMap Converts an API Definition into a map of KubeAPIs["group/version/kind"]
Click to show internal directories.
Click to hide internal directories.