Documentation
¶
Overview ¶
Package networking is the internal version of the API.
Package networking contains API Schema definitions for the networking internal API group +kubebuilder:object:generate=true +groupName=networking.api.onmetal.de
Index ¶
- Variables
- func Resource(name string) schema.GroupResource
- type AliasPrefix
- type AliasPrefixList
- type AliasPrefixRouting
- type AliasPrefixRoutingList
- type AliasPrefixSpec
- type AliasPrefixStatus
- type EphemeralPrefixSource
- type EphemeralVirtualIPSource
- type IPSource
- type Network
- type NetworkInterface
- type NetworkInterfaceList
- type NetworkInterfacePhase
- type NetworkInterfaceSpec
- type NetworkInterfaceStatus
- type NetworkInterfaceTemplateSpec
- type NetworkList
- type PrefixSource
- type VirtualIP
- type VirtualIPList
- type VirtualIPPhase
- type VirtualIPSource
- type VirtualIPSpec
- type VirtualIPStatus
- type VirtualIPTemplateSpec
- type VirtualIPType
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "networking.api.onmetal.de", Version: runtime.APIVersionInternal} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(name string) schema.GroupResource
Types ¶
type AliasPrefix ¶
type AliasPrefix struct {
metav1.TypeMeta
metav1.ObjectMeta
Spec AliasPrefixSpec
Status AliasPrefixStatus
}
AliasPrefix is the Schema for the aliasprefix API
func (*AliasPrefix) DeepCopy ¶
func (in *AliasPrefix) DeepCopy() *AliasPrefix
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AliasPrefix.
func (*AliasPrefix) DeepCopyInto ¶
func (in *AliasPrefix) DeepCopyInto(out *AliasPrefix)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AliasPrefix) DeepCopyObject ¶
func (in *AliasPrefix) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AliasPrefixList ¶
type AliasPrefixList struct {
metav1.TypeMeta
metav1.ListMeta
Items []AliasPrefix
}
AliasPrefixList contains a list of AliasPrefix
func (*AliasPrefixList) DeepCopy ¶
func (in *AliasPrefixList) DeepCopy() *AliasPrefixList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AliasPrefixList.
func (*AliasPrefixList) DeepCopyInto ¶
func (in *AliasPrefixList) DeepCopyInto(out *AliasPrefixList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AliasPrefixList) DeepCopyObject ¶
func (in *AliasPrefixList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AliasPrefixRouting ¶
type AliasPrefixRouting struct {
metav1.TypeMeta
metav1.ObjectMeta
// Destinations are the destinations for an AliasPrefix.
Destinations []commonv1alpha1.LocalUIDReference
}
AliasPrefixRouting is the Schema for the AliasPrefixRouting API
func (*AliasPrefixRouting) DeepCopy ¶
func (in *AliasPrefixRouting) DeepCopy() *AliasPrefixRouting
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AliasPrefixRouting.
func (*AliasPrefixRouting) DeepCopyInto ¶
func (in *AliasPrefixRouting) DeepCopyInto(out *AliasPrefixRouting)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AliasPrefixRouting) DeepCopyObject ¶
func (in *AliasPrefixRouting) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AliasPrefixRoutingList ¶
type AliasPrefixRoutingList struct {
metav1.TypeMeta
metav1.ListMeta
Items []AliasPrefixRouting
}
AliasPrefixRoutingList contains a list of AliasPrefixRouting
func (*AliasPrefixRoutingList) DeepCopy ¶
func (in *AliasPrefixRoutingList) DeepCopy() *AliasPrefixRoutingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AliasPrefixRoutingList.
func (*AliasPrefixRoutingList) DeepCopyInto ¶
func (in *AliasPrefixRoutingList) DeepCopyInto(out *AliasPrefixRoutingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AliasPrefixRoutingList) DeepCopyObject ¶
func (in *AliasPrefixRoutingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AliasPrefixSpec ¶
type AliasPrefixSpec struct {
// NetworkRef is the Network this AliasPrefix should belong to
NetworkRef corev1.LocalObjectReference
// NetworkInterfaceSelector defines the NetworkInterfaces
// for which this AliasPrefix should be applied
NetworkInterfaceSelector *metav1.LabelSelector
// Prefix is the provided Prefix or Ephemeral which
// should be used by this AliasPrefix
Prefix PrefixSource
}
AliasPrefixSpec defines the desired state of AliasPrefix
func (*AliasPrefixSpec) DeepCopy ¶
func (in *AliasPrefixSpec) DeepCopy() *AliasPrefixSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AliasPrefixSpec.
func (*AliasPrefixSpec) DeepCopyInto ¶
func (in *AliasPrefixSpec) DeepCopyInto(out *AliasPrefixSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AliasPrefixStatus ¶
type AliasPrefixStatus struct {
// Prefix is the Prefix reserved by this AliasPrefix
Prefix *commonv1alpha1.IPPrefix
}
AliasPrefixStatus defines the observed state of AliasPrefix
func (*AliasPrefixStatus) DeepCopy ¶
func (in *AliasPrefixStatus) DeepCopy() *AliasPrefixStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AliasPrefixStatus.
func (*AliasPrefixStatus) DeepCopyInto ¶
func (in *AliasPrefixStatus) DeepCopyInto(out *AliasPrefixStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EphemeralPrefixSource ¶
type EphemeralPrefixSource struct {
// PrefixTemplate is the template for the Prefix.
PrefixTemplate *ipam.PrefixTemplateSpec
}
EphemeralPrefixSource contains the definition to create an ephemeral (i.e. coupled to the lifetime of the surrounding object) Prefix.
func (*EphemeralPrefixSource) DeepCopy ¶
func (in *EphemeralPrefixSource) DeepCopy() *EphemeralPrefixSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EphemeralPrefixSource.
func (*EphemeralPrefixSource) DeepCopyInto ¶
func (in *EphemeralPrefixSource) DeepCopyInto(out *EphemeralPrefixSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EphemeralVirtualIPSource ¶
type EphemeralVirtualIPSource struct {
// VirtualIPTemplate is the template for the VirtualIP.
VirtualIPTemplate *VirtualIPTemplateSpec
}
EphemeralVirtualIPSource contains the definition to create an ephemeral (i.e. coupled to the lifetime of the surrounding object) VirtualIP.
func (*EphemeralVirtualIPSource) DeepCopy ¶
func (in *EphemeralVirtualIPSource) DeepCopy() *EphemeralVirtualIPSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EphemeralVirtualIPSource.
func (*EphemeralVirtualIPSource) DeepCopyInto ¶
func (in *EphemeralVirtualIPSource) DeepCopyInto(out *EphemeralVirtualIPSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPSource ¶
type IPSource struct {
// Value specifies an IP by using an IP literal.
Value *commonv1alpha1.IP
// Ephemeral specifies an IP by creating an ephemeral Prefix to allocate the IP with.
Ephemeral *EphemeralPrefixSource
}
IPSource is the definition of how to obtain an IP.
func (*IPSource) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPSource.
func (*IPSource) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Network ¶
type Network struct {
metav1.TypeMeta
metav1.ObjectMeta
}
Network is the Schema for the network API
func (*Network) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network.
func (*Network) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Network) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkInterface ¶
type NetworkInterface struct {
metav1.TypeMeta
metav1.ObjectMeta
Spec NetworkInterfaceSpec
Status NetworkInterfaceStatus
}
NetworkInterface is the Schema for the networkinterfaces API
func (*NetworkInterface) DeepCopy ¶
func (in *NetworkInterface) DeepCopy() *NetworkInterface
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterface.
func (*NetworkInterface) DeepCopyInto ¶
func (in *NetworkInterface) DeepCopyInto(out *NetworkInterface)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkInterface) DeepCopyObject ¶
func (in *NetworkInterface) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkInterfaceList ¶
type NetworkInterfaceList struct {
metav1.TypeMeta
metav1.ListMeta
Items []NetworkInterface
}
NetworkInterfaceList contains a list of NetworkInterface
func (*NetworkInterfaceList) DeepCopy ¶
func (in *NetworkInterfaceList) DeepCopy() *NetworkInterfaceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceList.
func (*NetworkInterfaceList) DeepCopyInto ¶
func (in *NetworkInterfaceList) DeepCopyInto(out *NetworkInterfaceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkInterfaceList) DeepCopyObject ¶
func (in *NetworkInterfaceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkInterfacePhase ¶
type NetworkInterfacePhase string
NetworkInterfacePhase is the binding phase of a NetworkInterface.
const ( // NetworkInterfacePhaseUnbound is used for any NetworkInterface that is not bound. NetworkInterfacePhaseUnbound NetworkInterfacePhase = "Unbound" // NetworkInterfacePhasePending is used for any NetworkInterface that is currently awaiting binding. NetworkInterfacePhasePending NetworkInterfacePhase = "Pending" // NetworkInterfacePhaseBound is used for any NetworkInterface that is properly bound. NetworkInterfacePhaseBound NetworkInterfacePhase = "Bound" )
type NetworkInterfaceSpec ¶
type NetworkInterfaceSpec struct {
// NetworkRef is the Network this NetworkInterface is connected to
NetworkRef corev1.LocalObjectReference
// MachineRef is the Machine this NetworkInterface is used by
MachineRef *commonv1alpha1.LocalUIDReference
// IPFamilies defines which IPFamilies this NetworkInterface is supporting
IPFamilies []corev1.IPFamily
// IPs is the list of provided IPs or EphemeralIPs which should be assigned to
// this NetworkInterface
IPs []IPSource
// VirtualIP specifies the virtual ip that should be assigned to this NetworkInterface.
VirtualIP *VirtualIPSource
}
NetworkInterfaceSpec defines the desired state of NetworkInterface
func (*NetworkInterfaceSpec) DeepCopy ¶
func (in *NetworkInterfaceSpec) DeepCopy() *NetworkInterfaceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceSpec.
func (*NetworkInterfaceSpec) DeepCopyInto ¶
func (in *NetworkInterfaceSpec) DeepCopyInto(out *NetworkInterfaceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkInterfaceStatus ¶
type NetworkInterfaceStatus struct {
// IPs represent the effective IP addresses of the NetworkInterface
IPs []commonv1alpha1.IP
// VirtualIP is any virtual ip assigned to the NetworkInterface.
VirtualIP *commonv1alpha1.IP
// Phase is the NetworkInterfacePhase of the NetworkInterface.
Phase NetworkInterfacePhase
// LastPhaseTransitionTime is the last time the Phase transitioned from one value to another.
LastPhaseTransitionTime *metav1.Time
}
NetworkInterfaceStatus defines the observed state of NetworkInterface
func (*NetworkInterfaceStatus) DeepCopy ¶
func (in *NetworkInterfaceStatus) DeepCopy() *NetworkInterfaceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceStatus.
func (*NetworkInterfaceStatus) DeepCopyInto ¶
func (in *NetworkInterfaceStatus) DeepCopyInto(out *NetworkInterfaceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkInterfaceTemplateSpec ¶
type NetworkInterfaceTemplateSpec struct {
metav1.ObjectMeta
Spec NetworkInterfaceSpec
}
NetworkInterfaceTemplateSpec is the specification of a NetworkInterface template.
func (*NetworkInterfaceTemplateSpec) DeepCopy ¶
func (in *NetworkInterfaceTemplateSpec) DeepCopy() *NetworkInterfaceTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceTemplateSpec.
func (*NetworkInterfaceTemplateSpec) DeepCopyInto ¶
func (in *NetworkInterfaceTemplateSpec) DeepCopyInto(out *NetworkInterfaceTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkList ¶
NetworkList contains a list of Network
func (*NetworkList) DeepCopy ¶
func (in *NetworkList) DeepCopy() *NetworkList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkList.
func (*NetworkList) DeepCopyInto ¶
func (in *NetworkList) DeepCopyInto(out *NetworkList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkList) DeepCopyObject ¶
func (in *NetworkList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PrefixSource ¶
type PrefixSource struct {
// Value is a single IPPrefix value as defined in the AliasPrefix
Value *commonv1alpha1.IPPrefix
// EphemeralPrefix defines the Prefix which should be allocated by the AliasPrefix
Ephemeral *EphemeralPrefixSource
}
PrefixSource is the source of the Prefix definition in an AliasPrefix
func (*PrefixSource) DeepCopy ¶
func (in *PrefixSource) DeepCopy() *PrefixSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrefixSource.
func (*PrefixSource) DeepCopyInto ¶
func (in *PrefixSource) DeepCopyInto(out *PrefixSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualIP ¶
type VirtualIP struct {
metav1.TypeMeta
metav1.ObjectMeta
Spec VirtualIPSpec
Status VirtualIPStatus
}
VirtualIP is the Schema for the virtualips API
func (*VirtualIP) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualIP.
func (*VirtualIP) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualIP) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VirtualIPList ¶
VirtualIPList contains a list of VirtualIP
func (*VirtualIPList) DeepCopy ¶
func (in *VirtualIPList) DeepCopy() *VirtualIPList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualIPList.
func (*VirtualIPList) DeepCopyInto ¶
func (in *VirtualIPList) DeepCopyInto(out *VirtualIPList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualIPList) DeepCopyObject ¶
func (in *VirtualIPList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VirtualIPPhase ¶
type VirtualIPPhase string
VirtualIPPhase is the binding phase of a VirtualIP.
const ( // VirtualIPPhaseUnbound is used for any VirtualIP that is not bound. VirtualIPPhaseUnbound VirtualIPPhase = "Unbound" // VirtualIPPhasePending is used for any VirtualIP that is currently awaiting binding. VirtualIPPhasePending VirtualIPPhase = "Pending" // VirtualIPPhaseBound is used for any VirtualIP that is properly bound. VirtualIPPhaseBound VirtualIPPhase = "Bound" )
type VirtualIPSource ¶
type VirtualIPSource struct {
// VirtualIPRef references a VirtualIP to use.
VirtualIPRef *corev1.LocalObjectReference
// Ephemeral instructs to create an ephemeral (i.e. coupled to the lifetime of the surrounding object)
// VirtualIP.
Ephemeral *EphemeralVirtualIPSource
}
VirtualIPSource is the definition of how to obtain a VirtualIP.
func (*VirtualIPSource) DeepCopy ¶
func (in *VirtualIPSource) DeepCopy() *VirtualIPSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualIPSource.
func (*VirtualIPSource) DeepCopyInto ¶
func (in *VirtualIPSource) DeepCopyInto(out *VirtualIPSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualIPSpec ¶
type VirtualIPSpec struct {
// Type is the type of VirtualIP.
Type VirtualIPType
// IPFamily is the ip family of the VirtualIP.
IPFamily corev1.IPFamily
// TargetRef references the target for this VirtualIP (currently only NetworkInterface).
TargetRef *commonv1alpha1.LocalUIDReference
}
VirtualIPSpec defines the desired state of VirtualIP
func (*VirtualIPSpec) DeepCopy ¶
func (in *VirtualIPSpec) DeepCopy() *VirtualIPSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualIPSpec.
func (*VirtualIPSpec) DeepCopyInto ¶
func (in *VirtualIPSpec) DeepCopyInto(out *VirtualIPSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualIPStatus ¶
type VirtualIPStatus struct {
// IP is the allocated IP, if any.
IP *commonv1alpha1.IP
// Phase is the VirtualIPPhase of the VirtualIP.
Phase VirtualIPPhase
// LastPhaseTransitionTime is the last time the Phase transitioned from one value to another.
LastPhaseTransitionTime *metav1.Time
}
VirtualIPStatus defines the observed state of VirtualIP
func (*VirtualIPStatus) DeepCopy ¶
func (in *VirtualIPStatus) DeepCopy() *VirtualIPStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualIPStatus.
func (*VirtualIPStatus) DeepCopyInto ¶
func (in *VirtualIPStatus) DeepCopyInto(out *VirtualIPStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualIPTemplateSpec ¶
type VirtualIPTemplateSpec struct {
metav1.ObjectMeta
Spec VirtualIPSpec
}
VirtualIPTemplateSpec is the specification of a VirtualIP template.
func (*VirtualIPTemplateSpec) DeepCopy ¶
func (in *VirtualIPTemplateSpec) DeepCopy() *VirtualIPTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualIPTemplateSpec.
func (*VirtualIPTemplateSpec) DeepCopyInto ¶
func (in *VirtualIPTemplateSpec) DeepCopyInto(out *VirtualIPTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualIPType ¶
type VirtualIPType string
VirtualIPType is a type of VirtualIP.
const ( // VirtualIPTypePublic is a VirtualIP that allocates and routes a stable public IP. VirtualIPTypePublic VirtualIPType = "Public" )
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package v1alpha1 is the v1alpha1 version of the API.
|
Package v1alpha1 is the v1alpha1 version of the API. |