Documentation ¶
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type ExternalIP
- type Hubble
- type IPv6
- type IdentityAllocationMode
- type InstallIPTableRules
- type KubeProxy
- type KubeProxyReplacementMode
- type NetworkConfig
- type NodePortMode
- type Nodeport
- type Store
- type TunnelMode
Constants ¶
const GroupName = "cilium.networking.extensions.gardener.cloud"
GroupName is the group name use in this package
Variables ¶
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 )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Hubble.
func (*Hubble) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPv6 ¶ added in v1.6.0
type IPv6 struct { // Enabled indicates whether IPv6 is enabled or not. Enabled bool }
IPv6 enablement for cilium
func (*IPv6) DeepCopy ¶ added in v1.6.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPv6.
func (*IPv6) DeepCopyInto ¶ added in v1.6.0
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 { // 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxy.
func (*KubeProxy) DeepCopyInto ¶
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 // Enable IPv6 IPv6 *IPv6 }
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Nodeport.
func (*Nodeport) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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" )