automation

package
v0.0.0-...-f6ef04e Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutomatedDeploymentInterface

type AutomatedDeploymentInterface interface {
	PrepareAutomation(map[string]string) error // Initial host preparation for automation, before finalizing manifests
	FinalizeAutomationPreparation() error      // Final host preparation for automation, after finalizing manifests
	DeployMasters() error                      // Deploy cluster masters
	DeployWorkers() error                      // Deploy cluster workers
	DestroyCluster() error                     // Destroy the cluster
}

func New

Generates a new automation deployment instance

type AutomatedDeploymentParams

type AutomatedDeploymentParams struct {
	ProfileType   string
	SiteBuildPath string
	SiteName      string
	SiteRepo      string
}

ProfileType, SiteBuildPath and SiteName are always needed (and are always checked by the automation package's New function). Anything else added here is the responsibility of the automation interface implementation to validate

Jump to

Keyboard shortcuts

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