Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CatalogCreator ¶
type ConfigMapCatalogCreator ¶
type ConfigMapCatalogCreator struct { Package *apimanifests.PackageManifest Bundles []*apimanifests.Bundle // contains filtered or unexported fields }
func NewConfigMapCatalogCreator ¶
func NewConfigMapCatalogCreator(cfg *operator.Configuration) *ConfigMapCatalogCreator
func (ConfigMapCatalogCreator) CreateCatalog ¶
func (c ConfigMapCatalogCreator) CreateCatalog(ctx context.Context, name string) (*v1alpha1.CatalogSource, error)
type IndexImageCatalogCreator ¶
type IndexImageCatalogCreator struct { PackageName string IndexImage string InjectBundles []string InjectBundleMode string BundleImage string // contains filtered or unexported fields }
func NewIndexImageCatalogCreator ¶
func NewIndexImageCatalogCreator(cfg *operator.Configuration) *IndexImageCatalogCreator
func (IndexImageCatalogCreator) CreateCatalog ¶
func (c IndexImageCatalogCreator) CreateCatalog(ctx context.Context, name string) (*v1alpha1.CatalogSource, error)
type OperatorInstaller ¶
type OperatorInstaller struct { CatalogSourceName string PackageName string StartingCSV string Channel string InstallMode operator.InstallMode CatalogCreator CatalogCreator SupportedInstallModes sets.String // contains filtered or unexported fields }
func NewOperatorInstaller ¶
func NewOperatorInstaller(cfg *operator.Configuration) *OperatorInstaller
func (OperatorInstaller) InstallOperator ¶
func (o OperatorInstaller) InstallOperator(ctx context.Context) (*v1alpha1.ClusterServiceVersion, error)
Notes ¶
Bugs ¶
if namespace is not contained in targetNamespaces, DoCSVWait will fail because the CSV is not deployed in namespace.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.