Documentation ¶
Index ¶
- func GetAnnotations(original map[string]string, resourceGroup string) map[string]string
- func GetLabels(receiveAdapterName, source string) map[string]string
- func MakePullSubscription(args *PullSubscriptionArgs) *pubsubv1alpha1.PullSubscription
- func MakeTopic(args *TopicArgs) *pubsubv1alpha1.Topic
- type PullSubscriptionArgs
- type TopicArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAnnotations ¶
func MakePullSubscription ¶
func MakePullSubscription(args *PullSubscriptionArgs) *pubsubv1alpha1.PullSubscription
MakePullSubscription creates the spec for, but does not create, a GCP PullSubscription for a given GCS.
func MakeTopic ¶
func MakeTopic(args *TopicArgs) *pubsubv1alpha1.Topic
MakeTopic creates the spec for, but does not create, a GCP Topic for a given GCS.
Types ¶
type PullSubscriptionArgs ¶
type PullSubscriptionArgs struct { Namespace string Name string Spec *duckv1alpha1.PubSubSpec Owner kmeta.OwnerRefable Topic string AdapterType string Mode pubsubv1alpha1.ModeType Labels map[string]string Annotations map[string]string }
type TopicArgs ¶
type TopicArgs struct { Namespace string Name string Spec *duckv1alpha1.PubSubSpec Owner kmeta.OwnerRefable Topic string Labels map[string]string }
Click to show internal directories.
Click to hide internal directories.