resources

package
v0.24.4 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLabels

func GetLabels(name string) map[string]string

func GetLabelsAsSelector added in v0.22.0

func GetLabelsAsSelector(name string) (labels.Selector, error)

GetLabelsAsSelector returns labels wrapped as Selector object

func LabelSelector added in v0.23.0

func LabelSelector(name string) string

func MakeReceiveAdapter

func MakeReceiveAdapter(args *ReceiveAdapterArgs) *v1.Deployment

Types

type ReceiveAdapterArgs

type ReceiveAdapterArgs struct {
	Image          string
	Source         *v1beta1.KafkaSource
	Labels         map[string]string
	SinkURI        string
	AdditionalEnvs []corev1.EnvVar
}

Jump to

Keyboard shortcuts

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