resources

package
v0.19.3 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 License: Apache-2.0 Imports: 6 Imported by: 1

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) *inteventsv1.PullSubscription

MakePullSubscription creates the spec for, but does not create, a GCP PullSubscription for a given GCS.

func MakeTopic

func MakeTopic(args *TopicArgs) *inteventsv1.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        *gcpduckv1.PubSubSpec
	Owner       kmeta.OwnerRefable
	Topic       string
	AdapterType string
	Labels      map[string]string
	Annotations map[string]string
}

type TopicArgs

type TopicArgs struct {
	Namespace       string
	Name            string
	Spec            *duckv1.PubSubSpec
	EnablePublisher *bool
	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