action

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CatalogAdd

type CatalogAdd struct {
	CatalogSourceName string
	IndexImage        string
	DisplayName       string
	Publisher         string
	CleanupTimeout    time.Duration

	Logf            func(string, ...interface{})
	RegistryOptions []containerdregistry.RegistryOption
	// contains filtered or unexported fields
}

func NewCatalogAdd

func NewCatalogAdd(cfg *action.Configuration) *CatalogAdd

func (*CatalogAdd) Run

type CatalogList

type CatalogList struct {
	// contains filtered or unexported fields
}

func NewCatalogList

func NewCatalogList(cfg *action.Configuration) *CatalogList

func (*CatalogList) Run

type CatalogRemove

type CatalogRemove struct {
	CatalogName string
	// contains filtered or unexported fields
}

func NewCatalogRemove

func NewCatalogRemove(cfg *action.Configuration) *CatalogRemove

func (*CatalogRemove) Run

func (r *CatalogRemove) Run(ctx context.Context) error

type ErrPackageNotFound added in v0.2.0

type ErrPackageNotFound struct {
	PackageName string
}

func (ErrPackageNotFound) Error added in v0.2.0

func (e ErrPackageNotFound) Error() string

type NamespacedName

type NamespacedName struct {
	types.NamespacedName
}

func (*NamespacedName) Set

func (f *NamespacedName) Set(str string) error

func (NamespacedName) String

func (f NamespacedName) String() string

func (NamespacedName) Type

func (f NamespacedName) Type() string

type OperatorInstall

type OperatorInstall struct {
	Package             string
	Channel             string
	Version             string
	Approval            subscription.ApprovalValue
	WatchNamespaces     []string
	CleanupTimeout      time.Duration
	CreateOperatorGroup bool

	Logf func(string, ...interface{})
	// contains filtered or unexported fields
}

func NewOperatorInstall

func NewOperatorInstall(cfg *action.Configuration) *OperatorInstall

func (*OperatorInstall) Run

type OperatorList

type OperatorList struct {
	// contains filtered or unexported fields
}

func NewOperatorList

func NewOperatorList(cfg *action.Configuration) *OperatorList

func (*OperatorList) Run

type OperatorListAvailable

type OperatorListAvailable struct {
	Catalog NamespacedName
	Package string
	// contains filtered or unexported fields
}

func NewOperatorListAvailable

func NewOperatorListAvailable(cfg *action.Configuration) *OperatorListAvailable

func (*OperatorListAvailable) Run

type OperatorUninstall

type OperatorUninstall struct {
	Package                  string
	OperandStrategy          operand.DeletionStrategy
	DeleteAll                bool
	DeleteOperator           bool
	DeleteOperatorGroups     bool
	DeleteOperatorGroupNames []string
	Logf                     func(string, ...interface{})
	// contains filtered or unexported fields
}

func NewOperatorUninstall

func NewOperatorUninstall(cfg *action.Configuration) *OperatorUninstall

func (*OperatorUninstall) Run

func (u *OperatorUninstall) Run(ctx context.Context) error

type OperatorUpgrade

type OperatorUpgrade struct {
	Package string
	Channel string
	// contains filtered or unexported fields
}

func NewOperatorUpgrade

func NewOperatorUpgrade(cfg *action.Configuration) *OperatorUpgrade

func (*OperatorUpgrade) Run

Jump to

Keyboard shortcuts

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