Documentation
¶
Overview ¶
Package fluxinstaller provides an installer for installing flux on a Kubernetes cluster.
This package contains the Flux installer implementation and client interfaces for managing Flux installations on Kubernetes clusters.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnexpectedClientType = errors.New(
"unexpected client type returned from helm client constructor",
)
ErrUnexpectedClientType is returned when the helm client constructor returns an unexpected type.
Functions ¶
This section is empty.
Types ¶
type FluxInstaller ¶
type FluxInstaller struct {
// contains filtered or unexported fields
}
FluxInstaller implements the installer.Installer interface for Flux.
func NewFluxInstaller ¶
func NewFluxInstaller( client HelmClient, kubeconfig, context string, timeout time.Duration, ) *FluxInstaller
NewFluxInstaller creates a new Flux installer instance.
type HelmClient ¶
type HelmClient interface {
Install(ctx context.Context, spec *helmclient.ChartSpec) error
Uninstall(name string) error
}
HelmClient defines the subset of Helm operations used by the installer.
Click to show internal directories.
Click to hide internal directories.