resources

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2019 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"
	ServiceAccountName = "eventing-broker-filter"
	RoleBindingName    = "eventing-broker-filter"
	ClusterRoleName    = "eventing-broker-filter"
)

Variables

This section is empty.

Functions

func InjectionDisabledLabels

func InjectionDisabledLabels() map[string]string

func InjectionEnabledLabels

func InjectionEnabledLabels() map[string]string

func MakeBroker

func MakeBroker(namespace string) *v1alpha1.Broker

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

func MakeRoleBinding

func MakeRoleBinding(sa *corev1.ServiceAccount) *rbacv1.RoleBinding

MakeRoleBinding creates a RoleBinding object for the Broker's filter service account 'sa' in the Namespace 'ns'.

func MakeServiceAccount

func MakeServiceAccount(namespace string) *corev1.ServiceAccount

MakeServiceAccount creates a ServiceAccount object for the Namespace 'ns'.

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