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 ¶
func New(params AutomatedDeploymentParams) (AutomatedDeploymentInterface, error)
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
Click to show internal directories.
Click to hide internal directories.