v1beta1

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 21

Documentation

Overview

Package v1beta1 contains API Schema definitions for the v1beta1 IPAM API.

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: "ipam.cluster.x-k8s.io", Version: "v1beta1"}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = schemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type IPAddress

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

	Spec IPAddressSpec `json:"spec,omitempty"`
}

IPAddress is the Schema for the ipaddress API.

func (*IPAddress) DeepCopy

func (in *IPAddress) DeepCopy() *IPAddress

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

func (*IPAddress) DeepCopyInto

func (in *IPAddress) DeepCopyInto(out *IPAddress)

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

func (*IPAddress) DeepCopyObject

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

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

func (*IPAddress) Hub

func (*IPAddress) Hub()

type IPAddressClaim

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

	Spec   IPAddressClaimSpec   `json:"spec,omitempty"`
	Status IPAddressClaimStatus `json:"status,omitempty"`
}

IPAddressClaim is the Schema for the ipaddressclaim API.

func (*IPAddressClaim) DeepCopy

func (in *IPAddressClaim) DeepCopy() *IPAddressClaim

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

func (*IPAddressClaim) DeepCopyInto

func (in *IPAddressClaim) DeepCopyInto(out *IPAddressClaim)

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

func (*IPAddressClaim) DeepCopyObject

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

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

func (*IPAddressClaim) GetConditions

func (m *IPAddressClaim) GetConditions() clusterv1.Conditions

GetConditions returns the set of conditions for this object.

func (*IPAddressClaim) Hub

func (*IPAddressClaim) Hub()

func (*IPAddressClaim) SetConditions

func (m *IPAddressClaim) SetConditions(conditions clusterv1.Conditions)

SetConditions sets the conditions on this object.

type IPAddressClaimList

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

IPAddressClaimList is a list of IPAddressClaims.

func (*IPAddressClaimList) DeepCopy

func (in *IPAddressClaimList) DeepCopy() *IPAddressClaimList

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

func (*IPAddressClaimList) DeepCopyInto

func (in *IPAddressClaimList) DeepCopyInto(out *IPAddressClaimList)

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

func (*IPAddressClaimList) DeepCopyObject

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

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

func (*IPAddressClaimList) Hub

func (*IPAddressClaimList) Hub()

type IPAddressClaimSpec

type IPAddressClaimSpec struct {
	// PoolRef is a reference to the pool from which an IP address should be created.
	PoolRef corev1.TypedLocalObjectReference `json:"poolRef"`
}

IPAddressClaimSpec is the desired state of an IPAddressClaim.

func (*IPAddressClaimSpec) DeepCopy

func (in *IPAddressClaimSpec) DeepCopy() *IPAddressClaimSpec

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

func (*IPAddressClaimSpec) DeepCopyInto

func (in *IPAddressClaimSpec) DeepCopyInto(out *IPAddressClaimSpec)

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

type IPAddressClaimStatus

type IPAddressClaimStatus struct {
	// AddressRef is a reference to the address that was created for this claim.
	// +optional
	AddressRef corev1.LocalObjectReference `json:"addressRef,omitempty"`

	// Conditions summarises the current state of the IPAddressClaim
	// +optional
	Conditions clusterv1.Conditions `json:"conditions,omitempty"`
}

IPAddressClaimStatus is the observed status of a IPAddressClaim.

func (*IPAddressClaimStatus) DeepCopy

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

func (*IPAddressClaimStatus) DeepCopyInto

func (in *IPAddressClaimStatus) DeepCopyInto(out *IPAddressClaimStatus)

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

type IPAddressList

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

IPAddressList is a list of IPAddress.

func (*IPAddressList) DeepCopy

func (in *IPAddressList) DeepCopy() *IPAddressList

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

func (*IPAddressList) DeepCopyInto

func (in *IPAddressList) DeepCopyInto(out *IPAddressList)

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

func (*IPAddressList) DeepCopyObject

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

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

func (*IPAddressList) Hub

func (*IPAddressList) Hub()

type IPAddressSpec

type IPAddressSpec struct {
	// ClaimRef is a reference to the claim this IPAddress was created for.
	ClaimRef corev1.LocalObjectReference `json:"claimRef"`

	// PoolRef is a reference to the pool that this IPAddress was created from.
	PoolRef corev1.TypedLocalObjectReference `json:"poolRef"`

	// Address is the IP address.
	Address string `json:"address"`

	// Prefix is the prefix of the address.
	Prefix int `json:"prefix"`

	// Gateway is the network gateway of the network the address is from.
	// +optional
	Gateway string `json:"gateway,omitempty"`
}

IPAddressSpec is the desired state of an IPAddress.

func (*IPAddressSpec) DeepCopy

func (in *IPAddressSpec) DeepCopy() *IPAddressSpec

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

func (*IPAddressSpec) DeepCopyInto

func (in *IPAddressSpec) DeepCopyInto(out *IPAddressSpec)

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

Jump to

Keyboard shortcuts

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