Documentation
¶
Overview ¶
Package flux provides a Flux client implementation using Flux Kubernetes APIs.
This package wraps Flux CD controller APIs (HelmRelease, Kustomization, Sources) and provides client functionality for creating and managing Flux resources on Kubernetes clusters.
Index ¶
Constants ¶
View Source
const ( // DefaultNamespace is the default namespace for Flux resources. DefaultNamespace = "flux-system" // SplitParts is the number of parts when splitting strings like "namespace/name" or "name.namespace". SplitParts = 2 )
Variables ¶
View Source
var ( // ErrTypeMismatch is returned when type assertion fails in copySpec. ErrTypeMismatch = errors.New("type mismatch in copySpec") // ErrUnsupportedResourceType is returned when an unsupported resource type is passed to copySpec. ErrUnsupportedResourceType = errors.New("unsupported resource type") )
View Source
var ErrOCIRefRequired = errors.New("one of --tag, --tag-semver or --digest is required")
ErrOCIRefRequired is returned when none of tag, semver, or digest is specified for OCI repository.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.