Documentation ¶
Index ¶
- func CreateApplication(kubeClient client.Client, ns string, relativePath string) error
- func CreateOrUpdateCRD(kubeClient apiextcs.Interface, crd *apiextensions.CustomResourceDefinition) error
- func DeleteApplication(kubeClient client.Client, ns string, relativePath string) error
- func DeleteCRD(kubeClient apiextcs.Interface, crdName string) error
- func ParseCRDYaml(relativePath string) (*apiextensions.CustomResourceDefinition, error)
- func PathToOSFile(relativPath string) (*os.File, error)
- func WaitForCRDOrDie(kubeClient apiextcs.Interface, name string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateApplication ¶
CreateApplication - create application object
func CreateOrUpdateCRD ¶
func CreateOrUpdateCRD(kubeClient apiextcs.Interface, crd *apiextensions.CustomResourceDefinition) error
CreateOrUpdateCRD - create or update application CRD
func DeleteApplication ¶
DeleteApplication - delete application object
func ParseCRDYaml ¶
func ParseCRDYaml(relativePath string) (*apiextensions.CustomResourceDefinition, error)
ParseCRDYaml - load crd from file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.