cilium

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2020 License: Apache-2.0, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "cilium.networking.extensions.gardener.cloud"

GroupName is the group name use in this package

Variables

View Source
var (
	// SchemeBuilder initializes a scheme builder
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)

	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type ExternalIP

type ExternalIP struct {
	// ExternalIPenabled is used to define whether ExternalIP address is required or not.
	Enabled bool
}

ExternalIPs configuration for cilium

func (*ExternalIP) DeepCopy

func (in *ExternalIP) DeepCopy() *ExternalIP

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalIP.

func (*ExternalIP) DeepCopyInto

func (in *ExternalIP) DeepCopyInto(out *ExternalIP)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Hubble

type Hubble struct {
	// Enabled defines whether hubble will be enabled for the cluster.
	Enabled bool
}

Hubble enablement for cilium

func (*Hubble) DeepCopy

func (in *Hubble) DeepCopy() *Hubble

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Hubble.

func (*Hubble) DeepCopyInto

func (in *Hubble) DeepCopyInto(out *Hubble)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type IdentityAllocationMode

type IdentityAllocationMode string

IdentityAllocationMode selects how identities are shared between cilium nodes by setting how they are stored. The options are "crd" or "kvstore".

const (
	// CRD defines the crd IdentityAllocationMode type.
	CRD IdentityAllocationMode = "crd"
	// KVStore defines the kvstore IdentityAllocationMode type.
	KVStore IdentityAllocationMode = "kvstore"
)

type InstallIPTableRules

type InstallIPTableRules struct {
	Enabled bool
}

InstallIPTableRules configuration for cilium

func (*InstallIPTableRules) DeepCopy

func (in *InstallIPTableRules) DeepCopy() *InstallIPTableRules

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallIPTableRules.

func (*InstallIPTableRules) DeepCopyInto

func (in *InstallIPTableRules) DeepCopyInto(out *InstallIPTableRules)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KubeProxy

type KubeProxy struct {
	// Enabled specifies whether kubeproxy is disabled.
	Enabled *bool
	// ServiceHost specify the controlplane node IP Address.
	ServiceHost *string
	// ServicePort specify the kube-apiserver port number.
	ServicePort *int32
}

KubeProxy configuration for cilium

func (*KubeProxy) DeepCopy

func (in *KubeProxy) DeepCopy() *KubeProxy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxy.

func (*KubeProxy) DeepCopyInto

func (in *KubeProxy) DeepCopyInto(out *KubeProxy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KubeProxyReplacementMode

type KubeProxyReplacementMode string

KubeProxyReplacementMode defines which mode should kube-proxy run in. More infromation here: https://docs.cilium.io/en/v1.7/gettingstarted/kubeproxy-free/

const (
	// Strict defines the strict kube-proxy replacement mode
	Strict KubeProxyReplacementMode = "strict"
	// Probe defines the probe kube-proxy replacement mode
	Probe KubeProxyReplacementMode = "probe"
	// Partial defines the partial kube-proxy replacement mode
	Partial KubeProxyReplacementMode = "partial"
)

type NetworkConfig

type NetworkConfig struct {
	metav1.TypeMeta
	// Debug configuration to be enabled or not
	Debug *bool
	// PSPEnabled configuration
	PSPEnabled *bool
	// KubeProxy configuration to be enabled or not
	KubeProxy *KubeProxy
	// Hubble configuration to be enabled or not
	Hubble *Hubble
	// TunnelMode configuration, it should be 'vxlan', 'geneve' or 'disabled'
	TunnelMode *TunnelMode
	// Store can be either Kubernetes or etcd.
	Store *Store
}

NetworkConfig is a struct representing the configmap for the cilium networking plugin

func (*NetworkConfig) DeepCopy

func (in *NetworkConfig) DeepCopy() *NetworkConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfig.

func (*NetworkConfig) DeepCopyInto

func (in *NetworkConfig) DeepCopyInto(out *NetworkConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NetworkConfig) DeepCopyObject

func (in *NetworkConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type NodePortMode

type NodePortMode string

NodePortMode defines how NodePort services are enabled.

const (
	Hybird NodePortMode = "hybrid"
)

type Nodeport

type Nodeport struct {
	// Enabled is used to define whether Nodeport is required or not.
	Enabled bool
	// Mode is the mode of NodePort feature
	Mode NodePortMode
}

Nodeport enablement for cilium

func (*Nodeport) DeepCopy

func (in *Nodeport) DeepCopy() *Nodeport

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Nodeport.

func (*Nodeport) DeepCopyInto

func (in *Nodeport) DeepCopyInto(out *Nodeport)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Store

type Store string

Store defines the kubernetes storage backend

const (
	// Kubernetes defines the kubernetes CRD store type
	Kubernetes Store = "kubernetes"
	// ETCD defines the ETCD store type
	ETCD Store = "etcd"
)

type TunnelMode

type TunnelMode string

TunnelMode defines what tunnel mode to use for Cilium.

const (
	// VXLan defines the vxlan tunnel mode
	VXLan TunnelMode = "vxlan"
	// Geneve defines the geneve tunnel mode.
	Geneve TunnelMode = "geneve"
	// Disabled defines the disabled tunnel mode.
	Disabled TunnelMode = "disabled"
)

Directories

Path Synopsis
Package v1alpha1 contains the configuration of the Cilium Network Extension.
Package v1alpha1 contains the configuration of the Cilium Network Extension.

Jump to

Keyboard shortcuts

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