resources

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Labels

func Labels(name string) map[string]string

func MakeEventType

func MakeEventType(args *EventTypeArgs) eventingv1alpha1.EventType

MakeEventType creates the in-memory representation of the EventType for the specified Couch DB source.

func MakeReceiveAdapter

func MakeReceiveAdapter(args *ReceiveAdapterArgs) *v1.Deployment

MakeReceiveAdapter generates (but does not insert into K8s) the Receive Adapter Deployment for CouchDB sources.

Types

type EventTypeArgs

type EventTypeArgs struct {
	Src    *v1alpha1.CouchDbSource
	Type   string
	Source string
}

EventTypeArgs are the arguments needed to create an EventType for an Couch DB source.

type ReceiveAdapterArgs

type ReceiveAdapterArgs struct {
	EventSource string
	Image       string
	Source      *v1alpha1.CouchDbSource
	Labels      map[string]string
	SinkURI     string
}

ReceiveAdapterArgs are the arguments needed to create a CouchDB Receive Adapter. Every field is required.

Jump to

Keyboard shortcuts

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