cluster

package
v1.41.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

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 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 NewStorageProfileCrd added in v1.31.0

func NewStorageProfileCrd() *extv1.CustomResourceDefinition

NewStorageProfileCrd - provides StorageProfile 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