util

package
v0.0.41 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSensor

func CreateSensor(opts *CreateSensorOptions) *sensorsv1alpha1.Sensor

func CreateTrigger

func CreateTrigger(opts *CreateTriggerOptions) *sensorsv1alpha1.Trigger

Types

type CreateEventDependencyOptions

type CreateEventDependencyOptions struct {
	Name            string
	EventSourceName string
	EventName       string
}

type CreateEventSourceOptions

type CreateEventSourceOptions struct {
	Name               string
	Namespace          string
	ServiceAccountName string
	EventBusName       string
	Resource           map[string]CreateResourceEventSourceOptions
}

type CreateResourceEventSourceOptions

type CreateResourceEventSourceOptions struct {
	Group     string
	Version   string
	Resource  string
	Namespace string
	Selectors []CreateSelectorOptions
}

type CreateSelectorOptions

type CreateSelectorOptions struct {
	Key       string
	Operation string
	Value     string
}

type CreateSensorOptions

type CreateSensorOptions struct {
	Name            string
	Namespace       string
	EventSourceName string
	EventBusName    string
	TriggerURL      string
	Triggers        []string
}

type CreateTriggerOptions

type CreateTriggerOptions struct {
	Conditions     string
	URL            string
	DependencyName string
}

Jump to

Keyboard shortcuts

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