Versions in this module Expand all Collapse all v4 v4.9.0 Sep 16, 2024 Changes in this version + func IdentifyCPFSNs(r client.Reader, operatorNs string) (string, error) + type Bootstrap struct + CSData apiv3.CSData + CSOperators []CSOperator + Config *rest.Config + MultiInstancesEnable bool + SaasEnable bool + func NewBootstrap(mgr manager.Manager) (bs *Bootstrap, err error) + func (b *Bootstrap) CheckCRD(apiGroupVersion string, kind string) (bool, error) + func (b *Bootstrap) CheckClusterType(ns string) (bool, error) + func (b *Bootstrap) CheckCsSubscription() error + func (b *Bootstrap) CheckDeployStatus(ctx context.Context) (operatorDeployed bool, servicesDeployed bool) + func (b *Bootstrap) CheckOperatorCatalog(ns string) error + func (b *Bootstrap) CheckWarningCondition(instance *apiv3.CommonService) error + func (b *Bootstrap) CleanNamespaceScopeResources() error + func (b *Bootstrap) Cleanup(operatorNs string, resource *Resource) error + func (b *Bootstrap) CleanupWebhookResources() error + func (b *Bootstrap) ConfigCertManagerOperandManagedByOperator(ctx context.Context) error + func (b *Bootstrap) ConfigODLMOperandManagedByOperator(ctx context.Context) error + func (b *Bootstrap) CreateCsCR() error + func (b *Bootstrap) CreateCsMaps() error + func (b *Bootstrap) CreateEDBImageMaps() error + func (b *Bootstrap) CreateKeycloakThemesConfigMap() error + func (b *Bootstrap) CreateNamespace(name string) error + func (b *Bootstrap) CreateNsScopeConfigmap() error + func (b *Bootstrap) CreateOrUpdateFromYaml(yamlContent []byte, alwaysUpdate ...bool) error + func (b *Bootstrap) DeleteFromYaml(objectTemplate string, data interface{}) error + func (b *Bootstrap) DeployCertManagerCR() error + func (b *Bootstrap) DeployResource(cr, placeholder string) bool + func (b *Bootstrap) GetObjs(objectTemplate string, data interface{}, alwaysUpdate ...bool) ([]*unstructured.Unstructured, error) + func (b *Bootstrap) GetOperandConfig(ctx context.Context, name, namespace string) (*odlm.OperandConfig, error) + func (b *Bootstrap) GetOperandRegistry(ctx context.Context, name, namespace string) (*odlm.OperandRegistry, error) + func (b *Bootstrap) GetSubscription(ctx context.Context, name, namespace string) (*unstructured.Unstructured, error) + func (b *Bootstrap) InitResources(instance *apiv3.CommonService, forceUpdateODLMCRs bool) error + func (b *Bootstrap) InstallOrUpdateOpcon(forceUpdateODLMCRs bool) error + func (b *Bootstrap) InstallOrUpdateOperatorConfig(config string, forceUpdateODLMCRs bool) error + func (b *Bootstrap) InstallOrUpdateOpreg(forceUpdateODLMCRs bool, installPlanApproval olmv1alpha1.Approval) error + func (b *Bootstrap) IsBYOCert() (bool, error) + func (b *Bootstrap) ListCerts(ctx context.Context, opts ...client.ListOption) *certmanagerv1.CertificateList + func (b *Bootstrap) ListIssuer(ctx context.Context, opts ...client.ListOption) *certmanagerv1.IssuerList + func (b *Bootstrap) ListNssCRs(ctx context.Context, namespace string) (*nssv1.NamespaceScopeList, error) + func (b *Bootstrap) ListOperandConfig(ctx context.Context, opts ...client.ListOption) *odlm.OperandConfigList + func (b *Bootstrap) ListOperandRegistry(ctx context.Context, opts ...client.ListOption) *odlm.OperandRegistryList + func (b *Bootstrap) ListOperatorConfig(ctx context.Context, opts ...client.ListOption) *odlm.OperatorConfigList + func (b *Bootstrap) ListSubscriptions(ctx context.Context, namespace string, listOptions client.ListOptions) (*unstructured.UnstructuredList, error) + func (b *Bootstrap) PropagateCPPConfig(instance *corev1.ConfigMap) error + func (b *Bootstrap) PropagateDefaultCR(instance *apiv3.CommonService) error + func (b *Bootstrap) ResourceExists(dc discovery.DiscoveryInterface, apiGroupVersion, kind string) (bool, error) + func (b *Bootstrap) UpdateCsOpApproval() error + func (b *Bootstrap) UpdateEDBUserManaged() error + func (b *Bootstrap) UpdateResourceLabel(instance *apiv3.CommonService) error + func (b *Bootstrap) UpdateResourceWithLabel(resources *unstructured.UnstructuredList, labels map[string]string) error + func (b *Bootstrap) WaitResourceReady(apiGroupVersion string, kind string) error + type CSOperator struct + APIVersion string + CR string + CRD string + Deployment string + Kind string + Name string + RBAC string + type Resource struct + Group string + Kind string + Name string + Scope string + Version string v4.9.0-alpha Aug 27, 2024