Documentation ¶
Index ¶
- 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)
- func (p *KluctlProjectContext) NewTargetContext(targetName string, clusterName string, dryRun bool, args map[string]string, ...) (*TargetContext, error)
- type LoadKluctlProjectArgs
- type TargetContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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 LoadKluctlProject ¶
func LoadKluctlProject(args LoadKluctlProjectArgs, tmpDir string, j2 *jinja2.Jinja2) (*KluctlProjectContext, error)
func NewKluctlProjectContext ¶
func NewKluctlProjectContext(loadArgs LoadKluctlProjectArgs, tmpDir string, j2 *jinja2.Jinja2) *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)
func (*KluctlProjectContext) NewTargetContext ¶
func (p *KluctlProjectContext) NewTargetContext(targetName string, clusterName string, dryRun bool, args map[string]string, forSeal bool, images *deployment.Images, inclusion *utils.Inclusion, renderOutputDir string) (*TargetContext, error)
type LoadKluctlProjectArgs ¶
type TargetContext ¶
type TargetContext struct { KluctlProject *KluctlProjectContext Target *types.Target ClusterConfig *types.ClusterConfig K *k8s.K8sCluster DeploymentProject *deployment.DeploymentProject DeploymentCollection *deployment.DeploymentCollection }
Click to show internal directories.
Click to hide internal directories.