resources

package
v0.0.0-...-25e0b32 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 10 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

Labels provides the Labels needed by the reconciler.

func MakeReceiveAdapter

func MakeReceiveAdapter(args *ReceiveAdapterArgs) (*v1.Deployment, error)

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

Types

type ReceiveAdapterArgs

type ReceiveAdapterArgs struct {
	Image          string
	Labels         map[string]string
	Source         *v1alpha1.MongoDbSource
	CeSourcePrefix string
	SinkURL        string
	Configs        reconcilersource.ConfigAccessor
}

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

Jump to

Keyboard shortcuts

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