apiserver

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// RefMode produces payloads of ObjectReference
	RefMode = "Ref"
	// ResourceMode produces payloads of ResourceEvent
	ResourceMode = "Resource"
)

Variables

This section is empty.

Functions

func NewAdapter added in v0.10.0

func NewAdapter(ctx context.Context, processed adapter.EnvConfigAccessor, ceClient cloudevents.Client, reporter source.StatsReporter) adapter.Adapter

func NewEnvConfig added in v0.10.0

func NewEnvConfig() adapter.EnvConfigAccessor

Types

type GVRC

type GVRC struct {
	GVR             schema.GroupVersionResource
	Controller      bool
	LabelSelector   string
	OwnerApiVersion string
	OwnerKind       string
}

GVRC is a combination of GroupVersionResource, Controller flag, LabelSelector and OwnerRef

type StringList added in v0.10.0

type StringList []string

func (*StringList) Decode added in v0.10.0

func (s *StringList) Decode(value string) error

Decode splits list of strings separated by '|', overriding the default comma separator which is a valid label selector character.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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