cncfdistribution

package
v0.35.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CNCFDistribution

type CNCFDistribution struct {
	// contains filtered or unexported fields
}

func New

func New(
	c ctrlclient.Client,
	cfg *Config,
	helmChartInfoGetter *config.HelmChartGetter,
) *CNCFDistribution

func (*CNCFDistribution) Apply

Apply applies the CNCF Distribution registry addon to the cluster.

func (*CNCFDistribution) Cleanup

func (n *CNCFDistribution) Cleanup(
	ctx context.Context,
	_ v1alpha1.RegistryAddon,
	cluster *clusterv1.Cluster,
	log logr.Logger,
) error

func (*CNCFDistribution) Setup

Setup ensures any pre-requisites for the CNCF Distribution registry addon are met. It is expected to be called before the cluster is created. Specifically, it ensures that the CA secret for the registry is created in the cluster's namespace.

type Config

type Config struct {
	*options.GlobalOptions
	// contains filtered or unexported fields
}

func (*Config) AddFlags

func (c *Config) AddFlags(prefix string, flags *pflag.FlagSet)

Jump to

Keyboard shortcuts

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