Documentation ¶
Index ¶
- func CreateAllDynamicResources(args *FactoryArgs) ([]runtime.Object, error)
- func CreateAllStaticResources(args *FactoryArgs) ([]runtime.Object, error)
- func CreateClusterRole(name string) *rbacv1.ClusterRole
- func CreateClusterRoleBinding(name, roleRef, serviceAccount, serviceAccountNamespace string) *rbacv1.ClusterRoleBinding
- func CreateDynamicResourceGroup(group string, args *FactoryArgs) ([]runtime.Object, error)
- func CreateOperatorClusterRole(name string) *rbacv1.ClusterRole
- func CreateOperatorClusterRoleBinding(name, roleRef, serviceAccount, serviceAccountNamespace string) *rbacv1.ClusterRoleBinding
- func CreateStaticResourceGroup(group string, args *FactoryArgs) ([]runtime.Object, error)
- func GetClusterRolePolicyRules() []rbacv1.PolicyRule
- func NewCdiConfigCrd() *extv1.CustomResourceDefinition
- func NewDataVolumeCrd() *extv1.CustomResourceDefinition
- type FactoryArgs
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 CreateClusterRole ¶ added in v1.9.0
func CreateClusterRole(name string) *rbacv1.ClusterRole
CreateClusterRole create cluster role
func CreateClusterRoleBinding ¶ added in v1.9.0
func CreateClusterRoleBinding(name, roleRef, serviceAccount, serviceAccountNamespace string) *rbacv1.ClusterRoleBinding
CreateClusterRoleBinding create cluster role binding
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 CreateOperatorClusterRole ¶ added in v1.10.3
func CreateOperatorClusterRole(name string) *rbacv1.ClusterRole
CreateOperatorClusterRole create cluster role
func CreateOperatorClusterRoleBinding ¶ added in v1.10.3
func CreateOperatorClusterRoleBinding(name, roleRef, serviceAccount, serviceAccountNamespace string) *rbacv1.ClusterRoleBinding
CreateOperatorClusterRoleBinding create cluster role binding for operator
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