operator

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: Apache-2.0 Imports: 20 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OperatorTemplate = `` /* 723-byte string literal not displayed */

Functions

func GetOperatorTemplate

func GetOperatorTemplate() string

Types

type Operator

type Operator struct {
	Name           string
	Source         string
	SourceNS       string
	DefaultChannel string
	Description    string
	Csv            string
	Namespace      string
	Channels       []string
	Crd            string
	ConfigExecFile string
	ConfigExecPath string
}

func NewOperator

func NewOperator() *Operator

func NewOperatorWithOptions

func NewOperatorWithOptions(name, source, sourceNS, defaultChannel, description, csv, namespace, crd, configExecFile, configExecPath string) *Operator

func (*Operator) GetInfo

func (o *Operator) GetInfo(args []string) error

func (*Operator) GetList

func (o *Operator) GetList(installed bool) error

func (*Operator) GetOperator

func (o *Operator) GetOperator(operator string) error

func (*Operator) InstallOperator

func (o *Operator) InstallOperator(wait, out bool, ns, channel, csv, src, srcNS, installPlan string, args []string) error

func (*Operator) NewConfiguration

func (o *Operator) NewConfiguration(cmd *cobra.Command, args []string) error

func (*Operator) RemoveOperator

func (o *Operator) RemoveOperator(remove bool, args []string) error

func (*Operator) SearchOperator

func (o *Operator) SearchOperator(args []string) error

Jump to

Keyboard shortcuts

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