crd

package
v0.0.0-...-1540654 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCustomResourceScale

func CreateCustomResourceScale(name, namespace, operatorLabels string, operatorLabelsMap map[string]string) (string, error)

func DefineCustomResource

func DefineCustomResource(name, namespace, operatorLabels string, operatorLabelsMap map[string]string) *crscaleoperator.Memcached

Define a custom resource.

func DefineCustomResourceDefinition

func DefineCustomResourceDefinition(names apiextv1.CustomResourceDefinitionNames,
	group string, addStatusSubresource bool) *apiextv1.CustomResourceDefinition

func DeleteCustomResourceDefinition

func DeleteCustomResourceDefinition(name string) error

func EnsureCrdExists

func EnsureCrdExists(name string) (bool, error)

func GetAllCustomResourceDefinitions

func GetAllCustomResourceDefinitions() ([]apiextv1.CustomResourceDefinition, error)

func RedefineCustomResourceWithReplica

func RedefineCustomResourceWithReplica(aCustomResource *crscaleoperator.Memcached, replicas int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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