Documentation
¶
Index ¶
- Constants
- func EnsureCRD(ctx context.Context, client kclient.Client, ignoreErrors bool) errordeprecated
- func EnsureCRDWithOptions(ctx context.Context, client kclient.Client, opts EnsureCRDOptions) error
- func GenerateCRDWithOptions(opts EnsureCRDOptions) []apiextensions.CustomResourceDefinition
- func GenerateCRDYAMLWithOptions(opts EnsureCRDOptions, out io.Writer) error
- func GetDefaultCRDOptions() map[string]crds.CRDOptions
- type EnsureCRDOptions
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 EnsureCRDWithOptions ¶
func GenerateCRDWithOptions ¶
func GenerateCRDWithOptions(opts EnsureCRDOptions) []apiextensions.CustomResourceDefinition
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
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.