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 ¶ added in v0.13.0
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 ¶ added in v0.12.1
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 ¶ added in v0.13.0
type TopicArgs struct { Namespace string Name string Spec *duckv1alpha1.PubSubSpec Owner kmeta.OwnerRefable Topic string Labels map[string]string Annotations map[string]string }
Click to show internal directories.
Click to hide internal directories.