resources

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultSecretSelector

func DefaultSecretSelector() *corev1.SecretKeySelector

DefaultSecretSelector is the default secret selector used to load the creds for the publisher to auth with Google Cloud.

func GeneratePublisherName

func GeneratePublisherName(topic *v1alpha1.Topic) string

func GetLabelSelector

func GetLabelSelector(controller, source string) labels.Selector

func GetLabels

func GetLabels(controller, topic string) map[string]string

func MakePublisher added in v0.10.0

func MakePublisher(args *PublisherArgs) *servingv1.Service

MakePublisher generates (but does not insert into K8s) the Invoker Deployment for Channels.

Types

type PublisherArgs

type PublisherArgs struct {
	Image  string
	Topic  *v1alpha1.Topic
	Labels map[string]string

	TracingConfig string
}

PublisherArgs are the arguments needed to create a Topic publisher. Every field is required.

Jump to

Keyboard shortcuts

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