Documentation ¶
Index ¶
- func CheckCRDs(ctx context.Context, crds []*apiextensionsv1.CustomResourceDefinition, ...) error
- func CheckCRs(ctx context.Context, crs []*unstructured.Unstructured, ...) error
- func GetCRDsFromPath(ctx context.Context, filePath string) ([]*apiextensionsv1.CustomResourceDefinition, error)
- func GetStringifiedYamlFromDirPath(dirPath string, logger logr.Logger) (string, error)
- func RemoveCRDs(ctx context.Context, crds []*apiextensionsv1.CustomResourceDefinition, ...) error
- func RemoveCRs(ctx context.Context, crs []*unstructured.Unstructured, ...) (bool, error)
- type ChartKind
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckCRDs ¶
func CheckCRDs(ctx context.Context, crds []*apiextensionsv1.CustomResourceDefinition, runtimeClient client.Client, createIfNotPresent bool, ) error
func CheckCRs ¶
func CheckCRs(ctx context.Context, crs []*unstructured.Unstructured, runtimeClient client.Client, createIfNotPresent bool, ) error
func GetCRDsFromPath ¶
func GetCRDsFromPath(ctx context.Context, filePath string) ([]*apiextensionsv1.CustomResourceDefinition, error)
func RemoveCRDs ¶
func RemoveCRDs(ctx context.Context, crds []*apiextensionsv1.CustomResourceDefinition, runtimeClient client.Client, ) error
func RemoveCRs ¶
func RemoveCRs(ctx context.Context, crs []*unstructured.Unstructured, runtimeClient client.Client, ) (bool, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.