resources

package
v0.0.0-...-7902dd0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateServiceName

func GenerateServiceName(b *v1alpha1.Broker) string

func GetLabels

func GetLabels() map[string]string

func MakeService

func MakeService(args *Args) *servingv1.Service

Types

type Args

type Args struct {
	Broker   *v1alpha1.Broker
	Image    string
	Labels   map[string]string
	Triggers []Trigger
}

func (*Args) AddTrigger

func (a *Args) AddTrigger(t Trigger)

type Trigger

type Trigger struct {
	AttributesFilter v1alpha1.TriggerFilterAttributes `json:"af,omitempty"`
	Subscriber       *apis.URL                        `json:"s,omitempty"`
}

Jump to

Keyboard shortcuts

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