cloudconfig

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudConfig

type CloudConfig struct {
	PublicHostname string `yaml:"public_hostname"`
	Path           string `yaml:"path"`
}

type EnvVariable

type EnvVariable struct {
	Value            *string           `yaml:"value,omitempty"`
	SecretName       string            `yaml:"secret_name,omitempty"`
	ValuePerEnv      map[string]string `yaml:"value_per_env,omitempty"`
	SecretNamePerEnv map[string]string `yaml:"secret_name_per_env,omitempty"`
}

type ServiceCloudConfig

type ServiceCloudConfig struct {
	Domain  ServiceCloudConfigDomain `yaml:"domain,omitempty"`
	Presets map[string]string        `yaml:"presets,omitempty"`
	EnvVars map[string]EnvVariable   `yaml:"env_vars,omitempty"`
	Publish bool                     `yaml:"publish,omitempty"`
}

func ReadServiceCloudCfg

func ReadServiceCloudCfg(path string) (*ServiceCloudConfig, error)

func (*ServiceCloudConfig) WriteToFile

func (conf *ServiceCloudConfig) WriteToFile(path string) error

type ServiceCloudConfigDomain

type ServiceCloudConfigDomain struct {
	CustomHostname string `yaml:"custom_hostname,omitempty"`
	Path           string `yaml:"path,omitempty"`
}

Jump to

Keyboard shortcuts

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