v1alpha1

package
v0.4.0-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 3 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GroupName          = "k8s.cni.cncf.io"
	SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
)

SchemeGroupVersion is group version used to register these objects

View Source
var (
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type IPAMClaim

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

	Spec   IPAMClaimSpec   `json:"spec,omitempty"`
	Status IPAMClaimStatus `json:"status,omitempty"`
}

IPAMClaim is the Schema for the IPAMClaim API

func (*IPAMClaim) DeepCopy

func (in *IPAMClaim) DeepCopy() *IPAMClaim

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

func (*IPAMClaim) DeepCopyInto

func (in *IPAMClaim) DeepCopyInto(out *IPAMClaim)

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

func (*IPAMClaim) DeepCopyObject

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

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

type IPAMClaimList

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

func (*IPAMClaimList) DeepCopy

func (in *IPAMClaimList) DeepCopy() *IPAMClaimList

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

func (*IPAMClaimList) DeepCopyInto

func (in *IPAMClaimList) DeepCopyInto(out *IPAMClaimList)

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

func (*IPAMClaimList) DeepCopyObject

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

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

type IPAMClaimSpec

type IPAMClaimSpec struct {
	// The network name for which this persistent allocation was created
	Network string `json:"network"`
	// The pod interface name for which this allocation was created
	Interface string `json:"interface"`
}

func (*IPAMClaimSpec) DeepCopy

func (in *IPAMClaimSpec) DeepCopy() *IPAMClaimSpec

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

func (*IPAMClaimSpec) DeepCopyInto

func (in *IPAMClaimSpec) DeepCopyInto(out *IPAMClaimSpec)

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

type IPAMClaimStatus

type IPAMClaimStatus struct {
	// The list of IP addresses (v4, v6) that were allocated for the pod interface
	IPs []string `json:"ips"`
}

func (*IPAMClaimStatus) DeepCopy

func (in *IPAMClaimStatus) DeepCopy() *IPAMClaimStatus

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

func (*IPAMClaimStatus) DeepCopyInto

func (in *IPAMClaimStatus) DeepCopyInto(out *IPAMClaimStatus)

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

Directories

Path Synopsis
apis
clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
clientset/versioned/typed/ipamclaims/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
clientset/versioned/typed/ipamclaims/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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