resources

package
v0.39.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: Apache-2.0 Imports: 11 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 NewReceiveAdapter

func NewReceiveAdapter(ctx context.Context, args *ReceiveAdapterArgs) (*v1.Deployment, error)

NewReceiveAdapter generates the Receive Adapter Deployment for Horizon sources

func NewServiceAccount

func NewServiceAccount(src *v1alpha1.HorizonSource, labels map[string]string) *corev1.ServiceAccount

Types

type ReceiveAdapterArgs

type ReceiveAdapterArgs struct {
	Image         string
	Labels        map[string]string
	Source        *v1alpha1.HorizonSource
	SinkURI       string
	LoggingConfig string
	MetricsConfig string
}

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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