crd

package
v0.0.0-...-b5fdbf7 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendVersion

AppendVersion appends the version of the toadd CRD to the crd CRD and sets the Storage and Served fields in the last version of the crd CRD.

func InferGroupResource

func InferGroupResource(gk schema.GroupKind) schema.GroupResource

func Lookup

func SetServedStorage

func SetServedStorage(crd *apiextensionsv1.CustomResourceDefinition, version string, served, storage bool)

func Uninstall

func Uninstall(ctx context.Context, kube client.Client, gr schema.GroupResource) error

Types

type VersionConf

type VersionConf struct {
	Name   string
	Served bool
}

Jump to

Keyboard shortcuts

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