flux

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package flux provides helpers for deploying Helm charts through Flux.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ManageResources

func ManageResources(config ResourceConfig) error

ManageResources registers an OCIRepository and dependent HelmRelease on a cluster.

func Status

Status reports whether a Flux resource is terminating, ready, or progressing.

Types

type ResourceConfig

type ResourceConfig struct {
	Cluster           objectmanager.Cluster
	Namespace         string
	Interval          time.Duration
	KubeConfig        *meta.KubeConfigReference
	Version           ResourceVersion
	OCIRepositoryName string
	HelmReleaseName   string
}

ResourceConfig configures the Flux resources for a Helm chart.

type ResourceVersion

type ResourceVersion interface {
	GetChartVersion() string
	GetChartURL() string
	GetChartPullSecret() string
	GetHelmValues() *apiextensionsv1.JSON
}

ResourceVersion describes the version information required for a Flux-managed chart.

func NewResourceVersion

func NewResourceVersion(chartVersion, chartURL, chartPullSecret string, helmValues *apiextensionsv1.JSON) ResourceVersion

NewResourceVersion creates a ResourceVersion for callers without a CRD-backed version type.

Jump to

Keyboard shortcuts

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