resources

package
v0.15.4 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label to enable knative-eventing in a namespace.
	InjectionLabelKey           = "knative-eventing-injection"
	InjectionEnabledLabelValue  = "enabled"
	InjectionDisabledLabelValue = "disabled"
	InjectedResourceLabel       = "eventing.knative.dev/namespaceInjected"
)
View Source
const (
	DefaultBrokerName = "default"
)

Variables

This section is empty.

Functions

func InjectionDisabledLabels

func InjectionDisabledLabels() map[string]string

func InjectionEnabledLabels

func InjectionEnabledLabels() map[string]string

func MakeBroker

func MakeBroker(ns *corev1.Namespace) *v1beta1.Broker

MakeBroker creates a default Broker object for Namespace 'namespace'.

func OwnedLabels

func OwnedLabels() map[string]string

OwnedLabels generates the labels present on injected broker resources.

Types

This section is empty.

Jump to

Keyboard shortcuts

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