client

package
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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.

Directories

Path Synopsis
AWS Strategy Setup
AWS Strategy Setup

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL