crd

package
v0.0.0-...-3c4c4c4 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version               = "arangodb.com/version"
	Schema                = "arangodb.com/schema"
	PreserveUnknownFields = "arangodb.com/x-preserve-unknown-fields"
)

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 GenerateCRDYAMLWithOptions

func GenerateCRDYAMLWithOptions(opts EnsureCRDOptions, out io.Writer) 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
	// CRDOptions defines skip options
	Skip []string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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