operator

package
v1.28.3 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2021 License: Apache-2.0 Imports: 16 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAllOperatorResources

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

CreateAllOperatorResources creates all cluster-wide resources

func CreateOperatorResourceGroup

func CreateOperatorResourceGroup(group string, args *FactoryArgs) ([]runtime.Object, error)

CreateOperatorResourceGroup creates all cluster resources fr 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
	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