calico

package
v3.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CalicoNamespaceAnnotationIPPoolV4 = "cni.projectcalico.org/ipv4pools"
	CalicoNamespaceAnnotationIPPoolV6 = "cni.projectcalico.org/ipv6pools"
	CalicoPodAnnotationIPAddr         = "cni.projectcalico.org/ipAddrs"
)

Variables

View Source
var (
	ErrBlockInuse = errors.New("ipamblock in using")
)

Functions

func NewProvider

func NewProvider(ksclient kubesphereclient.Interface, options Options, k8sOptions *k8s.KubernetesOptions) provider

Types

type Options

type Options struct {
	IPIPMode    string `json:"ipipMode,omityempty" yaml:"ipipMode,omityempty"`
	VXLANMode   string `json:"vxlanMode,omityempty" yaml:"vxlanMode,omityempty"`
	NATOutgoing bool   `json:"natOutgoing,omitempty" yaml:"natOutgoing,omityempty"`
}

Directories

Path Synopsis
client
clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
clientset/versioned/typed/network/calicov3
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
clientset/versioned/typed/network/calicov3/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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