Documentation ¶
Index ¶
Constants ¶
View Source
const (
ClustersFolder = "clusters"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeployerContext ¶
type DeployerContext struct { KubeConnection *connect.KubeConnection RootOutputDir string RootSourceDir string }
func InitDeployerContext ¶
func InitDeployerContext(flagArgs config.FlagArgs, kubeConnection *connect.KubeConnection) *DeployerContext
func (*DeployerContext) GetKubeConfig ¶
func (dc *DeployerContext) GetKubeConfig() *rest.Config
func (*DeployerContext) GetKubeConfigPath ¶
func (dc *DeployerContext) GetKubeConfigPath() string
func (*DeployerContext) GetRootOutputDir ¶
func (dc *DeployerContext) GetRootOutputDir() string
func (*DeployerContext) GetRootSourceDir ¶
func (dc *DeployerContext) GetRootSourceDir() string
type InfraContext ¶
type InfraContext struct { ScriptPath string AnsiblePlaybookPath string SourceClustersDir string InfraRootDir string OutputClustersFolder string }
func InitInfraContext ¶
func InitInfraContext(flags config.FlagArgs) *InfraContext
Click to show internal directories.
Click to hide internal directories.