Versions in this module Expand all Collapse all v1 v1.19.0 Feb 21, 2020 Changes in this version + const DefaultOriginPullSecretName + const DefaultOriginPullSecretNamespace + var BackupRoleBindingName = "rhmi-backupjob" + var BackupRoleName = "rhmi-backupjob" + var BackupServiceAccountName = "rhmi-backupjob" + var OwnerLabelKey = integreatlyv1alpha1.SchemeGroupVersion.Group + "/installation-uid" + var Scheme = scheme.Scheme + func AddFinalizer(ctx context.Context, inst *integreatlyv1alpha1.RHMI, client k8sclient.Client, ...) error + func CopyDefaultPullSecretToNameSpace(context context.Context, destNamespace, destName string, ...) error + func CopySecret(ctx context.Context, client k8sclient.Client, ...) error + func CreateNSWithProjectRequest(ctx context.Context, namespace string, client k8sclient.Client, ...) (*v1.Namespace, error) + func CreateOrUpdate(ctx context.Context, serverClient k8sclient.Client, obj runtime.Object) error + func CreatePostgresAvailabilityAlert(ctx context.Context, client k8sclient.Client, inst *v1alpha1.RHMI, ...) (*prometheusv1.PrometheusRule, error) + func CreateRedisAvailabilityAlert(ctx context.Context, client k8sclient.Client, inst *v1alpha1.RHMI, ...) (*prometheusv1.PrometheusRule, error) + func Exists(ctx context.Context, serverClient k8sclient.Client, obj runtime.Object) (bool, error) + func GetNS(ctx context.Context, namespace string, client k8sclient.Client) (*corev1.Namespace, error) + func IsOwnedBy(o metav1.Object, owner *integreatlyv1alpha1.RHMI) bool + func LoadKubernetesResource(jsonData []byte, namespace string) (runtime.Object, error) + func PrepareObject(ns metav1.Object, install *integreatlyv1alpha1.RHMI) + func ReconcileBackup(ctx context.Context, serverClient k8sclient.Client, config BackupConfig, ...) error + func ReconcileRHSSOPostgresCredentials(ctx context.Context, installation *integreatlyv1alpha1.RHMI, ...) (*corev1.Secret, error) + func RemoveFinalizer(ctx context.Context, inst *integreatlyv1alpha1.RHMI, client k8sclient.Client, ...) error + func RemoveNamespace(ctx context.Context, inst *integreatlyv1alpha1.RHMI, client k8sclient.Client, ...) (integreatlyv1alpha1.StatusPhase, error) + func RemoveOauthClient(oauthClient oauthClient.OauthV1Interface, oauthClientName string) error + func RemoveProductFinalizer(ctx context.Context, inst *integreatlyv1alpha1.RHMI, client k8sclient.Client, ...) error + func RuntimeObjectFromUnstructured(u *unstructured.Unstructured) (runtime.Object, error) + func UnstructuredFromRuntimeObject(ro runtime.Object) (*unstructured.Unstructured, error) + type BackupComponent struct + Name string + Schedule string + Secret BackupSecretLocation + Type string + type BackupConfig struct + BackendSecret BackupSecretLocation + Components []BackupComponent + EncryptionSecret BackupSecretLocation + Name string + Namespace string + type BackupSecretLocation struct + Name string + Namespace string + type OauthResolver struct + Host string + func NewOauthResolver(client *http.Client) *OauthResolver + func (or *OauthResolver) GetOauthEndPoint() (*OauthServerConfig, error) + type OauthServerConfig struct + AuthorizationEndpoint string + CodeChallengeMethodsSupported []string + GrantTypesSupported []string + Issuer string + ResponseTypesSupported []string + ScopesSupported []string + TokenEndpoint string + type Reconciler struct + func NewReconciler(mpm marketplace.MarketplaceInterface) *Reconciler + func (r *Reconciler) ReconcileFinalizer(ctx context.Context, client k8sclient.Client, inst *integreatlyv1alpha1.RHMI, ...) (integreatlyv1alpha1.StatusPhase, error) + func (r *Reconciler) ReconcileNamespace(ctx context.Context, namespace string, inst *integreatlyv1alpha1.RHMI, ...) (integreatlyv1alpha1.StatusPhase, error) + func (r *Reconciler) ReconcileOauthClient(ctx context.Context, inst *integreatlyv1alpha1.RHMI, ...) (integreatlyv1alpha1.StatusPhase, error) + func (r *Reconciler) ReconcilePullSecret(ctx context.Context, namespace, secretName string, ...) (integreatlyv1alpha1.StatusPhase, error) + func (r *Reconciler) ReconcileSubscription(ctx context.Context, owner ownerutil.Owner, target marketplace.Target, ...) (integreatlyv1alpha1.StatusPhase, error) + type Version struct + Major int + Minor int + Patch int + func NewVersion(version integreatlyv1alpha1.OperatorVersion) (*Version, error) + func (v *Version) AsString() string + func (v *Version) Equals(other *Version) bool + func (v *Version) IsNewerThan(other *Version) bool