fluxinterfaces

package
v0.414.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL