Documentation
¶
Index ¶
- type Container
- type KubeMacPool
- type KubeSecondaryDNS
- type KubevirtIpamController
- type LinuxBridge
- type MacvtapCni
- type Multus
- type MultusDynamicNetworks
- type NMState
- type NetworkAddonsConfig
- type NetworkAddonsConfigSpec
- type NetworkAddonsConfigStatus
- type Ovs
- type Placement
- type PlacementConfiguration
- type SelfSignConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct {
ParentKind string `json:"parentKind"`
ParentName string `json:"parentName"`
Name string `json:"name"`
Image string `json:"image"`
}
func (*Container) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Container.
func (*Container) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubeMacPool ¶
type KubeMacPool struct {
// RangeStart defines the first mac in range
RangeStart string `json:"rangeStart,omitempty"`
// RangeEnd defines the last mac in range
RangeEnd string `json:"rangeEnd,omitempty"`
}
KubeMacPool plugin manages MAC allocation to Pods and VMs in Kubernetes
func (*KubeMacPool) DeepCopy ¶
func (in *KubeMacPool) DeepCopy() *KubeMacPool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeMacPool.
func (*KubeMacPool) DeepCopyInto ¶
func (in *KubeMacPool) DeepCopyInto(out *KubeMacPool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubeSecondaryDNS ¶ added in v0.83.0
type KubeSecondaryDNS struct {
// Domain defines the FQDN domain
Domain string `json:"domain,omitempty"`
// NameServerIp defines the name server IP
NameServerIP string `json:"nameServerIP,omitempty"`
}
KubeSecondaryDNS plugin allows to support FQDN for VMI's secondary networks
type KubevirtIpamController ¶ added in v0.94.0
type KubevirtIpamController struct {
// DefaultNetworkNADNamespace is the namespace of the cluster default network NetworkAttachmentDefinition exist.
// When a VM is attached to OVN-Kubernetes user-defined network, with persistent IPs, ipam-controller mutates
// the pod according to the provided default network NAD namespace.
DefaultNetworkNADNamespace string `json:"defaultNetworkNADNamespace,omitempty"`
}
KubevirtIpamController plugin allows to support IPAM for secondary networks
type LinuxBridge ¶
type LinuxBridge struct{}
LinuxBridge plugin allows users to create a bridge and add the host and the container to it
func (*LinuxBridge) DeepCopy ¶
func (in *LinuxBridge) DeepCopy() *LinuxBridge
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinuxBridge.
func (*LinuxBridge) DeepCopyInto ¶
func (in *LinuxBridge) DeepCopyInto(out *LinuxBridge)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MacvtapCni ¶
type MacvtapCni struct {
// DevicePluginConfig allows the user to override the name of the
// `ConfigMap` where the device plugin configuration is held.
DevicePluginConfig string `json:"devicePluginConfig,omitempty"`
}
MacvtapCni plugin allows users to define Kubernetes networks on top of existing host interfaces
func (*MacvtapCni) DeepCopy ¶
func (in *MacvtapCni) DeepCopy() *MacvtapCni
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MacvtapCni.
func (*MacvtapCni) DeepCopyInto ¶
func (in *MacvtapCni) DeepCopyInto(out *MacvtapCni)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Multus ¶
type Multus struct{}
Multus plugin enables attaching multiple network interfaces to Pods in Kubernetes
func (*Multus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Multus.
func (*Multus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MultusDynamicNetworks ¶ added in v0.81.0
type MultusDynamicNetworks struct{}
MultusDynamicNetworks A multus extension enabling hot-plug and hot-unplug of Pod interfaces
type NMState ¶
type NMState struct{}
NMState is a declarative node network configuration driven through Kubernetes API
func (*NMState) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NMState.
func (*NMState) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkAddonsConfig ¶
type NetworkAddonsConfig struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec NetworkAddonsConfigSpec `json:"spec,omitempty"`
Status NetworkAddonsConfigStatus `json:"status,omitempty"`
}
NetworkAddonsConfig is the Schema for the networkaddonsconfigs API This struct is no exposed/registered as part of the CRD, but is used by the v1alpha1 and v1 as kind of inside-helper struct
func (*NetworkAddonsConfig) DeepCopy ¶
func (in *NetworkAddonsConfig) DeepCopy() *NetworkAddonsConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkAddonsConfig.
func (*NetworkAddonsConfig) DeepCopyInto ¶
func (in *NetworkAddonsConfig) DeepCopyInto(out *NetworkAddonsConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkAddonsConfigSpec ¶
type NetworkAddonsConfigSpec struct {
Multus *Multus `json:"multus,omitempty"`
MultusDynamicNetworks *MultusDynamicNetworks `json:"multusDynamicNetworks,omitempty"`
LinuxBridge *LinuxBridge `json:"linuxBridge,omitempty"`
Ovs *Ovs `json:"ovs,omitempty"`
KubeMacPool *KubeMacPool `json:"kubeMacPool,omitempty"`
ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
NMState *NMState `json:"nmstate,omitempty"`
KubeSecondaryDNS *KubeSecondaryDNS `json:"kubeSecondaryDNS,omitempty"`
MacvtapCni *MacvtapCni `json:"macvtap,omitempty"`
KubevirtIpamController *KubevirtIpamController `json:"kubevirtIpamController,omitempty"`
SelfSignConfiguration *SelfSignConfiguration `json:"selfSignConfiguration,omitempty"`
PlacementConfiguration *PlacementConfiguration `json:"placementConfiguration,omitempty"`
TLSSecurityProfile *ocpv1.TLSSecurityProfile `json:"tlsSecurityProfile,omitempty"`
}
NetworkAddonsConfigSpec defines the desired state of NetworkAddonsConfig
func (*NetworkAddonsConfigSpec) DeepCopy ¶
func (in *NetworkAddonsConfigSpec) DeepCopy() *NetworkAddonsConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkAddonsConfigSpec.
func (*NetworkAddonsConfigSpec) DeepCopyInto ¶
func (in *NetworkAddonsConfigSpec) DeepCopyInto(out *NetworkAddonsConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkAddonsConfigStatus ¶
type NetworkAddonsConfigStatus struct {
OperatorVersion string `json:"operatorVersion,omitempty"`
ObservedVersion string `json:"observedVersion,omitempty"`
TargetVersion string `json:"targetVersion,omitempty"`
Conditions []conditionsv1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
Containers []Container `json:"containers,omitempty"`
}
NetworkAddonsConfigStatus defines the observed state of NetworkAddonsConfig
func (*NetworkAddonsConfigStatus) DeepCopy ¶
func (in *NetworkAddonsConfigStatus) DeepCopy() *NetworkAddonsConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkAddonsConfigStatus.
func (*NetworkAddonsConfigStatus) DeepCopyInto ¶
func (in *NetworkAddonsConfigStatus) DeepCopyInto(out *NetworkAddonsConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (NetworkAddonsConfigStatus) DeepEqual ¶ added in v0.58.3
func (s NetworkAddonsConfigStatus) DeepEqual(statusToCompare NetworkAddonsConfigStatus) bool
type Ovs ¶
type Ovs struct{}
Ovs plugin allows users to define Kubernetes networks on top of Open vSwitch bridges available on nodes
func (*Ovs) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ovs.
func (*Ovs) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Placement ¶
type Placement struct {
NodeSelector map[string]string `json:"nodeSelector,omitempty"`
Affinity corev1.Affinity `json:"affinity,omitempty"`
Tolerations []corev1.Toleration `json:"tolerations,omitempty"`
}
func (*Placement) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Placement.
func (*Placement) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlacementConfiguration ¶
type PlacementConfiguration struct {
// Infra defines placement configuration for control-plane nodes
Infra *Placement `json:"infra,omitempty"`
// Workloads defines placement configuration for worker nodes
Workloads *Placement `json:"workloads,omitempty"`
}
PlacementConfiguration defines node placement configuration
func (*PlacementConfiguration) DeepCopy ¶
func (in *PlacementConfiguration) DeepCopy() *PlacementConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementConfiguration.
func (*PlacementConfiguration) DeepCopyInto ¶
func (in *PlacementConfiguration) DeepCopyInto(out *PlacementConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SelfSignConfiguration ¶
type SelfSignConfiguration struct {
// CARotateInterval defines duration for CA expiration
CARotateInterval string `json:"caRotateInterval,omitempty"`
// CAOverlapInterval defines the duration where expired CA certificate can overlap with new one, in order to allow fluent CA rotation transitioning
CAOverlapInterval string `json:"caOverlapInterval,omitempty"`
// CertRotateInterval defines duration for of service certificate expiration
CertRotateInterval string `json:"certRotateInterval,omitempty"`
// CertOverlapInterval defines the duration where expired service certificate can overlap with new one, in order to allow fluent service rotation transitioning
CertOverlapInterval string `json:"certOverlapInterval,omitempty"`
}
SelfSignConfiguration defines self sign configuration
func (*SelfSignConfiguration) DeepCopy ¶
func (in *SelfSignConfiguration) DeepCopy() *SelfSignConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSignConfiguration.
func (*SelfSignConfiguration) DeepCopyInto ¶
func (in *SelfSignConfiguration) DeepCopyInto(out *SelfSignConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.