Documentation ¶
Overview ¶
Package calico provides a handler for managing Calico deployments on clusters, configurable via variables on the Cluster resource.
+kubebuilder:rbac:groups=addons.cluster.x-k8s.io,resources=clusterresourcesets,verbs=watch;list;get;create;patch;update;delete +kubebuilder:rbac:groups=addons.cluster.x-k8s.io,resources=helmchartproxies,verbs=watch;list;get;create;patch;update;delete +kubebuilder:rbac:groups="",resources=configmaps,verbs=watch;list;get;create;patch;update;delete
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CNIConfig ¶
type CNIConfig struct { *options.GlobalOptions // contains filtered or unexported fields }
type CalicoCNI ¶
type CalicoCNI struct {
// contains filtered or unexported fields
}
func New ¶
func New( c ctrlclient.Client, cfg *CNIConfig, helmChartInfoGetter *config.HelmChartGetter, ) *CalicoCNI
func (*CalicoCNI) AfterControlPlaneInitialized ¶
func (c *CalicoCNI) AfterControlPlaneInitialized( ctx context.Context, req *runtimehooksv1.AfterControlPlaneInitializedRequest, resp *runtimehooksv1.AfterControlPlaneInitializedResponse, )
func (*CalicoCNI) BeforeClusterUpgrade ¶ added in v0.10.0
func (c *CalicoCNI) BeforeClusterUpgrade( ctx context.Context, req *runtimehooksv1.BeforeClusterUpgradeRequest, resp *runtimehooksv1.BeforeClusterUpgradeResponse, )
Click to show internal directories.
Click to hide internal directories.