v1

package
v0.0.0-...-1f60f4c Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 12 Imported by: 584

Documentation

Overview

+groupName=quota.openshift.io Package v1 is the v1 version of the API.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	GroupName    = "quota.openshift.io"
	GroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}

	// Install is a function which adds this version to a scheme
	Install = schemeBuilder.AddToScheme

	// SchemeGroupVersion generated code relies on this name
	// Deprecated
	SchemeGroupVersion = GroupVersion
	// AddToScheme exists solely to keep the old generators creating valid code
	// DEPRECATED
	AddToScheme = schemeBuilder.AddToScheme
)
View Source
var (
	DeprecatedInstallWithoutGroup = legacySchemeBuilder.AddToScheme
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource generated code relies on this being here, but it logically belongs to the group DEPRECATED

Types

type AppliedClusterResourceQuota

type AppliedClusterResourceQuota struct {
	metav1.TypeMeta `json:",inline"`

	// metadata is the standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ObjectMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`

	// Spec defines the desired quota
	Spec ClusterResourceQuotaSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`

	// Status defines the actual enforced quota and its current usage
	Status ClusterResourceQuotaStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

AppliedClusterResourceQuota mirrors ClusterResourceQuota at a project scope, for projection into a project. It allows a project-admin to know which ClusterResourceQuotas are applied to his project and their associated usage.

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*AppliedClusterResourceQuota) DeepCopy

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

func (*AppliedClusterResourceQuota) DeepCopyInto

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

func (*AppliedClusterResourceQuota) DeepCopyObject

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

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

func (*AppliedClusterResourceQuota) Descriptor

func (*AppliedClusterResourceQuota) Descriptor() ([]byte, []int)

func (*AppliedClusterResourceQuota) Marshal

func (m *AppliedClusterResourceQuota) Marshal() (dAtA []byte, err error)

func (*AppliedClusterResourceQuota) MarshalTo

func (m *AppliedClusterResourceQuota) MarshalTo(dAtA []byte) (int, error)

func (*AppliedClusterResourceQuota) MarshalToSizedBuffer

func (m *AppliedClusterResourceQuota) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AppliedClusterResourceQuota) ProtoMessage

func (*AppliedClusterResourceQuota) ProtoMessage()

func (*AppliedClusterResourceQuota) Reset

func (m *AppliedClusterResourceQuota) Reset()

func (*AppliedClusterResourceQuota) Size

func (m *AppliedClusterResourceQuota) Size() (n int)

func (*AppliedClusterResourceQuota) String

func (this *AppliedClusterResourceQuota) String() string

func (AppliedClusterResourceQuota) SwaggerDoc

func (AppliedClusterResourceQuota) SwaggerDoc() map[string]string

func (*AppliedClusterResourceQuota) Unmarshal

func (m *AppliedClusterResourceQuota) Unmarshal(dAtA []byte) error

func (*AppliedClusterResourceQuota) XXX_DiscardUnknown

func (m *AppliedClusterResourceQuota) XXX_DiscardUnknown()

func (*AppliedClusterResourceQuota) XXX_Marshal

func (m *AppliedClusterResourceQuota) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppliedClusterResourceQuota) XXX_Merge

func (m *AppliedClusterResourceQuota) XXX_Merge(src proto.Message)

func (*AppliedClusterResourceQuota) XXX_Size

func (m *AppliedClusterResourceQuota) XXX_Size() int

func (*AppliedClusterResourceQuota) XXX_Unmarshal

func (m *AppliedClusterResourceQuota) XXX_Unmarshal(b []byte) error

type AppliedClusterResourceQuotaList

type AppliedClusterResourceQuotaList struct {
	metav1.TypeMeta `json:",inline"`

	// metadata is the standard list's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of AppliedClusterResourceQuota
	Items []AppliedClusterResourceQuota `json:"items" protobuf:"bytes,2,rep,name=items"`
}

AppliedClusterResourceQuotaList is a collection of AppliedClusterResourceQuotas

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*AppliedClusterResourceQuotaList) DeepCopy

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

func (*AppliedClusterResourceQuotaList) DeepCopyInto

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

func (*AppliedClusterResourceQuotaList) DeepCopyObject

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

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

func (*AppliedClusterResourceQuotaList) Descriptor

func (*AppliedClusterResourceQuotaList) Descriptor() ([]byte, []int)

func (*AppliedClusterResourceQuotaList) Marshal

func (m *AppliedClusterResourceQuotaList) Marshal() (dAtA []byte, err error)

func (*AppliedClusterResourceQuotaList) MarshalTo

func (m *AppliedClusterResourceQuotaList) MarshalTo(dAtA []byte) (int, error)

func (*AppliedClusterResourceQuotaList) MarshalToSizedBuffer

func (m *AppliedClusterResourceQuotaList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AppliedClusterResourceQuotaList) ProtoMessage

func (*AppliedClusterResourceQuotaList) ProtoMessage()

func (*AppliedClusterResourceQuotaList) Reset

func (*AppliedClusterResourceQuotaList) Size

func (m *AppliedClusterResourceQuotaList) Size() (n int)

func (*AppliedClusterResourceQuotaList) String

func (this *AppliedClusterResourceQuotaList) String() string

func (AppliedClusterResourceQuotaList) SwaggerDoc

func (*AppliedClusterResourceQuotaList) Unmarshal

func (m *AppliedClusterResourceQuotaList) Unmarshal(dAtA []byte) error

func (*AppliedClusterResourceQuotaList) XXX_DiscardUnknown

func (m *AppliedClusterResourceQuotaList) XXX_DiscardUnknown()

func (*AppliedClusterResourceQuotaList) XXX_Marshal

func (m *AppliedClusterResourceQuotaList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppliedClusterResourceQuotaList) XXX_Merge

func (m *AppliedClusterResourceQuotaList) XXX_Merge(src proto.Message)

func (*AppliedClusterResourceQuotaList) XXX_Size

func (m *AppliedClusterResourceQuotaList) XXX_Size() int

func (*AppliedClusterResourceQuotaList) XXX_Unmarshal

func (m *AppliedClusterResourceQuotaList) XXX_Unmarshal(b []byte) error

type ClusterResourceQuota

type ClusterResourceQuota struct {
	metav1.TypeMeta `json:",inline"`

	// metadata is the standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ObjectMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`

	// Spec defines the desired quota
	Spec ClusterResourceQuotaSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`

	// Status defines the actual enforced quota and its current usage
	Status ClusterResourceQuotaStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

ClusterResourceQuota mirrors ResourceQuota at a cluster scope. This object is easily convertible to synthetic ResourceQuota object to allow quota evaluation re-use.

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +kubebuilder:object:root=true +kubebuilder:resource:path=clusterresourcequotas,scope=Cluster +kubebuilder:subresource:status +openshift:api-approved.openshift.io=https://github.com/openshift/api/pull/470 +openshift:file-pattern=cvoRunLevel=0000_03,operatorName=config-operator,operatorOrdering=01 +openshift:compatibility-gen:level=1

func (*ClusterResourceQuota) DeepCopy

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

func (*ClusterResourceQuota) DeepCopyInto

func (in *ClusterResourceQuota) DeepCopyInto(out *ClusterResourceQuota)

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

func (*ClusterResourceQuota) DeepCopyObject

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

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

func (*ClusterResourceQuota) Descriptor

func (*ClusterResourceQuota) Descriptor() ([]byte, []int)

func (*ClusterResourceQuota) Marshal

func (m *ClusterResourceQuota) Marshal() (dAtA []byte, err error)

func (*ClusterResourceQuota) MarshalTo

func (m *ClusterResourceQuota) MarshalTo(dAtA []byte) (int, error)

func (*ClusterResourceQuota) MarshalToSizedBuffer

func (m *ClusterResourceQuota) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterResourceQuota) ProtoMessage

func (*ClusterResourceQuota) ProtoMessage()

func (*ClusterResourceQuota) Reset

func (m *ClusterResourceQuota) Reset()

func (*ClusterResourceQuota) Size

func (m *ClusterResourceQuota) Size() (n int)

func (*ClusterResourceQuota) String

func (this *ClusterResourceQuota) String() string

func (ClusterResourceQuota) SwaggerDoc

func (ClusterResourceQuota) SwaggerDoc() map[string]string

func (*ClusterResourceQuota) Unmarshal

func (m *ClusterResourceQuota) Unmarshal(dAtA []byte) error

func (*ClusterResourceQuota) XXX_DiscardUnknown

func (m *ClusterResourceQuota) XXX_DiscardUnknown()

func (*ClusterResourceQuota) XXX_Marshal

func (m *ClusterResourceQuota) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterResourceQuota) XXX_Merge

func (m *ClusterResourceQuota) XXX_Merge(src proto.Message)

func (*ClusterResourceQuota) XXX_Size

func (m *ClusterResourceQuota) XXX_Size() int

func (*ClusterResourceQuota) XXX_Unmarshal

func (m *ClusterResourceQuota) XXX_Unmarshal(b []byte) error

type ClusterResourceQuotaList

type ClusterResourceQuotaList struct {
	metav1.TypeMeta `json:",inline"`

	// metadata is the standard list's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of ClusterResourceQuotas
	Items []ClusterResourceQuota `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ClusterResourceQuotaList is a collection of ClusterResourceQuotas

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*ClusterResourceQuotaList) DeepCopy

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

func (*ClusterResourceQuotaList) DeepCopyInto

func (in *ClusterResourceQuotaList) DeepCopyInto(out *ClusterResourceQuotaList)

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

func (*ClusterResourceQuotaList) DeepCopyObject

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

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

func (*ClusterResourceQuotaList) Descriptor

func (*ClusterResourceQuotaList) Descriptor() ([]byte, []int)

func (*ClusterResourceQuotaList) Marshal

func (m *ClusterResourceQuotaList) Marshal() (dAtA []byte, err error)

func (*ClusterResourceQuotaList) MarshalTo

func (m *ClusterResourceQuotaList) MarshalTo(dAtA []byte) (int, error)

func (*ClusterResourceQuotaList) MarshalToSizedBuffer

func (m *ClusterResourceQuotaList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterResourceQuotaList) ProtoMessage

func (*ClusterResourceQuotaList) ProtoMessage()

func (*ClusterResourceQuotaList) Reset

func (m *ClusterResourceQuotaList) Reset()

func (*ClusterResourceQuotaList) Size

func (m *ClusterResourceQuotaList) Size() (n int)

func (*ClusterResourceQuotaList) String

func (this *ClusterResourceQuotaList) String() string

func (ClusterResourceQuotaList) SwaggerDoc

func (ClusterResourceQuotaList) SwaggerDoc() map[string]string

func (*ClusterResourceQuotaList) Unmarshal

func (m *ClusterResourceQuotaList) Unmarshal(dAtA []byte) error

func (*ClusterResourceQuotaList) XXX_DiscardUnknown

func (m *ClusterResourceQuotaList) XXX_DiscardUnknown()

func (*ClusterResourceQuotaList) XXX_Marshal

func (m *ClusterResourceQuotaList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterResourceQuotaList) XXX_Merge

func (m *ClusterResourceQuotaList) XXX_Merge(src proto.Message)

func (*ClusterResourceQuotaList) XXX_Size

func (m *ClusterResourceQuotaList) XXX_Size() int

func (*ClusterResourceQuotaList) XXX_Unmarshal

func (m *ClusterResourceQuotaList) XXX_Unmarshal(b []byte) error

type ClusterResourceQuotaSelector

type ClusterResourceQuotaSelector struct {
	// LabelSelector is used to select projects by label.
	// +optional
	// +nullable
	LabelSelector *metav1.LabelSelector `json:"labels" protobuf:"bytes,1,opt,name=labels"`

	// AnnotationSelector is used to select projects by annotation.
	// +optional
	// +nullable
	AnnotationSelector map[string]string `json:"annotations" protobuf:"bytes,2,rep,name=annotations"`
}

ClusterResourceQuotaSelector is used to select projects. At least one of LabelSelector or AnnotationSelector must present. If only one is present, it is the only selection criteria. If both are specified, the project must match both restrictions.

func (*ClusterResourceQuotaSelector) DeepCopy

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

func (*ClusterResourceQuotaSelector) DeepCopyInto

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

func (*ClusterResourceQuotaSelector) Descriptor

func (*ClusterResourceQuotaSelector) Descriptor() ([]byte, []int)

func (*ClusterResourceQuotaSelector) Marshal

func (m *ClusterResourceQuotaSelector) Marshal() (dAtA []byte, err error)

func (*ClusterResourceQuotaSelector) MarshalTo

func (m *ClusterResourceQuotaSelector) MarshalTo(dAtA []byte) (int, error)

func (*ClusterResourceQuotaSelector) MarshalToSizedBuffer

func (m *ClusterResourceQuotaSelector) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterResourceQuotaSelector) ProtoMessage

func (*ClusterResourceQuotaSelector) ProtoMessage()

func (*ClusterResourceQuotaSelector) Reset

func (m *ClusterResourceQuotaSelector) Reset()

func (*ClusterResourceQuotaSelector) Size

func (m *ClusterResourceQuotaSelector) Size() (n int)

func (*ClusterResourceQuotaSelector) String

func (this *ClusterResourceQuotaSelector) String() string

func (ClusterResourceQuotaSelector) SwaggerDoc

func (ClusterResourceQuotaSelector) SwaggerDoc() map[string]string

func (*ClusterResourceQuotaSelector) Unmarshal

func (m *ClusterResourceQuotaSelector) Unmarshal(dAtA []byte) error

func (*ClusterResourceQuotaSelector) XXX_DiscardUnknown

func (m *ClusterResourceQuotaSelector) XXX_DiscardUnknown()

func (*ClusterResourceQuotaSelector) XXX_Marshal

func (m *ClusterResourceQuotaSelector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterResourceQuotaSelector) XXX_Merge

func (m *ClusterResourceQuotaSelector) XXX_Merge(src proto.Message)

func (*ClusterResourceQuotaSelector) XXX_Size

func (m *ClusterResourceQuotaSelector) XXX_Size() int

func (*ClusterResourceQuotaSelector) XXX_Unmarshal

func (m *ClusterResourceQuotaSelector) XXX_Unmarshal(b []byte) error

type ClusterResourceQuotaSpec

type ClusterResourceQuotaSpec struct {
	// Selector is the selector used to match projects.
	// It should only select active projects on the scale of dozens (though it can select
	// many more less active projects).  These projects will contend on object creation through
	// this resource.
	Selector ClusterResourceQuotaSelector `json:"selector" protobuf:"bytes,1,opt,name=selector"`

	// Quota defines the desired quota
	Quota corev1.ResourceQuotaSpec `json:"quota" protobuf:"bytes,2,opt,name=quota"`
}

ClusterResourceQuotaSpec defines the desired quota restrictions

func (*ClusterResourceQuotaSpec) DeepCopy

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

func (*ClusterResourceQuotaSpec) DeepCopyInto

func (in *ClusterResourceQuotaSpec) DeepCopyInto(out *ClusterResourceQuotaSpec)

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

func (*ClusterResourceQuotaSpec) Descriptor

func (*ClusterResourceQuotaSpec) Descriptor() ([]byte, []int)

func (*ClusterResourceQuotaSpec) Marshal

func (m *ClusterResourceQuotaSpec) Marshal() (dAtA []byte, err error)

func (*ClusterResourceQuotaSpec) MarshalTo

func (m *ClusterResourceQuotaSpec) MarshalTo(dAtA []byte) (int, error)

func (*ClusterResourceQuotaSpec) MarshalToSizedBuffer

func (m *ClusterResourceQuotaSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterResourceQuotaSpec) ProtoMessage

func (*ClusterResourceQuotaSpec) ProtoMessage()

func (*ClusterResourceQuotaSpec) Reset

func (m *ClusterResourceQuotaSpec) Reset()

func (*ClusterResourceQuotaSpec) Size

func (m *ClusterResourceQuotaSpec) Size() (n int)

func (*ClusterResourceQuotaSpec) String

func (this *ClusterResourceQuotaSpec) String() string

func (ClusterResourceQuotaSpec) SwaggerDoc

func (ClusterResourceQuotaSpec) SwaggerDoc() map[string]string

func (*ClusterResourceQuotaSpec) Unmarshal

func (m *ClusterResourceQuotaSpec) Unmarshal(dAtA []byte) error

func (*ClusterResourceQuotaSpec) XXX_DiscardUnknown

func (m *ClusterResourceQuotaSpec) XXX_DiscardUnknown()

func (*ClusterResourceQuotaSpec) XXX_Marshal

func (m *ClusterResourceQuotaSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterResourceQuotaSpec) XXX_Merge

func (m *ClusterResourceQuotaSpec) XXX_Merge(src proto.Message)

func (*ClusterResourceQuotaSpec) XXX_Size

func (m *ClusterResourceQuotaSpec) XXX_Size() int

func (*ClusterResourceQuotaSpec) XXX_Unmarshal

func (m *ClusterResourceQuotaSpec) XXX_Unmarshal(b []byte) error

type ClusterResourceQuotaStatus

type ClusterResourceQuotaStatus struct {
	// Total defines the actual enforced quota and its current usage across all projects
	Total corev1.ResourceQuotaStatus `json:"total" protobuf:"bytes,1,opt,name=total"`

	// Namespaces slices the usage by project.  This division allows for quick resolution of
	// deletion reconciliation inside of a single project without requiring a recalculation
	// across all projects.  This can be used to pull the deltas for a given project.
	// +optional
	// +nullable
	Namespaces ResourceQuotasStatusByNamespace `json:"namespaces" protobuf:"bytes,2,rep,name=namespaces"`
}

ClusterResourceQuotaStatus defines the actual enforced quota and its current usage

func (*ClusterResourceQuotaStatus) DeepCopy

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

func (*ClusterResourceQuotaStatus) DeepCopyInto

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

func (*ClusterResourceQuotaStatus) Descriptor

func (*ClusterResourceQuotaStatus) Descriptor() ([]byte, []int)

func (*ClusterResourceQuotaStatus) Marshal

func (m *ClusterResourceQuotaStatus) Marshal() (dAtA []byte, err error)

func (*ClusterResourceQuotaStatus) MarshalTo

func (m *ClusterResourceQuotaStatus) MarshalTo(dAtA []byte) (int, error)

func (*ClusterResourceQuotaStatus) MarshalToSizedBuffer

func (m *ClusterResourceQuotaStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterResourceQuotaStatus) ProtoMessage

func (*ClusterResourceQuotaStatus) ProtoMessage()

func (*ClusterResourceQuotaStatus) Reset

func (m *ClusterResourceQuotaStatus) Reset()

func (*ClusterResourceQuotaStatus) Size

func (m *ClusterResourceQuotaStatus) Size() (n int)

func (*ClusterResourceQuotaStatus) String

func (this *ClusterResourceQuotaStatus) String() string

func (ClusterResourceQuotaStatus) SwaggerDoc

func (ClusterResourceQuotaStatus) SwaggerDoc() map[string]string

func (*ClusterResourceQuotaStatus) Unmarshal

func (m *ClusterResourceQuotaStatus) Unmarshal(dAtA []byte) error

func (*ClusterResourceQuotaStatus) XXX_DiscardUnknown

func (m *ClusterResourceQuotaStatus) XXX_DiscardUnknown()

func (*ClusterResourceQuotaStatus) XXX_Marshal

func (m *ClusterResourceQuotaStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterResourceQuotaStatus) XXX_Merge

func (m *ClusterResourceQuotaStatus) XXX_Merge(src proto.Message)

func (*ClusterResourceQuotaStatus) XXX_Size

func (m *ClusterResourceQuotaStatus) XXX_Size() int

func (*ClusterResourceQuotaStatus) XXX_Unmarshal

func (m *ClusterResourceQuotaStatus) XXX_Unmarshal(b []byte) error

type ResourceQuotaStatusByNamespace

type ResourceQuotaStatusByNamespace struct {
	// Namespace the project this status applies to
	Namespace string `json:"namespace" protobuf:"bytes,1,opt,name=namespace"`

	// Status indicates how many resources have been consumed by this project
	Status corev1.ResourceQuotaStatus `json:"status" protobuf:"bytes,2,opt,name=status"`
}

ResourceQuotaStatusByNamespace gives status for a particular project

func (*ResourceQuotaStatusByNamespace) DeepCopy

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

func (*ResourceQuotaStatusByNamespace) DeepCopyInto

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

func (*ResourceQuotaStatusByNamespace) Descriptor

func (*ResourceQuotaStatusByNamespace) Descriptor() ([]byte, []int)

func (*ResourceQuotaStatusByNamespace) Marshal

func (m *ResourceQuotaStatusByNamespace) Marshal() (dAtA []byte, err error)

func (*ResourceQuotaStatusByNamespace) MarshalTo

func (m *ResourceQuotaStatusByNamespace) MarshalTo(dAtA []byte) (int, error)

func (*ResourceQuotaStatusByNamespace) MarshalToSizedBuffer

func (m *ResourceQuotaStatusByNamespace) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResourceQuotaStatusByNamespace) ProtoMessage

func (*ResourceQuotaStatusByNamespace) ProtoMessage()

func (*ResourceQuotaStatusByNamespace) Reset

func (m *ResourceQuotaStatusByNamespace) Reset()

func (*ResourceQuotaStatusByNamespace) Size

func (m *ResourceQuotaStatusByNamespace) Size() (n int)

func (*ResourceQuotaStatusByNamespace) String

func (this *ResourceQuotaStatusByNamespace) String() string

func (ResourceQuotaStatusByNamespace) SwaggerDoc

func (ResourceQuotaStatusByNamespace) SwaggerDoc() map[string]string

func (*ResourceQuotaStatusByNamespace) Unmarshal

func (m *ResourceQuotaStatusByNamespace) Unmarshal(dAtA []byte) error

func (*ResourceQuotaStatusByNamespace) XXX_DiscardUnknown

func (m *ResourceQuotaStatusByNamespace) XXX_DiscardUnknown()

func (*ResourceQuotaStatusByNamespace) XXX_Marshal

func (m *ResourceQuotaStatusByNamespace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResourceQuotaStatusByNamespace) XXX_Merge

func (m *ResourceQuotaStatusByNamespace) XXX_Merge(src proto.Message)

func (*ResourceQuotaStatusByNamespace) XXX_Size

func (m *ResourceQuotaStatusByNamespace) XXX_Size() int

func (*ResourceQuotaStatusByNamespace) XXX_Unmarshal

func (m *ResourceQuotaStatusByNamespace) XXX_Unmarshal(b []byte) error

type ResourceQuotasStatusByNamespace

type ResourceQuotasStatusByNamespace []ResourceQuotaStatusByNamespace

ResourceQuotasStatusByNamespace bundles multiple ResourceQuotaStatusByNamespace

func (ResourceQuotasStatusByNamespace) DeepCopy

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

func (ResourceQuotasStatusByNamespace) DeepCopyInto

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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