deploy

package
v0.0.1-dev-laubi-test Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

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 []topologysort.ParameterWithName,
) (parameter.Properties, []error)

TODO: unexport this function

Types

type ClientSet

type ClientSet struct {
	Classic    dtclient.Client
	Settings   dtclient.Client
	Automation automationClient
}

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

Jump to

Keyboard shortcuts

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