Documentation ¶
Index ¶
- func CreateCRDs(allCRDs []*resource.Info, cfg *action.Configuration) error
- func FetchResources(resources []*resource.Info, kubeClient kube.Interface) ([]*resource.Info, error)
- func FilterCrdResources(resources []*resource.Info) []*resource.Info
- func ParseMultiDocumentYAML(manifest string, kubeClient kube.Interface) ([]*resource.Info, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCRDs ¶
func CreateCRDs(allCRDs []*resource.Info, cfg *action.Configuration) error
Create CRDs. Before calling this function, we made sure that the CRDs are not yet installed on the cluster.
func FetchResources ¶
func FetchResources(resources []*resource.Info, kubeClient kube.Interface) ([]*resource.Info, error)
Retrieve the latest version of the resources from the kubernetes cluster.
func FilterCrdResources ¶
Filter resources that are Custom Resource Definitions.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.