Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAllResources ¶
func CreateAllResources(args *FactoryArgs) ([]client.Object, error)
CreateAllResources creates all namespaced resources
func CreateResourceGroup ¶
func CreateResourceGroup(group string, args *FactoryArgs) ([]client.Object, error)
CreateResourceGroup creates namespaced resources for a specific group/component
func GetPrometheusNamespacedRules ¶ added in v1.57.1
func GetPrometheusNamespacedRules() []rbacv1.PolicyRule
GetPrometheusNamespacedRules returns the policy rules needed for CDI alerting setup
func GetRolePolicyRules ¶ added in v1.57.1
func GetRolePolicyRules() []rbacv1.PolicyRule
GetRolePolicyRules returns all namespaced PolicyRules
Types ¶
type FactoryArgs ¶
type FactoryArgs struct { OperatorVersion string `required:"true" split_words:"true"` ControllerImage string `required:"true" split_words:"true"` DeployClusterResources string `required:"true" split_words:"true"` ImporterImage string `required:"true" split_words:"true"` ClonerImage string `required:"true" split_words:"true"` OvirtPopulatorImage string `required:"true" split_words:"true"` APIServerImage string `required:"true" envconfig:"apiserver_image"` UploadProxyImage string `required:"true" split_words:"true"` UploadServerImage string `required:"true" split_words:"true"` Verbosity string `required:"true"` PullPolicy string `required:"true" split_words:"true"` ImagePullSecrets []corev1.LocalObjectReference PriorityClassName string Namespace string InfraNodePlacement *sdkapi.NodePlacement ControllerReplicas int32 APIServerReplicas int32 UploadProxyReplicas int32 }
FactoryArgs contains the required parameters to generate all namespaced resources
Click to show internal directories.
Click to hide internal directories.