resources

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 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 added in v0.13.0

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

func GetLabels added in v0.13.0

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 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
}

Jump to

Keyboard shortcuts

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