Documentation ¶
Index ¶
- Variables
- func DeployConfigs(clientSet ClientSet, apis api.APIs, sortedConfigs []config.Config, ...) []error
- func ResolveParameterValues(conf *config.Config, ...) (parameter.Properties, []error)
- type ClientSet
- type DeployConfigsOptions
- type EnvironmentClients
- type EnvironmentDeploymentErrors
- type EnvironmentInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var DummyClientSet = ClientSet{ Classic: &dtclient.DummyClient{}, Settings: &dtclient.DummyClient{}, Automation: &dummyAutomationClient{}, }
Functions ¶
func DeployConfigs ¶
func DeployConfigs(clientSet ClientSet, apis api.APIs, sortedConfigs []config.Config, opts DeployConfigsOptions) []error
DeployConfigs deploys the given configs with the given apis via the given client NOTE: the given configs need to be sorted, otherwise deployment will probably fail, as references cannot be resolved
func ResolveParameterValues ¶
func ResolveParameterValues( conf *config.Config, entities map[coordinate.Coordinate]parameter.ResolvedEntity, parameters []parameter.NamedParameter, ) (parameter.Properties, []error)
TODO: unexport this function
Types ¶
type DeployConfigsOptions ¶
type DeployConfigsOptions struct { // ContinueOnErr states that the deployment continues even when there happens to be an // error while deploying a certain configuration ContinueOnErr bool // DryRun states that the deployment shall just run in dry-run mode, meaning // that actual deployment of the configuration to a tenant will be skipped DryRun bool }
DeployConfigsOptions defines additional options used by DeployConfigs
type EnvironmentClients ¶ added in v2.6.0
type EnvironmentClients map[EnvironmentInfo]ClientSet
func (EnvironmentClients) Names ¶ added in v2.6.0
func (e EnvironmentClients) Names() []string
type EnvironmentDeploymentErrors ¶ added in v2.6.0
func DeployConfigGraph ¶ added in v2.6.0
func DeployConfigGraph(projects []project.Project, environmentClients EnvironmentClients, opts DeployConfigsOptions) EnvironmentDeploymentErrors
func (EnvironmentDeploymentErrors) Error ¶ added in v2.6.0
func (e EnvironmentDeploymentErrors) Error() string
type EnvironmentInfo ¶ added in v2.6.0
Click to show internal directories.
Click to hide internal directories.