Documentation ¶
Index ¶
- Constants
- func ReconcileBlobStorage(ctx context.Context, client client.Client, ...) (*v1alpha1.BlobStorage, error)
- func ReconcilePostgres(ctx context.Context, client client.Client, ...) (*v1alpha1.Postgres, error)
- func ReconcileRedis(ctx context.Context, client client.Client, ...) (*v1alpha1.Redis, error)
- func ReconcileStrategyMaps(ctx context.Context, client client.Client, ...) error
Constants ¶
View Source
const ( // exported tiers to be used by RHOAM operator TierProduction = "production" TierDevelopment = "development" )
Variables ¶
This section is empty.
Functions ¶
func ReconcileBlobStorage ¶
func ReconcileBlobStorage(ctx context.Context, client client.Client, productName, deploymentType, tier, name, ns, secretName, secretNs string, modifyFunc modifyResourceFunc) (*v1alpha1.BlobStorage, error)
ReconcileBlobStorage creates or updates a blob storage custom resource
func ReconcilePostgres ¶
func ReconcilePostgres(ctx context.Context, client client.Client, productName, deploymentType, tier, name, ns, secretName, secretNs string, applyImmediately bool, snapshotFrequency, snapshotRetention croType.Duration, modifyFunc modifyResourceFunc) (*v1alpha1.Postgres, error)
ReconcilePostgres creates or updates a postgres custom resource
func ReconcileRedis ¶
func ReconcileRedis(ctx context.Context, client client.Client, productName, deploymentType, tier, name, ns, secretName, secretNs, size string, applyImmediately, maintenanceWindow bool, modifyFunc modifyResourceFunc) (*v1alpha1.Redis, error)
ReconcileRedis creates or updates a redis custom resource
func ReconcileStrategyMaps ¶
func ReconcileStrategyMaps(ctx context.Context, client client.Client, timeConfig *stratType.StrategyTimeConfig, tier, namespace string) error
ReconcileStrategyMaps to be used to reconcile strategy maps expected in RHOAM installs A single function which can check the infrastructure and provision the correct strategy config map
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.