Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the egressip v1alpha1 API group +kubebuilder:object:generate=true +groupName=egressip.kaiserpfalz-edv.de
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "egressip.kaiserpfalz-edv.de", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type EgressIP ¶
type EgressIP struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec EgressIPSpec `json:"spec,omitempty"` Status EgressIPStatus `json:"status,omitempty"` }
EgressIP is the Schema for the egressips API
func (*EgressIP) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressIP.
func (*EgressIP) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EgressIP) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EgressIPFailureDomain ¶
type EgressIPFailureDomain struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec EgressIPFailureDomainSpec `json:"spec,omitempty"` Status EgressIPFailureDomainStatus `json:"status,omitempty"` }
FailureDomain is the Schema for the failuredomains API
func (*EgressIPFailureDomain) DeepCopy ¶
func (in *EgressIPFailureDomain) DeepCopy() *EgressIPFailureDomain
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressIPFailureDomain.
func (*EgressIPFailureDomain) DeepCopyInto ¶
func (in *EgressIPFailureDomain) DeepCopyInto(out *EgressIPFailureDomain)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EgressIPFailureDomain) DeepCopyObject ¶
func (in *EgressIPFailureDomain) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EgressIPFailureDomainList ¶
type EgressIPFailureDomainList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []EgressIPFailureDomain `json:"items"` }
FailureDomainList contains a list of FailureDomain
func (*EgressIPFailureDomainList) DeepCopy ¶
func (in *EgressIPFailureDomainList) DeepCopy() *EgressIPFailureDomainList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressIPFailureDomainList.
func (*EgressIPFailureDomainList) DeepCopyInto ¶
func (in *EgressIPFailureDomainList) DeepCopyInto(out *EgressIPFailureDomainList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EgressIPFailureDomainList) DeepCopyObject ¶
func (in *EgressIPFailureDomainList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EgressIPFailureDomainSpec ¶
type EgressIPFailureDomainSpec struct { // +kubebuilder:validation:Pattern=\d+.\d+.\d+.\d+/\d+ // Network is the CIDR of the network. Only needed for provisioner 'operator' Cidr string `json:"cidr,omitempty"` // NodeSelector is the nodeselector of all nodes eligible to get egress ips assigned to. NodeSelector corev1.NodeSelector `json:"nodeSelector,omitempty"` }
FailureDomainSpec defines the desired state of FailureDomain
func (*EgressIPFailureDomainSpec) DeepCopy ¶
func (in *EgressIPFailureDomainSpec) DeepCopy() *EgressIPFailureDomainSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressIPFailureDomainSpec.
func (*EgressIPFailureDomainSpec) DeepCopyInto ¶
func (in *EgressIPFailureDomainSpec) DeepCopyInto(out *EgressIPFailureDomainSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EgressIPFailureDomainStatus ¶
type EgressIPFailureDomainStatus struct { // +kubebuilder:validation:Enum={"pending","initializing","failed","provisioned","deprovisioned"} // Phase is the state of this message. May be pending, initializing, failed or deprovisioned Phase string `json:"phase"` // Message is a human readable message for this state. Message string `json:"message,omitempty"` // +kubebuilder:validation:Pattern=\d+.\d+.\d+.\d+(/\d+)? // IP is the ip or cidr for this status. IP string `json:"ip,omitempty"` // Namespace is the namespace this IP belongs to. Namespace string `json:"namespace,omitempty"` }
FailureDomainStatus defines the observed state of FailureDomain
func (*EgressIPFailureDomainStatus) DeepCopy ¶
func (in *EgressIPFailureDomainStatus) DeepCopy() *EgressIPFailureDomainStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressIPFailureDomainStatus.
func (*EgressIPFailureDomainStatus) DeepCopyInto ¶
func (in *EgressIPFailureDomainStatus) DeepCopyInto(out *EgressIPFailureDomainStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EgressIPList ¶
type EgressIPList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []EgressIP `json:"items"` }
EgressIPList contains a list of EgressIP
func (*EgressIPList) DeepCopy ¶
func (in *EgressIPList) DeepCopy() *EgressIPList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressIPList.
func (*EgressIPList) DeepCopyInto ¶
func (in *EgressIPList) DeepCopyInto(out *EgressIPList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EgressIPList) DeepCopyObject ¶
func (in *EgressIPList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EgressIPSpec ¶
type EgressIPSpec struct { // IPs is an array of defined EgressIPs. You may list all defined failure domains. At least one needs to be listed. // +kubebuilder:validation:MinItems=1 // +kubebuilder:validation:UniqueItems=true IPs []FailureDomainEgressIPSpec `json:"ips"` }
EgressIPSpec defines the desired state of EgressIP
func (*EgressIPSpec) DeepCopy ¶
func (in *EgressIPSpec) DeepCopy() *EgressIPSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressIPSpec.
func (*EgressIPSpec) DeepCopyInto ¶
func (in *EgressIPSpec) DeepCopyInto(out *EgressIPSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EgressIPStatus ¶
type EgressIPStatus struct { // +kubebuilder:validation:Enum={"pending","initializing","failed","provisioned","deprovisioned"} // Phase is the state of this message. May be pending, initializing, failed, provisioned or deprovisioned Phase string `json:"phase"` // IP is the ip or cidr for this status. IP FailureDomainEgressIPSpec `json:"ip,omitempty"` // HostName is the hostname this IP is assigned to HostName string `json:"hostname,omitempty"` // Message is a human readable message for this state. Message string `json:"message,omitempty"` }
EgressIPStatus defines the observed state of EgressIP
func (*EgressIPStatus) DeepCopy ¶
func (in *EgressIPStatus) DeepCopy() *EgressIPStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressIPStatus.
func (*EgressIPStatus) DeepCopyInto ¶
func (in *EgressIPStatus) DeepCopyInto(out *EgressIPStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FailureDomainEgressIPSpec ¶
type FailureDomainEgressIPSpec struct { // FailureDomain is the defined failuredomain for this EgressIP. Needs to be defined prior to using it. FailureDomain string `json:"failure-domain"` // +kubebuilder:validation:Pattern=\d+.\d+.\d+.\d+ // IP is the IP that should be used for this EgressIP. IP string `json:"ip,omitempty"` }
FailureDomainEgressIPSpec defines a single IP within a failureDomain
func (*FailureDomainEgressIPSpec) DeepCopy ¶
func (in *FailureDomainEgressIPSpec) DeepCopy() *FailureDomainEgressIPSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailureDomainEgressIPSpec.
func (*FailureDomainEgressIPSpec) DeepCopyInto ¶
func (in *FailureDomainEgressIPSpec) DeepCopyInto(out *FailureDomainEgressIPSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.