Documentation
¶
Index ¶
- type BuildConfig
- type ClusterConfig
- type Config
- type Deployer
- func (d *Deployer) Deploy(ctx context.Context, tag string, skipBuild bool) error
- func (d *Deployer) Preflight(ctx context.Context, requireDocker bool) (string, error)
- func (d *Deployer) RenderManifest(image string) ([]byte, error)
- func (d *Deployer) Rollback(ctx context.Context) error
- func (d *Deployer) Status(ctx context.Context) error
- func (d *Deployer) StatusConnected(ctx context.Context) error
- type IngressConfig
- type KubernetesConfig
- type RegistryConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildConfig ¶
type ClusterConfig ¶
type Config ¶
type Config struct {
Cluster ClusterConfig `yaml:"cluster"`
Registry RegistryConfig `yaml:"registry"`
Build BuildConfig `yaml:"build"`
Kubernetes KubernetesConfig `yaml:"kubernetes"`
}
func LoadConfig ¶
type Deployer ¶
type Deployer struct {
// contains filtered or unexported fields
}
type IngressConfig ¶
type IngressConfig struct {
Enabled bool `yaml:"enabled"`
ClassName string `yaml:"class_name"`
Host string `yaml:"host"`
TLSSecretName string `yaml:"tls_secret_name"`
TLSSecretSourceNamespace string `yaml:"tls_secret_source_namespace"`
GatewayServiceNamespace string `yaml:"gateway_service_namespace"`
GatewayServiceName string `yaml:"gateway_service_name"`
}
type KubernetesConfig ¶
type KubernetesConfig struct {
Namespace string `yaml:"namespace"`
ManifestTemplate string `yaml:"manifest_template"`
SecretsFile string `yaml:"secrets_file"`
StorageClass string `yaml:"storage_class"`
PlatformStorage string `yaml:"platform_storage"`
MySQLStorage string `yaml:"mysql_storage"`
RedisStorage string `yaml:"redis_storage"`
ServiceType string `yaml:"service_type"`
ExternalOrigin string `yaml:"external_origin"`
CookieSecure bool `yaml:"cookie_secure"`
Ingress IngressConfig `yaml:"ingress"`
}
type RegistryConfig ¶
Click to show internal directories.
Click to hide internal directories.