Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flux ¶
type Flux interface {
InstallFlux(ctx context.Context, options *fluxparameteroptions.InstalFluxOptions) (FluxDeployment, error)
}
type FluxDeployment ¶ added in v0.349.0
type FluxDeployment interface {
DeleteGitRepository(ctx context.Context, name string, namespace string) error
DeleteHelmRelease(ctx context.Context, name string, namespace string) error
DeleteKustomization(ctx context.Context, name string, namespace string) error
GetGitRepositoryStatusMessage(ctx context.Context, name string, namespace string) (string, error)
GetHelmReleaseStatusMessage(ctx context.Context, name string, namespace string) (string, error)
GetKustomizationStatusMessage(ctx context.Context, name string, namespace string) (string, error)
GitRepositoryExists(ctx context.Context, name string, namespace string) (bool, error)
HelmReleaseExists(ctx context.Context, name string, namespace string) (bool, error)
KustomizationExists(ctx context.Context, name string, namespace string) (bool, error)
WatchGitRepository(ctx context.Context, name string, namespace string, create func(*unstructured.Unstructured), update func(*unstructured.Unstructured), delete func(*unstructured.Unstructured)) error
WatchHelmRelease(ctx context.Context, name string, namespace string, create func(*unstructured.Unstructured), update func(*unstructured.Unstructured), delete func(*unstructured.Unstructured)) error
WatchKustomization(ctx context.Context, name string, namespace string, create func(*unstructured.Unstructured), update func(*unstructured.Unstructured), delete func(*unstructured.Unstructured)) error
}
Represents flux deployed in a kubernetes cluster.
Click to show internal directories.
Click to hide internal directories.