Help us shape the future of Go! Take the 2026 Go Developer Survey

action

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2020 License: Apache-2.0 Imports: 33 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
	InjectBundles     []string
	InjectBundleMode  string
	DisplayName       string
	Publisher         string
	AddTimeout        time.Duration
	CleanupTimeout    time.Duration

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

func NewCatalogAdd

func NewCatalogAdd(cfg *Configuration) *CatalogAdd

func (*CatalogAdd) BindFlags

func (a *CatalogAdd) BindFlags(fs *pflag.FlagSet)

func (*CatalogAdd) Run

type CatalogList

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

func NewCatalogList

func NewCatalogList(cfg *Configuration) *CatalogList

func (*CatalogList) Run

type CatalogRemove

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

func NewCatalogRemove

func NewCatalogRemove(cfg *Configuration) *CatalogRemove

func (*CatalogRemove) Run

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

type Configuration

type Configuration struct {
	RESTConfig *rest.Config
	Client     client.Client
	Namespace  string
	Scheme     *runtime.Scheme
	// contains filtered or unexported fields
}

func (*Configuration) BindFlags

func (c *Configuration) BindFlags(fs *pflag.FlagSet)

func (*Configuration) Load

func (c *Configuration) Load() error

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
	InstallMode         operator.InstallMode
	InstallTimeout      time.Duration
	CleanupTimeout      time.Duration
	CreateOperatorGroup bool

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

func NewOperatorInstall

func NewOperatorInstall(cfg *Configuration) *OperatorInstall

func (*OperatorInstall) BindFlags

func (i *OperatorInstall) BindFlags(fs *pflag.FlagSet)

func (*OperatorInstall) Run

type OperatorList

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

func NewOperatorList

func NewOperatorList(cfg *Configuration) *OperatorList

func (*OperatorList) Run

type OperatorListAvailable

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

func NewOperatorListAvailable

func NewOperatorListAvailable(cfg *Configuration) *OperatorListAvailable

func (*OperatorListAvailable) BindFlags

func (l *OperatorListAvailable) BindFlags(fs *pflag.FlagSet)

func (*OperatorListAvailable) Run

type OperatorUninstall

type OperatorUninstall struct {
	Package                  string
	DeleteAll                bool
	DeleteCRDs               bool
	DeleteOperatorGroups     bool
	DeleteOperatorGroupNames []string

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

func NewOperatorUninstall

func NewOperatorUninstall(cfg *Configuration) *OperatorUninstall

func (*OperatorUninstall) BindFlags

func (u *OperatorUninstall) BindFlags(fs *pflag.FlagSet)

func (*OperatorUninstall) Run

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

type OperatorUpgrade

type OperatorUpgrade struct {
	Package        string
	Channel        string
	UpgradeTimeout time.Duration
	// contains filtered or unexported fields
}

func NewOperatorUpgrade

func NewOperatorUpgrade(cfg *Configuration) *OperatorUpgrade

func (*OperatorUpgrade) BindFlags

func (u *OperatorUpgrade) BindFlags(fs *pflag.FlagSet)

func (*OperatorUpgrade) Run

Jump to

Keyboard shortcuts

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