v1alpha1

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: 9 Imported by: 11

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the exp v1alpha1 IPAM API. +k8s:conversion-gen=sigs.k8s.io/cluster-api/exp/ipam/api/v1beta1

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: "v1alpha1"}

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

Functions

func Convert_v1alpha1_IPAddressClaimList_To_v1beta1_IPAddressClaimList added in v1.6.0

func Convert_v1alpha1_IPAddressClaimList_To_v1beta1_IPAddressClaimList(in *IPAddressClaimList, out *v1beta1.IPAddressClaimList, s conversion.Scope) error

Convert_v1alpha1_IPAddressClaimList_To_v1beta1_IPAddressClaimList is an autogenerated conversion function.

func Convert_v1alpha1_IPAddressClaimSpec_To_v1beta1_IPAddressClaimSpec added in v1.6.0

func Convert_v1alpha1_IPAddressClaimSpec_To_v1beta1_IPAddressClaimSpec(in *IPAddressClaimSpec, out *v1beta1.IPAddressClaimSpec, s conversion.Scope) error

Convert_v1alpha1_IPAddressClaimSpec_To_v1beta1_IPAddressClaimSpec is an autogenerated conversion function.

func Convert_v1alpha1_IPAddressClaimStatus_To_v1beta1_IPAddressClaimStatus added in v1.6.0

func Convert_v1alpha1_IPAddressClaimStatus_To_v1beta1_IPAddressClaimStatus(in *IPAddressClaimStatus, out *v1beta1.IPAddressClaimStatus, s conversion.Scope) error

Convert_v1alpha1_IPAddressClaimStatus_To_v1beta1_IPAddressClaimStatus is an autogenerated conversion function.

func Convert_v1alpha1_IPAddressClaim_To_v1beta1_IPAddressClaim added in v1.6.0

func Convert_v1alpha1_IPAddressClaim_To_v1beta1_IPAddressClaim(in *IPAddressClaim, out *v1beta1.IPAddressClaim, s conversion.Scope) error

Convert_v1alpha1_IPAddressClaim_To_v1beta1_IPAddressClaim is an autogenerated conversion function.

func Convert_v1alpha1_IPAddressList_To_v1beta1_IPAddressList added in v1.6.0

func Convert_v1alpha1_IPAddressList_To_v1beta1_IPAddressList(in *IPAddressList, out *v1beta1.IPAddressList, s conversion.Scope) error

Convert_v1alpha1_IPAddressList_To_v1beta1_IPAddressList is an autogenerated conversion function.

func Convert_v1alpha1_IPAddressSpec_To_v1beta1_IPAddressSpec added in v1.6.0

func Convert_v1alpha1_IPAddressSpec_To_v1beta1_IPAddressSpec(in *IPAddressSpec, out *v1beta1.IPAddressSpec, s conversion.Scope) error

Convert_v1alpha1_IPAddressSpec_To_v1beta1_IPAddressSpec is an autogenerated conversion function.

func Convert_v1alpha1_IPAddress_To_v1beta1_IPAddress added in v1.6.0

func Convert_v1alpha1_IPAddress_To_v1beta1_IPAddress(in *IPAddress, out *v1beta1.IPAddress, s conversion.Scope) error

Convert_v1alpha1_IPAddress_To_v1beta1_IPAddress is an autogenerated conversion function.

func Convert_v1beta1_IPAddressClaimList_To_v1alpha1_IPAddressClaimList added in v1.6.0

func Convert_v1beta1_IPAddressClaimList_To_v1alpha1_IPAddressClaimList(in *v1beta1.IPAddressClaimList, out *IPAddressClaimList, s conversion.Scope) error

Convert_v1beta1_IPAddressClaimList_To_v1alpha1_IPAddressClaimList is an autogenerated conversion function.

func Convert_v1beta1_IPAddressClaimSpec_To_v1alpha1_IPAddressClaimSpec added in v1.6.0

func Convert_v1beta1_IPAddressClaimSpec_To_v1alpha1_IPAddressClaimSpec(in *v1beta1.IPAddressClaimSpec, out *IPAddressClaimSpec, s conversion.Scope) error

Convert_v1beta1_IPAddressClaimSpec_To_v1alpha1_IPAddressClaimSpec is an autogenerated conversion function.

func Convert_v1beta1_IPAddressClaimStatus_To_v1alpha1_IPAddressClaimStatus added in v1.6.0

func Convert_v1beta1_IPAddressClaimStatus_To_v1alpha1_IPAddressClaimStatus(in *v1beta1.IPAddressClaimStatus, out *IPAddressClaimStatus, s conversion.Scope) error

Convert_v1beta1_IPAddressClaimStatus_To_v1alpha1_IPAddressClaimStatus is an autogenerated conversion function.

func Convert_v1beta1_IPAddressClaim_To_v1alpha1_IPAddressClaim added in v1.6.0

func Convert_v1beta1_IPAddressClaim_To_v1alpha1_IPAddressClaim(in *v1beta1.IPAddressClaim, out *IPAddressClaim, s conversion.Scope) error

Convert_v1beta1_IPAddressClaim_To_v1alpha1_IPAddressClaim is an autogenerated conversion function.

func Convert_v1beta1_IPAddressList_To_v1alpha1_IPAddressList added in v1.6.0

func Convert_v1beta1_IPAddressList_To_v1alpha1_IPAddressList(in *v1beta1.IPAddressList, out *IPAddressList, s conversion.Scope) error

Convert_v1beta1_IPAddressList_To_v1alpha1_IPAddressList is an autogenerated conversion function.

func Convert_v1beta1_IPAddressSpec_To_v1alpha1_IPAddressSpec added in v1.6.0

func Convert_v1beta1_IPAddressSpec_To_v1alpha1_IPAddressSpec(in *v1beta1.IPAddressSpec, out *IPAddressSpec, s conversion.Scope) error

Convert_v1beta1_IPAddressSpec_To_v1alpha1_IPAddressSpec is an autogenerated conversion function.

func Convert_v1beta1_IPAddress_To_v1alpha1_IPAddress added in v1.6.0

func Convert_v1beta1_IPAddress_To_v1alpha1_IPAddress(in *v1beta1.IPAddress, out *IPAddress, s conversion.Scope) error

Convert_v1beta1_IPAddress_To_v1alpha1_IPAddress is an autogenerated conversion function.

func RegisterConversions added in v1.6.0

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

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) ConvertFrom added in v1.6.0

func (dst *IPAddress) ConvertFrom(srcRaw conversion.Hub) error

func (*IPAddress) ConvertTo added in v1.6.0

func (src *IPAddress) ConvertTo(dstRaw conversion.Hub) error

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.

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) ConvertFrom added in v1.6.0

func (dst *IPAddressClaim) ConvertFrom(srcRaw conversion.Hub) error

func (*IPAddressClaim) ConvertTo added in v1.6.0

func (src *IPAddressClaim) ConvertTo(dstRaw conversion.Hub) error

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 added in v1.2.12

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

GetConditions returns the set of conditions for this object.

func (*IPAddressClaim) SetConditions added in v1.2.12

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) ConvertFrom added in v1.6.0

func (dst *IPAddressClaimList) ConvertFrom(srcRaw conversion.Hub) error

func (*IPAddressClaimList) ConvertTo added in v1.6.0

func (src *IPAddressClaimList) ConvertTo(dstRaw conversion.Hub) error

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.

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) ConvertFrom added in v1.6.0

func (dst *IPAddressList) ConvertFrom(srcRaw conversion.Hub) error

func (*IPAddressList) ConvertTo added in v1.6.0

func (src *IPAddressList) ConvertTo(dstRaw conversion.Hub) error

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.

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