Documentation ¶
Overview ¶
Generate deepcopy object for serviceusage/v1alpha1 API group
Package v1alpha1 contains API Schema definitions for the serviceusage v1alpha1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/pkg/apis/serviceusage +k8s:defaulter-gen=TypeMeta +groupName=serviceusage.cnrm.cloud.google.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is the group version used to register these objects. SchemeGroupVersion = schema.GroupVersion{Group: "serviceusage.cnrm.cloud.google.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme ServiceUsageConsumerQuotaOverrideGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(ServiceUsageConsumerQuotaOverride{}).Name(), } )
Functions ¶
This section is empty.
Types ¶
type ServiceUsageConsumerQuotaOverride ¶
type ServiceUsageConsumerQuotaOverride struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServiceUsageConsumerQuotaOverrideSpec `json:"spec,omitempty"` Status ServiceUsageConsumerQuotaOverrideStatus `json:"status,omitempty"` }
ServiceUsageConsumerQuotaOverride is the Schema for the serviceusage API +k8s:openapi-gen=true
func (*ServiceUsageConsumerQuotaOverride) DeepCopy ¶
func (in *ServiceUsageConsumerQuotaOverride) DeepCopy() *ServiceUsageConsumerQuotaOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceUsageConsumerQuotaOverride.
func (*ServiceUsageConsumerQuotaOverride) DeepCopyInto ¶
func (in *ServiceUsageConsumerQuotaOverride) DeepCopyInto(out *ServiceUsageConsumerQuotaOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceUsageConsumerQuotaOverride) DeepCopyObject ¶
func (in *ServiceUsageConsumerQuotaOverride) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceUsageConsumerQuotaOverrideList ¶
type ServiceUsageConsumerQuotaOverrideList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ServiceUsageConsumerQuotaOverride `json:"items"` }
ServiceUsageConsumerQuotaOverrideList contains a list of ServiceUsageConsumerQuotaOverride
func (*ServiceUsageConsumerQuotaOverrideList) DeepCopy ¶
func (in *ServiceUsageConsumerQuotaOverrideList) DeepCopy() *ServiceUsageConsumerQuotaOverrideList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceUsageConsumerQuotaOverrideList.
func (*ServiceUsageConsumerQuotaOverrideList) DeepCopyInto ¶
func (in *ServiceUsageConsumerQuotaOverrideList) DeepCopyInto(out *ServiceUsageConsumerQuotaOverrideList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceUsageConsumerQuotaOverrideList) DeepCopyObject ¶
func (in *ServiceUsageConsumerQuotaOverrideList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceUsageConsumerQuotaOverrideSpec ¶
type ServiceUsageConsumerQuotaOverrideSpec struct { /* Immutable. If this map is nonempty, then this override applies only to specific values for dimensions defined in the limit unit. */ // +optional Dimensions map[string]string `json:"dimensions,omitempty"` /* If the new quota would decrease the existing quota by more than 10%, the request is rejected. If 'force' is 'true', that safety check is ignored. */ // +optional Force *bool `json:"force,omitempty"` /* Immutable. The limit on the metric, e.g. '/project/region'. ~> Make sure that 'limit' is in a format that doesn't start with '1/' or contain curly braces. E.g. use '/project/user' instead of '1/{project}/{user}'. */ Limit string `json:"limit"` /* Immutable. The metric that should be limited, e.g. 'compute.googleapis.com/cpus'. */ Metric string `json:"metric"` /* The overriding quota limit value. Can be any nonnegative integer, or -1 (unlimited quota). */ OverrideValue string `json:"overrideValue"` /* The project that this resource belongs to. */ ProjectRef v1alpha1.ResourceRef `json:"projectRef"` /* Immutable. Optional. The service-generated name of the resource. Used for acquisition only. Leave unset to create a new resource. */ // +optional ResourceID *string `json:"resourceID,omitempty"` /* Immutable. The service that the metrics belong to, e.g. 'compute.googleapis.com'. */ Service string `json:"service"` }
func (*ServiceUsageConsumerQuotaOverrideSpec) DeepCopy ¶
func (in *ServiceUsageConsumerQuotaOverrideSpec) DeepCopy() *ServiceUsageConsumerQuotaOverrideSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceUsageConsumerQuotaOverrideSpec.
func (*ServiceUsageConsumerQuotaOverrideSpec) DeepCopyInto ¶
func (in *ServiceUsageConsumerQuotaOverrideSpec) DeepCopyInto(out *ServiceUsageConsumerQuotaOverrideSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceUsageConsumerQuotaOverrideStatus ¶
type ServiceUsageConsumerQuotaOverrideStatus struct { /* Conditions represent the latest available observations of the ServiceUsageConsumerQuotaOverride's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* The server-generated name of the quota override. */ // +optional Name *string `json:"name,omitempty"` /* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */ // +optional ObservedGeneration *int `json:"observedGeneration,omitempty"` }
func (*ServiceUsageConsumerQuotaOverrideStatus) DeepCopy ¶
func (in *ServiceUsageConsumerQuotaOverrideStatus) DeepCopy() *ServiceUsageConsumerQuotaOverrideStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceUsageConsumerQuotaOverrideStatus.
func (*ServiceUsageConsumerQuotaOverrideStatus) DeepCopyInto ¶
func (in *ServiceUsageConsumerQuotaOverrideStatus) DeepCopyInto(out *ServiceUsageConsumerQuotaOverrideStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.