target

package
v0.0.0-...-5785f03 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ITargetProvider

type ITargetProvider interface {
	Init(config providers.IProviderConfig) error
	// get validation rules
	GetValidationRule(ctx context.Context) model.ValidationRule
	// get current component states from a target. The desired state is passed in as a reference
	Get(ctx context.Context, deployment model.DeploymentSpec, references []model.ComponentStep) ([]model.ComponentSpec, error)
	// apply components to a target
	Apply(ctx context.Context, deployment model.DeploymentSpec, step model.DeploymentStep, isDryRun bool) (map[string]model.ComponentResultSpec, error)
}

Directories

Path Synopsis
azure
adu
k8s
win10

Jump to

Keyboard shortcuts

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