resource

package
v0.0.0-...-cbc6286 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const ArgoEventsEventSourceVersion = "v0.10"

Variables

This section is empty.

Functions

This section is empty.

Types

type ResourceEventSourceExecutor

type ResourceEventSourceExecutor struct {
	Log *logrus.Logger
	// K8RestConfig is kubernetes cluster config
	K8RestConfig *rest.Config
}

ResourceEventSourceExecutor implements Eventing

func (*ResourceEventSourceExecutor) StartEventSource

func (ese *ResourceEventSourceExecutor) StartEventSource(eventSource *gateways.EventSource, eventStream gateways.Eventing_StartEventSourceServer) error

StartEventSource starts an event source

func (*ResourceEventSourceExecutor) ValidateEventSource

ValidateEventSource validates gateway event source

type ResourceFilter

type ResourceFilter struct {
	Prefix      string            `json:"prefix,omitempty"`
	Labels      map[string]string `json:"labels,omitempty"`
	Annotations map[string]string `json:"annotations,omitempty"`
	CreatedBy   metav1.Time       `json:"createdBy,omitempty"`
}

ResourceFilter contains K8 ObjectMeta information to further filter resource event objects

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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