apiserver

package
v0.13.3-mod Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 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

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

func NewEnvConfig

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

type StringList []string

func (*StringList) Decode

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