Documentation ¶
Overview ¶
+groupName=quota.openshift.io Package v1 is the v1 version of the API.
Package v1 is a generated protocol buffer package. It is generated from these files: github.com/openshift/origin/pkg/quota/apis/quota/v1/generated.proto It has these top-level messages: AppliedClusterResourceQuota AppliedClusterResourceQuotaList ClusterResourceQuota ClusterResourceQuotaList ClusterResourceQuotaSelector ClusterResourceQuotaSpec ClusterResourceQuotaStatus ResourceQuotaStatusByNamespace
Index ¶
- Constants
- Variables
- func Convert_quota_AppliedClusterResourceQuotaList_To_v1_AppliedClusterResourceQuotaList(in *quota.AppliedClusterResourceQuotaList, ...) error
- func Convert_quota_AppliedClusterResourceQuota_To_v1_AppliedClusterResourceQuota(in *quota.AppliedClusterResourceQuota, out *AppliedClusterResourceQuota, ...) error
- func Convert_quota_ClusterResourceQuotaList_To_v1_ClusterResourceQuotaList(in *quota.ClusterResourceQuotaList, out *ClusterResourceQuotaList, ...) error
- func Convert_quota_ClusterResourceQuotaSelector_To_v1_ClusterResourceQuotaSelector(in *quota.ClusterResourceQuotaSelector, out *ClusterResourceQuotaSelector, ...) error
- func Convert_quota_ClusterResourceQuotaSpec_To_v1_ClusterResourceQuotaSpec(in *quota.ClusterResourceQuotaSpec, out *ClusterResourceQuotaSpec, ...) error
- func Convert_quota_ClusterResourceQuotaStatus_To_v1_ClusterResourceQuotaStatus(in *quota.ClusterResourceQuotaStatus, out *ClusterResourceQuotaStatus, ...) error
- func Convert_quota_ClusterResourceQuota_To_v1_ClusterResourceQuota(in *quota.ClusterResourceQuota, out *ClusterResourceQuota, s conversion.Scope) error
- func Convert_quota_ResourceQuotasStatusByNamespace_To_v1_ResourceQuotasStatusByNamespace(in *internal.ResourceQuotasStatusByNamespace, ...) error
- func Convert_v1_AppliedClusterResourceQuotaList_To_quota_AppliedClusterResourceQuotaList(in *AppliedClusterResourceQuotaList, ...) error
- func Convert_v1_AppliedClusterResourceQuota_To_quota_AppliedClusterResourceQuota(in *AppliedClusterResourceQuota, out *quota.AppliedClusterResourceQuota, ...) error
- func Convert_v1_ClusterResourceQuotaList_To_quota_ClusterResourceQuotaList(in *ClusterResourceQuotaList, out *quota.ClusterResourceQuotaList, ...) error
- func Convert_v1_ClusterResourceQuotaSelector_To_quota_ClusterResourceQuotaSelector(in *ClusterResourceQuotaSelector, out *quota.ClusterResourceQuotaSelector, ...) error
- func Convert_v1_ClusterResourceQuotaSpec_To_quota_ClusterResourceQuotaSpec(in *ClusterResourceQuotaSpec, out *quota.ClusterResourceQuotaSpec, ...) error
- func Convert_v1_ClusterResourceQuotaStatus_To_quota_ClusterResourceQuotaStatus(in *ClusterResourceQuotaStatus, out *quota.ClusterResourceQuotaStatus, ...) error
- func Convert_v1_ClusterResourceQuota_To_quota_ClusterResourceQuota(in *ClusterResourceQuota, out *quota.ClusterResourceQuota, s conversion.Scope) error
- func Convert_v1_ResourceQuotasStatusByNamespace_To_quota_ResourceQuotasStatusByNamespace(in *ResourceQuotasStatusByNamespace, ...) error
- func DeepCopy_v1_AppliedClusterResourceQuota(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1_AppliedClusterResourceQuotaList(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1_ClusterResourceQuota(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1_ClusterResourceQuotaList(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1_ClusterResourceQuotaSelector(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1_ClusterResourceQuotaSpec(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1_ClusterResourceQuotaStatus(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1_ResourceQuotaStatusByNamespace(in interface{}, out interface{}, c *conversion.Cloner) error
- func Kind(kind string) schema.GroupKind
- func RegisterConversions(scheme *runtime.Scheme) error
- func RegisterDeepCopies(scheme *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- func SetObjectDefaults_AppliedClusterResourceQuota(in *AppliedClusterResourceQuota)
- func SetObjectDefaults_AppliedClusterResourceQuotaList(in *AppliedClusterResourceQuotaList)
- func SetObjectDefaults_ClusterResourceQuota(in *ClusterResourceQuota)
- func SetObjectDefaults_ClusterResourceQuotaList(in *ClusterResourceQuotaList)
- type AppliedClusterResourceQuota
- func (*AppliedClusterResourceQuota) Descriptor() ([]byte, []int)
- func (m *AppliedClusterResourceQuota) Marshal() (dAtA []byte, err error)
- func (m *AppliedClusterResourceQuota) MarshalTo(dAtA []byte) (int, error)
- func (*AppliedClusterResourceQuota) ProtoMessage()
- func (m *AppliedClusterResourceQuota) Reset()
- func (m *AppliedClusterResourceQuota) Size() (n int)
- func (this *AppliedClusterResourceQuota) String() string
- func (AppliedClusterResourceQuota) SwaggerDoc() map[string]string
- func (m *AppliedClusterResourceQuota) Unmarshal(dAtA []byte) error
- type AppliedClusterResourceQuotaList
- func (*AppliedClusterResourceQuotaList) Descriptor() ([]byte, []int)
- func (m *AppliedClusterResourceQuotaList) Marshal() (dAtA []byte, err error)
- func (m *AppliedClusterResourceQuotaList) MarshalTo(dAtA []byte) (int, error)
- func (*AppliedClusterResourceQuotaList) ProtoMessage()
- func (m *AppliedClusterResourceQuotaList) Reset()
- func (m *AppliedClusterResourceQuotaList) Size() (n int)
- func (this *AppliedClusterResourceQuotaList) String() string
- func (AppliedClusterResourceQuotaList) SwaggerDoc() map[string]string
- func (m *AppliedClusterResourceQuotaList) Unmarshal(dAtA []byte) error
- type ClusterResourceQuota
- func (*ClusterResourceQuota) Descriptor() ([]byte, []int)
- func (m *ClusterResourceQuota) Marshal() (dAtA []byte, err error)
- func (m *ClusterResourceQuota) MarshalTo(dAtA []byte) (int, error)
- func (*ClusterResourceQuota) ProtoMessage()
- func (m *ClusterResourceQuota) Reset()
- func (m *ClusterResourceQuota) Size() (n int)
- func (this *ClusterResourceQuota) String() string
- func (ClusterResourceQuota) SwaggerDoc() map[string]string
- func (m *ClusterResourceQuota) Unmarshal(dAtA []byte) error
- type ClusterResourceQuotaList
- func (*ClusterResourceQuotaList) Descriptor() ([]byte, []int)
- func (m *ClusterResourceQuotaList) Marshal() (dAtA []byte, err error)
- func (m *ClusterResourceQuotaList) MarshalTo(dAtA []byte) (int, error)
- func (*ClusterResourceQuotaList) ProtoMessage()
- func (m *ClusterResourceQuotaList) Reset()
- func (m *ClusterResourceQuotaList) Size() (n int)
- func (this *ClusterResourceQuotaList) String() string
- func (ClusterResourceQuotaList) SwaggerDoc() map[string]string
- func (m *ClusterResourceQuotaList) Unmarshal(dAtA []byte) error
- type ClusterResourceQuotaSelector
- func (*ClusterResourceQuotaSelector) Descriptor() ([]byte, []int)
- func (m *ClusterResourceQuotaSelector) Marshal() (dAtA []byte, err error)
- func (m *ClusterResourceQuotaSelector) MarshalTo(dAtA []byte) (int, error)
- func (*ClusterResourceQuotaSelector) ProtoMessage()
- func (m *ClusterResourceQuotaSelector) Reset()
- func (m *ClusterResourceQuotaSelector) Size() (n int)
- func (this *ClusterResourceQuotaSelector) String() string
- func (ClusterResourceQuotaSelector) SwaggerDoc() map[string]string
- func (m *ClusterResourceQuotaSelector) Unmarshal(dAtA []byte) error
- type ClusterResourceQuotaSpec
- func (*ClusterResourceQuotaSpec) Descriptor() ([]byte, []int)
- func (m *ClusterResourceQuotaSpec) Marshal() (dAtA []byte, err error)
- func (m *ClusterResourceQuotaSpec) MarshalTo(dAtA []byte) (int, error)
- func (*ClusterResourceQuotaSpec) ProtoMessage()
- func (m *ClusterResourceQuotaSpec) Reset()
- func (m *ClusterResourceQuotaSpec) Size() (n int)
- func (this *ClusterResourceQuotaSpec) String() string
- func (ClusterResourceQuotaSpec) SwaggerDoc() map[string]string
- func (m *ClusterResourceQuotaSpec) Unmarshal(dAtA []byte) error
- type ClusterResourceQuotaStatus
- func (*ClusterResourceQuotaStatus) Descriptor() ([]byte, []int)
- func (m *ClusterResourceQuotaStatus) Marshal() (dAtA []byte, err error)
- func (m *ClusterResourceQuotaStatus) MarshalTo(dAtA []byte) (int, error)
- func (*ClusterResourceQuotaStatus) ProtoMessage()
- func (m *ClusterResourceQuotaStatus) Reset()
- func (m *ClusterResourceQuotaStatus) Size() (n int)
- func (this *ClusterResourceQuotaStatus) String() string
- func (ClusterResourceQuotaStatus) SwaggerDoc() map[string]string
- func (m *ClusterResourceQuotaStatus) Unmarshal(dAtA []byte) error
- type ResourceQuotaStatusByNamespace
- func (*ResourceQuotaStatusByNamespace) Descriptor() ([]byte, []int)
- func (m *ResourceQuotaStatusByNamespace) Marshal() (dAtA []byte, err error)
- func (m *ResourceQuotaStatusByNamespace) MarshalTo(dAtA []byte) (int, error)
- func (*ResourceQuotaStatusByNamespace) ProtoMessage()
- func (m *ResourceQuotaStatusByNamespace) Reset()
- func (m *ResourceQuotaStatusByNamespace) Size() (n int)
- func (this *ResourceQuotaStatusByNamespace) String() string
- func (ResourceQuotaStatusByNamespace) SwaggerDoc() map[string]string
- func (m *ResourceQuotaStatusByNamespace) Unmarshal(dAtA []byte) error
- type ResourceQuotasStatusByNamespace
Constants ¶
const ( GroupName = "quota.openshift.io" LegacyGroupName = "" )
Variables ¶
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") )
var ( SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"} LegacySchemeGroupVersion = schema.GroupVersion{Group: LegacyGroupName, Version: "v1"} LegacySchemeBuilder = runtime.NewSchemeBuilder(addLegacyKnownTypes) AddToSchemeInCoreGroup = LegacySchemeBuilder.AddToScheme SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_quota_AppliedClusterResourceQuotaList_To_v1_AppliedClusterResourceQuotaList ¶
func Convert_quota_AppliedClusterResourceQuotaList_To_v1_AppliedClusterResourceQuotaList(in *quota.AppliedClusterResourceQuotaList, out *AppliedClusterResourceQuotaList, s conversion.Scope) error
Convert_quota_AppliedClusterResourceQuotaList_To_v1_AppliedClusterResourceQuotaList is an autogenerated conversion function.
func Convert_quota_AppliedClusterResourceQuota_To_v1_AppliedClusterResourceQuota ¶
func Convert_quota_AppliedClusterResourceQuota_To_v1_AppliedClusterResourceQuota(in *quota.AppliedClusterResourceQuota, out *AppliedClusterResourceQuota, s conversion.Scope) error
Convert_quota_AppliedClusterResourceQuota_To_v1_AppliedClusterResourceQuota is an autogenerated conversion function.
func Convert_quota_ClusterResourceQuotaList_To_v1_ClusterResourceQuotaList ¶
func Convert_quota_ClusterResourceQuotaList_To_v1_ClusterResourceQuotaList(in *quota.ClusterResourceQuotaList, out *ClusterResourceQuotaList, s conversion.Scope) error
Convert_quota_ClusterResourceQuotaList_To_v1_ClusterResourceQuotaList is an autogenerated conversion function.
func Convert_quota_ClusterResourceQuotaSelector_To_v1_ClusterResourceQuotaSelector ¶
func Convert_quota_ClusterResourceQuotaSelector_To_v1_ClusterResourceQuotaSelector(in *quota.ClusterResourceQuotaSelector, out *ClusterResourceQuotaSelector, s conversion.Scope) error
Convert_quota_ClusterResourceQuotaSelector_To_v1_ClusterResourceQuotaSelector is an autogenerated conversion function.
func Convert_quota_ClusterResourceQuotaSpec_To_v1_ClusterResourceQuotaSpec ¶
func Convert_quota_ClusterResourceQuotaSpec_To_v1_ClusterResourceQuotaSpec(in *quota.ClusterResourceQuotaSpec, out *ClusterResourceQuotaSpec, s conversion.Scope) error
Convert_quota_ClusterResourceQuotaSpec_To_v1_ClusterResourceQuotaSpec is an autogenerated conversion function.
func Convert_quota_ClusterResourceQuotaStatus_To_v1_ClusterResourceQuotaStatus ¶
func Convert_quota_ClusterResourceQuotaStatus_To_v1_ClusterResourceQuotaStatus(in *quota.ClusterResourceQuotaStatus, out *ClusterResourceQuotaStatus, s conversion.Scope) error
Convert_quota_ClusterResourceQuotaStatus_To_v1_ClusterResourceQuotaStatus is an autogenerated conversion function.
func Convert_quota_ClusterResourceQuota_To_v1_ClusterResourceQuota ¶
func Convert_quota_ClusterResourceQuota_To_v1_ClusterResourceQuota(in *quota.ClusterResourceQuota, out *ClusterResourceQuota, s conversion.Scope) error
Convert_quota_ClusterResourceQuota_To_v1_ClusterResourceQuota is an autogenerated conversion function.
func Convert_quota_ResourceQuotasStatusByNamespace_To_v1_ResourceQuotasStatusByNamespace ¶
func Convert_quota_ResourceQuotasStatusByNamespace_To_v1_ResourceQuotasStatusByNamespace(in *internal.ResourceQuotasStatusByNamespace, out *ResourceQuotasStatusByNamespace, s conversion.Scope) error
func Convert_v1_AppliedClusterResourceQuotaList_To_quota_AppliedClusterResourceQuotaList ¶
func Convert_v1_AppliedClusterResourceQuotaList_To_quota_AppliedClusterResourceQuotaList(in *AppliedClusterResourceQuotaList, out *quota.AppliedClusterResourceQuotaList, s conversion.Scope) error
Convert_v1_AppliedClusterResourceQuotaList_To_quota_AppliedClusterResourceQuotaList is an autogenerated conversion function.
func Convert_v1_AppliedClusterResourceQuota_To_quota_AppliedClusterResourceQuota ¶
func Convert_v1_AppliedClusterResourceQuota_To_quota_AppliedClusterResourceQuota(in *AppliedClusterResourceQuota, out *quota.AppliedClusterResourceQuota, s conversion.Scope) error
Convert_v1_AppliedClusterResourceQuota_To_quota_AppliedClusterResourceQuota is an autogenerated conversion function.
func Convert_v1_ClusterResourceQuotaList_To_quota_ClusterResourceQuotaList ¶
func Convert_v1_ClusterResourceQuotaList_To_quota_ClusterResourceQuotaList(in *ClusterResourceQuotaList, out *quota.ClusterResourceQuotaList, s conversion.Scope) error
Convert_v1_ClusterResourceQuotaList_To_quota_ClusterResourceQuotaList is an autogenerated conversion function.
func Convert_v1_ClusterResourceQuotaSelector_To_quota_ClusterResourceQuotaSelector ¶
func Convert_v1_ClusterResourceQuotaSelector_To_quota_ClusterResourceQuotaSelector(in *ClusterResourceQuotaSelector, out *quota.ClusterResourceQuotaSelector, s conversion.Scope) error
Convert_v1_ClusterResourceQuotaSelector_To_quota_ClusterResourceQuotaSelector is an autogenerated conversion function.
func Convert_v1_ClusterResourceQuotaSpec_To_quota_ClusterResourceQuotaSpec ¶
func Convert_v1_ClusterResourceQuotaSpec_To_quota_ClusterResourceQuotaSpec(in *ClusterResourceQuotaSpec, out *quota.ClusterResourceQuotaSpec, s conversion.Scope) error
Convert_v1_ClusterResourceQuotaSpec_To_quota_ClusterResourceQuotaSpec is an autogenerated conversion function.
func Convert_v1_ClusterResourceQuotaStatus_To_quota_ClusterResourceQuotaStatus ¶
func Convert_v1_ClusterResourceQuotaStatus_To_quota_ClusterResourceQuotaStatus(in *ClusterResourceQuotaStatus, out *quota.ClusterResourceQuotaStatus, s conversion.Scope) error
Convert_v1_ClusterResourceQuotaStatus_To_quota_ClusterResourceQuotaStatus is an autogenerated conversion function.
func Convert_v1_ClusterResourceQuota_To_quota_ClusterResourceQuota ¶
func Convert_v1_ClusterResourceQuota_To_quota_ClusterResourceQuota(in *ClusterResourceQuota, out *quota.ClusterResourceQuota, s conversion.Scope) error
Convert_v1_ClusterResourceQuota_To_quota_ClusterResourceQuota is an autogenerated conversion function.
func Convert_v1_ResourceQuotasStatusByNamespace_To_quota_ResourceQuotasStatusByNamespace ¶
func Convert_v1_ResourceQuotasStatusByNamespace_To_quota_ResourceQuotasStatusByNamespace(in *ResourceQuotasStatusByNamespace, out *internal.ResourceQuotasStatusByNamespace, s conversion.Scope) error
func DeepCopy_v1_AppliedClusterResourceQuota ¶
func DeepCopy_v1_AppliedClusterResourceQuota(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1_AppliedClusterResourceQuota is an autogenerated deepcopy function.
func DeepCopy_v1_AppliedClusterResourceQuotaList ¶
func DeepCopy_v1_AppliedClusterResourceQuotaList(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1_AppliedClusterResourceQuotaList is an autogenerated deepcopy function.
func DeepCopy_v1_ClusterResourceQuota ¶
func DeepCopy_v1_ClusterResourceQuota(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1_ClusterResourceQuota is an autogenerated deepcopy function.
func DeepCopy_v1_ClusterResourceQuotaList ¶
func DeepCopy_v1_ClusterResourceQuotaList(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1_ClusterResourceQuotaList is an autogenerated deepcopy function.
func DeepCopy_v1_ClusterResourceQuotaSelector ¶
func DeepCopy_v1_ClusterResourceQuotaSelector(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1_ClusterResourceQuotaSelector is an autogenerated deepcopy function.
func DeepCopy_v1_ClusterResourceQuotaSpec ¶
func DeepCopy_v1_ClusterResourceQuotaSpec(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1_ClusterResourceQuotaSpec is an autogenerated deepcopy function.
func DeepCopy_v1_ClusterResourceQuotaStatus ¶
func DeepCopy_v1_ClusterResourceQuotaStatus(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1_ClusterResourceQuotaStatus is an autogenerated deepcopy function.
func DeepCopy_v1_ResourceQuotaStatusByNamespace ¶
func DeepCopy_v1_ResourceQuotaStatusByNamespace(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1_ResourceQuotaStatusByNamespace is an autogenerated deepcopy function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDeepCopies ¶
RegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns back a Group qualified GroupResource
func SetObjectDefaults_AppliedClusterResourceQuota ¶
func SetObjectDefaults_AppliedClusterResourceQuota(in *AppliedClusterResourceQuota)
func SetObjectDefaults_AppliedClusterResourceQuotaList ¶
func SetObjectDefaults_AppliedClusterResourceQuotaList(in *AppliedClusterResourceQuotaList)
func SetObjectDefaults_ClusterResourceQuota ¶
func SetObjectDefaults_ClusterResourceQuota(in *ClusterResourceQuota)
func SetObjectDefaults_ClusterResourceQuotaList ¶
func SetObjectDefaults_ClusterResourceQuotaList(in *ClusterResourceQuotaList)
Types ¶
type AppliedClusterResourceQuota ¶
type AppliedClusterResourceQuota struct { metav1.TypeMeta `json:",inline"` // Standard object's 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.
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) 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
type AppliedClusterResourceQuotaList ¶
type AppliedClusterResourceQuotaList struct { metav1.TypeMeta `json:",inline"` // Standard object's 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
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) ProtoMessage ¶
func (*AppliedClusterResourceQuotaList) ProtoMessage()
func (*AppliedClusterResourceQuotaList) Reset ¶
func (m *AppliedClusterResourceQuotaList) Reset()
func (*AppliedClusterResourceQuotaList) Size ¶
func (m *AppliedClusterResourceQuotaList) Size() (n int)
func (*AppliedClusterResourceQuotaList) String ¶
func (this *AppliedClusterResourceQuotaList) String() string
func (AppliedClusterResourceQuotaList) SwaggerDoc ¶
func (AppliedClusterResourceQuotaList) SwaggerDoc() map[string]string
func (*AppliedClusterResourceQuotaList) Unmarshal ¶
func (m *AppliedClusterResourceQuotaList) Unmarshal(dAtA []byte) error
type ClusterResourceQuota ¶
type ClusterResourceQuota struct { metav1.TypeMeta `json:",inline"` // Standard object's 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.
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) 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
type ClusterResourceQuotaList ¶
type ClusterResourceQuotaList struct { metav1.TypeMeta `json:",inline"` // Standard object's 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
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) 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
type ClusterResourceQuotaSelector ¶
type ClusterResourceQuotaSelector struct { // LabelSelector is used to select projects by label. LabelSelector *metav1.LabelSelector `json:"labels" protobuf:"bytes,1,opt,name=labels"` // AnnotationSelector is used to select projects by annotation. 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) 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) 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
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 kapi.ResourceQuotaSpec `json:"quota" protobuf:"bytes,2,opt,name=quota"` }
ClusterResourceQuotaSpec defines the desired quota restrictions
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) 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
type ClusterResourceQuotaStatus ¶
type ClusterResourceQuotaStatus struct { // Total defines the actual enforced quota and its current usage across all projects Total kapi.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. Namespaces ResourceQuotasStatusByNamespace `json:"namespaces" protobuf:"bytes,2,rep,name=namespaces"` }
ClusterResourceQuotaStatus defines the actual enforced quota and its current usage
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) 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
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 kapi.ResourceQuotaStatus `json:"status" protobuf:"bytes,2,opt,name=status"` }
ResourceQuotaStatusByNamespace gives status for a particular project
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) 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
type ResourceQuotasStatusByNamespace ¶
type ResourceQuotasStatusByNamespace []ResourceQuotaStatusByNamespace
ResourceQuotasStatusByNamespace bundles multiple ResourceQuotaStatusByNamespace