cluster

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 License: Apache-2.0 Imports: 16 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) ([]runtime.Object, error)

CreateAllDynamicResources creates all dynamic cluster-wide resources

func CreateAllStaticResources added in v1.13.0

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

CreateAllStaticResources creates all static cluster-wide resources

func CreateDynamicResourceGroup added in v1.13.0

func CreateDynamicResourceGroup(group string, args *FactoryArgs) ([]runtime.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) ([]runtime.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 NewDataVolumeCrd added in v1.21.0

func NewDataVolumeCrd() *extv1.CustomResourceDefinition

NewDataVolumeCrd - provides DataVolume 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