util

package
v0.6.0-alpha.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2022 License: Apache-2.0 Imports: 11 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CRDsExist

func CRDsExist(config *rest.Config, groupVersion string, kinds ...string) (*[]string, *[]string, error)

CRDsExist checks if given CRDs exist in the given group. Returns foundKinds, notFoundKinds, error

func Contains

func Contains(needle string, haystack []string) bool

func EnsureCRD added in v0.19.0

func EnsureCRD(ctx context.Context, config *rest.Config, crdFilePath, groupVersion, kind string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL