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 Logger *logrus.Logger }
func InitDeployerContext ¶
func InitDeployerContext(args *config.Args, kubeConnection *connect.KubeConnection, logger *logrus.Logger) *DeployerContext
func (*DeployerContext) GetKubeConfig ¶
func (dc *DeployerContext) GetKubeConfig() *rest.Config
func (*DeployerContext) GetKubeConfigPath ¶
func (dc *DeployerContext) GetKubeConfigPath() string
func (*DeployerContext) GetLogger ¶
func (dc *DeployerContext) GetLogger() *logrus.Logger
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.Args) *InfraContext
Click to show internal directories.
Click to hide internal directories.