v1alpha1

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: Apache-2.0 Imports: 9 Imported by: 8

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API.

Package v1alpha1 contains API Schema definitions for the networking v1alpha1 API group +groupName=networking.ironcore.dev

Index

Constants

View Source
const (
	// NetworkPluginsGroup is the system rbac group all network plugins are in.
	NetworkPluginsGroup = "networking.ironcore.dev:system:networkplugins"

	// NetworkPluginUserNamePrefix is the prefix all network plugin users should have.
	NetworkPluginUserNamePrefix = "networking.ironcore.dev:system:networkplugin:"
)
View Source
const (
	// DefaultPortsPerNetworkInterface is the default number of ports per network interface.
	DefaultPortsPerNetworkInterface int32 = 2048
)

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "networking.ironcore.dev", Version: "v1alpha1"}

	// 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 LoadBalancerIPIPAMPrefixName

func LoadBalancerIPIPAMPrefixName(loadBalancerName string, idx int) string

LoadBalancerIPIPAMPrefixName returns the name of a Prefix for a network interface ephemeral prefix.

func LoadBalancerPrefixNames

func LoadBalancerPrefixNames(loadBalancer *LoadBalancer) []string

LoadBalancerPrefixNames returns the name of all ipam prefixes the load balancer references.

func NetworkInterfaceIPIPAMPrefixName

func NetworkInterfaceIPIPAMPrefixName(nicName string, idx int) string

NetworkInterfaceIPIPAMPrefixName returns the name of a Prefix for a network interface ephemeral prefix.

func NetworkInterfacePrefixIPAMPrefixName

func NetworkInterfacePrefixIPAMPrefixName(nicName string, idx int) string

NetworkInterfacePrefixIPAMPrefixName returns the name of a Prefix for a network interface ephemeral prefix.

func NetworkInterfacePrefixNames

func NetworkInterfacePrefixNames(nic *NetworkInterface) []string

NetworkInterfacePrefixNames returns the name of all ipam prefixes the network interface references.

func NetworkInterfaceVirtualIPName

func NetworkInterfaceVirtualIPName(nicName string, vipSource VirtualIPSource) string

NetworkInterfaceVirtualIPName returns the name of a VirtualIP for a NetworkInterface VirtualIPSource.

func NetworkPluginCommonName

func NetworkPluginCommonName(name string) string

NetworkPluginCommonName constructs the common name for a certificate of a network plugin user.

func Resource

func Resource(name string) schema.GroupResource

Types

type EphemeralPrefixSource

type EphemeralPrefixSource struct {
	// PrefixTemplate is the template for the Prefix.
	PrefixTemplate *ipamv1alpha1.PrefixTemplateSpec `json:"prefixTemplate,omitempty"`
}

EphemeralPrefixSource contains the definition to create an ephemeral (i.e. coupled to the lifetime of the surrounding object) Prefix.

func (*EphemeralPrefixSource) DeepCopy

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.

func (EphemeralPrefixSource) OpenAPIModelName added in v0.4.0

func (in EphemeralPrefixSource) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type EphemeralVirtualIPSource

type EphemeralVirtualIPSource struct {
	// VirtualIPTemplate is the template for the VirtualIP.
	VirtualIPTemplate *VirtualIPTemplateSpec `json:"virtualIPTemplate,omitempty"`
}

EphemeralVirtualIPSource contains the definition to create an ephemeral (i.e. coupled to the lifetime of the surrounding object) VirtualIP.

func (*EphemeralVirtualIPSource) DeepCopy

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.

func (EphemeralVirtualIPSource) OpenAPIModelName added in v0.4.0

func (in EphemeralVirtualIPSource) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type EphemeralVirtualIPSpec added in v0.2.4

type EphemeralVirtualIPSpec struct {
	// VirtualIPSpec defines the desired state of a VirtualIP
	VirtualIPSpec `json:",inline"`
	// ReclaimPolicy is the ReclaimPolicyType of virtualIP
	ReclaimPolicy ReclaimPolicyType `json:"reclaimPolicy,omitempty"`
}

func (*EphemeralVirtualIPSpec) DeepCopy added in v0.2.4

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

func (*EphemeralVirtualIPSpec) DeepCopyInto added in v0.2.4

func (in *EphemeralVirtualIPSpec) DeepCopyInto(out *EphemeralVirtualIPSpec)

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

func (EphemeralVirtualIPSpec) OpenAPIModelName added in v0.4.0

func (in EphemeralVirtualIPSpec) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type IPBlock

type IPBlock struct {
	// CIDR is a string representing the ip block.
	CIDR commonv1alpha1.IPPrefix `json:"cidr"`
	// Except is a slice of CIDRs that should not be included within the specified CIDR.
	// Values will be rejected if they are outside CIDR.
	Except []commonv1alpha1.IPPrefix `json:"except,omitempty"`
}

IPBlock specifies an ip block with optional exceptions.

func (*IPBlock) DeepCopy

func (in *IPBlock) DeepCopy() *IPBlock

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

func (*IPBlock) DeepCopyInto

func (in *IPBlock) DeepCopyInto(out *IPBlock)

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

func (IPBlock) OpenAPIModelName added in v0.4.0

func (in IPBlock) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type IPSource

type IPSource struct {
	// Value specifies an IP by using an IP literal.
	Value *commonv1alpha1.IP `json:"value,omitempty"`
	// Ephemeral specifies an IP by creating an ephemeral Prefix to allocate the IP with.
	Ephemeral *EphemeralPrefixSource `json:"ephemeral,omitempty"`
}

IPSource is the definition of how to obtain an IP.

func (*IPSource) DeepCopy

func (in *IPSource) DeepCopy() *IPSource

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

func (*IPSource) DeepCopyInto

func (in *IPSource) DeepCopyInto(out *IPSource)

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

func (IPSource) OpenAPIModelName added in v0.4.0

func (in IPSource) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type LoadBalancer

type LoadBalancer struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   LoadBalancerSpec   `json:"spec,omitempty"`
	Status LoadBalancerStatus `json:"status,omitempty"`
}

LoadBalancer is the Schema for the LoadBalancer API

func (*LoadBalancer) DeepCopy

func (in *LoadBalancer) DeepCopy() *LoadBalancer

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

func (*LoadBalancer) DeepCopyInto

func (in *LoadBalancer) DeepCopyInto(out *LoadBalancer)

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

func (*LoadBalancer) DeepCopyObject

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

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

func (LoadBalancer) OpenAPIModelName added in v0.4.0

func (in LoadBalancer) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type LoadBalancerDestination

type LoadBalancerDestination struct {
	// IP is the target IP.
	IP commonv1alpha1.IP `json:"ip"`
	// TargetRef is the target providing the destination.
	TargetRef *LoadBalancerTargetRef `json:"targetRef,omitempty"`
}

LoadBalancerDestination is the destination of the load balancer.

func (*LoadBalancerDestination) DeepCopy

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

func (*LoadBalancerDestination) DeepCopyInto

func (in *LoadBalancerDestination) DeepCopyInto(out *LoadBalancerDestination)

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

func (LoadBalancerDestination) OpenAPIModelName added in v0.4.0

func (in LoadBalancerDestination) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type LoadBalancerList

type LoadBalancerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []LoadBalancer `json:"items"`
}

LoadBalancerList contains a list of LoadBalancer

func (*LoadBalancerList) DeepCopy

func (in *LoadBalancerList) DeepCopy() *LoadBalancerList

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

func (*LoadBalancerList) DeepCopyInto

func (in *LoadBalancerList) DeepCopyInto(out *LoadBalancerList)

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

func (*LoadBalancerList) DeepCopyObject

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

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

func (LoadBalancerList) OpenAPIModelName added in v0.4.0

func (in LoadBalancerList) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type LoadBalancerPort

type LoadBalancerPort struct {
	// Protocol is the protocol the load balancer should allow.
	// If not specified, defaults to TCP.
	Protocol *corev1.Protocol `json:"protocol,omitempty"`
	// Port is the port to allow.
	Port int32 `json:"port"`
	// EndPort marks the end of the port range to allow.
	// If unspecified, only a single port, Port, will be allowed.
	EndPort *int32 `json:"endPort,omitempty"`
}

func (*LoadBalancerPort) DeepCopy

func (in *LoadBalancerPort) DeepCopy() *LoadBalancerPort

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

func (*LoadBalancerPort) DeepCopyInto

func (in *LoadBalancerPort) DeepCopyInto(out *LoadBalancerPort)

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

func (LoadBalancerPort) OpenAPIModelName added in v0.4.0

func (in LoadBalancerPort) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type LoadBalancerRouting

type LoadBalancerRouting struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// NetworkRef is the network the load balancer is assigned to.
	NetworkRef commonv1alpha1.LocalUIDReference `json:"networkRef"`

	// Destinations are the destinations for a LoadBalancer.
	Destinations []LoadBalancerDestination `json:"destinations"`
}

LoadBalancerRouting is the Schema for the loadbalancerroutings API

func (*LoadBalancerRouting) DeepCopy

func (in *LoadBalancerRouting) DeepCopy() *LoadBalancerRouting

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

func (*LoadBalancerRouting) DeepCopyInto

func (in *LoadBalancerRouting) DeepCopyInto(out *LoadBalancerRouting)

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

func (*LoadBalancerRouting) DeepCopyObject

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

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

func (LoadBalancerRouting) OpenAPIModelName added in v0.4.0

func (in LoadBalancerRouting) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type LoadBalancerRoutingList

type LoadBalancerRoutingList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []LoadBalancerRouting `json:"items"`
}

LoadBalancerRoutingList contains a list of LoadBalancerRouting

func (*LoadBalancerRoutingList) DeepCopy

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

func (*LoadBalancerRoutingList) DeepCopyInto

func (in *LoadBalancerRoutingList) DeepCopyInto(out *LoadBalancerRoutingList)

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

func (*LoadBalancerRoutingList) DeepCopyObject

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

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

func (LoadBalancerRoutingList) OpenAPIModelName added in v0.4.0

func (in LoadBalancerRoutingList) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type LoadBalancerSpec

type LoadBalancerSpec struct {
	// Type is the type of LoadBalancer.
	Type LoadBalancerType `json:"type"`
	// IPFamilies are the ip families the load balancer should have.
	IPFamilies []corev1.IPFamily `json:"ipFamilies"`
	// IPs are the ips to use. Can only be used when Type is LoadBalancerTypeInternal.
	IPs []IPSource `json:"ips,omitempty"`
	// NetworkRef is the Network this LoadBalancer should belong to.
	NetworkRef corev1.LocalObjectReference `json:"networkRef"`
	// NetworkInterfaceSelector defines the NetworkInterfaces
	// for which this LoadBalancer should be applied
	NetworkInterfaceSelector *metav1.LabelSelector `json:"networkInterfaceSelector,omitempty"`
	// Ports are the ports the load balancer should allow.
	Ports []LoadBalancerPort `json:"ports,omitempty"`
}

LoadBalancerSpec defines the desired state of LoadBalancer

func (*LoadBalancerSpec) DeepCopy

func (in *LoadBalancerSpec) DeepCopy() *LoadBalancerSpec

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

func (*LoadBalancerSpec) DeepCopyInto

func (in *LoadBalancerSpec) DeepCopyInto(out *LoadBalancerSpec)

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

func (LoadBalancerSpec) OpenAPIModelName added in v0.4.0

func (in LoadBalancerSpec) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type LoadBalancerStatus

type LoadBalancerStatus struct {
	// IPs are the IPs allocated for the load balancer.
	IPs []commonv1alpha1.IP `json:"ips,omitempty"`
}

LoadBalancerStatus defines the observed state of LoadBalancer

func (*LoadBalancerStatus) DeepCopy

func (in *LoadBalancerStatus) DeepCopy() *LoadBalancerStatus

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

func (*LoadBalancerStatus) DeepCopyInto

func (in *LoadBalancerStatus) DeepCopyInto(out *LoadBalancerStatus)

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

func (LoadBalancerStatus) OpenAPIModelName added in v0.4.0

func (in LoadBalancerStatus) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type LoadBalancerTargetRef

type LoadBalancerTargetRef struct {
	// UID is the UID of the target.
	UID types.UID `json:"uid"`
	// Name is the name of the target.
	Name string `json:"name"`
	// ProviderID is the provider internal id of the target.
	ProviderID string `json:"providerID"`
}

LoadBalancerTargetRef is a load balancer target.

func (*LoadBalancerTargetRef) DeepCopy

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

func (*LoadBalancerTargetRef) DeepCopyInto

func (in *LoadBalancerTargetRef) DeepCopyInto(out *LoadBalancerTargetRef)

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

func (LoadBalancerTargetRef) OpenAPIModelName added in v0.4.0

func (in LoadBalancerTargetRef) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type LoadBalancerType

type LoadBalancerType string

LoadBalancerType is a type of LoadBalancer.

const (
	// LoadBalancerTypePublic is a LoadBalancer that allocates and routes a stable public IP.
	LoadBalancerTypePublic LoadBalancerType = "Public"
	// LoadBalancerTypeInternal is a LoadBalancer that allocates and routes network-internal, stable IPs.
	LoadBalancerTypeInternal LoadBalancerType = "Internal"
)

type NATGateway

type NATGateway struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   NATGatewaySpec   `json:"spec,omitempty"`
	Status NATGatewayStatus `json:"status,omitempty"`
}

NATGateway is the Schema for the NATGateway API

func (*NATGateway) DeepCopy

func (in *NATGateway) DeepCopy() *NATGateway

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

func (*NATGateway) DeepCopyInto

func (in *NATGateway) DeepCopyInto(out *NATGateway)

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

func (*NATGateway) DeepCopyObject

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

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

func (NATGateway) OpenAPIModelName added in v0.4.0

func (in NATGateway) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type NATGatewayList

type NATGatewayList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []NATGateway `json:"items"`
}

NATGatewayList contains a list of NATGateway

func (*NATGatewayList) DeepCopy

func (in *NATGatewayList) DeepCopy() *NATGatewayList

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

func (*NATGatewayList) DeepCopyInto

func (in *NATGatewayList) DeepCopyInto(out *NATGatewayList)

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

func (*NATGatewayList) DeepCopyObject

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

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

func (NATGatewayList) OpenAPIModelName added in v0.4.0

func (in NATGatewayList) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type NATGatewaySpec

type NATGatewaySpec struct {
	// Type is the type of NATGateway.
	Type NATGatewayType `json:"type"`
	// IPFamily is the ip family the NAT gateway should have.
	IPFamily corev1.IPFamily `json:"ipFamily"`
	// NetworkRef is the Network this NATGateway should belong to.
	NetworkRef corev1.LocalObjectReference `json:"networkRef"`
	// PortsPerNetworkInterface defines the number of concurrent connections per target network interface.
	// Has to be a power of 2. If empty, 2048 (DefaultPortsPerNetworkInterface) is the default.
	PortsPerNetworkInterface *int32 `json:"portsPerNetworkInterface,omitempty"`
}

NATGatewaySpec defines the desired state of NATGateway

func (*NATGatewaySpec) DeepCopy

func (in *NATGatewaySpec) DeepCopy() *NATGatewaySpec

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

func (*NATGatewaySpec) DeepCopyInto

func (in *NATGatewaySpec) DeepCopyInto(out *NATGatewaySpec)

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

func (NATGatewaySpec) OpenAPIModelName added in v0.4.0

func (in NATGatewaySpec) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type NATGatewayStatus

type NATGatewayStatus struct {
	// IPs are the IPs allocated for the NAT gateway.
	IPs []commonv1alpha1.IP `json:"ips,omitempty"`
}

NATGatewayStatus defines the observed state of NATGateway

func (*NATGatewayStatus) DeepCopy

func (in *NATGatewayStatus) DeepCopy() *NATGatewayStatus

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

func (*NATGatewayStatus) DeepCopyInto

func (in *NATGatewayStatus) DeepCopyInto(out *NATGatewayStatus)

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

func (NATGatewayStatus) OpenAPIModelName added in v0.4.0

func (in NATGatewayStatus) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type NATGatewayType

type NATGatewayType string

NATGatewayType is a type of NATGateway.

const (
	// NATGatewayTypePublic is a NATGateway that allocates and routes a stable public IP.
	NATGatewayTypePublic NATGatewayType = "Public"
)

type Network

type Network struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   NetworkSpec   `json:"spec,omitempty"`
	Status NetworkStatus `json:"status,omitempty"`
}

Network is the Schema for the network API

func (*Network) DeepCopy

func (in *Network) DeepCopy() *Network

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

func (*Network) DeepCopyInto

func (in *Network) DeepCopyInto(out *Network)

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

func (*Network) DeepCopyObject

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

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

func (Network) OpenAPIModelName added in v0.4.0

func (in Network) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type NetworkInterface

type NetworkInterface struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   NetworkInterfaceSpec   `json:"spec,omitempty"`
	Status NetworkInterfaceStatus `json:"status,omitempty"`
}

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.

func (NetworkInterface) OpenAPIModelName added in v0.4.0

func (in NetworkInterface) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type NetworkInterfaceList

type NetworkInterfaceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []NetworkInterface `json:"items"`
}

NetworkInterfaceList contains a list of NetworkInterface

func (*NetworkInterfaceList) DeepCopy

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.

func (NetworkInterfaceList) OpenAPIModelName added in v0.4.0

func (in NetworkInterfaceList) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type NetworkInterfaceSpec

type NetworkInterfaceSpec struct {
	// ProviderID is the provider-internal ID of the network interface.
	ProviderID string `json:"providerID,omitempty"`
	// NetworkRef is the Network this NetworkInterface is connected to
	NetworkRef corev1.LocalObjectReference `json:"networkRef"`
	// MachineRef is the Machine this NetworkInterface is used by
	MachineRef *commonv1alpha1.LocalUIDReference `json:"machineRef,omitempty"`
	// IPFamilies defines which IPFamilies this NetworkInterface is supporting
	IPFamilies []corev1.IPFamily `json:"ipFamilies"`
	// IPs is the list of provided IPs or ephemeral IPs which should be assigned to
	// this NetworkInterface.
	IPs []IPSource `json:"ips"`
	// Prefixes is the list of provided prefixes or ephemeral prefixes which should be assigned to
	// this NetworkInterface.
	Prefixes []PrefixSource `json:"prefixes,omitempty"`
	// VirtualIP specifies the virtual ip that should be assigned to this NetworkInterface.
	VirtualIP *VirtualIPSource `json:"virtualIP,omitempty"`
	// Attributes are provider-specific attributes for the network interface.
	Attributes map[string]string `json:"attributes,omitempty"`
}

NetworkInterfaceSpec defines the desired state of NetworkInterface

func (*NetworkInterfaceSpec) DeepCopy

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.

func (NetworkInterfaceSpec) OpenAPIModelName added in v0.4.0

func (in NetworkInterfaceSpec) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type NetworkInterfaceState

type NetworkInterfaceState string

NetworkInterfaceState is the ironcore state of a NetworkInterface.

const (
	// NetworkInterfaceStatePending is used for any NetworkInterface that is pending.
	NetworkInterfaceStatePending NetworkInterfaceState = "Pending"
	// NetworkInterfaceStateAvailable is used for any NetworkInterface where all properties are valid.
	NetworkInterfaceStateAvailable NetworkInterfaceState = "Available"
	// NetworkInterfaceStateError is used for any NetworkInterface where any property has an error.
	NetworkInterfaceStateError NetworkInterfaceState = "Error"
)

type NetworkInterfaceStatus

type NetworkInterfaceStatus struct {
	// State is the NetworkInterfaceState of the NetworkInterface.
	State NetworkInterfaceState `json:"state,omitempty"`
	// LastStateTransitionTime is the last time the State transitioned from one value to another.
	LastStateTransitionTime *metav1.Time `json:"lastStateTransitionTime,omitempty"`

	// IPs represent the effective IP addresses of the NetworkInterface.
	IPs []commonv1alpha1.IP `json:"ips,omitempty"`
	// Prefixes represent the prefixes routed to the NetworkInterface.
	Prefixes []commonv1alpha1.IPPrefix `json:"prefixes,omitempty"`
	// VirtualIP is any virtual ip assigned to the NetworkInterface.
	VirtualIP *commonv1alpha1.IP `json:"virtualIP,omitempty"`
}

NetworkInterfaceStatus defines the observed state of NetworkInterface

func (*NetworkInterfaceStatus) DeepCopy

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.

func (NetworkInterfaceStatus) OpenAPIModelName added in v0.4.0

func (in NetworkInterfaceStatus) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type NetworkInterfaceTemplateSpec

type NetworkInterfaceTemplateSpec struct {
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              NetworkInterfaceSpec `json:"spec,omitempty"`
}

NetworkInterfaceTemplateSpec is the specification of a NetworkInterface template.

func (*NetworkInterfaceTemplateSpec) DeepCopy

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

func (*NetworkInterfaceTemplateSpec) DeepCopyInto

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

func (NetworkInterfaceTemplateSpec) OpenAPIModelName added in v0.4.0

func (in NetworkInterfaceTemplateSpec) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type NetworkList

type NetworkList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Network `json:"items"`
}

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.

func (NetworkList) OpenAPIModelName added in v0.4.0

func (in NetworkList) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type NetworkPeering

type NetworkPeering struct {
	// Name is the semantical name of the network peering.
	Name string `json:"name"`
	// NetworkRef is the reference to the network to peer with.
	// An empty namespace indicates that the target network resides in the same namespace as the source network.
	NetworkRef NetworkPeeringNetworkRef `json:"networkRef"`
	// Prefixes is a list of prefixes that we want only to be exposed
	// to the peered network, if no prefixes are specified no filtering will be done.
	Prefixes []PeeringPrefix `json:"prefixes,omitempty"`
}

NetworkPeering defines a network peering with another network.

func (*NetworkPeering) DeepCopy

func (in *NetworkPeering) DeepCopy() *NetworkPeering

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

func (*NetworkPeering) DeepCopyInto

func (in *NetworkPeering) DeepCopyInto(out *NetworkPeering)

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

func (NetworkPeering) OpenAPIModelName added in v0.4.0

func (in NetworkPeering) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type NetworkPeeringClaimRef

type NetworkPeeringClaimRef struct {
	// Namespace is the namespace of the referenced entity. If empty,
	// the same namespace as the referring resource is implied.
	Namespace string `json:"namespace,omitempty"`
	// Name is the name of the referenced entity.
	Name string `json:"name"`
	// UID is the UID of the referenced entity.
	UID types.UID `json:"uid,omitempty"`
}

func (*NetworkPeeringClaimRef) DeepCopy

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

func (*NetworkPeeringClaimRef) DeepCopyInto

func (in *NetworkPeeringClaimRef) DeepCopyInto(out *NetworkPeeringClaimRef)

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

func (NetworkPeeringClaimRef) OpenAPIModelName added in v0.4.0

func (in NetworkPeeringClaimRef) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type NetworkPeeringNetworkRef

type NetworkPeeringNetworkRef struct {
	// Namespace is the namespace of the referenced entity. If empty,
	// the same namespace as the referring resource is implied.
	Namespace string `json:"namespace,omitempty"`
	// Name is the name of the referenced entity.
	Name string `json:"name"`
}

NetworkPeeringNetworkRef is a reference to a network to peer with.

func (*NetworkPeeringNetworkRef) DeepCopy

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

func (*NetworkPeeringNetworkRef) DeepCopyInto

func (in *NetworkPeeringNetworkRef) DeepCopyInto(out *NetworkPeeringNetworkRef)

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

func (NetworkPeeringNetworkRef) OpenAPIModelName added in v0.4.0

func (in NetworkPeeringNetworkRef) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type NetworkPeeringState

type NetworkPeeringState string

NetworkPeeringState is the state a NetworkPeering can be in

const (
	// NetworkPeeringStatePending signals that the network peering is not applied.
	NetworkPeeringStatePending NetworkPeeringState = "Pending"
	// NetworkPeeringStateReady signals that the network peering is ready.
	NetworkPeeringStateReady NetworkPeeringState = "Ready"
	// NetworkPeeringStateError signals that the network peering is in error state.
	NetworkPeeringStateError NetworkPeeringState = "Error"
)

type NetworkPeeringStatus

type NetworkPeeringStatus struct {
	// Name is the name of the network peering.
	Name string `json:"name"`
	// State represents the network peering state
	State NetworkPeeringState `json:"state,omitempty"`
	// Prefixes contains the prefixes exposed to the peered network
	Prefixes []PeeringPrefixStatus `json:"prefixes,omitempty"`
}

NetworkPeeringStatus is the status of a network peering.

func (*NetworkPeeringStatus) DeepCopy

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

func (*NetworkPeeringStatus) DeepCopyInto

func (in *NetworkPeeringStatus) DeepCopyInto(out *NetworkPeeringStatus)

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

func (NetworkPeeringStatus) OpenAPIModelName added in v0.4.0

func (in NetworkPeeringStatus) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type NetworkPolicy

type NetworkPolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   NetworkPolicySpec   `json:"spec,omitempty"`
	Status NetworkPolicyStatus `json:"status,omitempty"`
}

NetworkPolicy is the Schema for the networkpolicies API

func (*NetworkPolicy) DeepCopy

func (in *NetworkPolicy) DeepCopy() *NetworkPolicy

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

func (*NetworkPolicy) DeepCopyInto

func (in *NetworkPolicy) DeepCopyInto(out *NetworkPolicy)

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

func (*NetworkPolicy) DeepCopyObject

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

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

func (NetworkPolicy) OpenAPIModelName added in v0.4.0

func (in NetworkPolicy) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type NetworkPolicyCondition

type NetworkPolicyCondition struct {
	// Type is the type of the condition.
	Type NetworkPolicyConditionType `json:"type"`
	// Status is the status of the condition.
	Status corev1.ConditionStatus `json:"status"`
	// Reason is a machine-readable indication of why the condition is in a certain state.
	Reason string `json:"reason"`
	// Message is a human-readable explanation of why the condition has a certain reason / state.
	Message string `json:"message"`
	// ObservedGeneration represents the .metadata.generation that the condition was set based upon.
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// LastTransitionTime is the last time the status of a condition has transitioned from one state to another.
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`
}

NetworkPolicyCondition is one of the conditions of a network policy.

func (*NetworkPolicyCondition) DeepCopy

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

func (*NetworkPolicyCondition) DeepCopyInto

func (in *NetworkPolicyCondition) DeepCopyInto(out *NetworkPolicyCondition)

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

func (NetworkPolicyCondition) OpenAPIModelName added in v0.4.0

func (in NetworkPolicyCondition) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type NetworkPolicyConditionType

type NetworkPolicyConditionType string

NetworkPolicyConditionType is a type a NetworkPolicyCondition can have.

type NetworkPolicyEgressRule

type NetworkPolicyEgressRule struct {
	// Ports specifies the list of destination ports that can be called with
	// this rule. Each item in this list is combined using a logical OR. Empty matches all ports.
	// As soon as a single item is present, only these ports are allowed.
	Ports []NetworkPolicyPort `json:"ports,omitempty"`
	// To specifies the list of destinations which the selected network interfaces should be
	// able to send traffic to. Fields are combined using a logical OR. Empty matches all destinations.
	// As soon as a single item is present, only these peers are allowed.
	To []NetworkPolicyPeer `json:"to,omitempty"`
}

NetworkPolicyEgressRule describes a rule to regulate egress traffic with.

func (*NetworkPolicyEgressRule) DeepCopy

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

func (*NetworkPolicyEgressRule) DeepCopyInto

func (in *NetworkPolicyEgressRule) DeepCopyInto(out *NetworkPolicyEgressRule)

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

func (NetworkPolicyEgressRule) OpenAPIModelName added in v0.4.0

func (in NetworkPolicyEgressRule) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type NetworkPolicyIngressRule

type NetworkPolicyIngressRule struct {
	// Ports specifies the list of ports which should be made accessible for
	// this rule. Each item in this list is combined using a logical OR. Empty matches all ports.
	// As soon as a single item is present, only these ports are allowed.
	Ports []NetworkPolicyPort `json:"ports,omitempty"`
	// From specifies the list of sources which should be able to send traffic to the
	// selected network interfaces. Fields are combined using a logical OR. Empty matches all sources.
	// As soon as a single item is present, only these peers are allowed.
	From []NetworkPolicyPeer `json:"from,omitempty"`
}

NetworkPolicyIngressRule describes a rule to regulate ingress traffic with.

func (*NetworkPolicyIngressRule) DeepCopy

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

func (*NetworkPolicyIngressRule) DeepCopyInto

func (in *NetworkPolicyIngressRule) DeepCopyInto(out *NetworkPolicyIngressRule)

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

func (NetworkPolicyIngressRule) OpenAPIModelName added in v0.4.0

func (in NetworkPolicyIngressRule) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type NetworkPolicyList

type NetworkPolicyList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []NetworkPolicy `json:"items"`
}

NetworkPolicyList contains a list of NetworkPolicy.

func (*NetworkPolicyList) DeepCopy

func (in *NetworkPolicyList) DeepCopy() *NetworkPolicyList

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

func (*NetworkPolicyList) DeepCopyInto

func (in *NetworkPolicyList) DeepCopyInto(out *NetworkPolicyList)

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

func (*NetworkPolicyList) DeepCopyObject

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

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

func (NetworkPolicyList) OpenAPIModelName added in v0.4.0

func (in NetworkPolicyList) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type NetworkPolicyPeer

type NetworkPolicyPeer struct {
	// ObjectSelector selects peers with the given kind matching the label selector.
	// Exclusive with other peer specifiers.
	ObjectSelector *corev1alpha1.ObjectSelector `json:"objectSelector,omitempty"`
	// IPBlock specifies the ip block from or to which network traffic may come.
	IPBlock *IPBlock `json:"ipBlock,omitempty"`
}

NetworkPolicyPeer describes a peer to allow traffic to / from.

func (*NetworkPolicyPeer) DeepCopy

func (in *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer

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

func (*NetworkPolicyPeer) DeepCopyInto

func (in *NetworkPolicyPeer) DeepCopyInto(out *NetworkPolicyPeer)

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

func (NetworkPolicyPeer) OpenAPIModelName added in v0.4.0

func (in NetworkPolicyPeer) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type NetworkPolicyPort

type NetworkPolicyPort struct {
	// Protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this
	// field defaults to TCP.
	Protocol *corev1.Protocol `json:"protocol,omitempty"`

	// The port on the given protocol. If this field is not provided, this matches
	// all port names and numbers.
	// If present, only traffic on the specified protocol AND port will be matched.
	Port int32 `json:"port,omitempty"`

	// EndPort indicates that the range of ports from Port to EndPort, inclusive,
	// should be allowed by the policy. This field cannot be defined if the port field
	// is not defined. The endPort must be equal or greater than port.
	EndPort *int32 `json:"endPort,omitempty" protobuf:"bytes,3,opt,name=endPort"`
}

NetworkPolicyPort describes a port to allow traffic on

func (*NetworkPolicyPort) DeepCopy

func (in *NetworkPolicyPort) DeepCopy() *NetworkPolicyPort

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

func (*NetworkPolicyPort) DeepCopyInto

func (in *NetworkPolicyPort) DeepCopyInto(out *NetworkPolicyPort)

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

func (NetworkPolicyPort) OpenAPIModelName added in v0.4.0

func (in NetworkPolicyPort) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type NetworkPolicySpec

type NetworkPolicySpec struct {
	// NetworkRef is the network to regulate using this policy.
	NetworkRef corev1.LocalObjectReference `json:"networkRef"`
	// NetworkInterfaceSelector selects the network interfaces that are subject to this policy.
	NetworkInterfaceSelector metav1.LabelSelector `json:"networkInterfaceSelector"`
	// Ingress specifies rules for ingress traffic.
	Ingress []NetworkPolicyIngressRule `json:"ingress,omitempty"`
	// Egress specifies rules for egress traffic.
	Egress []NetworkPolicyEgressRule `json:"egress,omitempty"`
	// PolicyTypes specifies the types of policies this network policy contains.
	PolicyTypes []PolicyType `json:"policyTypes,omitempty"`
}

NetworkPolicySpec defines the desired state of NetworkPolicy.

func (*NetworkPolicySpec) DeepCopy

func (in *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec

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

func (*NetworkPolicySpec) DeepCopyInto

func (in *NetworkPolicySpec) DeepCopyInto(out *NetworkPolicySpec)

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

func (NetworkPolicySpec) OpenAPIModelName added in v0.4.0

func (in NetworkPolicySpec) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type NetworkPolicyStatus

type NetworkPolicyStatus struct {
	// Conditions are various conditions of the NetworkPolicy.
	Conditions []NetworkPolicyCondition `json:"conditions,omitempty"`
}

NetworkPolicyStatus defines the observed state of NetworkPolicy.

func (*NetworkPolicyStatus) DeepCopy

func (in *NetworkPolicyStatus) DeepCopy() *NetworkPolicyStatus

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

func (*NetworkPolicyStatus) DeepCopyInto

func (in *NetworkPolicyStatus) DeepCopyInto(out *NetworkPolicyStatus)

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

func (NetworkPolicyStatus) OpenAPIModelName added in v0.4.0

func (in NetworkPolicyStatus) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type NetworkSpec

type NetworkSpec struct {
	// ProviderID is the provider-internal ID of the network.
	ProviderID string `json:"providerID,omitempty"`
	// Peerings are the network peerings with this network.
	// +optional
	// +patchMergeKey=name
	// +patchStrategy=merge,retainKeys
	Peerings []NetworkPeering `json:"peerings,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"name"`

	// PeeringClaimRefs are the peering claim references of other networks.
	// +optional
	// +patchMergeKey=name
	// +patchStrategy=merge,retainKeys
	PeeringClaimRefs []NetworkPeeringClaimRef `json:"incomingPeerings,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"name"`
}

NetworkSpec defines the desired state of Network

func (*NetworkSpec) DeepCopy

func (in *NetworkSpec) DeepCopy() *NetworkSpec

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

func (*NetworkSpec) DeepCopyInto

func (in *NetworkSpec) DeepCopyInto(out *NetworkSpec)

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

func (NetworkSpec) OpenAPIModelName added in v0.4.0

func (in NetworkSpec) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type NetworkState

type NetworkState string

NetworkState is the state of a network. +enum

const (
	// NetworkStatePending means the network is being provisioned.
	NetworkStatePending NetworkState = "Pending"
	// NetworkStateAvailable means the network is ready to use.
	NetworkStateAvailable NetworkState = "Available"
	// NetworkStateError means the network is in an error state.
	NetworkStateError NetworkState = "Error"
)

type NetworkStatus

type NetworkStatus struct {
	// State is the state of the machine.
	State NetworkState `json:"state,omitempty"`
	// Peerings contains the states of the network peerings for the network.
	// +optional
	// +patchMergeKey=name
	// +patchStrategy=merge,retainKeys
	Peerings []NetworkPeeringStatus `json:"peerings,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"name"`
}

NetworkStatus defines the observed state of Network

func (*NetworkStatus) DeepCopy

func (in *NetworkStatus) DeepCopy() *NetworkStatus

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

func (*NetworkStatus) DeepCopyInto

func (in *NetworkStatus) DeepCopyInto(out *NetworkStatus)

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

func (NetworkStatus) OpenAPIModelName added in v0.4.0

func (in NetworkStatus) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type PeeringPrefix added in v0.2.0

type PeeringPrefix struct {
	// Name is the semantical name of the peering prefixes
	Name string `json:"name"`
	// CIDR to be exposed to the peered network
	Prefix *commonv1alpha1.IPPrefix `json:"prefix,omitempty"`
	// PrefixRef is the reference to the prefix to be exposed to peered network
	// An empty namespace indicates that the prefix resides in the same namespace as the source network.
	PrefixRef corev1.LocalObjectReference `json:"prefixRef,omitempty"`
}

PeeringPrefixes defines prefixes to be exposed to the peered network

func (*PeeringPrefix) DeepCopy added in v0.2.0

func (in *PeeringPrefix) DeepCopy() *PeeringPrefix

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

func (*PeeringPrefix) DeepCopyInto added in v0.2.0

func (in *PeeringPrefix) DeepCopyInto(out *PeeringPrefix)

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

func (PeeringPrefix) OpenAPIModelName added in v0.4.0

func (in PeeringPrefix) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type PeeringPrefixStatus added in v0.2.0

type PeeringPrefixStatus struct {
	// Name is the name of the peering prefix
	Name string `json:"name"`
	// CIDR exposed to the peered network
	Prefix *commonv1alpha1.IPPrefix `json:"prefix,omitempty"`
}

PeeringPrefixStatus lists prefixes exposed to peered network

func (*PeeringPrefixStatus) DeepCopy added in v0.2.0

func (in *PeeringPrefixStatus) DeepCopy() *PeeringPrefixStatus

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

func (*PeeringPrefixStatus) DeepCopyInto added in v0.2.0

func (in *PeeringPrefixStatus) DeepCopyInto(out *PeeringPrefixStatus)

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

func (PeeringPrefixStatus) OpenAPIModelName added in v0.4.0

func (in PeeringPrefixStatus) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type PolicyType

type PolicyType string

PolicyType is a type of policy.

const (
	// PolicyTypeIngress is a policy that describes ingress traffic.
	PolicyTypeIngress PolicyType = "Ingress"
	// PolicyTypeEgress is a policy that describes egress traffic.
	PolicyTypeEgress PolicyType = "Egress"
)

type PrefixSource

type PrefixSource struct {
	// Value specifies a static prefix to use.
	Value *commonv1alpha1.IPPrefix `json:"value,omitempty"`
	// Ephemeral specifies a prefix by creating an ephemeral ipam.Prefix to allocate the prefix with.
	Ephemeral *EphemeralPrefixSource `json:"ephemeral,omitempty"`
}

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.

func (PrefixSource) OpenAPIModelName added in v0.4.0

func (in PrefixSource) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type ReclaimPolicyType added in v0.2.4

type ReclaimPolicyType string

ReclaimPolicyType is the ironcore ReclaimPolicy of a VirtualIP.

const (
	// ReclaimPolicyTypeRetain is used for any VirtualIP that is retained when the claim of VirtualIP is released.
	ReclaimPolicyTypeRetain ReclaimPolicyType = "Retain"
	// ReclaimPolicyTypeDelete is used for any VirtualIP that is deleted when the claim of VirtualIP is released.
	ReclaimPolicyTypeDelete ReclaimPolicyType = "Delete"
)

type VirtualIP

type VirtualIP struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   VirtualIPSpec   `json:"spec,omitempty"`
	Status VirtualIPStatus `json:"status,omitempty"`
}

VirtualIP is the Schema for the virtualips API

func (*VirtualIP) DeepCopy

func (in *VirtualIP) DeepCopy() *VirtualIP

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

func (*VirtualIP) DeepCopyInto

func (in *VirtualIP) DeepCopyInto(out *VirtualIP)

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

func (*VirtualIP) DeepCopyObject

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

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

func (VirtualIP) OpenAPIModelName added in v0.4.0

func (in VirtualIP) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type VirtualIPList

type VirtualIPList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []VirtualIP `json:"items"`
}

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.

func (VirtualIPList) OpenAPIModelName added in v0.4.0

func (in VirtualIPList) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type VirtualIPSource

type VirtualIPSource struct {
	// VirtualIPRef references a VirtualIP to use.
	VirtualIPRef *corev1.LocalObjectReference `json:"virtualIPRef,omitempty"`
	// Ephemeral instructs to create an ephemeral (i.e. coupled to the lifetime of the surrounding object)
	// VirtualIP.
	Ephemeral *EphemeralVirtualIPSource `json:"ephemeral,omitempty"`
}

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.

func (VirtualIPSource) OpenAPIModelName added in v0.4.0

func (in VirtualIPSource) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type VirtualIPSpec

type VirtualIPSpec struct {
	// Type is the type of VirtualIP.
	Type VirtualIPType `json:"type"`
	// IPFamily is the ip family of the VirtualIP.
	IPFamily corev1.IPFamily `json:"ipFamily"`

	// TargetRef references the target for this VirtualIP (currently only NetworkInterface).
	TargetRef *commonv1alpha1.LocalUIDReference `json:"targetRef,omitempty"`
}

VirtualIPSpec defines the desired state of a 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.

func (VirtualIPSpec) OpenAPIModelName added in v0.4.0

func (in VirtualIPSpec) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type VirtualIPStatus

type VirtualIPStatus struct {
	// IP is the allocated IP, if any.
	IP *commonv1alpha1.IP `json:"ip,omitempty"`
}

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.

func (VirtualIPStatus) OpenAPIModelName added in v0.4.0

func (in VirtualIPStatus) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

type VirtualIPTemplateSpec

type VirtualIPTemplateSpec struct {
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              EphemeralVirtualIPSpec `json:"spec,omitempty"`
}

VirtualIPTemplateSpec is the specification of a VirtualIP template.

func (*VirtualIPTemplateSpec) DeepCopy

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.

func (VirtualIPTemplateSpec) OpenAPIModelName added in v0.4.0

func (in VirtualIPTemplateSpec) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

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"
)

Jump to

Keyboard shortcuts

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