Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the pubsublite v1beta1 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/pubsublite +k8s:defaulter-gen=TypeMeta +groupName=pubsublite.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: "pubsublite.cnrm.cloud.google.com", Version: "v1beta1"} // 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 PubSubLiteReservationGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(PubSubLiteReservation{}).Name(), } )
Functions ¶
This section is empty.
Types ¶
type PubSubLiteReservation ¶
type PubSubLiteReservation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PubSubLiteReservationSpec `json:"spec,omitempty"` Status PubSubLiteReservationStatus `json:"status,omitempty"` }
PubSubLiteReservation is the Schema for the pubsublite API +k8s:openapi-gen=true
func (*PubSubLiteReservation) DeepCopy ¶
func (in *PubSubLiteReservation) DeepCopy() *PubSubLiteReservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PubSubLiteReservation.
func (*PubSubLiteReservation) DeepCopyInto ¶
func (in *PubSubLiteReservation) DeepCopyInto(out *PubSubLiteReservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PubSubLiteReservation) DeepCopyObject ¶
func (in *PubSubLiteReservation) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PubSubLiteReservationList ¶
type PubSubLiteReservationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PubSubLiteReservation `json:"items"` }
PubSubLiteReservationList contains a list of PubSubLiteReservation
func (*PubSubLiteReservationList) DeepCopy ¶
func (in *PubSubLiteReservationList) DeepCopy() *PubSubLiteReservationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PubSubLiteReservationList.
func (*PubSubLiteReservationList) DeepCopyInto ¶
func (in *PubSubLiteReservationList) DeepCopyInto(out *PubSubLiteReservationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PubSubLiteReservationList) DeepCopyObject ¶
func (in *PubSubLiteReservationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PubSubLiteReservationSpec ¶
type PubSubLiteReservationSpec struct { /* The project that this resource belongs to. */ ProjectRef v1alpha1.ResourceRef `json:"projectRef"` /* The region of the pubsub lite reservation. */ Region string `json:"region"` /* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */ // +optional ResourceID *string `json:"resourceID,omitempty"` /* The reserved throughput capacity. Every unit of throughput capacity is equivalent to 1 MiB/s of published messages or 2 MiB/s of subscribed messages. */ ThroughputCapacity int64 `json:"throughputCapacity"` }
func (*PubSubLiteReservationSpec) DeepCopy ¶
func (in *PubSubLiteReservationSpec) DeepCopy() *PubSubLiteReservationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PubSubLiteReservationSpec.
func (*PubSubLiteReservationSpec) DeepCopyInto ¶
func (in *PubSubLiteReservationSpec) DeepCopyInto(out *PubSubLiteReservationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PubSubLiteReservationStatus ¶
type PubSubLiteReservationStatus struct { /* Conditions represent the latest available observations of the PubSubLiteReservation's current state. */ Conditions []v1alpha1.Condition `json:"conditions,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 *int64 `json:"observedGeneration,omitempty"` }
func (*PubSubLiteReservationStatus) DeepCopy ¶
func (in *PubSubLiteReservationStatus) DeepCopy() *PubSubLiteReservationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PubSubLiteReservationStatus.
func (*PubSubLiteReservationStatus) DeepCopyInto ¶
func (in *PubSubLiteReservationStatus) DeepCopyInto(out *PubSubLiteReservationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.