resources

package
v0.30.2 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: Apache-2.0 Imports: 15 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Labels

func Labels(name string) map[string]string

func MakeReceiveAdapter

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

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

Types

type ReceiveAdapterArgs

type ReceiveAdapterArgs struct {
	Image   string
	Source  *v1.ApiServerSource
	Labels  map[string]string
	SinkURI string
	Configs reconcilersource.ConfigAccessor
}

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

Jump to

Keyboard shortcuts

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