Documentation ¶
Index ¶
- func LoadKluctlProject(args LoadKluctlProjectArgs, cb func(ctx *KluctlProjectContext) error) error
- type KluctlProjectContext
- func (c *KluctlProjectContext) CheckDynamicArg(target *types.Target, argName string, argValue string) error
- func (c *KluctlProjectContext) CreateTGZArchive(archivePath string, metadataPath string) error
- func (c *KluctlProjectContext) FindBaseTarget(name string) (*types.Target, error)
- func (c *KluctlProjectContext) FindDynamicTarget(name string) (*types.DynamicTarget, error)
- func (c *KluctlProjectContext) LoadClusterConfig(clusterName string) (*types.ClusterConfig, error)
- type LoadKluctlProjectArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadKluctlProject ¶
func LoadKluctlProject(args LoadKluctlProjectArgs, cb func(ctx *KluctlProjectContext) error) error
Types ¶
type KluctlProjectContext ¶
type KluctlProjectContext struct { TmpDir string Config types.KluctlProject ProjectDir string DeploymentDir string ClustersDir string SealedSecretsDir string DynamicTargets []*types.DynamicTarget J2 *jinja2.Jinja2 // contains filtered or unexported fields }
func NewKluctlProjectContext ¶
func NewKluctlProjectContext(loadArgs LoadKluctlProjectArgs, tmpDir string) *KluctlProjectContext
func (*KluctlProjectContext) CheckDynamicArg ¶
func (*KluctlProjectContext) CreateTGZArchive ¶
func (c *KluctlProjectContext) CreateTGZArchive(archivePath string, metadataPath string) error
func (*KluctlProjectContext) FindBaseTarget ¶
func (c *KluctlProjectContext) FindBaseTarget(name string) (*types.Target, error)
func (*KluctlProjectContext) FindDynamicTarget ¶
func (c *KluctlProjectContext) FindDynamicTarget(name string) (*types.DynamicTarget, error)
func (*KluctlProjectContext) LoadClusterConfig ¶
func (c *KluctlProjectContext) LoadClusterConfig(clusterName string) (*types.ClusterConfig, error)
Click to show internal directories.
Click to hide internal directories.