resources

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2020 License: Apache-2.0 Imports: 10 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 MakeEventType added in v0.11.0

func MakeEventType(args *EventTypeArgs) eventingv1alpha1.EventType

MakeEventType creates the in-memory representation of the EventType for the specified GitHubSource.

func MakeService

func MakeService(args *ServiceArgs) *servingv1alpha1.Service

MakeService generates, but does not create, a Service for the given GitHubSource. func MakeService(source *sourcesv1alpha1.GitHubSource, receiveAdapterImage string) *servingv1alpha1.Service {

Types

type EventTypeArgs added in v0.11.0

type EventTypeArgs struct {
	Src    *v1alpha1.GitHubSource
	Type   string
	Source string
}

EventTypeArgs are the arguments needed to create an EventType for an Couch DB source.

type ServiceArgs added in v0.11.0

type ServiceArgs struct {
	ReceiveAdapterImage string
	Source              *sourcesv1alpha1.GitHubSource
}

Jump to

Keyboard shortcuts

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