Help us shape the future of Go! Take the 2026 Go Developer Survey

component

package
v0.2.0 Latest Latest
Warning

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

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

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"
)
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
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AmpEvalS3Template

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

func NewAmpEvalS3Template

func NewAmpEvalS3Template(options []string) *AmpEvalS3Template

func (*AmpEvalS3Template) AssembleIntoTemplate

func (ampEvalS3Template *AmpEvalS3Template) AssembleIntoTemplate(template *templatev1.Template, otherComponents []Component)

func (*AmpEvalS3Template) PostProcess

func (ampEvalS3Template *AmpEvalS3Template) PostProcess(template *templatev1.Template, otherComponents []Component)

type AmpEvalS3TemplateOptions

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

type AmpEvalTemplate

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

func NewAmpEvalTemplate

func NewAmpEvalTemplate(options []string) *AmpEvalTemplate

func (*AmpEvalTemplate) AssembleIntoTemplate

func (ampEvalTemplate *AmpEvalTemplate) AssembleIntoTemplate(template *templatev1.Template, otherComponents []Component)

func (*AmpEvalTemplate) PostProcess

func (ampEvalTemplate *AmpEvalTemplate) PostProcess(template *templatev1.Template, otherComponents []Component)

type AmpEvalTemplateOptions

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

type AmpHATemplate

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

func NewAmpHATemplate

func NewAmpHATemplate(options []string) *AmpHATemplate

func (*AmpHATemplate) AssembleIntoTemplate

func (ampHATemplate *AmpHATemplate) AssembleIntoTemplate(template *templatev1.Template, otherComponents []Component)

func (*AmpHATemplate) PostProcess

func (ampHATemplate *AmpHATemplate) PostProcess(template *templatev1.Template, otherComponents []Component)

type AmpHATemplateOptions

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

type AmpImages

type AmpImages struct {
	Options *AmpImagesOptions
	// contains filtered or unexported fields
}

func NewAmpImages

func NewAmpImages(options []string) *AmpImages

func (*AmpImages) AssembleIntoTemplate

func (ampImages *AmpImages) AssembleIntoTemplate(template *templatev1.Template, otherComponents []Component)

func (*AmpImages) GetObjects

func (ampImages *AmpImages) GetObjects() ([]runtime.RawExtension, error)

func (*AmpImages) PostProcess

func (ampImages *AmpImages) PostProcess(template *templatev1.Template, otherComponents []Component)

type AmpImagesOptions

type AmpImagesOptions struct {
	// 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) Build

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

func (*AmpImagesOptionsBuilder) InsecureImportPolicy

func (ampImages *AmpImagesOptionsBuilder) InsecureImportPolicy(insecureImportPolicy bool)

func (*AmpImagesOptionsBuilder) PostgreSQLImage

func (ampImages *AmpImagesOptionsBuilder) PostgreSQLImage(postgreSQLImage string)

func (*AmpImagesOptionsBuilder) RouterImage

func (ampImages *AmpImagesOptionsBuilder) RouterImage(routerImage string)

func (*AmpImagesOptionsBuilder) SystemImage

func (ampImages *AmpImagesOptionsBuilder) SystemImage(systemImage string)

func (*AmpImagesOptionsBuilder) ZyncImage

func (ampImages *AmpImagesOptionsBuilder) ZyncImage(zyncImage string)

type AmpImagesOptionsProvider

type AmpImagesOptionsProvider interface {
	GetAmpImagesOptions() *AmpImagesOptions
}

type AmpS3Template

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

func NewAmpS3Template

func NewAmpS3Template(options []string) *AmpS3Template

func (*AmpS3Template) AssembleIntoTemplate

func (ampS3Template *AmpS3Template) AssembleIntoTemplate(template *templatev1.Template, otherComponents []Component)

func (*AmpS3Template) PostProcess

func (ampS3Template *AmpS3Template) PostProcess(template *templatev1.Template, otherComponents []Component)

type AmpS3TemplateOptions

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

type AmpTemplate

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

func NewAmpTemplate

func NewAmpTemplate(options []string) *AmpTemplate

func (*AmpTemplate) AssembleIntoTemplate

func (ampTemplate *AmpTemplate) AssembleIntoTemplate(template *templatev1.Template, otherComponents []Component)

func (*AmpTemplate) PostProcess

func (ampTemplate *AmpTemplate) PostProcess(template *templatev1.Template, otherComponents []Component)

type AmpTemplateOptions

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

type Apicast

type Apicast struct {
	Options *ApicastOptions
	// contains filtered or unexported fields
}

func NewApicast

func NewApicast(options []string) *Apicast

func (*Apicast) AssembleIntoTemplate

func (apicast *Apicast) AssembleIntoTemplate(template *templatev1.Template, otherComponents []Component)

func (*Apicast) GetObjects

func (apicast *Apicast) GetObjects() ([]runtime.RawExtension, error)

func (*Apicast) PostProcess

func (apicast *Apicast) PostProcess(template *templatev1.Template, otherComponents []Component)

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 ApicastOptionsProvider

type ApicastOptionsProvider interface {
	GetApicastOptions() *ApicastOptions
}

type Backend

type Backend struct {
	Options *BackendOptions
	// contains filtered or unexported fields
}

func NewBackend

func NewBackend(options []string) *Backend

func (*Backend) AssembleIntoTemplate

func (backend *Backend) AssembleIntoTemplate(template *templatev1.Template, otherComponents []Component)

func (*Backend) GetObjects

func (backend *Backend) GetObjects() ([]runtime.RawExtension, error)

func (*Backend) PostProcess

func (backend *Backend) PostProcess(template *templatev1.Template, otherComponents []Component)

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 BackendOptionsProvider

type BackendOptionsProvider interface {
	GetBackendOptions() *BackendOptions
}

type BuildConfigs

type BuildConfigs struct {
	Options *BuildConfigsOptions
	// contains filtered or unexported fields
}

func NewBuildConfigs

func NewBuildConfigs(options []string) *BuildConfigs

func (*BuildConfigs) AssembleIntoTemplate

func (bcs *BuildConfigs) AssembleIntoTemplate(template *templatev1.Template, otherComponents []Component)

func (*BuildConfigs) GetObjects

func (bcs *BuildConfigs) GetObjects() ([]runtime.RawExtension, error)

func (*BuildConfigs) PostProcess

func (bcs *BuildConfigs) PostProcess(template *templatev1.Template, otherComponents []Component)

type BuildConfigsOptions

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

type BuildConfigsOptionsBuilder

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

func (*BuildConfigsOptionsBuilder) AppLabel

func (bcs *BuildConfigsOptionsBuilder) AppLabel(appLabel string)

func (*BuildConfigsOptionsBuilder) Build

func (*BuildConfigsOptionsBuilder) GitRef

func (bcs *BuildConfigsOptionsBuilder) GitRef(gitRef string)

type BuildConfigsOptionsProvider

type BuildConfigsOptionsProvider interface {
	GetBuildConfigsOptions() *BuildConfigsOptions
}

type CLIAmpImagesOptionsProvider

type CLIAmpImagesOptionsProvider struct {
}

func (*CLIAmpImagesOptionsProvider) GetAmpImagesOptions

func (o *CLIAmpImagesOptionsProvider) GetAmpImagesOptions() (*AmpImagesOptions, error)

type CLIApicastOptionsProvider

type CLIApicastOptionsProvider struct {
}

func (*CLIApicastOptionsProvider) GetApicastOptions

func (o *CLIApicastOptionsProvider) GetApicastOptions() (*ApicastOptions, error)

type CLIBackendOptionsProvider

type CLIBackendOptionsProvider struct {
}

func (*CLIBackendOptionsProvider) GetBackendOptions

func (o *CLIBackendOptionsProvider) GetBackendOptions() (*BackendOptions, error)

type CLIBuildConfigsOptionsProvider

type CLIBuildConfigsOptionsProvider struct {
}

func (*CLIBuildConfigsOptionsProvider) GetBuildConfigsOptions

func (o *CLIBuildConfigsOptionsProvider) GetBuildConfigsOptions() (*BuildConfigsOptions, error)

type CLIHighAvailabilityOptionsProvider

type CLIHighAvailabilityOptionsProvider struct {
}

func (*CLIHighAvailabilityOptionsProvider) GetHighAvailabilityOptions

func (o *CLIHighAvailabilityOptionsProvider) GetHighAvailabilityOptions() (*HighAvailabilityOptions, error)

type CLIMemcachedOptionsProvider

type CLIMemcachedOptionsProvider struct {
}

func (*CLIMemcachedOptionsProvider) GetMemcachedOptions

func (o *CLIMemcachedOptionsProvider) GetMemcachedOptions() (*MemcachedOptions, error)

type CLIMysqlOptionsProvider

type CLIMysqlOptionsProvider struct {
}

func (*CLIMysqlOptionsProvider) GetMysqlOptions

func (o *CLIMysqlOptionsProvider) GetMysqlOptions() (*MysqlOptions, error)

type CLIProductizedOptionsProvider

type CLIProductizedOptionsProvider struct {
}

func (*CLIProductizedOptionsProvider) GetProductizedOptions

func (o *CLIProductizedOptionsProvider) GetProductizedOptions() (*ProductizedOptions, error)

type CLIRedisOptionsProvider

type CLIRedisOptionsProvider struct {
}

func (*CLIRedisOptionsProvider) GetRedisOptions

func (o *CLIRedisOptionsProvider) GetRedisOptions() (*RedisOptions, error)

type CLIS3OptionsProvider

type CLIS3OptionsProvider struct {
}

func (*CLIS3OptionsProvider) GetS3Options

func (o *CLIS3OptionsProvider) GetS3Options() (*S3Options, error)

type CLISystemOptionsProvider

type CLISystemOptionsProvider struct {
}

func (*CLISystemOptionsProvider) GetSystemOptions

func (o *CLISystemOptionsProvider) GetSystemOptions() (*SystemOptions, error)

type CLIWildcardRouterOptionsProvider

type CLIWildcardRouterOptionsProvider struct {
}

func (*CLIWildcardRouterOptionsProvider) GetWildcardRouterOptions

func (o *CLIWildcardRouterOptionsProvider) GetWildcardRouterOptions() (*WildcardRouterOptions, error)

type CLIZyncOptionsProvider

type CLIZyncOptionsProvider struct {
}

func (*CLIZyncOptionsProvider) GetZyncOptions

func (o *CLIZyncOptionsProvider) GetZyncOptions() (*ZyncOptions, error)

type Component

type Component interface {
	AssembleIntoTemplate(*templatev1.Template, []Component)
	PostProcess(*templatev1.Template, []Component)
}

func NewComponent

func NewComponent(componentName string, componentOptions []string) Component

type ComponentType

type ComponentType string
const (
	RedisType             ComponentType = "redis"
	ApicastType           ComponentType = "apicast"
	WildcardRouterType    ComponentType = "wildcardrouter"
	BackendType           ComponentType = "backend"
	SystemType            ComponentType = "system"
	ZyncType              ComponentType = "zync"
	MySQLType             ComponentType = "mysql"
	AmpImagesType         ComponentType = "ampimages"
	MemcachedType         ComponentType = "memcached"
	S3Type                ComponentType = "s3"
	ProductizedType       ComponentType = "productized"
	EvaluationType        ComponentType = "evaluation"
	HighAvailabilityType  ComponentType = "ha"
	AmpTemplateType       ComponentType = "amp-template"
	AmpS3TemplateType     ComponentType = "amp-s3-template"
	AmpEvalTemplateType   ComponentType = "amp-eval-template"
	AmpEvalS3TemplateType ComponentType = "amp-eval-s3-template"
	AmpHATemplateType     ComponentType = "amp-ha-template"
)

type DoubleBraceExpandableComponent

type DoubleBraceExpandableComponent interface {
	DoubleBraceExpand()
}

type Evaluation

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

func NewEvaluation

func NewEvaluation(options []string) *Evaluation

func (*Evaluation) AssembleIntoTemplate

func (evaluation *Evaluation) AssembleIntoTemplate(template *templatev1.Template, otherComponents []Component)

func (*Evaluation) PostProcess

func (evaluation *Evaluation) PostProcess(template *templatev1.Template, otherComponents []Component)

func (*Evaluation) PostProcessObjects

func (evaluation *Evaluation) PostProcessObjects(objects []runtime.RawExtension)

type EvaluationOptions

type EvaluationOptions struct {
}

type ExportableComponent

type ExportableComponent interface {
	Export()
}

type HighAvailability

type HighAvailability struct {
	Options *HighAvailabilityOptions
	// contains filtered or unexported fields
}

func NewHighAvailability

func NewHighAvailability(options []string) *HighAvailability

func (*HighAvailability) AssembleIntoTemplate

func (ha *HighAvailability) AssembleIntoTemplate(template *templatev1.Template, otherComponents []Component)

func (*HighAvailability) GetObjects

func (ha *HighAvailability) GetObjects() ([]runtime.RawExtension, error)

func (*HighAvailability) PostProcess

func (ha *HighAvailability) PostProcess(template *templatev1.Template, otherComponents []Component)

TODO check how to postprocess independently of templates

func (*HighAvailability) PostProcessObjects

func (ha *HighAvailability) PostProcessObjects(objects []runtime.RawExtension) []runtime.RawExtension

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) SystemRedisURL

func (ha *HighAvailabilityOptionsBuilder) SystemRedisURL(systemRedisURL string)

type HighAvailabilityOptionsProvider

type HighAvailabilityOptionsProvider interface {
	GetHighAvailabilityOptions() *HighAvailabilityOptions
}

type ImportableComponent

type ImportableComponent interface {
	Import()
}

type Memcached

type Memcached struct {
	Options *MemcachedOptions
	// contains filtered or unexported fields
}

func NewMemcached

func NewMemcached(options []string) *Memcached

func (*Memcached) AssembleIntoTemplate

func (m *Memcached) AssembleIntoTemplate(template *templatev1.Template, otherComponents []Component)

func (*Memcached) GetObjects

func (m *Memcached) GetObjects() ([]runtime.RawExtension, error)

func (*Memcached) PostProcess

func (m *Memcached) PostProcess(template *templatev1.Template, otherComponents []Component)

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 (*MemcachedOptionsBuilder) Image

func (m *MemcachedOptionsBuilder) Image(image string)

type MemcachedOptionsProvider

type MemcachedOptionsProvider interface {
	GetMemcachedOptions() *MemcachedOptions
}

type MetaComponent

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

type Mysql

type Mysql struct {
	Options *MysqlOptions
	// contains filtered or unexported fields
}

func NewMysql

func NewMysql(options []string) *Mysql

func (*Mysql) AssembleIntoTemplate

func (mysql *Mysql) AssembleIntoTemplate(template *templatev1.Template, otherComponents []Component)

func (*Mysql) GetObjects

func (mysql *Mysql) GetObjects() ([]runtime.RawExtension, error)

func (*Mysql) PostProcess

func (mysql *Mysql) PostProcess(template *templatev1.Template, otherComponents []Component)

type MysqlOptions

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

type MysqlOptionsBuilder

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

func (*MysqlOptionsBuilder) AppLabel

func (m *MysqlOptionsBuilder) AppLabel(appLabel string)

func (*MysqlOptionsBuilder) Build

func (m *MysqlOptionsBuilder) Build() (*MysqlOptions, error)

func (*MysqlOptionsBuilder) DatabaseName

func (m *MysqlOptionsBuilder) DatabaseName(databaseName string)

func (*MysqlOptionsBuilder) DatabaseURL

func (m *MysqlOptionsBuilder) DatabaseURL(url string)

func (*MysqlOptionsBuilder) Image

func (m *MysqlOptionsBuilder) Image(image string)

func (*MysqlOptionsBuilder) Password

func (m *MysqlOptionsBuilder) Password(password string)

func (*MysqlOptionsBuilder) RootPassword

func (m *MysqlOptionsBuilder) RootPassword(rootPassword string)

func (*MysqlOptionsBuilder) User

func (m *MysqlOptionsBuilder) User(user string)

type MysqlOptionsProvider

type MysqlOptionsProvider interface {
	GetMysqlOptions() *MysqlOptions
}

type ParametrizableComponent

type ParametrizableComponent interface {
	Parametrize()
}

type PostAssemblableComponent

type PostAssemblableComponent interface {
	PostAssemble()
}

type PreAssemblableComponent

type PreAssemblableComponent interface {
	PreAssemble()
}

type Productized

type Productized struct {
	Options *ProductizedOptions
	// contains filtered or unexported fields
}

func NewProductized

func NewProductized(options []string) *Productized

func (*Productized) AssembleIntoTemplate

func (productized *Productized) AssembleIntoTemplate(template *templatev1.Template, otherComponents []Component)

func (*Productized) PostProcess

func (productized *Productized) PostProcess(template *templatev1.Template, otherComponents []Component)

func (*Productized) PostProcessObjects

func (productized *Productized) PostProcessObjects(objects []runtime.RawExtension) []runtime.RawExtension

type ProductizedOptions

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

type ProductizedOptionsBuilder

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

func (*ProductizedOptionsBuilder) AmpRelease

func (productized *ProductizedOptionsBuilder) AmpRelease(ampRelease string)

func (*ProductizedOptionsBuilder) ApicastImage

func (productized *ProductizedOptionsBuilder) ApicastImage(apicastImage string)

func (*ProductizedOptionsBuilder) BackendImage

func (productized *ProductizedOptionsBuilder) BackendImage(backendImage string)

func (*ProductizedOptionsBuilder) Build

func (productized *ProductizedOptionsBuilder) Build() (*ProductizedOptions, error)

func (*ProductizedOptionsBuilder) RouterImage

func (productized *ProductizedOptionsBuilder) RouterImage(routerImage string)

func (*ProductizedOptionsBuilder) SystemImage

func (productized *ProductizedOptionsBuilder) SystemImage(systemImage string)

func (*ProductizedOptionsBuilder) ZyncImage

func (productized *ProductizedOptionsBuilder) ZyncImage(zyncImage string)

type ProductizedOptionsProvider

type ProductizedOptionsProvider interface {
	GetProductizedOptions() *ProductizedOptions
}

type Redis

type Redis struct {
	Options *RedisOptions
	// contains filtered or unexported fields
}

func NewRedis

func NewRedis(options []string) *Redis

func (*Redis) AssembleIntoTemplate

func (redis *Redis) AssembleIntoTemplate(template *templatev1.Template, otherComponents []Component)

func (*Redis) GetObjects

func (redis *Redis) GetObjects() ([]runtime.RawExtension, error)

func (*Redis) PostProcess

func (redis *Redis) PostProcess(template *templatev1.Template, otherComponents []Component)

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) BackendImage

func (r *RedisOptionsBuilder) BackendImage(image string)

func (*RedisOptionsBuilder) Build

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

func (*RedisOptionsBuilder) SystemImage

func (r *RedisOptionsBuilder) SystemImage(image string)

type RedisOptionsProvider

type RedisOptionsProvider interface {
	GetRedisOptions() *RedisOptions
}

type S3

type S3 struct {
	Options *S3Options
	// contains filtered or unexported fields
}

func NewS3

func NewS3(options []string) *S3

func (*S3) AssembleIntoTemplate

func (s3 *S3) AssembleIntoTemplate(template *templatev1.Template, otherComponents []Component)

func (*S3) GetObjects

func (s3 *S3) GetObjects() ([]runtime.RawExtension, error)

func (*S3) PostProcess

func (s3 *S3) PostProcess(template *templatev1.Template, otherComponents []Component)

func (*S3) PostProcessObjects

func (s3 *S3) PostProcessObjects(objects []runtime.RawExtension) []runtime.RawExtension

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)

func (*S3OptionsBuilder) FileUploadStorage

func (s3 *S3OptionsBuilder) FileUploadStorage(fileUploadStorage string)

type S3OptionsProvider

type S3OptionsProvider interface {
	GetS3Options() *S3Options
}

type System

type System struct {
	Options *SystemOptions
	// contains filtered or unexported fields
}

func NewSystem

func NewSystem(options []string) *System

func (*System) AssembleIntoTemplate

func (system *System) AssembleIntoTemplate(template *templatev1.Template, otherComponents []Component)

func (*System) GetObjects

func (system *System) GetObjects() ([]runtime.RawExtension, error)

func (*System) PostProcess

func (system *System) PostProcess(template *templatev1.Template, otherComponents []Component)

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) RecaptchaPrivateKey

func (s *SystemOptionsBuilder) RecaptchaPrivateKey(recaptchaPrivateKey string)

func (*SystemOptionsBuilder) RecaptchaPublicKey

func (s *SystemOptionsBuilder) RecaptchaPublicKey(recaptchaPublicKey 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 SystemOptionsProvider

type SystemOptionsProvider interface {
	GetSystemOptions() *SystemOptions
}

type TemplatizableComponent

type TemplatizableComponent interface {
	Templatize()
}

type WildcardRouter

type WildcardRouter struct {
	Options *WildcardRouterOptions
	// contains filtered or unexported fields
}

func NewWildcardRouter

func NewWildcardRouter(options []string) *WildcardRouter

func (*WildcardRouter) AssembleIntoTemplate

func (wr *WildcardRouter) AssembleIntoTemplate(template *templatev1.Template, otherComponents []Component)

func (*WildcardRouter) GetObjects

func (wr *WildcardRouter) GetObjects() ([]runtime.RawExtension, error)

func (*WildcardRouter) PostProcess

func (wr *WildcardRouter) PostProcess(template *templatev1.Template, otherComponents []Component)

type WildcardRouterOptions

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

type WildcardRouterOptionsBuilder

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

func (*WildcardRouterOptionsBuilder) AppLabel

func (wr *WildcardRouterOptionsBuilder) AppLabel(appLabel string)

func (*WildcardRouterOptionsBuilder) Build

func (*WildcardRouterOptionsBuilder) WildcardDomain

func (wr *WildcardRouterOptionsBuilder) WildcardDomain(wildcardDomain string)

func (*WildcardRouterOptionsBuilder) WildcardPolicy

func (wr *WildcardRouterOptionsBuilder) WildcardPolicy(wildcardPolicy string)

type WildcardRouterOptionsProvider

type WildcardRouterOptionsProvider interface {
	GetWildcardRouterOptions() *WildcardRouterOptions
}

type Zync

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

func NewZync

func NewZync(options []string) *Zync

func (*Zync) AssembleIntoTemplate

func (zync *Zync) AssembleIntoTemplate(template *templatev1.Template, otherComponents []Component)

func (*Zync) GetObjects

func (zync *Zync) GetObjects() ([]runtime.RawExtension, error)

func (*Zync) PostProcess

func (zync *Zync) PostProcess(template *templatev1.Template, otherComponents []Component)

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