deploy

package
v2.8.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DummyClientSet = ClientSet{
	Classic:    &dtclient.DummyClient{},
	Settings:   &dtclient.DummyClient{},
	Automation: &automation.DummyClient{},
	Bucket:     &bucket.DummyClient{},
}

Functions

func DeployConfigGraph added in v2.6.0

func DeployConfigGraph(projects []project.Project, environmentClients EnvironmentClients, opts DeployConfigsOptions) error

Types

type ClientSet

type ClientSet struct {
	Classic    dtclient.Client
	Settings   dtclient.Client
	Automation automation.Client
	Bucket     bucket.Client
}

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 EnvironmentInfo added in v2.6.0

type EnvironmentInfo struct {
	Name  string
	Group string
}

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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