cluster

package
v1.60.4 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 19 Imported by: 8

Documentation

Index

Constants

View Source
const (
	// APIServerServiceName is the API server service name
	APIServerServiceName = "cdi-api"
)

Variables

This section is empty.

Functions

func CreateAllDynamicResources added in v1.13.0

func CreateAllDynamicResources(args *FactoryArgs) ([]client.Object, error)

CreateAllDynamicResources creates all dynamic cluster-wide resources

func CreateAllStaticResources added in v1.13.0

func CreateAllStaticResources(args *FactoryArgs) ([]client.Object, error)

CreateAllStaticResources creates all static cluster-wide resources

func CreateConfigPropertiesSchema added in v1.33.0

func CreateConfigPropertiesSchema() map[string]extv1.JSONSchemaProps

CreateConfigPropertiesSchema creates the CDIConfigSpec properties schema

func CreateDynamicResourceGroup added in v1.13.0

func CreateDynamicResourceGroup(group string, args *FactoryArgs) ([]client.Object, error)

CreateDynamicResourceGroup creates all dynamic cluster resources for a specific group/component

func CreateStaticResourceGroup added in v1.13.0

func CreateStaticResourceGroup(group string, args *FactoryArgs) ([]client.Object, error)

CreateStaticResourceGroup creates all static cluster resources for a specific group/component

func GetAPIServerCABundle added in v1.59.0

func GetAPIServerCABundle(namespace string, c client.Client, l logr.Logger) []byte

GetAPIServerCABundle returns the API server CA bundle

func GetClusterRolePolicyRules added in v1.12.0

func GetClusterRolePolicyRules() []rbacv1.PolicyRule

GetClusterRolePolicyRules returns all cluster PolicyRules

func NewCdiConfigCrd added in v1.21.0

func NewCdiConfigCrd() *extv1.CustomResourceDefinition

NewCdiConfigCrd - provides CDIConfig CRD

func NewDataImportCronCrd added in v1.36.0

func NewDataImportCronCrd() *extv1.CustomResourceDefinition

NewDataImportCronCrd - provides DataImportCron CRD

func NewDataSourceCrd added in v1.36.0

func NewDataSourceCrd() *extv1.CustomResourceDefinition

NewDataSourceCrd - provides DataSource CRD

func NewDataVolumeCrd added in v1.21.0

func NewDataVolumeCrd() *extv1.CustomResourceDefinition

NewDataVolumeCrd - provides DataVolume CRD

func NewObjectTransferCrd added in v1.31.0

func NewObjectTransferCrd() *extv1.CustomResourceDefinition

NewObjectTransferCrd - provides ObjectTransfer CRD

func NewOpenstackVolumePopulator added in v1.59.1

func NewOpenstackVolumePopulator() *extv1.CustomResourceDefinition

NewOpenstackVolumePopulator - provides OpenstackVolumePopulator CRD

func NewOvirtVolumePopulator added in v1.59.1

func NewOvirtVolumePopulator() *extv1.CustomResourceDefinition

NewOvirtVolumePopulator - provides OvirtVolumePopulaor CRD

func NewStorageProfileCrd added in v1.31.0

func NewStorageProfileCrd() *extv1.CustomResourceDefinition

NewStorageProfileCrd - provides StorageProfile CRD

func NewVolumeCloneSourceCrd added in v1.57.0

func NewVolumeCloneSourceCrd() *extv1.CustomResourceDefinition

NewVolumeCloneSourceCrd - provides VolumeCloneSource CRD

func NewVolumeImportSourceCrd added in v1.57.0

func NewVolumeImportSourceCrd() *extv1.CustomResourceDefinition

NewVolumeImportSourceCrd - provides VolumeImportSource CRD

func NewVolumeUploadSourceCrd added in v1.57.0

func NewVolumeUploadSourceCrd() *extv1.CustomResourceDefinition

NewVolumeUploadSourceCrd - provides VolumeUploadSource CRD

Types

type FactoryArgs

type FactoryArgs struct {
	Namespace string
	Client    client.Client
	Logger    logr.Logger
}

FactoryArgs contains the required parameters to generate all cluster-scoped resources

Jump to

Keyboard shortcuts

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