Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct {
RESTConfig *rest.Config
Client client.Client
Namespace string
// contains filtered or unexported fields
}
func (*Configuration) BindFlags ¶
func (c *Configuration) BindFlags(fs *pflag.FlagSet)
func (*Configuration) Load ¶
func (c *Configuration) Load() error
type InstallCatalog ¶
type InstallCatalog struct {
IndexImage string
DisplayName string
Publisher string
InstallTimeout time.Duration
CleanupTimeout time.Duration
RegistryOptions []containerdregistry.RegistryOption
// contains filtered or unexported fields
}
func NewInstallCatalog ¶
func NewInstallCatalog(cfg *Configuration) *InstallCatalog
func (*InstallCatalog) BindFlags ¶
func (i *InstallCatalog) BindFlags(fs *pflag.FlagSet)
func (*InstallCatalog) Run ¶
func (i *InstallCatalog) Run(ctx context.Context) (*v1alpha1.CatalogSource, error)
type InstallOperator ¶
type InstallOperator struct {
Package string
Channel string
Approve string
InstallMode operator.InstallMode
InstallTimeout time.Duration
CleanupTimeout time.Duration
CreateOperatorGroup bool
// contains filtered or unexported fields
}
func NewInstallOperator ¶
func NewInstallOperator(cfg *Configuration) *InstallOperator
func (*InstallOperator) BindFlags ¶
func (i *InstallOperator) BindFlags(fs *pflag.FlagSet)
func (*InstallOperator) Run ¶
func (i *InstallOperator) Run(ctx context.Context) (*v1alpha1.ClusterServiceVersion, error)
type ListAvailableOperators ¶
type ListAvailableOperators struct {
// contains filtered or unexported fields
}
func NewListAvailableOperators ¶
func NewListAvailableOperators(cfg *Configuration) *ListAvailableOperators
func (*ListAvailableOperators) Run ¶
func (l *ListAvailableOperators) Run(ctx context.Context) ([]v1.PackageManifest, error)
type ListCatalogs ¶
type ListCatalogs struct {
// contains filtered or unexported fields
}
func NewListCatalogs ¶
func NewListCatalogs(cfg *Configuration) *ListCatalogs
func (*ListCatalogs) Run ¶
func (l *ListCatalogs) Run(ctx context.Context) ([]v1alpha1.CatalogSource, error)
type ListOperators ¶
type ListOperators struct {
// contains filtered or unexported fields
}
func NewListOperators ¶
func NewListOperators(cfg *Configuration) *ListOperators
func (*ListOperators) Run ¶
func (l *ListOperators) Run(ctx context.Context) ([]v1alpha1.Subscription, error)
type UninstallCatalog ¶
type UninstallCatalog struct {
CatalogName string
// contains filtered or unexported fields
}
func NewUninstallCatalog ¶
func NewUninstallCatalog(cfg *Configuration) *UninstallCatalog
type UninstallOperator ¶
type UninstallOperator struct {
Package string
DeleteOperatorGroup bool
DeleteCRDs bool
// contains filtered or unexported fields
}
func NewUninstallOperator ¶
func NewUninstallOperator(cfg *Configuration) *UninstallOperator
func (*UninstallOperator) BindFlags ¶
func (u *UninstallOperator) BindFlags(fs *pflag.FlagSet)
Click to show internal directories.
Click to hide internal directories.