component

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2019 License: Apache-2.0, Apache-2.0 Imports: 12 Imported by: 4

Documentation

Index

Constants

View Source
const (
	BackendSecretBackendRedisSecretName                    = "backend-redis"
	BackendSecretBackendRedisStorageURLFieldName           = "REDIS_STORAGE_URL"
	BackendSecretBackendRedisQueuesURLFieldName            = "REDIS_QUEUES_URL"
	BackendSecretBackendRedisStorageSentinelHostsFieldName = "REDIS_STORAGE_SENTINEL_HOSTS"
	BackendSecretBackendRedisStorageSentinelRoleFieldName  = "REDIS_STORAGE_SENTINEL_ROLE"
	BackendSecretBackendRedisQueuesSentinelHostsFieldName  = "REDIS_QUEUES_SENTINEL_HOSTS"
	BackendSecretBackendRedisQueuesSentinelRoleFieldName   = "REDIS_QUEUES_SENTINEL_ROLE"
)
View Source
const (
	BackendSecretInternalApiSecretName        = "backend-internal-api"
	BackendSecretInternalApiUsernameFieldName = "username"
	BackendSecretInternalApiPasswordFieldName = "password"
)
View Source
const (
	BackendSecretBackendListenerSecretName               = "backend-listener"
	BackendSecretBackendListenerServiceEndpointFieldName = "service_endpoint"
	BackendSecretBackendListenerRouteEndpointFieldName   = "route_endpoint"
)
View Source
const (
	S3SecretAWSAccessKeyIdFieldName     = "AWS_ACCESS_KEY_ID"
	S3SecretAWSSecretAccessKeyFieldName = "AWS_SECRET_ACCESS_KEY"
)
View Source
const (
	SystemSecretSystemDatabaseSecretName            = "system-database"
	SystemSecretSystemDatabaseURLFieldName          = "URL"
	SystemSecretSystemDatabaseDatabaseNameFieldName = "DB_NAME"
	SystemSecretSystemDatabaseUserFieldName         = "DB_USER"
	SystemSecretSystemDatabasePasswordFieldName     = "DB_PASSWORD"
	SystemSecretSystemDatabaseRootPasswordFieldName = "DB_ROOT_PASSWORD"
)
View Source
const (
	SystemSecretSystemMemcachedSecretName       = "system-memcache"
	SystemSecretSystemMemcachedServersFieldName = "SERVERS"
)
View Source
const (
	SystemSecretSystemRecaptchaSecretName          = "system-recaptcha"
	SystemSecretSystemRecaptchaPublicKeyFieldName  = "PUBLIC_KEY"
	SystemSecretSystemRecaptchaPrivateKeyFieldName = "PRIVATE_KEY"
)
View Source
const (
	SystemSecretSystemEventsHookSecretName        = "system-events-hook"
	SystemSecretSystemEventsHookURLFieldName      = "URL"
	SystemSecretSystemEventsHookPasswordFieldName = "PASSWORD"
)
View Source
const (
	SystemSecretSystemRedisSecretName                  = "system-redis"
	SystemSecretSystemRedisURLFieldName                = "URL"
	SystemSecretSystemRedisMessageBusRedisURLFieldName = "MESSAGE_BUS_URL"
	SystemSecretSystemRedisNamespace                   = "NAMESPACE"
	SystemSecretSystemRedisMessageBusRedisNamespace    = "MESSAGE_BUS_NAMESPACE"
	SystemSecretSystemRedisSentinelHosts               = "SENTINEL_HOSTS"
	SystemSecretSystemRedisSentinelRole                = "SENTINEL_ROLE"
	SystemSecretSystemRedisMessageBusSentinelHosts     = "MESSAGE_BUS_SENTINEL_HOSTS"
	SystemSecretSystemRedisMessageBusSentinelRole      = "MESSAGE_BUS_SENTINEL_ROLE"
)
View Source
const (
	SystemSecretSystemAppSecretName             = "system-app"
	SystemSecretSystemAppSecretKeyBaseFieldName = "SECRET_KEY_BASE"
)
View Source
const (
	SystemSecretSystemSeedSecretName                 = "system-seed"
	SystemSecretSystemSeedMasterDomainFieldName      = "MASTER_DOMAIN"
	SystemSecretSystemSeedMasterAccessTokenFieldName = "MASTER_ACCESS_TOKEN"
	SystemSecretSystemSeedMasterUserFieldName        = "MASTER_USER"
	SystemSecretSystemSeedMasterPasswordFieldName    = "MASTER_PASSWORD"
	SystemSecretSystemSeedAdminAccessTokenFieldName  = "ADMIN_ACCESS_TOKEN"
	SystemSecretSystemSeedAdminUserFieldName         = "ADMIN_USER"
	SystemSecretSystemSeedAdminPasswordFieldName     = "ADMIN_PASSWORD"
	SystemSecretSystemSeedAdminEmailFieldName        = "ADMIN_EMAIL"
	SystemSecretSystemSeedTenantNameFieldName        = "TENANT_NAME"
)
View Source
const (
	SystemSecretSystemMasterApicastSecretName                    = "system-master-apicast"
	SystemSecretSystemMasterApicastProxyConfigsEndpointFieldName = "PROXY_CONFIGS_ENDPOINT"
	SystemSecretSystemMasterApicastBaseURL                       = "BASE_URL"
	SystemSecretSystemMasterApicastAccessToken                   = "ACCESS_TOKEN"
)
View Source
const (
	ZyncSecretName                         = "zync"
	ZyncSecretKeyBaseFieldName             = "SECRET_KEY_BASE"
	ZyncSecretDatabaseURLFieldName         = "DATABASE_URL"
	ZyncSecretDatabasePasswordFieldName    = "ZYNC_DATABASE_PASSWORD"
	ZyncSecretAuthenticationTokenFieldName = "ZYNC_AUTHENTICATION_TOKEN"
)
View Source
const (
	HighlyAvailableReplicas = 2
)
View Source
const (
	InsecureImportPolicy = false
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AmpImages

type AmpImages struct {
	Options *AmpImagesOptions
}

func NewAmpImages

func NewAmpImages(options *AmpImagesOptions) *AmpImages

func (*AmpImages) Objects added in v0.3.0

func (ampImages *AmpImages) Objects() []common.KubernetesObject

type AmpImagesOptions

type AmpImagesOptions struct {
	ZyncDatabasePostgreSQLImage string
	// contains filtered or unexported fields
}

type AmpImagesOptionsBuilder

type AmpImagesOptionsBuilder struct {
	// contains filtered or unexported fields
}

func (*AmpImagesOptionsBuilder) AMPRelease

func (ampImages *AmpImagesOptionsBuilder) AMPRelease(ampRelease string)

func (*AmpImagesOptionsBuilder) ApicastImage

func (ampImages *AmpImagesOptionsBuilder) ApicastImage(apicastImage string)

func (*AmpImagesOptionsBuilder) AppLabel

func (ampImages *AmpImagesOptionsBuilder) AppLabel(appLabel string)

func (*AmpImagesOptionsBuilder) BackendImage

func (ampImages *AmpImagesOptionsBuilder) BackendImage(backendImage string)

func (*AmpImagesOptionsBuilder) BackendRedisImage added in v0.3.0

func (ampImages *AmpImagesOptionsBuilder) BackendRedisImage(image string)

func (*AmpImagesOptionsBuilder) Build

func (ampImages *AmpImagesOptionsBuilder) Build() (*AmpImagesOptions, error)

func (*AmpImagesOptionsBuilder) InsecureImportPolicy

func (ampImages *AmpImagesOptionsBuilder) InsecureImportPolicy(insecureImportPolicy bool)

func (*AmpImagesOptionsBuilder) SystemImage

func (ampImages *AmpImagesOptionsBuilder) SystemImage(systemImage string)

func (*AmpImagesOptionsBuilder) SystemMemcachedImage added in v0.3.0

func (ampImages *AmpImagesOptionsBuilder) SystemMemcachedImage(image string)

func (*AmpImagesOptionsBuilder) SystemRedisImage added in v0.3.0

func (ampImages *AmpImagesOptionsBuilder) SystemRedisImage(image string)

func (*AmpImagesOptionsBuilder) ZyncDatabasePostgreSQLImage added in v0.3.0

func (ampImages *AmpImagesOptionsBuilder) ZyncDatabasePostgreSQLImage(zyncDatabaseImage string)

func (*AmpImagesOptionsBuilder) ZyncImage

func (ampImages *AmpImagesOptionsBuilder) ZyncImage(zyncImage string)

type Apicast

type Apicast struct {
	Options *ApicastOptions
}

func NewApicast

func NewApicast(options *ApicastOptions) *Apicast

func (*Apicast) Objects added in v0.3.0

func (apicast *Apicast) Objects() []common.KubernetesObject

type ApicastOptions

type ApicastOptions struct {
	// contains filtered or unexported fields
}

type ApicastOptionsBuilder

type ApicastOptionsBuilder struct {
	// contains filtered or unexported fields
}

func (*ApicastOptionsBuilder) AppLabel

func (a *ApicastOptionsBuilder) AppLabel(appLabel string)

func (*ApicastOptionsBuilder) Build

func (*ApicastOptionsBuilder) ManagementAPI

func (a *ApicastOptionsBuilder) ManagementAPI(managementAPI string)

func (*ApicastOptionsBuilder) OpenSSLVerify

func (a *ApicastOptionsBuilder) OpenSSLVerify(openSSLVerify string)

func (*ApicastOptionsBuilder) ResponseCodes

func (a *ApicastOptionsBuilder) ResponseCodes(responseCodes string)

func (*ApicastOptionsBuilder) TenantName

func (a *ApicastOptionsBuilder) TenantName(tenantName string)

func (*ApicastOptionsBuilder) WildcardDomain

func (a *ApicastOptionsBuilder) WildcardDomain(wildcardDomain string)

type Backend

type Backend struct {
	Options *BackendOptions
}

func NewBackend

func NewBackend(options *BackendOptions) *Backend

func (*Backend) Objects added in v0.3.0

func (backend *Backend) Objects() []common.KubernetesObject

type BackendOptions

type BackendOptions struct {
	// contains filtered or unexported fields
}

type BackendOptionsBuilder

type BackendOptionsBuilder struct {
	// contains filtered or unexported fields
}

func (*BackendOptionsBuilder) AppLabel

func (m *BackendOptionsBuilder) AppLabel(appLabel string)

func (*BackendOptionsBuilder) Build

func (*BackendOptionsBuilder) ListenerRouteEndpoint

func (m *BackendOptionsBuilder) ListenerRouteEndpoint(routeEndpoint string)

func (*BackendOptionsBuilder) ListenerServiceEndpoint

func (m *BackendOptionsBuilder) ListenerServiceEndpoint(serviceEndpoint string)

func (*BackendOptionsBuilder) RedisQueuesSentinelHosts

func (m *BackendOptionsBuilder) RedisQueuesSentinelHosts(hosts string)

func (*BackendOptionsBuilder) RedisQueuesSentinelRole

func (m *BackendOptionsBuilder) RedisQueuesSentinelRole(role string)

func (*BackendOptionsBuilder) RedisQueuesURL

func (m *BackendOptionsBuilder) RedisQueuesURL(url string)

func (*BackendOptionsBuilder) RedisStorageSentinelHosts

func (m *BackendOptionsBuilder) RedisStorageSentinelHosts(hosts string)

func (*BackendOptionsBuilder) RedisStorageSentinelRole

func (m *BackendOptionsBuilder) RedisStorageSentinelRole(role string)

func (*BackendOptionsBuilder) RedisStorageURL

func (m *BackendOptionsBuilder) RedisStorageURL(url string)

func (*BackendOptionsBuilder) SystemBackendPassword

func (m *BackendOptionsBuilder) SystemBackendPassword(systemBackendPassword string)

func (*BackendOptionsBuilder) SystemBackendUsername

func (m *BackendOptionsBuilder) SystemBackendUsername(systemBackendUsername string)

func (*BackendOptionsBuilder) TenantName

func (m *BackendOptionsBuilder) TenantName(tenantName string)

func (*BackendOptionsBuilder) WildcardDomain

func (m *BackendOptionsBuilder) WildcardDomain(wildcardDomain string)

type Evaluation

type Evaluation struct {
}

func NewEvaluation

func NewEvaluation() *Evaluation

func (*Evaluation) RemoveContainersResourceRequestsAndLimits added in v0.3.0

func (evaluation *Evaluation) RemoveContainersResourceRequestsAndLimits(objects []common.KubernetesObject)

type HighAvailability

type HighAvailability struct {
	Options *HighAvailabilityOptions
}

func NewHighAvailability

func NewHighAvailability(options *HighAvailabilityOptions) *HighAvailability

func (*HighAvailability) DeleteDBRelatedParameters added in v0.3.0

func (ha *HighAvailability) DeleteDBRelatedParameters(template *templatev1.Template)

func (*HighAvailability) DeleteInternalDatabasesObjects added in v0.3.0

func (ha *HighAvailability) DeleteInternalDatabasesObjects(objects []common.KubernetesObject) []common.KubernetesObject

func (*HighAvailability) IncreaseReplicasNumber added in v0.3.0

func (ha *HighAvailability) IncreaseReplicasNumber(objects []common.KubernetesObject)

func (*HighAvailability) Objects added in v0.3.0

func (ha *HighAvailability) Objects() []common.KubernetesObject

func (*HighAvailability) UnsetSystemRedisDBDefaultValues added in v0.3.0

func (ha *HighAvailability) UnsetSystemRedisDBDefaultValues(template *templatev1.Template)

func (*HighAvailability) UpdateDatabasesURLS added in v0.3.0

func (ha *HighAvailability) UpdateDatabasesURLS(objects []common.KubernetesObject)

type HighAvailabilityOptions

type HighAvailabilityOptions struct {
	// contains filtered or unexported fields
}

type HighAvailabilityOptionsBuilder

type HighAvailabilityOptionsBuilder struct {
	// contains filtered or unexported fields
}

func (*HighAvailabilityOptionsBuilder) AppLabel

func (ha *HighAvailabilityOptionsBuilder) AppLabel(appLabel string)

func (*HighAvailabilityOptionsBuilder) BackendRedisQueuesEndpoint

func (ha *HighAvailabilityOptionsBuilder) BackendRedisQueuesEndpoint(backendRedisQueuesEndpoint string)

func (*HighAvailabilityOptionsBuilder) BackendRedisStorageEndpoint

func (ha *HighAvailabilityOptionsBuilder) BackendRedisStorageEndpoint(backendRedisStorageEndpoint string)

func (*HighAvailabilityOptionsBuilder) Build

func (*HighAvailabilityOptionsBuilder) SystemDatabaseURL

func (ha *HighAvailabilityOptionsBuilder) SystemDatabaseURL(systemDatabaseURL string)

func (*HighAvailabilityOptionsBuilder) SystemMessageBusRedisURL added in v0.3.0

func (ha *HighAvailabilityOptionsBuilder) SystemMessageBusRedisURL(url string)

func (*HighAvailabilityOptionsBuilder) SystemRedisURL

func (ha *HighAvailabilityOptionsBuilder) SystemRedisURL(systemRedisURL string)

type Memcached

type Memcached struct {
	Options *MemcachedOptions
}

func NewMemcached

func NewMemcached(options *MemcachedOptions) *Memcached

func (*Memcached) Objects added in v0.3.0

func (m *Memcached) Objects() []common.KubernetesObject

type MemcachedOptions

type MemcachedOptions struct {
	// contains filtered or unexported fields
}

type MemcachedOptionsBuilder

type MemcachedOptionsBuilder struct {
	// contains filtered or unexported fields
}

func (*MemcachedOptionsBuilder) AppLabel

func (m *MemcachedOptionsBuilder) AppLabel(appLabel string)

func (*MemcachedOptionsBuilder) Build

type Redis

type Redis struct {
	Options *RedisOptions
}

func NewRedis

func NewRedis(options *RedisOptions) *Redis

func (*Redis) Objects added in v0.3.0

func (redis *Redis) Objects() []common.KubernetesObject

type RedisOptions

type RedisOptions struct {
	// contains filtered or unexported fields
}

type RedisOptionsBuilder

type RedisOptionsBuilder struct {
	// contains filtered or unexported fields
}

func (*RedisOptionsBuilder) AppLabel

func (r *RedisOptionsBuilder) AppLabel(appLabel string)

func (*RedisOptionsBuilder) Build

func (r *RedisOptionsBuilder) Build() (*RedisOptions, error)

type S3

type S3 struct {
	Options *S3Options
}

func NewS3

func NewS3(options *S3Options) *S3

func (*S3) AddCfgMapElemsToSystemBaseEnv added in v0.3.0

func (s3 *S3) AddCfgMapElemsToSystemBaseEnv(objects []common.KubernetesObject)

func (*S3) AddS3PostprocessOptionsToSystemEnvironmentCfgMap added in v0.3.0

func (s3 *S3) AddS3PostprocessOptionsToSystemEnvironmentCfgMap(objects []common.KubernetesObject)

func (*S3) Objects added in v0.3.0

func (s3 *S3) Objects() []common.KubernetesObject

func (*S3) RemoveRWXStorageClassParameter added in v0.3.0

func (s3 *S3) RemoveRWXStorageClassParameter(template *templatev1.Template)

Remove the RWX_STORAGE_CLASS parameter because it is used only for the system-storage PersistentVolumeClaim

func (*S3) RemoveSystemStoragePVC added in v0.3.0

func (s3 *S3) RemoveSystemStoragePVC(objects []common.KubernetesObject) []common.KubernetesObject

func (*S3) RemoveSystemStorageReferences added in v0.3.0

func (s3 *S3) RemoveSystemStorageReferences(objects []common.KubernetesObject)

type S3Options

type S3Options struct {
	// contains filtered or unexported fields
}

type S3OptionsBuilder

type S3OptionsBuilder struct {
	// contains filtered or unexported fields
}

func (*S3OptionsBuilder) AWSCredentialsSecret

func (s3 *S3OptionsBuilder) AWSCredentialsSecret(awsCredentials string)

func (*S3OptionsBuilder) AwsAccessKeyId

func (s3 *S3OptionsBuilder) AwsAccessKeyId(awsAccessKeyId string)

func (*S3OptionsBuilder) AwsBucket

func (s3 *S3OptionsBuilder) AwsBucket(awsBucket string)

func (*S3OptionsBuilder) AwsRegion

func (s3 *S3OptionsBuilder) AwsRegion(awsRegion string)

func (*S3OptionsBuilder) AwsSecretAccessKey

func (s3 *S3OptionsBuilder) AwsSecretAccessKey(awsSecretAccessKey string)

func (*S3OptionsBuilder) Build

func (s3 *S3OptionsBuilder) Build() (*S3Options, error)

type System

type System struct {
	Options *SystemOptions
}

func NewSystem

func NewSystem(options *SystemOptions) *System

func (*System) BackendRedisEnvVars added in v0.3.0

func (system *System) BackendRedisEnvVars() []v1.EnvVar

func (*System) Objects added in v0.3.0

func (system *System) Objects() []common.KubernetesObject

func (*System) SystemRedisEnvVars added in v0.3.0

func (system *System) SystemRedisEnvVars() []v1.EnvVar

type SystemMySQLImage added in v0.3.0

type SystemMySQLImage struct {
	Options *SystemMySQLImageOptions
}

func NewSystemMySQLImage added in v0.3.0

func NewSystemMySQLImage(options *SystemMySQLImageOptions) *SystemMySQLImage

func (*SystemMySQLImage) Objects added in v0.3.0

func (s *SystemMySQLImage) Objects() []common.KubernetesObject

type SystemMySQLImageOptions added in v0.3.0

type SystemMySQLImageOptions struct {
	// contains filtered or unexported fields
}

type SystemMySQLImageOptionsBuilder added in v0.3.0

type SystemMySQLImageOptionsBuilder struct {
	// contains filtered or unexported fields
}

func (*SystemMySQLImageOptionsBuilder) AmpRelease added in v0.3.0

func (b *SystemMySQLImageOptionsBuilder) AmpRelease(release string)

func (*SystemMySQLImageOptionsBuilder) AppLabel added in v0.3.0

func (b *SystemMySQLImageOptionsBuilder) AppLabel(appLabel string)

func (*SystemMySQLImageOptionsBuilder) Build added in v0.3.0

func (*SystemMySQLImageOptionsBuilder) Image added in v0.3.0

func (b *SystemMySQLImageOptionsBuilder) Image(image string)

func (*SystemMySQLImageOptionsBuilder) InsecureImportPolicy added in v0.3.0

func (b *SystemMySQLImageOptionsBuilder) InsecureImportPolicy(insecure bool)

type SystemMysql added in v0.3.0

type SystemMysql struct {
	Options *SystemMysqlOptions
}

func NewSystemMysql added in v0.3.0

func NewSystemMysql(options *SystemMysqlOptions) *SystemMysql

func (*SystemMysql) Objects added in v0.3.0

func (mysql *SystemMysql) Objects() []common.KubernetesObject

type SystemMysqlOptions added in v0.3.0

type SystemMysqlOptions struct {
	// contains filtered or unexported fields
}

type SystemMysqlOptionsBuilder added in v0.3.0

type SystemMysqlOptionsBuilder struct {
	// contains filtered or unexported fields
}

func (*SystemMysqlOptionsBuilder) AppLabel added in v0.3.0

func (m *SystemMysqlOptionsBuilder) AppLabel(appLabel string)

func (*SystemMysqlOptionsBuilder) Build added in v0.3.0

func (*SystemMysqlOptionsBuilder) DatabaseName added in v0.3.0

func (m *SystemMysqlOptionsBuilder) DatabaseName(databaseName string)

func (*SystemMysqlOptionsBuilder) DatabaseURL added in v0.3.0

func (m *SystemMysqlOptionsBuilder) DatabaseURL(url string)

func (*SystemMysqlOptionsBuilder) Password added in v0.3.0

func (m *SystemMysqlOptionsBuilder) Password(password string)

func (*SystemMysqlOptionsBuilder) RootPassword added in v0.3.0

func (m *SystemMysqlOptionsBuilder) RootPassword(rootPassword string)

func (*SystemMysqlOptionsBuilder) User added in v0.3.0

func (m *SystemMysqlOptionsBuilder) User(user string)

type SystemOptions

type SystemOptions struct {
	// contains filtered or unexported fields
}

type SystemOptionsBuilder

type SystemOptionsBuilder struct {
	// contains filtered or unexported fields
}

func (*SystemOptionsBuilder) AdminAccessToken

func (s *SystemOptionsBuilder) AdminAccessToken(adminAccessToken string)

func (*SystemOptionsBuilder) AdminEmail

func (s *SystemOptionsBuilder) AdminEmail(adminEmail string)

func (*SystemOptionsBuilder) AdminPassword

func (s *SystemOptionsBuilder) AdminPassword(adminPassword string)

func (*SystemOptionsBuilder) AdminUsername

func (s *SystemOptionsBuilder) AdminUsername(adminUsername string)

func (*SystemOptionsBuilder) AmpRelease

func (s *SystemOptionsBuilder) AmpRelease(ampRelease string)

func (*SystemOptionsBuilder) ApicastAccessToken

func (s *SystemOptionsBuilder) ApicastAccessToken(apicastAccessToken string)

func (*SystemOptionsBuilder) ApicastRegistryURL

func (s *SystemOptionsBuilder) ApicastRegistryURL(apicastRegistryURL string)

func (*SystemOptionsBuilder) ApicastSystemMasterBaseURL

func (s *SystemOptionsBuilder) ApicastSystemMasterBaseURL(url string)

func (*SystemOptionsBuilder) ApicastSystemMasterProxyConfigEndpoint

func (s *SystemOptionsBuilder) ApicastSystemMasterProxyConfigEndpoint(endpoint string)

func (*SystemOptionsBuilder) AppLabel

func (s *SystemOptionsBuilder) AppLabel(appLabel string)

func (*SystemOptionsBuilder) AppSecretKeyBase

func (s *SystemOptionsBuilder) AppSecretKeyBase(appSecretKeyBase string)

func (*SystemOptionsBuilder) BackendSharedSecret

func (s *SystemOptionsBuilder) BackendSharedSecret(backendSharedSecret string)

func (*SystemOptionsBuilder) Build

func (s *SystemOptionsBuilder) Build() (*SystemOptions, error)

func (*SystemOptionsBuilder) EventHooksURL

func (s *SystemOptionsBuilder) EventHooksURL(eventHooksURL string)

func (*SystemOptionsBuilder) MasterAccessToken

func (s *SystemOptionsBuilder) MasterAccessToken(masterAccessToken string)

func (*SystemOptionsBuilder) MasterName

func (s *SystemOptionsBuilder) MasterName(masterName string)

func (*SystemOptionsBuilder) MasterPassword

func (s *SystemOptionsBuilder) MasterPassword(masterPassword string)

func (*SystemOptionsBuilder) MasterUsername

func (s *SystemOptionsBuilder) MasterUsername(masterUsername string)

func (*SystemOptionsBuilder) MemcachedServers

func (s *SystemOptionsBuilder) MemcachedServers(servers string)

func (*SystemOptionsBuilder) MessageBusRedisNamespace added in v0.3.0

func (s *SystemOptionsBuilder) MessageBusRedisNamespace(namespace string)

func (*SystemOptionsBuilder) MessageBusRedisSentinelHosts added in v0.3.0

func (s *SystemOptionsBuilder) MessageBusRedisSentinelHosts(hosts string)

func (*SystemOptionsBuilder) MessageBusRedisSentinelRole added in v0.3.0

func (s *SystemOptionsBuilder) MessageBusRedisSentinelRole(role string)

func (*SystemOptionsBuilder) MessageBusRedisURL added in v0.3.0

func (s *SystemOptionsBuilder) MessageBusRedisURL(url string)

func (*SystemOptionsBuilder) RecaptchaPrivateKey

func (s *SystemOptionsBuilder) RecaptchaPrivateKey(recaptchaPrivateKey string)

func (*SystemOptionsBuilder) RecaptchaPublicKey

func (s *SystemOptionsBuilder) RecaptchaPublicKey(recaptchaPublicKey string)

func (*SystemOptionsBuilder) RedisNamespace added in v0.3.0

func (s *SystemOptionsBuilder) RedisNamespace(namespace string)

func (*SystemOptionsBuilder) RedisSentinelHosts added in v0.3.0

func (s *SystemOptionsBuilder) RedisSentinelHosts(hosts string)

func (*SystemOptionsBuilder) RedisSentinelRole added in v0.3.0

func (s *SystemOptionsBuilder) RedisSentinelRole(role string)

func (*SystemOptionsBuilder) RedisURL

func (s *SystemOptionsBuilder) RedisURL(redisURL string)

func (*SystemOptionsBuilder) StorageClassName

func (s *SystemOptionsBuilder) StorageClassName(storageClassName *string)

func (*SystemOptionsBuilder) TenantName

func (s *SystemOptionsBuilder) TenantName(tenantName string)

func (*SystemOptionsBuilder) WildcardDomain

func (s *SystemOptionsBuilder) WildcardDomain(wildcardDomain string)

type SystemPostgreSQL added in v0.3.0

type SystemPostgreSQL struct {
	Options *SystemPostgreSQLOptions
}

func NewSystemPostgreSQL added in v0.3.0

func NewSystemPostgreSQL(options *SystemPostgreSQLOptions) *SystemPostgreSQL

func (*SystemPostgreSQL) DataPersistentVolumeClaim added in v0.3.0

func (p *SystemPostgreSQL) DataPersistentVolumeClaim() *v1.PersistentVolumeClaim

func (*SystemPostgreSQL) DeploymentConfig added in v0.3.0

func (p *SystemPostgreSQL) DeploymentConfig() *appsv1.DeploymentConfig

func (*SystemPostgreSQL) Objects added in v0.3.0

func (p *SystemPostgreSQL) Objects() []common.KubernetesObject

func (*SystemPostgreSQL) Service added in v0.3.0

func (p *SystemPostgreSQL) Service() *v1.Service

type SystemPostgreSQLImage added in v0.3.0

type SystemPostgreSQLImage struct {
	Options *SystemPostgreSQLImageOptions
}

func NewSystemPostgreSQLImage added in v0.3.0

func NewSystemPostgreSQLImage(options *SystemPostgreSQLImageOptions) *SystemPostgreSQLImage

func (*SystemPostgreSQLImage) Objects added in v0.3.0

type SystemPostgreSQLImageOptions added in v0.3.0

type SystemPostgreSQLImageOptions struct {
	// contains filtered or unexported fields
}

type SystemPostgreSQLImageOptionsBuilder added in v0.3.0

type SystemPostgreSQLImageOptionsBuilder struct {
	// contains filtered or unexported fields
}

func (*SystemPostgreSQLImageOptionsBuilder) AmpRelease added in v0.3.0

func (b *SystemPostgreSQLImageOptionsBuilder) AmpRelease(release string)

func (*SystemPostgreSQLImageOptionsBuilder) AppLabel added in v0.3.0

func (b *SystemPostgreSQLImageOptionsBuilder) AppLabel(appLabel string)

func (*SystemPostgreSQLImageOptionsBuilder) Build added in v0.3.0

func (*SystemPostgreSQLImageOptionsBuilder) Image added in v0.3.0

func (*SystemPostgreSQLImageOptionsBuilder) InsecureImportPolicy added in v0.3.0

func (b *SystemPostgreSQLImageOptionsBuilder) InsecureImportPolicy(insecure bool)

type SystemPostgreSQLOptions added in v0.3.0

type SystemPostgreSQLOptions struct {
	// contains filtered or unexported fields
}

type SystemPostgreSQLOptionsBuilder added in v0.3.0

type SystemPostgreSQLOptionsBuilder struct {
	// contains filtered or unexported fields
}

func (*SystemPostgreSQLOptionsBuilder) AppLabel added in v0.3.0

func (b *SystemPostgreSQLOptionsBuilder) AppLabel(appLabel string)

func (*SystemPostgreSQLOptionsBuilder) Build added in v0.3.0

func (*SystemPostgreSQLOptionsBuilder) DatabaseName added in v0.3.0

func (b *SystemPostgreSQLOptionsBuilder) DatabaseName(databaseName string)

func (*SystemPostgreSQLOptionsBuilder) DatabaseURL added in v0.3.0

func (b *SystemPostgreSQLOptionsBuilder) DatabaseURL(url string)

func (*SystemPostgreSQLOptionsBuilder) Password added in v0.3.0

func (b *SystemPostgreSQLOptionsBuilder) Password(password string)

func (*SystemPostgreSQLOptionsBuilder) User added in v0.3.0

func (b *SystemPostgreSQLOptionsBuilder) User(user string)

type Zync

type Zync struct {
	Options *ZyncOptions
	// contains filtered or unexported fields
}

func NewZync

func NewZync(options *ZyncOptions) *Zync

func (*Zync) Objects added in v0.3.0

func (zync *Zync) Objects() []common.KubernetesObject

type ZyncOptions

type ZyncOptions struct {
	// contains filtered or unexported fields
}

type ZyncOptionsBuilder

type ZyncOptionsBuilder struct {
	// contains filtered or unexported fields
}

func (*ZyncOptionsBuilder) AppLabel

func (z *ZyncOptionsBuilder) AppLabel(appLabel string)

func (*ZyncOptionsBuilder) AuthenticationToken

func (z *ZyncOptionsBuilder) AuthenticationToken(authToken string)

func (*ZyncOptionsBuilder) Build

func (z *ZyncOptionsBuilder) Build() (*ZyncOptions, error)

func (*ZyncOptionsBuilder) DatabasePassword

func (z *ZyncOptionsBuilder) DatabasePassword(dbPass string)

func (*ZyncOptionsBuilder) DatabaseURL

func (z *ZyncOptionsBuilder) DatabaseURL(dbURL string)

func (*ZyncOptionsBuilder) SecretKeyBase

func (z *ZyncOptionsBuilder) SecretKeyBase(secretKeyBase string)

type ZyncOptionsProvider

type ZyncOptionsProvider interface {
	GetZyncOptions() *ZyncOptions
}

Jump to

Keyboard shortcuts

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