Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultComposeFilename is the default name of the Updatecli compose file DefaultComposeFilename = "updatecli-compose.yaml" // DeprecatedDefaultComposeFilename is the old default name of the Updatecli compose file // cfr for more https://github.com/updatecli/updatecli/issues/2284 // To be removed in the future DeprecatedDefaultComposeFilename = "update-compose.yaml" )
Functions ¶
func GetDefaultComposeFilename ¶ added in v0.80.0
func GetDefaultComposeFilename() string
GetDefaultComposeFilename is the old default name of the Updatecli compose file cfr for more https://github.com/updatecli/updatecli/issues/2284
Types ¶
type Compose ¶
type Compose struct {
// contains filtered or unexported fields
}
Compose is a struct that contains a compose object
type Environments ¶
Environments is a map of environment variables
func (Environments) SetEnv ¶
func (e Environments) SetEnv() error
SetEnv sets the environment variables
type Policy ¶
type Policy struct { // Name contains the policy name Name string `yaml:",omitempty"` // Policy contains the policy OCI name Policy string `yaml:",omitempty"` // Config contains a list of Updatecli config file path Config []string `yaml:",omitempty"` // Values contains a list of Updatecli config file path Values []string `yaml:",omitempty"` // Secrets contains a list of Updatecli secret file path Secrets []string `yaml:",omitempty"` }
type Spec ¶
type Spec struct { // Policies contains a list of policies Policies []Policy // Environment contains a list of environment variables Environments Environments `yaml:",omitempty"` // Env_files contains a list of environment files Env_files EnvFiles `yaml:"env_files,omitempty"` }
Click to show internal directories.
Click to hide internal directories.