Documentation ¶
Index ¶
- type ApplicationYaml
- type Auth0Config
- type DockerConfig
- type DockerDaemon
- type DockerRegistry
- type ElasticsearchConfig
- type Environment
- type EnvironmentVariable
- type Handler
- type HostConfig
- type JaegerConfig
- type K8sCluster
- type MinioConfig
- type PostgresSlaveConfig
- type PostgresqlConfig
- type RedisConfig
- type ServerYaml
- type VolumeConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationYaml ¶
type ApplicationYaml struct { App string `yaml:"app,omitempty"` Config map[string]interface{} Docker struct { Registry struct { URL string `yaml:"url,omitempty"` User string `yaml:"user,omitempty"` Password string `yaml:"password,omitempty"` } `yaml:"registry,omitempty"` } `yaml:"docker,omitempty"` Dependencies map[string]map[string]interface{} `yaml:"dependencies"` Handlers map[string]Handler `yaml:"handlers"` Environments []Environment `yaml:"environments"` }
type Auth0Config ¶
type DockerConfig ¶
type DockerConfig struct { Daemons []*DockerDaemon `yaml:"daemons"` Registries []*DockerRegistry `yaml:"registries"` }
type DockerDaemon ¶
type DockerRegistry ¶
type ElasticsearchConfig ¶
type Environment ¶
type Environment struct { Name string `yaml:"name,omitempty"` Domain string `yaml:"domain,omitempty"` Domains []string `yaml:"domains,omitempty"` Repository string `yaml:"repository,omitempty"` Config map[string]interface{} `yaml:"config,omitempty"` EnvVars []EnvironmentVariable `yaml:"env_variables,omitempty"` Cluster string `yaml:"cluster,omitempty"` Type string `yaml:"type,omitempty"` HandlerOptions map[string]Handler `yaml:"options"` Dependencies map[string]map[string]interface{} `yaml:"dependencies"` }
type EnvironmentVariable ¶
type Handler ¶
type Handler struct { NetworkMode string `yaml:"network_mode"` File string `yaml:"file,omitempty"` Domain string `yaml:"domain,omitempty"` Domains []string `yaml:"domains,omitempty"` MetricsPath string `yaml:"metrics_path,omitempty"` URL string `yaml:"url,omitempty"` Liveness *string `yaml:"liveness,omitempty"` Readiness *string `yaml:"readiness,omitempty"` Rewrite string `yaml:"strip_path"` Ports map[string]string `yaml:"ports"` Command []string `yaml:"command"` Volumes map[string]VolumeConfig `yaml:"volumes"` EnvVars []EnvironmentVariable `yaml:"env_variables,omitempty"` }
type HostConfig ¶
type HostConfig struct { Ports nat.PortMap `yaml:"ports"` NetworkMode container.NetworkMode `yaml:"network_mode"` }
type JaegerConfig ¶
type K8sCluster ¶
type MinioConfig ¶
type PostgresSlaveConfig ¶
type PostgresqlConfig ¶
type RedisConfig ¶
type ServerYaml ¶
type ServerYaml struct { K8s []*K8sCluster `yaml:"k8s"` Docker DockerConfig `yaml:"docker"` Minio MinioConfig `yaml:"minio"` Postgresql PostgresqlConfig `yaml:"postgresql"` Redis RedisConfig `yaml:"redis"` Auth0 Auth0Config `yaml:"auth0"` Elasticsearch ElasticsearchConfig `yaml:"elasticsearch"` Jaeger JaegerConfig `yaml:"jaeger"` }
type VolumeConfig ¶
type VolumeConfig struct {
Path string `yaml:"path"`
}
Click to show internal directories.
Click to hide internal directories.