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 ¶
func (a *CatalogAdd) Run(ctx context.Context) (*v1alpha1.CatalogSource, error)
type CatalogList ¶
type CatalogList struct {
// contains filtered or unexported fields
}
func NewCatalogList ¶
func NewCatalogList(cfg *action.Configuration) *CatalogList
func (*CatalogList) Run ¶
func (l *CatalogList) Run(ctx context.Context) ([]v1alpha1.CatalogSource, error)
type CatalogRemove ¶
type CatalogRemove struct { CatalogName string // contains filtered or unexported fields }
func NewCatalogRemove ¶
func NewCatalogRemove(cfg *action.Configuration) *CatalogRemove
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 ¶
func (i *OperatorInstall) Run(ctx context.Context) (*v1alpha1.ClusterServiceVersion, error)
type OperatorList ¶
type OperatorList struct {
// contains filtered or unexported fields
}
func NewOperatorList ¶
func NewOperatorList(cfg *action.Configuration) *OperatorList
func (*OperatorList) Run ¶
func (l *OperatorList) Run(ctx context.Context) ([]v1alpha1.Subscription, error)
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 ¶
func (l *OperatorListAvailable) Run(ctx context.Context) ([]operator.PackageManifest, error)
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
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 ¶
func (u *OperatorUpgrade) Run(ctx context.Context) (*v1alpha1.ClusterServiceVersion, error)
Click to show internal directories.
Click to hide internal directories.