v1

package
v1.26.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=cagip.github.com

Index

Constants

View Source
const (
	PhaseAccepted = "ACCEPTED"
	PhaseRejected = "REJECTED"
	PhasePending  = "PENDING"
)

Variables

View Source
var (
	// SchemeBuilder initializes a scheme builder
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: cagip.GroupName, Version: "v1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type ResourceQuotaClaim

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

	Status ResourceQuotaClaimStatus `json:"status,omitempty"`
	Spec   corev1.ResourceList      `json:"spec,omitempty"`
}

ResourceQuotaClaim defines a request modify a ResourcesQuota

func (*ResourceQuotaClaim) DeepCopy

func (in *ResourceQuotaClaim) DeepCopy() *ResourceQuotaClaim

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

func (*ResourceQuotaClaim) DeepCopyInto

func (in *ResourceQuotaClaim) DeepCopyInto(out *ResourceQuotaClaim)

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

func (*ResourceQuotaClaim) DeepCopyObject

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

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

type ResourceQuotaClaimList

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

ResourceQuotaClaimList contains a list of ResourceQuotaClaim

func (*ResourceQuotaClaimList) DeepCopy

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

func (*ResourceQuotaClaimList) DeepCopyInto

func (in *ResourceQuotaClaimList) DeepCopyInto(out *ResourceQuotaClaimList)

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

func (*ResourceQuotaClaimList) DeepCopyObject

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

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

type ResourceQuotaClaimStatus

type ResourceQuotaClaimStatus struct {
	Phase   string `json:"phase,omitempty"`
	Details string `json:"details,omitempty"`
}

ResourceQuotaClaimStatus defines the observed state of ResourceQuotaClaim

func (*ResourceQuotaClaimStatus) DeepCopy

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

func (*ResourceQuotaClaimStatus) DeepCopyInto

func (in *ResourceQuotaClaimStatus) DeepCopyInto(out *ResourceQuotaClaimStatus)

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