csi

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package calico provides a handler for managing Calico deployments on clusters, configurable via labels and annotations.

To enable Calico deployment, a cluster must be labelled with `caren.nutanix.com/cni=calico`. This will ensure the Tigera Configmap and associated ClusterResourceSet.

+kubebuilder:rbac:groups=addons.cluster.x-k8s.io,resources=clusterresourcesets,verbs=watch;list;get;create;patch;update;delete +kubebuilder:rbac:groups="",resources=configmaps,verbs=watch;list;get;create;patch;update;delete +kubebuilder:rbac:groups="storage.k8s.io",resources=storageclasses,verbs=list;get;create;patch;update

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSIHandler

type CSIHandler struct {
	ProviderHandler map[string]CSIProvider
	// contains filtered or unexported fields
}

func New

func New(
	c ctrlclient.Client,
	handlers map[string]CSIProvider,
) *CSIHandler

func (*CSIHandler) BeforeClusterUpgrade added in v0.10.0

func (*CSIHandler) Name

func (c *CSIHandler) Name() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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