resources

package
v0.0.0-...-c52b3dd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAnnotations

func GetAnnotations(original map[string]string, resourceGroup string) map[string]string

func GetLabels

func GetLabels(receiveAdapterName, source string) map[string]string

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL