operator

package
v1.59.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 19 Imported by: 4

Documentation

Index

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 from a specific group/component

func NewCdiCrd

func NewCdiCrd() *extv1.CustomResourceDefinition

NewCdiCrd - provides CDI CRD

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
	ImagePullSecrets   []corev1.LocalObjectReference
	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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL