Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHelm ¶
func NewHelm(log logr.Logger, secretAuth auth.Authenticator, tcc auth.TargetClusterClient) *helmDriver
Types ¶
type PackageDriver ¶
type PackageDriver interface { // Initialize the package driver Initialize(ctx context.Context, clusterName string) error // Install or upgrade an package. Install(ctx context.Context, name string, namespace string, createNamespace bool, source api.PackageOCISource, values map[string]interface{}) error // Uninstall an package. Uninstall(ctx context.Context, name string) error // IsConfigChanged indicates that the values passed differ from // those currently running. IsConfigChanged(ctx context.Context, name string, values map[string]interface{}) (bool, error) }
PackageDriver is an interface for converting a CRD to a series of Kubernetes objects.
Its first implementation will be Helm, but the interface is used to enhance and simplify testing as well as abstract the details of Helm.
Click to show internal directories.
Click to hide internal directories.