crd

package
v0.0.0-...-bb45038 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "arangodb.com/version"

Variables

This section is empty.

Functions

func EnsureCRD deprecated

func EnsureCRD(ctx context.Context, client kclient.Client, ignoreErrors bool) error

Deprecated: use EnsureCRDWithOptions instead

func EnsureCRDWithOptions

func EnsureCRDWithOptions(ctx context.Context, client kclient.Client, opts EnsureCRDOptions) error

func GetDefaultCRDOptions

func GetDefaultCRDOptions() map[string]crds.CRDOptions

Types

type EnsureCRDOptions

type EnsureCRDOptions struct {
	// IgnoreErrors do not return errors if could not apply CRD
	IgnoreErrors bool
	// ForceUpdate if true, CRD will be updated even if definitions versions are the same
	ForceUpdate bool
	// CRDOptions defines options per each CRD
	CRDOptions map[string]crds.CRDOptions
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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