Documentation
¶
Index ¶
- Constants
- type BundleUnpackResult
- type ConfigMapUnpacker
- type ConfigMapUnpackerOption
- func WithCatalogSourceLister(csLister listersoperatorsv1alpha1.CatalogSourceLister) ConfigMapUnpackerOption
- func WithClient(client kubernetes.Interface) ConfigMapUnpackerOption
- func WithConfigMapLister(cmLister listerscorev1.ConfigMapLister) ConfigMapUnpackerOption
- func WithJobLister(jobLister listersbatchv1.JobLister) ConfigMapUnpackerOption
- func WithNow(now func() metav1.Time) ConfigMapUnpackerOption
- func WithOPMImage(opmImage string) ConfigMapUnpackerOption
- func WithRoleBindingLister(rbLister listersrbacv1.RoleBindingLister) ConfigMapUnpackerOption
- func WithRoleLister(roleLister listersrbacv1.RoleLister) ConfigMapUnpackerOption
- func WithUtilImage(utilImage string) ConfigMapUnpackerOption
- type Unpacker
Constants ¶
View Source
const ( CatalogSourceMissingReason = "CatalogSourceMissing" CatalogSourceMissingMessage = "referenced catalogsource not found" JobIncompleteReason = "JobIncomplete" JobIncompleteMessage = "unpack job not completed" JobNotStartedReason = "JobNotStarted" JobNotStartedMessage = "unpack job not yet started" NotUnpackedReason = "BundleNotUnpacked" NotUnpackedMessage = "bundle contents have not yet been persisted to installplan status" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BundleUnpackResult ¶
type BundleUnpackResult struct { *operatorsv1alpha1.BundleLookup // contains filtered or unexported fields }
func (*BundleUnpackResult) Bundle ¶
func (b *BundleUnpackResult) Bundle() *api.Bundle
func (*BundleUnpackResult) Name ¶
func (b *BundleUnpackResult) Name() string
func (*BundleUnpackResult) SetCondition ¶
func (b *BundleUnpackResult) SetCondition(cond operatorsv1alpha1.BundleLookupCondition) operatorsv1alpha1.BundleLookupCondition
SetCondition replaces the existing BundleLookupCondition of the same type, or adds it if it was not found.
type ConfigMapUnpacker ¶
type ConfigMapUnpacker struct {
// contains filtered or unexported fields
}
func NewConfigmapUnpacker ¶
func NewConfigmapUnpacker(options ...ConfigMapUnpackerOption) (*ConfigMapUnpacker, error)
func (*ConfigMapUnpacker) UnpackBundle ¶
func (c *ConfigMapUnpacker) UnpackBundle(lookup *operatorsv1alpha1.BundleLookup) (result *BundleUnpackResult, err error)
type ConfigMapUnpackerOption ¶
type ConfigMapUnpackerOption func(*ConfigMapUnpacker)
func WithCatalogSourceLister ¶
func WithCatalogSourceLister(csLister listersoperatorsv1alpha1.CatalogSourceLister) ConfigMapUnpackerOption
func WithClient ¶
func WithClient(client kubernetes.Interface) ConfigMapUnpackerOption
func WithConfigMapLister ¶
func WithConfigMapLister(cmLister listerscorev1.ConfigMapLister) ConfigMapUnpackerOption
func WithJobLister ¶
func WithJobLister(jobLister listersbatchv1.JobLister) ConfigMapUnpackerOption
func WithNow ¶
func WithNow(now func() metav1.Time) ConfigMapUnpackerOption
func WithOPMImage ¶
func WithOPMImage(opmImage string) ConfigMapUnpackerOption
func WithRoleBindingLister ¶
func WithRoleBindingLister(rbLister listersrbacv1.RoleBindingLister) ConfigMapUnpackerOption
func WithRoleLister ¶
func WithRoleLister(roleLister listersrbacv1.RoleLister) ConfigMapUnpackerOption
func WithUtilImage ¶
func WithUtilImage(utilImage string) ConfigMapUnpackerOption
type Unpacker ¶
type Unpacker interface {
UnpackBundle(lookup *operatorsv1alpha1.BundleLookup) (result *BundleUnpackResult, err error)
}
Click to show internal directories.
Click to hide internal directories.