Documentation
¶
Overview ¶
Package api is the internal version of the API.
Index ¶
- Constants
- Variables
- func ClusterResourceQuotaToSelectableFields(quota *ClusterResourceQuota) fields.Set
- func DeepCopy_api_AppliedClusterResourceQuota(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_api_AppliedClusterResourceQuotaList(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_api_ClusterResourceQuota(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_api_ClusterResourceQuotaList(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_api_ClusterResourceQuotaSelector(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_api_ClusterResourceQuotaSpec(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_api_ClusterResourceQuotaStatus(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_api_ResourceQuotasStatusByNamespace(in interface{}, out interface{}, c *conversion.Cloner) error
- func GetMatcher(selector ClusterResourceQuotaSelector) (func(obj runtime.Object) (bool, error), error)
- func Kind(kind string) unversioned.GroupKind
- func RegisterDeepCopies(scheme *runtime.Scheme) error
- func Resource(resource string) unversioned.GroupResource
- type AppliedClusterResourceQuota
- type AppliedClusterResourceQuotaList
- type ClusterResourceQuota
- type ClusterResourceQuotaList
- type ClusterResourceQuotaSelector
- type ClusterResourceQuotaSpec
- type ClusterResourceQuotaStatus
- type ResourceQuotasStatusByNamespace
- func (o ResourceQuotasStatusByNamespace) DeepCopy() ResourceQuotasStatusByNamespace
- func (o *ResourceQuotasStatusByNamespace) Get(key string) (kapi.ResourceQuotaStatus, bool)
- func (o *ResourceQuotasStatusByNamespace) Insert(key string, value kapi.ResourceQuotaStatus)
- func (o *ResourceQuotasStatusByNamespace) OrderedKeys() *list.List
- func (o *ResourceQuotasStatusByNamespace) Remove(key string)
Constants ¶
View Source
const GroupName = ""
Variables ¶
View Source
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
View Source
var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
Functions ¶
func ClusterResourceQuotaToSelectableFields ¶
func ClusterResourceQuotaToSelectableFields(quota *ClusterResourceQuota) fields.Set
func DeepCopy_api_AppliedClusterResourceQuota ¶
func DeepCopy_api_AppliedClusterResourceQuota(in interface{}, out interface{}, c *conversion.Cloner) error
func DeepCopy_api_AppliedClusterResourceQuotaList ¶
func DeepCopy_api_AppliedClusterResourceQuotaList(in interface{}, out interface{}, c *conversion.Cloner) error
func DeepCopy_api_ClusterResourceQuota ¶
func DeepCopy_api_ClusterResourceQuota(in interface{}, out interface{}, c *conversion.Cloner) error
func DeepCopy_api_ClusterResourceQuotaList ¶
func DeepCopy_api_ClusterResourceQuotaList(in interface{}, out interface{}, c *conversion.Cloner) error
func DeepCopy_api_ClusterResourceQuotaSelector ¶
func DeepCopy_api_ClusterResourceQuotaSelector(in interface{}, out interface{}, c *conversion.Cloner) error
func DeepCopy_api_ClusterResourceQuotaSpec ¶
func DeepCopy_api_ClusterResourceQuotaSpec(in interface{}, out interface{}, c *conversion.Cloner) error
func DeepCopy_api_ClusterResourceQuotaStatus ¶
func DeepCopy_api_ClusterResourceQuotaStatus(in interface{}, out interface{}, c *conversion.Cloner) error
func DeepCopy_api_ResourceQuotasStatusByNamespace ¶
func DeepCopy_api_ResourceQuotasStatusByNamespace(in interface{}, out interface{}, c *conversion.Cloner) error
func GetMatcher ¶
func Kind ¶
func Kind(kind string) unversioned.GroupKind
Kind takes an unqualified kind and returns back a Group qualified GroupKind
func RegisterDeepCopies ¶ added in v1.4.0
RegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.
func Resource ¶
func Resource(resource string) unversioned.GroupResource
Resource takes an unqualified resource and returns back a Group qualified GroupResource
Types ¶
type AppliedClusterResourceQuota ¶
type AppliedClusterResourceQuota struct {
unversioned.TypeMeta
// Standard object's metadata.
kapi.ObjectMeta
// Spec defines the desired quota
Spec ClusterResourceQuotaSpec
// Status defines the actual enforced quota and its current usage
Status ClusterResourceQuotaStatus
}
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 ConvertClusterResourceQuotaToAppliedClusterResourceQuota ¶
func ConvertClusterResourceQuotaToAppliedClusterResourceQuota(in *ClusterResourceQuota) *AppliedClusterResourceQuota
ConvertClusterResourceQuotaToAppliedClusterQuota returns back a converted AppliedClusterResourceQuota which is NOT a deep copy.