operator

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultChannel = ""

DefaultChannel is the default argument to specify with GetChannel when you want to get the package's default channel.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrChannelNotFound added in v0.1.0

type ErrChannelNotFound struct {
	PackageName string
	ChannelName string
}

func (ErrChannelNotFound) Error added in v0.1.0

func (e ErrChannelNotFound) Error() string

type ErrNoDefaultChannel added in v0.1.0

type ErrNoDefaultChannel struct {
	PackageName string
}

func (ErrNoDefaultChannel) Error added in v0.1.0

func (e ErrNoDefaultChannel) Error() string

type InstallMode

type InstallMode struct {
	InstallModeType  v1alpha1.InstallModeType
	TargetNamespaces []string
}

func (InstallMode) IsEmpty

func (i InstallMode) IsEmpty() bool

func (*InstallMode) Set

func (i *InstallMode) Set(str string) error

func (InstallMode) String

func (i InstallMode) String() string

func (InstallMode) Type

func (InstallMode) Type() string

func (InstallMode) Validate

func (i InstallMode) Validate() error

type PackageChannel added in v0.1.0

type PackageChannel struct {
	operatorsv1.PackageChannel
}

func (PackageChannel) GetSupportedInstallModes added in v0.1.0

func (pc PackageChannel) GetSupportedInstallModes() sets.String

type PackageManifest added in v0.1.0

type PackageManifest struct {
	operatorsv1.PackageManifest
}

func (PackageManifest) GetChannel added in v0.1.0

func (pm PackageManifest) GetChannel(channel string) (*PackageChannel, error)

GetChannel returns the specified package channel. DefaultChannel can be used to fetch the package's default channel.

Jump to

Keyboard shortcuts

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