Documentation ¶
Index ¶
- func CreateAllOperatorResources(args *FactoryArgs) ([]client.Object, error)
- func CreateOperatorResourceGroup(group string, args *FactoryArgs) ([]client.Object, error)
- func NewCdiCrd() *extv1.CustomResourceDefinition
- func NewClusterServiceVersion(data *ClusterServiceVersionData) (*csvv1.ClusterServiceVersion, error)
- type ClusterServiceVersionData
- type FactoryArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAllOperatorResources ¶
func CreateAllOperatorResources(args *FactoryArgs) ([]client.Object, error)
CreateAllOperatorResources creates all cluster-wide resources
func CreateOperatorResourceGroup ¶
func CreateOperatorResourceGroup(group string, args *FactoryArgs) ([]client.Object, error)
CreateOperatorResourceGroup creates all cluster resources fr a specific group/component
func NewClusterServiceVersion ¶ added in v1.10.2
func NewClusterServiceVersion(data *ClusterServiceVersionData) (*csvv1.ClusterServiceVersion, error)
NewClusterServiceVersion - generates CSV for CDI
Types ¶
type ClusterServiceVersionData ¶ added in v1.12.0
type ClusterServiceVersionData struct { CsvVersion string ReplacesCsvVersion string Namespace string ImagePullPolicy string IconBase64 string Verbosity string OperatorVersion string ControllerImage string ImporterImage string ClonerImage string APIServerImage string UplodaProxyImage string UplodaServerImage string OperatorImage string }
ClusterServiceVersionData - Data arguments used to create CDI's CSV manifest
type FactoryArgs ¶
type FactoryArgs struct { NamespacedArgs namespaced.FactoryArgs Image string }
FactoryArgs contains the required parameters to generate all cluster-scoped resources
Click to show internal directories.
Click to hide internal directories.