Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the googlecloudpubsuboperator v1 API group. +kubebuilder:object:generate=true +groupName=googlecloudpubsuboperator.quipper.github.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "googlecloudpubsuboperator.quipper.github.io", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type IamBinding ¶ added in v0.11.0
type IamBinding struct { // Role granted for the service accounts on topic / subscription level. //+kubebuilder:validation:Required //+kubebuilder:example="roles/pubsub.publisher" Role string `json:"role"` // Service accounts assigned with the role //+kubebuilder:validation:Required ServiceAccounts []string `json:"serviceAccounts"` }
IamBinding provides authorative binding of permissions to for the resource.
func (*IamBinding) DeepCopy ¶ added in v0.11.0
func (in *IamBinding) DeepCopy() *IamBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IamBinding.
func (*IamBinding) DeepCopyInto ¶ added in v0.11.0
func (in *IamBinding) DeepCopyInto(out *IamBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Subscription ¶ added in v0.3.0
type Subscription struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SubscriptionSpec `json:"spec,omitempty"` Status SubscriptionStatus `json:"status,omitempty"` }
Subscription is the Schema for the subscriptions API
func (*Subscription) DeepCopy ¶ added in v0.3.0
func (in *Subscription) DeepCopy() *Subscription
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subscription.
func (*Subscription) DeepCopyInto ¶ added in v0.3.0
func (in *Subscription) DeepCopyInto(out *Subscription)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Subscription) DeepCopyObject ¶ added in v0.3.0
func (in *Subscription) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SubscriptionList ¶ added in v0.3.0
type SubscriptionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Subscription `json:"items"` }
SubscriptionList contains a list of Subscription
func (*SubscriptionList) DeepCopy ¶ added in v0.3.0
func (in *SubscriptionList) DeepCopy() *SubscriptionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionList.
func (*SubscriptionList) DeepCopyInto ¶ added in v0.3.0
func (in *SubscriptionList) DeepCopyInto(out *SubscriptionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionList) DeepCopyObject ¶ added in v0.3.0
func (in *SubscriptionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SubscriptionSpec ¶ added in v0.3.0
type SubscriptionSpec struct { // subscription ID //+kubebuilder:validation:XValidation:message="Immutable field",rule="self == oldSelf" SubscriptionID string `json:"subscriptionID,omitempty"` // project ID of subscription //+kubebuilder:validation:XValidation:message="Immutable field",rule="self == oldSelf" SubscriptionProjectID string `json:"subscriptionProjectID,omitempty"` // topic ID //+kubebuilder:validation:XValidation:message="Immutable field",rule="self == oldSelf" TopicID string `json:"topicID,omitempty"` // project ID of topic //+kubebuilder:validation:XValidation:message="Immutable field",rule="self == oldSelf" TopicProjectID string `json:"topicProjectID,omitempty"` // Authorative IAM Binding for subscription //+kubebuilder:validation:Optional Bindings []IamBinding `json:"bindings,omitempty"` }
SubscriptionSpec defines the desired state of Subscription
func (*SubscriptionSpec) DeepCopy ¶ added in v0.3.0
func (in *SubscriptionSpec) DeepCopy() *SubscriptionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpec.
func (*SubscriptionSpec) DeepCopyInto ¶ added in v0.3.0
func (in *SubscriptionSpec) DeepCopyInto(out *SubscriptionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubscriptionStatus ¶ added in v0.3.0
type SubscriptionStatus struct {
Phase SubscriptionStatusPhase `json:"phase,omitempty"`
}
SubscriptionStatus defines the observed state of Subscription
func (*SubscriptionStatus) DeepCopy ¶ added in v0.3.0
func (in *SubscriptionStatus) DeepCopy() *SubscriptionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionStatus.
func (*SubscriptionStatus) DeepCopyInto ¶ added in v0.3.0
func (in *SubscriptionStatus) DeepCopyInto(out *SubscriptionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubscriptionStatusPhase ¶ added in v0.8.0
type SubscriptionStatusPhase string
const ( SubscriptionStatusPhaseActive SubscriptionStatusPhase = "Active" SubscriptionStatusPhaseError SubscriptionStatusPhase = "Error" )
type Topic ¶ added in v0.3.0
type Topic struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TopicSpec `json:"spec,omitempty"` Status TopicStatus `json:"status,omitempty"` }
Topic is the Schema for the topics API
func (*Topic) DeepCopy ¶ added in v0.3.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Topic.
func (*Topic) DeepCopyInto ¶ added in v0.3.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Topic) DeepCopyObject ¶ added in v0.3.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TopicList ¶ added in v0.3.0
type TopicList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Topic `json:"items"` }
TopicList contains a list of Topic
func (*TopicList) DeepCopy ¶ added in v0.3.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicList.
func (*TopicList) DeepCopyInto ¶ added in v0.3.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TopicList) DeepCopyObject ¶ added in v0.3.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TopicSpec ¶ added in v0.3.0
type TopicSpec struct { // ID of project //+kubebuilder:validation:XValidation:message="Immutable field",rule="self == oldSelf" ProjectID string `json:"projectID,omitempty"` // ID of topic //+kubebuilder:validation:XValidation:message="Immutable field",rule="self == oldSelf" TopicID string `json:"topicID,omitempty"` // Authorative IAM Binding for topic //+kubebuilder:validation:Optional Bindings []IamBinding `json:"bindings,omitempty"` }
TopicSpec defines the desired state of Topic
func (*TopicSpec) DeepCopy ¶ added in v0.3.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicSpec.
func (*TopicSpec) DeepCopyInto ¶ added in v0.3.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TopicStatus ¶ added in v0.3.0
type TopicStatus struct { Phase TopicStatusPhase `json:"phase,omitempty"` // Message is an error message of Cloud Pub/Sub. // Available only if Phase is Error. Message string `json:"message,omitempty"` }
TopicStatus defines the observed state of Topic
func (*TopicStatus) DeepCopy ¶ added in v0.3.0
func (in *TopicStatus) DeepCopy() *TopicStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicStatus.
func (*TopicStatus) DeepCopyInto ¶ added in v0.3.0
func (in *TopicStatus) DeepCopyInto(out *TopicStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TopicStatusPhase ¶ added in v0.7.0
type TopicStatusPhase string
const ( TopicStatusPhaseActive TopicStatusPhase = "Active" TopicStatusPhaseError TopicStatusPhase = "Error" )