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 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 ¶
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 *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 *Configuration) *CatalogRemove
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 // 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 ¶
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 *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 *Configuration) *OperatorListAvailable
func (*OperatorListAvailable) BindFlags ¶
func (l *OperatorListAvailable) BindFlags(fs *pflag.FlagSet)
func (*OperatorListAvailable) Run ¶
func (l *OperatorListAvailable) Run(ctx context.Context) ([]v1.PackageManifest, error)
type OperatorUninstall ¶
type OperatorUninstall struct { Package string DeleteOperatorGroup bool DeleteCRDs bool DeleteAll bool // contains filtered or unexported fields }
func NewOperatorUninstall ¶
func NewOperatorUninstall(cfg *Configuration) *OperatorUninstall
func (*OperatorUninstall) BindFlags ¶
func (u *OperatorUninstall) BindFlags(fs *pflag.FlagSet)
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 ¶
func (u *OperatorUpgrade) Run(ctx context.Context) (*v1alpha1.ClusterServiceVersion, error)
Click to show internal directories.
Click to hide internal directories.