...

Package v1

import "github.com/openshift/api/quota/v1"
Overview
Index

Overview ▾

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

Index ▾

Variables
func Resource(resource string) schema.GroupResource
type AppliedClusterResourceQuota
    func (in *AppliedClusterResourceQuota) DeepCopy() *AppliedClusterResourceQuota
    func (in *AppliedClusterResourceQuota) DeepCopyInto(out *AppliedClusterResourceQuota)
    func (in *AppliedClusterResourceQuota) DeepCopyObject() runtime.Object
    func (*AppliedClusterResourceQuota) Descriptor() ([]byte, []int)
    func (m *AppliedClusterResourceQuota) Marshal() (dAtA []byte, err error)
    func (m *AppliedClusterResourceQuota) MarshalTo(dAtA []byte) (int, error)
    func (m *AppliedClusterResourceQuota) MarshalToSizedBuffer(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
    func (m *AppliedClusterResourceQuota) XXX_DiscardUnknown()
    func (m *AppliedClusterResourceQuota) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (m *AppliedClusterResourceQuota) XXX_Merge(src proto.Message)
    func (m *AppliedClusterResourceQuota) XXX_Size() int
    func (m *AppliedClusterResourceQuota) XXX_Unmarshal(b []byte) error
type AppliedClusterResourceQuotaList
    func (in *AppliedClusterResourceQuotaList) DeepCopy() *AppliedClusterResourceQuotaList
    func (in *AppliedClusterResourceQuotaList) DeepCopyInto(out *AppliedClusterResourceQuotaList)
    func (in *AppliedClusterResourceQuotaList) DeepCopyObject() runtime.Object
    func (*AppliedClusterResourceQuotaList) Descriptor() ([]byte, []int)
    func (m *AppliedClusterResourceQuotaList) Marshal() (dAtA []byte, err error)
    func (m *AppliedClusterResourceQuotaList) MarshalTo(dAtA []byte) (int, error)
    func (m *AppliedClusterResourceQuotaList) MarshalToSizedBuffer(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
    func (m *AppliedClusterResourceQuotaList) XXX_DiscardUnknown()
    func (m *AppliedClusterResourceQuotaList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (m *AppliedClusterResourceQuotaList) XXX_Merge(src proto.Message)
    func (m *AppliedClusterResourceQuotaList) XXX_Size() int
    func (m *AppliedClusterResourceQuotaList) XXX_Unmarshal(b []byte) error
type ClusterResourceQuota
    func (in *ClusterResourceQuota) DeepCopy() *ClusterResourceQuota
    func (in *ClusterResourceQuota) DeepCopyInto(out *ClusterResourceQuota)
    func (in *ClusterResourceQuota) DeepCopyObject() runtime.Object
    func (*ClusterResourceQuota) Descriptor() ([]byte, []int)
    func (m *ClusterResourceQuota) Marshal() (dAtA []byte, err error)
    func (m *ClusterResourceQuota) MarshalTo(dAtA []byte) (int, error)
    func (m *ClusterResourceQuota) MarshalToSizedBuffer(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
    func (m *ClusterResourceQuota) XXX_DiscardUnknown()
    func (m *ClusterResourceQuota) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (m *ClusterResourceQuota) XXX_Merge(src proto.Message)
    func (m *ClusterResourceQuota) XXX_Size() int
    func (m *ClusterResourceQuota) XXX_Unmarshal(b []byte) error
type ClusterResourceQuotaList
    func (in *ClusterResourceQuotaList) DeepCopy() *ClusterResourceQuotaList
    func (in *ClusterResourceQuotaList) DeepCopyInto(out *ClusterResourceQuotaList)
    func (in *ClusterResourceQuotaList) DeepCopyObject() runtime.Object
    func (*ClusterResourceQuotaList) Descriptor() ([]byte, []int)
    func (m *ClusterResourceQuotaList) Marshal() (dAtA []byte, err error)
    func (m *ClusterResourceQuotaList) MarshalTo(dAtA []byte) (int, error)
    func (m *ClusterResourceQuotaList) MarshalToSizedBuffer(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
    func (m *ClusterResourceQuotaList) XXX_DiscardUnknown()
    func (m *ClusterResourceQuotaList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (m *ClusterResourceQuotaList) XXX_Merge(src proto.Message)
    func (m *ClusterResourceQuotaList) XXX_Size() int
    func (m *ClusterResourceQuotaList) XXX_Unmarshal(b []byte) error
type ClusterResourceQuotaSelector
    func (in *ClusterResourceQuotaSelector) DeepCopy() *ClusterResourceQuotaSelector
    func (in *ClusterResourceQuotaSelector) DeepCopyInto(out *ClusterResourceQuotaSelector)
    func (*ClusterResourceQuotaSelector) Descriptor() ([]byte, []int)
    func (m *ClusterResourceQuotaSelector) Marshal() (dAtA []byte, err error)
    func (m *ClusterResourceQuotaSelector) MarshalTo(dAtA []byte) (int, error)
    func (m *ClusterResourceQuotaSelector) MarshalToSizedBuffer(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
    func (m *ClusterResourceQuotaSelector) XXX_DiscardUnknown()
    func (m *ClusterResourceQuotaSelector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (m *ClusterResourceQuotaSelector) XXX_Merge(src proto.Message)
    func (m *ClusterResourceQuotaSelector) XXX_Size() int
    func (m *ClusterResourceQuotaSelector) XXX_Unmarshal(b []byte) error
type ClusterResourceQuotaSpec
    func (in *ClusterResourceQuotaSpec) DeepCopy() *ClusterResourceQuotaSpec
    func (in *ClusterResourceQuotaSpec) DeepCopyInto(out *ClusterResourceQuotaSpec)
    func (*ClusterResourceQuotaSpec) Descriptor() ([]byte, []int)
    func (m *ClusterResourceQuotaSpec) Marshal() (dAtA []byte, err error)
    func (m *ClusterResourceQuotaSpec) MarshalTo(dAtA []byte) (int, error)
    func (m *ClusterResourceQuotaSpec) MarshalToSizedBuffer(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
    func (m *ClusterResourceQuotaSpec) XXX_DiscardUnknown()
    func (m *ClusterResourceQuotaSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (m *ClusterResourceQuotaSpec) XXX_Merge(src proto.Message)
    func (m *ClusterResourceQuotaSpec) XXX_Size() int
    func (m *ClusterResourceQuotaSpec) XXX_Unmarshal(b []byte) error
type ClusterResourceQuotaStatus
    func (in *ClusterResourceQuotaStatus) DeepCopy() *ClusterResourceQuotaStatus
    func (in *ClusterResourceQuotaStatus) DeepCopyInto(out *ClusterResourceQuotaStatus)
    func (*ClusterResourceQuotaStatus) Descriptor() ([]byte, []int)
    func (m *ClusterResourceQuotaStatus) Marshal() (dAtA []byte, err error)
    func (m *ClusterResourceQuotaStatus) MarshalTo(dAtA []byte) (int, error)
    func (m *ClusterResourceQuotaStatus) MarshalToSizedBuffer(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
    func (m *ClusterResourceQuotaStatus) XXX_DiscardUnknown()
    func (m *ClusterResourceQuotaStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (m *ClusterResourceQuotaStatus) XXX_Merge(src proto.Message)
    func (m *ClusterResourceQuotaStatus) XXX_Size() int
    func (m *ClusterResourceQuotaStatus) XXX_Unmarshal(b []byte) error
type ResourceQuotaStatusByNamespace
    func (in *ResourceQuotaStatusByNamespace) DeepCopy() *ResourceQuotaStatusByNamespace
    func (in *ResourceQuotaStatusByNamespace) DeepCopyInto(out *ResourceQuotaStatusByNamespace)
    func (*ResourceQuotaStatusByNamespace) Descriptor() ([]byte, []int)
    func (m *ResourceQuotaStatusByNamespace) Marshal() (dAtA []byte, err error)
    func (m *ResourceQuotaStatusByNamespace) MarshalTo(dAtA []byte) (int, error)
    func (m *ResourceQuotaStatusByNamespace) MarshalToSizedBuffer(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
    func (m *ResourceQuotaStatusByNamespace) XXX_DiscardUnknown()
    func (m *ResourceQuotaStatusByNamespace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (m *ResourceQuotaStatusByNamespace) XXX_Merge(src proto.Message)
    func (m *ResourceQuotaStatusByNamespace) XXX_Size() int
    func (m *ResourceQuotaStatusByNamespace) XXX_Unmarshal(b []byte) error
type ResourceQuotasStatusByNamespace
    func (in ResourceQuotasStatusByNamespace) DeepCopy() ResourceQuotasStatusByNamespace
    func (in ResourceQuotasStatusByNamespace) DeepCopyInto(out *ResourceQuotasStatusByNamespace)

Package files

doc.go generated.pb.go legacy.go register.go types.go zz_generated.deepcopy.go zz_generated.swagger_doc_generated.go

Variables

var (
    ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
    ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
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
)
var (
    DeprecatedInstallWithoutGroup = legacySchemeBuilder.AddToScheme
)

func Resource

func Resource(resource string) schema.GroupResource

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

type AppliedClusterResourceQuota

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

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"`
}

func (*AppliedClusterResourceQuota) DeepCopy

func (in *AppliedClusterResourceQuota) DeepCopy() *AppliedClusterResourceQuota

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

func (*AppliedClusterResourceQuota) DeepCopyInto

func (in *AppliedClusterResourceQuota) DeepCopyInto(out *AppliedClusterResourceQuota)

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

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

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"`
}

func (*AppliedClusterResourceQuotaList) DeepCopy

func (in *AppliedClusterResourceQuotaList) DeepCopy() *AppliedClusterResourceQuotaList

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

func (*AppliedClusterResourceQuotaList) DeepCopyInto

func (in *AppliedClusterResourceQuotaList) DeepCopyInto(out *AppliedClusterResourceQuotaList)

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 (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

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

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). +openshift:compatibility-gen:level=1

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"`
}

func (*ClusterResourceQuota) DeepCopy

func (in *ClusterResourceQuota) DeepCopy() *ClusterResourceQuota

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

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

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"`
}

func (*ClusterResourceQuotaList) DeepCopy

func (in *ClusterResourceQuotaList) DeepCopy() *ClusterResourceQuotaList

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

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.

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"`
}

func (*ClusterResourceQuotaSelector) DeepCopy

func (in *ClusterResourceQuotaSelector) DeepCopy() *ClusterResourceQuotaSelector

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

func (*ClusterResourceQuotaSelector) DeepCopyInto

func (in *ClusterResourceQuotaSelector) DeepCopyInto(out *ClusterResourceQuotaSelector)

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

ClusterResourceQuotaSpec defines the desired quota restrictions

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"`
}

func (*ClusterResourceQuotaSpec) DeepCopy

func (in *ClusterResourceQuotaSpec) DeepCopy() *ClusterResourceQuotaSpec

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

ClusterResourceQuotaStatus defines the actual enforced quota and its current usage

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"`
}

func (*ClusterResourceQuotaStatus) DeepCopy

func (in *ClusterResourceQuotaStatus) DeepCopy() *ClusterResourceQuotaStatus

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

func (*ClusterResourceQuotaStatus) DeepCopyInto

func (in *ClusterResourceQuotaStatus) DeepCopyInto(out *ClusterResourceQuotaStatus)

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

ResourceQuotaStatusByNamespace gives status for a particular project

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"`
}

func (*ResourceQuotaStatusByNamespace) DeepCopy

func (in *ResourceQuotaStatusByNamespace) DeepCopy() *ResourceQuotaStatusByNamespace

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

func (*ResourceQuotaStatusByNamespace) DeepCopyInto

func (in *ResourceQuotaStatusByNamespace) DeepCopyInto(out *ResourceQuotaStatusByNamespace)

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

ResourceQuotasStatusByNamespace bundles multiple ResourceQuotaStatusByNamespace

type ResourceQuotasStatusByNamespace []ResourceQuotaStatusByNamespace

func (ResourceQuotasStatusByNamespace) DeepCopy

func (in ResourceQuotasStatusByNamespace) DeepCopy() ResourceQuotasStatusByNamespace

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

func (ResourceQuotasStatusByNamespace) DeepCopyInto

func (in ResourceQuotasStatusByNamespace) DeepCopyInto(out *ResourceQuotasStatusByNamespace)

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