Documentation
¶
Index ¶
- type Config
- type HelmDeployer
- func (h *HelmDeployer) Install(ctx context.Context, releaseName string) error
- func (h *HelmDeployer) List(ctx context.Context) ([]ReleaseInfo, error)
- func (h *HelmDeployer) Rollback(ctx context.Context, releaseName string) error
- func (h *HelmDeployer) SetValue(key, value string)
- func (h *HelmDeployer) Upgrade(ctx context.Context, releaseName string) error
- type KubernetesDeployer
- type ReleaseInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HelmDeployer ¶
type HelmDeployer struct {
// contains filtered or unexported fields
}
HelmDeployer handles Helm deployments.
func NewHelmDeployer ¶
func NewHelmDeployer(chartPath, namespace string) *HelmDeployer
NewHelmDeployer creates a new Helm deployer.
func (*HelmDeployer) Install ¶
func (h *HelmDeployer) Install(ctx context.Context, releaseName string) error
Install installs a Helm chart.
func (*HelmDeployer) List ¶
func (h *HelmDeployer) List(ctx context.Context) ([]ReleaseInfo, error)
List lists Helm releases.
func (*HelmDeployer) Rollback ¶
func (h *HelmDeployer) Rollback(ctx context.Context, releaseName string) error
Rollback rolls back a Helm release.
func (*HelmDeployer) SetValue ¶
func (h *HelmDeployer) SetValue(key, value string)
SetValue sets a Helm value.
type KubernetesDeployer ¶
type KubernetesDeployer struct {
// contains filtered or unexported fields
}
KubernetesDeployer handles Kubernetes deployments.
func NewKubernetesDeployer ¶
func NewKubernetesDeployer(cfg Config) *KubernetesDeployer
NewKubernetesDeployer creates a new K8s deployer.
func (*KubernetesDeployer) Apply ¶
func (k *KubernetesDeployer) Apply(ctx context.Context, manifest string) error
Apply applies a Kubernetes manifest.
func (*KubernetesDeployer) Deploy ¶
func (k *KubernetesDeployer) Deploy(ctx context.Context) error
Deploy deploys an application.
Click to show internal directories.
Click to hide internal directories.