providers

package
v0.80.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const RCharSet = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"

Variables

View Source
var DefaultImageCaddyGateway = DefaultImageCaddySideCar
View Source
var DefaultImageCaddyProxy = "quay.io/cloudservices/caddy-ubi:latest"
View Source
var DefaultImageCaddySideCar = "quay.io/cloudservices/crc-caddy-plugin:39a1c9e"
View Source
var DefaultImageDatabasePG10 = "quay.io/cloudservices/postgresql-rds:10-99c8c27"
View Source
var DefaultImageDatabasePG12 = "quay.io/cloudservices/postgresql-rds:12-2318dee"
View Source
var DefaultImageDatabasePG13 = "quay.io/cloudservices/postgresql-rds:13-2318dee"
View Source
var DefaultImageDatabasePG14 = "quay.io/cloudservices/postgresql-rds:14-2318dee"
View Source
var DefaultImageDatabasePG15 = "quay.io/cloudservices/postgresql-rds:15-2318dee"
View Source
var DefaultImageDatabasePG16 = "quay.io/cloudservices/postgresql-rds:16-4649c84"
View Source
var DefaultImageKeyCloak = fmt.Sprintf("quay.io/keycloak/keycloak:%s", DefaultKeyCloakVersion)
View Source
var DefaultImageMBOP = "quay.io/cloudservices/mbop:959d00d"
View Source
var DefaultImageMocktitlements = "quay.io/cloudservices/mocktitlements:89adf1b"
View Source
var DefaultKeyCloakVersion = "23.0.1"
View Source
var KubeLinterAnnotations = map[string]string{
	"ignore-check.kube-linter.io/no-liveness-probe":  "probes not required on Job pods",
	"ignore-check.kube-linter.io/no-readiness-probe": "probes not required on Job pods",
}

Functions

func AddCertVolume added in v0.61.0

func AddCertVolume(d *core.PodSpec, dnn string)

func AppendEnvVarsFromSecret added in v0.67.0

func AppendEnvVarsFromSecret(envvars []core.EnvVar, secName string, inputs ...SecretEnvVar) []core.EnvVar

func DebugLog added in v0.43.0

func DebugLog(logger logr.Logger, msg string, keysAndValues ...interface{})

func GetAPIPaths added in v0.65.0

func GetAPIPaths(deployment *crd.Deployment, defaultPath string) []string

func GetCaddyGatewayImage added in v0.65.0

func GetCaddyGatewayImage(env *crd.ClowdEnvironment) string

GetCaddyImage returns the caddy image to use in a given environment

func GetCaddyImage added in v0.42.0

func GetCaddyImage(env *crd.ClowdEnvironment) string

GetCaddyImage returns the caddy image to use in a given environment

func GetClowderNamespace added in v0.43.0

func GetClowderNamespace() (string, error)

func GetKeycloakImage added in v0.42.0

func GetKeycloakImage(env *crd.ClowdEnvironment) string

GetKeycloakImage returns the keycloak image to use in a given environment

func GetKeycloakVersion added in v0.42.0

func GetKeycloakVersion(env *crd.ClowdEnvironment) string

GetKeycloakVersion returns the keycloak version to use in a given environment

func GetMockBOPImage added in v0.42.0

func GetMockBOPImage(env *crd.ClowdEnvironment) string

GetMockBOPImage returns the mock BOP image to use in a given environment

func GetMocktitlementsImage added in v0.42.0

func GetMocktitlementsImage(env *crd.ClowdEnvironment) string

GetMocktitlementsImage returns the mocktitlements image to use in a given environment

func MakeLocalDB

func MakeLocalDB(dd *apps.Deployment, nn types.NamespacedName, baseResource obj.ClowdObject, extraLabels *map[string]string, cfg *config.DatabaseConfig, image string, usePVC bool, dbName string, res *core.ResourceRequirements)

MakeLocalDB populates the given deployment object with the local DB struct.

func MakeLocalDBPVC

func MakeLocalDBPVC(pvc *core.PersistentVolumeClaim, nn types.NamespacedName, baseResource obj.ClowdObject, capacity string)

MakeLocalDBPVC populates the given PVC object with the local DB struct.

func MakeLocalDBService

func MakeLocalDBService(s *core.Service, nn types.NamespacedName, baseResource obj.ClowdObject, extraLabels *map[string]string)

MakeLocalDBService populates the given service object with the local DB struct.

Types

type SecretEnvVar added in v0.67.0

type SecretEnvVar struct {
	Name string
	Key  string
}

func NewSecretEnvVar added in v0.67.0

func NewSecretEnvVar(name, key string) SecretEnvVar

Jump to

Keyboard shortcuts

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