util

package
v0.0.151 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSensor

func CreateSensor(opts *CreateSensorOptions) *sensorsv1alpha1.Sensor

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
	Generic            map[string]CreateGenericEventSourceOptions
}

type CreateGenericEventSourceOptions

type CreateGenericEventSourceOptions struct {
	URL             string
	Insecure        bool
	TokenSecretName string
}

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
	EventName       string
	EventBusName    string
	TriggerURL      string
	Triggers        []string
	TriggerDestKey  string
}

Jump to

Keyboard shortcuts

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