Documentation ¶
Index ¶
- Constants
- type AmpImages
- type AmpImagesOptions
- type AmpImagesOptionsBuilder
- func (ampImages *AmpImagesOptionsBuilder) AMPRelease(ampRelease string)
- func (ampImages *AmpImagesOptionsBuilder) ApicastImage(apicastImage string)
- func (ampImages *AmpImagesOptionsBuilder) AppLabel(appLabel string)
- func (ampImages *AmpImagesOptionsBuilder) BackendImage(backendImage string)
- func (ampImages *AmpImagesOptionsBuilder) BackendRedisImage(image string)
- func (ampImages *AmpImagesOptionsBuilder) Build() (*AmpImagesOptions, error)
- func (ampImages *AmpImagesOptionsBuilder) InsecureImportPolicy(insecureImportPolicy bool)
- func (ampImages *AmpImagesOptionsBuilder) SystemImage(systemImage string)
- func (ampImages *AmpImagesOptionsBuilder) SystemMemcachedImage(image string)
- func (ampImages *AmpImagesOptionsBuilder) SystemRedisImage(image string)
- func (ampImages *AmpImagesOptionsBuilder) ZyncDatabasePostgreSQLImage(zyncDatabaseImage string)
- func (ampImages *AmpImagesOptionsBuilder) ZyncImage(zyncImage string)
- type Apicast
- type ApicastOptions
- type ApicastOptionsBuilder
- func (a *ApicastOptionsBuilder) AppLabel(appLabel string)
- func (a *ApicastOptionsBuilder) Build() (*ApicastOptions, error)
- func (a *ApicastOptionsBuilder) ManagementAPI(managementAPI string)
- func (a *ApicastOptionsBuilder) OpenSSLVerify(openSSLVerify string)
- func (a *ApicastOptionsBuilder) ResponseCodes(responseCodes string)
- func (a *ApicastOptionsBuilder) TenantName(tenantName string)
- func (a *ApicastOptionsBuilder) WildcardDomain(wildcardDomain string)
- type Backend
- type BackendOptions
- type BackendOptionsBuilder
- func (m *BackendOptionsBuilder) AppLabel(appLabel string)
- func (m *BackendOptionsBuilder) Build() (*BackendOptions, error)
- func (m *BackendOptionsBuilder) ListenerRouteEndpoint(routeEndpoint string)
- func (m *BackendOptionsBuilder) ListenerServiceEndpoint(serviceEndpoint string)
- func (m *BackendOptionsBuilder) RedisQueuesSentinelHosts(hosts string)
- func (m *BackendOptionsBuilder) RedisQueuesSentinelRole(role string)
- func (m *BackendOptionsBuilder) RedisQueuesURL(url string)
- func (m *BackendOptionsBuilder) RedisStorageSentinelHosts(hosts string)
- func (m *BackendOptionsBuilder) RedisStorageSentinelRole(role string)
- func (m *BackendOptionsBuilder) RedisStorageURL(url string)
- func (m *BackendOptionsBuilder) SystemBackendPassword(systemBackendPassword string)
- func (m *BackendOptionsBuilder) SystemBackendUsername(systemBackendUsername string)
- func (m *BackendOptionsBuilder) TenantName(tenantName string)
- func (m *BackendOptionsBuilder) WildcardDomain(wildcardDomain string)
- type Evaluation
- type HighAvailability
- func (ha *HighAvailability) DeleteDBRelatedParameters(template *templatev1.Template)
- func (ha *HighAvailability) DeleteInternalDatabasesObjects(objects []common.KubernetesObject) []common.KubernetesObject
- func (ha *HighAvailability) IncreaseReplicasNumber(objects []common.KubernetesObject)
- func (ha *HighAvailability) Objects() []common.KubernetesObject
- func (ha *HighAvailability) UnsetSystemRedisDBDefaultValues(template *templatev1.Template)
- func (ha *HighAvailability) UpdateDatabasesURLS(objects []common.KubernetesObject)
- type HighAvailabilityOptions
- type HighAvailabilityOptionsBuilder
- func (ha *HighAvailabilityOptionsBuilder) AppLabel(appLabel string)
- func (ha *HighAvailabilityOptionsBuilder) BackendRedisQueuesEndpoint(backendRedisQueuesEndpoint string)
- func (ha *HighAvailabilityOptionsBuilder) BackendRedisStorageEndpoint(backendRedisStorageEndpoint string)
- func (ha *HighAvailabilityOptionsBuilder) Build() (*HighAvailabilityOptions, error)
- func (ha *HighAvailabilityOptionsBuilder) SystemDatabaseURL(systemDatabaseURL string)
- func (ha *HighAvailabilityOptionsBuilder) SystemMessageBusRedisURL(url string)
- func (ha *HighAvailabilityOptionsBuilder) SystemRedisURL(systemRedisURL string)
- type Memcached
- type MemcachedOptions
- type MemcachedOptionsBuilder
- type Redis
- type RedisOptions
- type RedisOptionsBuilder
- type S3
- func (s3 *S3) AddCfgMapElemsToSystemBaseEnv(objects []common.KubernetesObject)
- func (s3 *S3) AddS3PostprocessOptionsToSystemEnvironmentCfgMap(objects []common.KubernetesObject)
- func (s3 *S3) Objects() []common.KubernetesObject
- func (s3 *S3) RemoveRWXStorageClassParameter(template *templatev1.Template)
- func (s3 *S3) RemoveSystemStoragePVC(objects []common.KubernetesObject) []common.KubernetesObject
- func (s3 *S3) RemoveSystemStorageReferences(objects []common.KubernetesObject)
- type S3Options
- type S3OptionsBuilder
- func (s3 *S3OptionsBuilder) AWSCredentialsSecret(awsCredentials string)
- func (s3 *S3OptionsBuilder) AwsAccessKeyId(awsAccessKeyId string)
- func (s3 *S3OptionsBuilder) AwsBucket(awsBucket string)
- func (s3 *S3OptionsBuilder) AwsRegion(awsRegion string)
- func (s3 *S3OptionsBuilder) AwsSecretAccessKey(awsSecretAccessKey string)
- func (s3 *S3OptionsBuilder) Build() (*S3Options, error)
- type System
- type SystemMySQLImage
- type SystemMySQLImageOptions
- type SystemMySQLImageOptionsBuilder
- func (b *SystemMySQLImageOptionsBuilder) AmpRelease(release string)
- func (b *SystemMySQLImageOptionsBuilder) AppLabel(appLabel string)
- func (b *SystemMySQLImageOptionsBuilder) Build() (*SystemMySQLImageOptions, error)
- func (b *SystemMySQLImageOptionsBuilder) Image(image string)
- func (b *SystemMySQLImageOptionsBuilder) InsecureImportPolicy(insecure bool)
- type SystemMysql
- type SystemMysqlOptions
- type SystemMysqlOptionsBuilder
- func (m *SystemMysqlOptionsBuilder) AppLabel(appLabel string)
- func (m *SystemMysqlOptionsBuilder) Build() (*SystemMysqlOptions, error)
- func (m *SystemMysqlOptionsBuilder) DatabaseName(databaseName string)
- func (m *SystemMysqlOptionsBuilder) DatabaseURL(url string)
- func (m *SystemMysqlOptionsBuilder) Password(password string)
- func (m *SystemMysqlOptionsBuilder) RootPassword(rootPassword string)
- func (m *SystemMysqlOptionsBuilder) User(user string)
- type SystemOptions
- type SystemOptionsBuilder
- func (s *SystemOptionsBuilder) AdminAccessToken(adminAccessToken string)
- func (s *SystemOptionsBuilder) AdminEmail(adminEmail string)
- func (s *SystemOptionsBuilder) AdminPassword(adminPassword string)
- func (s *SystemOptionsBuilder) AdminUsername(adminUsername string)
- func (s *SystemOptionsBuilder) AmpRelease(ampRelease string)
- func (s *SystemOptionsBuilder) ApicastAccessToken(apicastAccessToken string)
- func (s *SystemOptionsBuilder) ApicastRegistryURL(apicastRegistryURL string)
- func (s *SystemOptionsBuilder) ApicastSystemMasterBaseURL(url string)
- func (s *SystemOptionsBuilder) ApicastSystemMasterProxyConfigEndpoint(endpoint string)
- func (s *SystemOptionsBuilder) AppLabel(appLabel string)
- func (s *SystemOptionsBuilder) AppSecretKeyBase(appSecretKeyBase string)
- func (s *SystemOptionsBuilder) BackendSharedSecret(backendSharedSecret string)
- func (s *SystemOptionsBuilder) Build() (*SystemOptions, error)
- func (s *SystemOptionsBuilder) EventHooksURL(eventHooksURL string)
- func (s *SystemOptionsBuilder) MasterAccessToken(masterAccessToken string)
- func (s *SystemOptionsBuilder) MasterName(masterName string)
- func (s *SystemOptionsBuilder) MasterPassword(masterPassword string)
- func (s *SystemOptionsBuilder) MasterUsername(masterUsername string)
- func (s *SystemOptionsBuilder) MemcachedServers(servers string)
- func (s *SystemOptionsBuilder) MessageBusRedisNamespace(namespace string)
- func (s *SystemOptionsBuilder) MessageBusRedisSentinelHosts(hosts string)
- func (s *SystemOptionsBuilder) MessageBusRedisSentinelRole(role string)
- func (s *SystemOptionsBuilder) MessageBusRedisURL(url string)
- func (s *SystemOptionsBuilder) RecaptchaPrivateKey(recaptchaPrivateKey string)
- func (s *SystemOptionsBuilder) RecaptchaPublicKey(recaptchaPublicKey string)
- func (s *SystemOptionsBuilder) RedisNamespace(namespace string)
- func (s *SystemOptionsBuilder) RedisSentinelHosts(hosts string)
- func (s *SystemOptionsBuilder) RedisSentinelRole(role string)
- func (s *SystemOptionsBuilder) RedisURL(redisURL string)
- func (s *SystemOptionsBuilder) StorageClassName(storageClassName *string)
- func (s *SystemOptionsBuilder) TenantName(tenantName string)
- func (s *SystemOptionsBuilder) WildcardDomain(wildcardDomain string)
- type SystemPostgreSQL
- type SystemPostgreSQLImage
- type SystemPostgreSQLImageOptions
- type SystemPostgreSQLImageOptionsBuilder
- func (b *SystemPostgreSQLImageOptionsBuilder) AmpRelease(release string)
- func (b *SystemPostgreSQLImageOptionsBuilder) AppLabel(appLabel string)
- func (b *SystemPostgreSQLImageOptionsBuilder) Build() (*SystemPostgreSQLImageOptions, error)
- func (b *SystemPostgreSQLImageOptionsBuilder) Image(image string)
- func (b *SystemPostgreSQLImageOptionsBuilder) InsecureImportPolicy(insecure bool)
- type SystemPostgreSQLOptions
- type SystemPostgreSQLOptionsBuilder
- func (b *SystemPostgreSQLOptionsBuilder) AppLabel(appLabel string)
- func (b *SystemPostgreSQLOptionsBuilder) Build() (*SystemPostgreSQLOptions, error)
- func (b *SystemPostgreSQLOptionsBuilder) DatabaseName(databaseName string)
- func (b *SystemPostgreSQLOptionsBuilder) DatabaseURL(url string)
- func (b *SystemPostgreSQLOptionsBuilder) Password(password string)
- func (b *SystemPostgreSQLOptionsBuilder) User(user string)
- type Zync
- type ZyncOptions
- type ZyncOptionsBuilder
- func (z *ZyncOptionsBuilder) AppLabel(appLabel string)
- func (z *ZyncOptionsBuilder) AuthenticationToken(authToken string)
- func (z *ZyncOptionsBuilder) Build() (*ZyncOptions, error)
- func (z *ZyncOptionsBuilder) DatabasePassword(dbPass string)
- func (z *ZyncOptionsBuilder) DatabaseURL(dbURL string)
- func (z *ZyncOptionsBuilder) SecretKeyBase(secretKeyBase string)
- type ZyncOptionsProvider
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 (a *ApicastOptionsBuilder) Build() (*ApicastOptions, error)
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 (m *BackendOptionsBuilder) Build() (*BackendOptions, error)
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 (ha *HighAvailabilityOptionsBuilder) Build() (*HighAvailabilityOptions, error)
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 ¶
func (m *MemcachedOptionsBuilder) Build() (*MemcachedOptions, error)
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 (*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 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) Objects ¶ added in v0.3.0
func (system *System) Objects() []common.KubernetesObject
func (*System) SystemRedisEnvVars ¶ added in v0.3.0
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 (b *SystemMySQLImageOptionsBuilder) Build() (*SystemMySQLImageOptions, error)
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 (m *SystemMysqlOptionsBuilder) Build() (*SystemMysqlOptions, error)
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
func (s *SystemPostgreSQLImage) Objects() []common.KubernetesObject
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 (b *SystemPostgreSQLImageOptionsBuilder) Build() (*SystemPostgreSQLImageOptions, error)
func (*SystemPostgreSQLImageOptionsBuilder) Image ¶ added in v0.3.0
func (b *SystemPostgreSQLImageOptionsBuilder) Image(image string)
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 (b *SystemPostgreSQLOptionsBuilder) Build() (*SystemPostgreSQLOptions, error)
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
}
Source Files ¶
- ampimages.go
- ampimages_options_builder.go
- apicast.go
- apicast_options_builder.go
- backend.go
- backend_options_builder.go
- evaluation.go
- highavailability.go
- highavailability_options_builder.go
- memcached.go
- memcached_options_builder.go
- redis.go
- redis_options_builder.go
- runtime_object_provider.go
- s3.go
- s3_options_builder.go
- system.go
- system_mysql.go
- system_mysql_image.go
- system_mysql_image_options_builder.go
- system_mysql_options_builder.go
- system_options_builder.go
- system_postgresql.go
- system_postgresql_image.go
- system_postgresql_image_options_builder.go
- system_postgresql_options_builder.go
- zync.go
- zync_options_builder.go
Click to show internal directories.
Click to hide internal directories.