Documentation ¶
Index ¶
- type Site
- func (s Site) ApplyWorkloads(kubeconfigFile string, retryCount int, delay int)
- func (s Site) AutomateClusterDestroy()
- func (s Site) AutomateMastersDeployment()
- func (s Site) AutomateWorkersDeployment()
- func (s Site) DownloadRepo(sitePath string, profileLayerPath string, profileRef string)
- func (s Site) DownloadSite()
- func (s Site) FetchRequirements(individualRequirements []string)
- func (s Site) GetProfileFromSite() (string, string, string)
- func (s Site) PrepareManifests()
- func (s Site) WriteEnvFile()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Site ¶
type Site struct {
// contains filtered or unexported fields
}
Site : Structure that contains the settings needed for managing a site
func NewWithName ¶
new constructor but just passing the name and path
func (Site) ApplyWorkloads ¶
using the site contents, applies the workloads on it
func (Site) AutomateClusterDestroy ¶
func (s Site) AutomateClusterDestroy()
func (Site) AutomateMastersDeployment ¶
func (s Site) AutomateMastersDeployment()
func (Site) AutomateWorkersDeployment ¶
func (s Site) AutomateWorkersDeployment()
func (Site) DownloadRepo ¶
given a site, download the repo dependencies
func (Site) DownloadSite ¶
func (s Site) DownloadSite()
given a site repo, downloads the content and places into buildPath
func (Site) FetchRequirements ¶
using the downloaded site content, fetches (and builds) the specified requirements, and also prepares the host for running scripts for the site's profile type
func (Site) GetProfileFromSite ¶
retrieves the given profile used in a site
func (Site) PrepareManifests ¶
func (s Site) PrepareManifests()
using the downloaded site content, prepares the manifests for it, and also runs host preparation finalization scripts for site automation (if any)
func (Site) WriteEnvFile ¶
func (s Site) WriteEnvFile()
writes an env file, that needs to be sourced before running cluster install