util

package
v0.1.67 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 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 SetDefaultResourceRequirements added in v0.0.303

func SetDefaultResourceRequirements(cont *v1.Container)

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