Documentation
¶
Index ¶
- type CNCFDistribution
- func (n *CNCFDistribution) Apply(ctx context.Context, _ v1alpha1.RegistryAddon, cluster *clusterv1.Cluster, ...) error
- func (n *CNCFDistribution) Cleanup(ctx context.Context, _ v1alpha1.RegistryAddon, cluster *clusterv1.Cluster, ...) error
- func (n *CNCFDistribution) Setup(ctx context.Context, _ v1alpha1.RegistryAddon, cluster *clusterv1.Cluster, ...) error
- type Config
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 ¶
func (n *CNCFDistribution) Apply( ctx context.Context, _ v1alpha1.RegistryAddon, cluster *clusterv1.Cluster, log logr.Logger, ) error
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 ¶
func (n *CNCFDistribution) Setup( ctx context.Context, _ v1alpha1.RegistryAddon, cluster *clusterv1.Cluster, log logr.Logger, ) error
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.
Click to show internal directories.
Click to hide internal directories.