v1alpha1

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:defaulter-gen=TypeMeta +groupName=argoproj.io

Index

Constants

View Source
const (
	// EnvVarKubeConfig is the path to the Kubernetes configuration
	EnvVarKubeConfig = "KUBECONFIG"
	// ENVVarPodName should be set to the name of the pod
	EnvVarPodName = "POD_NAME"
	// ENVVarLeaderElection sets the leader election mode
	EnvVarLeaderElection = "LEADER_ELECTION"
	// EnvImagePullPolicy is the env var to set container's ImagePullPolicy
	EnvImagePullPolicy = "IMAGE_PULL_POLICY"
)

Environment variables

View Source
const (
	// EnvVarEventBusConfig refers to the eventbus config env
	EnvVarEventBusConfig = "EVENTBUS_CONFIG"
	// EnvVarEventBusSubject refers to the eventbus subject env
	EnvVarEventBusSubject = "EVENTBUS_SUBJECT"
	// volumeMount path for eventbus auth file
	EventBusAuthFileMountPath = "/etc/eventbus/auth"
	// Default NATS Streaming messages max age
	STANMaxAge = "72h"
	// Default NATS Streaming max messages per channel
	STANMaxMsgs = uint64(1000000)
	// Default NATS Streaming max subscriptions per channel
	STANMaxSubs = uint64(1000)
	// Default NATS Streaming max total size of messages per channel
	STANMaxBytes = "1GB"
	// Default NATS Streaming max size of message payload
	STANMaxPayload = "1MB"
	// Default NATS Streaming RAFT heartbeat timeout
	STANRaftHeartbeatTimeout = "2s"
	// Default NATS Streaming RAFT election timeout
	STANRaftElectionTimeout = "2s"
	// Default NATS Streaming RAFT lease timeout
	STANRaftLeaseTimeout = "1s"
	// Default NATS Streaming RAFT commit timeout
	STANRaftCommitTimeout = "100ms"

	// Default EventBus name
	DefaultEventBusName = "default"

	// key of auth server secret
	JetStreamServerSecretAuthKey = "auth"
	// key of encryption server secret
	JetStreamServerSecretEncryptionKey = "encryption"
	// key of client auth secret
	JetStreamClientAuthSecretKey = "client-auth"
	// key for server private key
	JetStreamServerPrivateKeyKey = "private-key"
	// key for server TLS certificate
	JetStreamServerCertKey = "cert"
	// key for server CA certificate
	JetStreamServerCACertKey = "ca-cert"
	// key for server private key
	JetStreamClusterPrivateKeyKey = "cluster-private-key"
	// key for server TLS certificate
	JetStreamClusterCertKey = "cluster-cert"
	// key for server CA certificate
	JetStreamClusterCACertKey = "cluster-ca-cert"
	// key of nats-js.conf in the configmap
	JetStreamConfigMapKey = "nats-js"
	// Jetstream Stream name
	JetStreamStreamName = "default"
	// Default JetStream max size of message payload
	JetStreamMaxPayload = "1MB"
)

EventBus related

View Source
const (
	// EnvVarSensorObject refers to the env of based64 encoded sensor spec
	EnvVarSensorObject = "SENSOR_OBJECT"
	// SensorNamespace is used to get namespace where sensors are deployed
	SensorNamespace = "SENSOR_NAMESPACE"
	// LabelSensorName is label for sensor name
	LabelSensorName = "sensor-name"
)

Sensor constants

View Source
const (
	// EnvVarEventSourceObject refers to the env of based64 encoded eventsource spec
	EnvVarEventSourceObject = "EVENTSOURCE_OBJECT"
	// EnvVarEventSource refers to event source name
	EnvVarEventSource = "EVENT_SOURCE"
	// LabelEventSourceName is the label for a event source
	LabelEventSourceName = "eventsource-name"
)

EventSource

View Source
const (
	// LabelOwnerName is the label for resource owner name
	LabelOwnerName = "owner-name"
	// AnnotationResourceSpecHash is the annotation of a K8s resource spec hash
	AnnotationResourceSpecHash = "resource-spec-hash"
	// AnnotationLeaderElection is the annotation for leader election
	AnnotationLeaderElection = "events.argoproj.io/leader-election"
)

Miscellaneous Labels

View Source
const (
	MediaTypeJSON string = "application/json"
	MediaTypeYAML string = "application/yaml"
)

various supported media types

View Source
const (
	EventSourceMetricsPort = 7777
	SensorMetricsPort      = 7777
	ControllerMetricsPort  = 7777
	EventBusMetricsPort    = 7777
	ControllerHealthPort   = 8081
)

Metrics releated

View Source
const DefaultMaxWebhookPayloadSize int64 = 1048576 // 1MB

Variables

View Source
var (
	SecretKeySelectorType    = reflect.TypeOf(&corev1.SecretKeySelector{})
	ConfigMapKeySelectorType = reflect.TypeOf(&corev1.ConfigMapKeySelector{})
)
View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// SchemeGroupVersion is group version used to register these objects.
	SchemeGroupVersion = schema.GroupVersion{Group: "argoproj.io", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme.
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme

	EventBusGroupVersionKind        = SchemeGroupVersion.WithKind("EventBus")
	EventBusGroupVersionResource    = SchemeGroupVersion.WithResource("eventbus")
	EventSourceGroupVersionKind     = SchemeGroupVersion.WithKind("EventSource")
	EventSourceGroupVersionResource = SchemeGroupVersion.WithResource("eventsources")
	SensorGroupVersionKind          = SchemeGroupVersion.WithKind("Sensor")
	SensorGroupVersionResource      = SchemeGroupVersion.WithResource("sensors")
)
View Source
var (
	ErrNilEventSource = fmt.Errorf("event source can't be nil")
)
View Source
var (
	// RecreateStrategyEventSources refers to the list of event source types
	// that need to use Recreate strategy for its Deployment
	RecreateStrategyEventSources = []EventSourceType{
		AMQPEvent,
		CalendarEvent,
		KafkaEvent,
		PubSubEvent,
		AzureEventsHub,
		AzureServiceBus,
		NATSEvent,
		MQTTEvent,
		MinioEvent,
		EmitterEvent,
		NSQEvent,
		PulsarEvent,
		RedisEvent,
		RedisStreamEvent,
		ResourceEvent,
		HDFSEvent,
		FileEvent,
		SFTPEvent,
		GenericEvent,
	}
)

Functions

func GroupKind

func GroupKind(kind string) schema.GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

func ValidateBasicAuth

func ValidateBasicAuth(auth *BasicAuth) error

func ValidateEventSource

func ValidateEventSource(eventSource *EventSource) error

func ValidateSASLConfig

func ValidateSASLConfig(saslConfig *SASLConfig) error

func ValidateTLSConfig

func ValidateTLSConfig(tlsConfig *TLSConfig) error

ValidateTLSConfig validates a TLS configuration.

Types

type AMQPConsumeConfig

type AMQPConsumeConfig struct {
	// ConsumerTag is the identity of the consumer included in every delivery
	// +optional
	ConsumerTag string `json:"consumerTag,omitempty" protobuf:"bytes,1,opt,name=consumerTag"`
	// AutoAck when true, the server will acknowledge deliveries to this consumer prior to writing
	// the delivery to the network
	// +optional
	AutoAck bool `json:"autoAck,omitempty" protobuf:"varint,2,opt,name=autoAck"`
	// Exclusive when true, the server will ensure that this is the sole consumer from this queue
	// +optional
	Exclusive bool `json:"exclusive,omitempty" protobuf:"varint,3,opt,name=exclusive"`
	// NoLocal flag is not supported by RabbitMQ
	// +optional
	NoLocal bool `json:"noLocal,omitempty" protobuf:"varint,4,opt,name=noLocal"`
	// NowWait when true, do not wait for the server to confirm the request and immediately begin deliveries
	// +optional
	NoWait bool `json:"noWait,omitempty" protobuf:"varint,5,opt,name=noWait"`
}

AMQPConsumeConfig holds the configuration to immediately starts delivering queued messages +k8s:openapi-gen=true

func (*AMQPConsumeConfig) DeepCopy

func (in *AMQPConsumeConfig) DeepCopy() *AMQPConsumeConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AMQPConsumeConfig.

func (*AMQPConsumeConfig) DeepCopyInto

func (in *AMQPConsumeConfig) DeepCopyInto(out *AMQPConsumeConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AMQPConsumeConfig) Descriptor

func (*AMQPConsumeConfig) Descriptor() ([]byte, []int)

func (*AMQPConsumeConfig) Marshal

func (m *AMQPConsumeConfig) Marshal() (dAtA []byte, err error)

func (*AMQPConsumeConfig) MarshalTo

func (m *AMQPConsumeConfig) MarshalTo(dAtA []byte) (int, error)

func (*AMQPConsumeConfig) MarshalToSizedBuffer

func (m *AMQPConsumeConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AMQPConsumeConfig) ProtoMessage

func (*AMQPConsumeConfig) ProtoMessage()

func (*AMQPConsumeConfig) Reset

func (m *AMQPConsumeConfig) Reset()

func (*AMQPConsumeConfig) Size

func (m *AMQPConsumeConfig) Size() (n int)

func (*AMQPConsumeConfig) String

func (this *AMQPConsumeConfig) String() string

func (*AMQPConsumeConfig) Unmarshal

func (m *AMQPConsumeConfig) Unmarshal(dAtA []byte) error

func (*AMQPConsumeConfig) XXX_DiscardUnknown

func (m *AMQPConsumeConfig) XXX_DiscardUnknown()

func (*AMQPConsumeConfig) XXX_Marshal

func (m *AMQPConsumeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AMQPConsumeConfig) XXX_Merge

func (m *AMQPConsumeConfig) XXX_Merge(src proto.Message)

func (*AMQPConsumeConfig) XXX_Size

func (m *AMQPConsumeConfig) XXX_Size() int

func (*AMQPConsumeConfig) XXX_Unmarshal

func (m *AMQPConsumeConfig) XXX_Unmarshal(b []byte) error

type AMQPEventSource

type AMQPEventSource struct {

	// URL for rabbitmq service
	URL string `json:"url,omitempty" protobuf:"bytes,1,opt,name=url"`
	// ExchangeName is the exchange name
	// For more information, visit https://www.rabbitmq.com/tutorials/amqp-concepts.html
	ExchangeName string `json:"exchangeName" protobuf:"bytes,2,opt,name=exchangeName"`
	// ExchangeType is rabbitmq exchange type
	ExchangeType string `json:"exchangeType" protobuf:"bytes,3,opt,name=exchangeType"`
	// Routing key for bindings
	RoutingKey string `json:"routingKey" protobuf:"bytes,4,opt,name=routingKey"`
	// Backoff holds parameters applied to connection.
	// +optional
	ConnectionBackoff *Backoff `json:"connectionBackoff,omitempty" protobuf:"bytes,5,opt,name=connectionBackoff"`
	// JSONBody specifies that all event body payload coming from this
	// source will be JSON
	// +optional
	JSONBody bool `json:"jsonBody,omitempty" protobuf:"varint,6,opt,name=jsonBody"`
	// TLS configuration for the amqp client.
	// +optional
	TLS *TLSConfig `json:"tls,omitempty" protobuf:"bytes,7,opt,name=tls"`
	// Metadata holds the user defined metadata which will passed along the event payload.
	// +optional
	Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,8,rep,name=metadata"`
	// ExchangeDeclare holds the configuration for the exchange on the server
	// For more information, visit https://pkg.go.dev/github.com/rabbitmq/amqp091-go#Channel.ExchangeDeclare
	// +optional
	ExchangeDeclare *AMQPExchangeDeclareConfig `json:"exchangeDeclare,omitempty" protobuf:"bytes,9,opt,name=exchangeDeclare"`
	// QueueDeclare holds the configuration of a queue to hold messages and deliver to consumers.
	// Declaring creates a queue if it doesn't already exist, or ensures that an existing queue matches
	// the same parameters
	// For more information, visit https://pkg.go.dev/github.com/rabbitmq/amqp091-go#Channel.QueueDeclare
	// +optional
	QueueDeclare *AMQPQueueDeclareConfig `json:"queueDeclare,omitempty" protobuf:"bytes,10,opt,name=queueDeclare"`
	// QueueBind holds the configuration that binds an exchange to a queue so that publishings to the
	// exchange will be routed to the queue when the publishing routing key matches the binding routing key
	// For more information, visit https://pkg.go.dev/github.com/rabbitmq/amqp091-go#Channel.QueueBind
	// +optional
	QueueBind *AMQPQueueBindConfig `json:"queueBind,omitempty" protobuf:"bytes,11,opt,name=queueBind"`
	// Consume holds the configuration to immediately starts delivering queued messages
	// For more information, visit https://pkg.go.dev/github.com/rabbitmq/amqp091-go#Channel.Consume
	// +optional
	Consume *AMQPConsumeConfig `json:"consume,omitempty" protobuf:"bytes,12,opt,name=consume"`
	// Auth hosts secret selectors for username and password
	// +optional
	Auth *BasicAuth `json:"auth,omitempty" protobuf:"bytes,13,opt,name=auth"`
	// URLSecret is secret reference for rabbitmq service URL
	URLSecret *corev1.SecretKeySelector `json:"urlSecret,omitempty" protobuf:"bytes,14,opt,name=urlSecret"`
	// Filter
	// +optional
	Filter *EventSourceFilter `json:"filter,omitempty" protobuf:"bytes,15,opt,name=filter"`
}

AMQPEventSource refers to an event-source for AMQP stream events

func (*AMQPEventSource) DeepCopy

func (in *AMQPEventSource) DeepCopy() *AMQPEventSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AMQPEventSource.

func (*AMQPEventSource) DeepCopyInto

func (in *AMQPEventSource) DeepCopyInto(out *AMQPEventSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AMQPEventSource) Descriptor

func (*AMQPEventSource) Descriptor() ([]byte, []int)

func (*AMQPEventSource) Marshal

func (m *AMQPEventSource) Marshal() (dAtA []byte, err error)

func (*AMQPEventSource) MarshalTo

func (m *AMQPEventSource) MarshalTo(dAtA []byte) (int, error)

func (*AMQPEventSource) MarshalToSizedBuffer

func (m *AMQPEventSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AMQPEventSource) ProtoMessage

func (*AMQPEventSource) ProtoMessage()

func (*AMQPEventSource) Reset

func (m *AMQPEventSource) Reset()

func (*AMQPEventSource) Size

func (m *AMQPEventSource) Size() (n int)

func (*AMQPEventSource) String

func (this *AMQPEventSource) String() string

func (*AMQPEventSource) Unmarshal

func (m *AMQPEventSource) Unmarshal(dAtA []byte) error

func (*AMQPEventSource) XXX_DiscardUnknown

func (m *AMQPEventSource) XXX_DiscardUnknown()

func (*AMQPEventSource) XXX_Marshal

func (m *AMQPEventSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AMQPEventSource) XXX_Merge

func (m *AMQPEventSource) XXX_Merge(src proto.Message)

func (*AMQPEventSource) XXX_Size

func (m *AMQPEventSource) XXX_Size() int

func (*AMQPEventSource) XXX_Unmarshal

func (m *AMQPEventSource) XXX_Unmarshal(b []byte) error

type AMQPExchangeDeclareConfig

type AMQPExchangeDeclareConfig struct {
	// Durable keeps the exchange also after the server restarts
	// +optional
	Durable bool `json:"durable,omitempty" protobuf:"varint,1,opt,name=durable"`
	// AutoDelete removes the exchange when no bindings are active
	// +optional
	AutoDelete bool `json:"autoDelete,omitempty" protobuf:"varint,2,opt,name=autoDelete"`
	// Internal when true does not accept publishings
	// +optional
	Internal bool `json:"internal,omitempty" protobuf:"varint,3,opt,name=internal"`
	// NowWait when true does not wait for a confirmation from the server
	// +optional
	NoWait bool `json:"noWait,omitempty" protobuf:"varint,4,opt,name=noWait"`
}

AMQPExchangeDeclareConfig holds the configuration for the exchange on the server +k8s:openapi-gen=true

func (*AMQPExchangeDeclareConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AMQPExchangeDeclareConfig.

func (*AMQPExchangeDeclareConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AMQPExchangeDeclareConfig) Descriptor

func (*AMQPExchangeDeclareConfig) Descriptor() ([]byte, []int)

func (*AMQPExchangeDeclareConfig) Marshal

func (m *AMQPExchangeDeclareConfig) Marshal() (dAtA []byte, err error)

func (*AMQPExchangeDeclareConfig) MarshalTo

func (m *AMQPExchangeDeclareConfig) MarshalTo(dAtA []byte) (int, error)

func (*AMQPExchangeDeclareConfig) MarshalToSizedBuffer

func (m *AMQPExchangeDeclareConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AMQPExchangeDeclareConfig) ProtoMessage

func (*AMQPExchangeDeclareConfig) ProtoMessage()

func (*AMQPExchangeDeclareConfig) Reset

func (m *AMQPExchangeDeclareConfig) Reset()

func (*AMQPExchangeDeclareConfig) Size

func (m *AMQPExchangeDeclareConfig) Size() (n int)

func (*AMQPExchangeDeclareConfig) String

func (this *AMQPExchangeDeclareConfig) String() string

func (*AMQPExchangeDeclareConfig) Unmarshal

func (m *AMQPExchangeDeclareConfig) Unmarshal(dAtA []byte) error

func (*AMQPExchangeDeclareConfig) XXX_DiscardUnknown

func (m *AMQPExchangeDeclareConfig) XXX_DiscardUnknown()

func (*AMQPExchangeDeclareConfig) XXX_Marshal

func (m *AMQPExchangeDeclareConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AMQPExchangeDeclareConfig) XXX_Merge

func (m *AMQPExchangeDeclareConfig) XXX_Merge(src proto.Message)

func (*AMQPExchangeDeclareConfig) XXX_Size

func (m *AMQPExchangeDeclareConfig) XXX_Size() int

func (*AMQPExchangeDeclareConfig) XXX_Unmarshal

func (m *AMQPExchangeDeclareConfig) XXX_Unmarshal(b []byte) error

type AMQPQueueBindConfig

type AMQPQueueBindConfig struct {
	// NowWait false and the queue could not be bound, the channel will be closed with an error
	// +optional
	NoWait bool `json:"noWait,omitempty" protobuf:"varint,1,opt,name=noWait"`
}

AMQPQueueBindConfig holds the configuration that binds an exchange to a queue so that publishings to the exchange will be routed to the queue when the publishing routing key matches the binding routing key +k8s:openapi-gen=true

func (*AMQPQueueBindConfig) DeepCopy

func (in *AMQPQueueBindConfig) DeepCopy() *AMQPQueueBindConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AMQPQueueBindConfig.

func (*AMQPQueueBindConfig) DeepCopyInto

func (in *AMQPQueueBindConfig) DeepCopyInto(out *AMQPQueueBindConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AMQPQueueBindConfig) Descriptor

func (*AMQPQueueBindConfig) Descriptor() ([]byte, []int)

func (*AMQPQueueBindConfig) Marshal

func (m *AMQPQueueBindConfig) Marshal() (dAtA []byte, err error)

func (*AMQPQueueBindConfig) MarshalTo

func (m *AMQPQueueBindConfig) MarshalTo(dAtA []byte) (int, error)

func (*AMQPQueueBindConfig) MarshalToSizedBuffer

func (m *AMQPQueueBindConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AMQPQueueBindConfig) ProtoMessage

func (*AMQPQueueBindConfig) ProtoMessage()

func (*AMQPQueueBindConfig) Reset

func (m *AMQPQueueBindConfig) Reset()

func (*AMQPQueueBindConfig) Size

func (m *AMQPQueueBindConfig) Size() (n int)

func (*AMQPQueueBindConfig) String

func (this *AMQPQueueBindConfig) String() string

func (*AMQPQueueBindConfig) Unmarshal

func (m *AMQPQueueBindConfig) Unmarshal(dAtA []byte) error

func (*AMQPQueueBindConfig) XXX_DiscardUnknown

func (m *AMQPQueueBindConfig) XXX_DiscardUnknown()

func (*AMQPQueueBindConfig) XXX_Marshal

func (m *AMQPQueueBindConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AMQPQueueBindConfig) XXX_Merge

func (m *AMQPQueueBindConfig) XXX_Merge(src proto.Message)

func (*AMQPQueueBindConfig) XXX_Size

func (m *AMQPQueueBindConfig) XXX_Size() int

func (*AMQPQueueBindConfig) XXX_Unmarshal

func (m *AMQPQueueBindConfig) XXX_Unmarshal(b []byte) error

type AMQPQueueDeclareConfig

type AMQPQueueDeclareConfig struct {
	// Name of the queue. If empty the server auto-generates a unique name for this queue
	// +optional
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	// Durable keeps the queue also after the server restarts
	// +optional
	Durable bool `json:"durable,omitempty" protobuf:"varint,2,opt,name=durable"`
	// AutoDelete removes the queue when no consumers are active
	// +optional
	AutoDelete bool `json:"autoDelete,omitempty" protobuf:"varint,3,opt,name=autoDelete"`
	// Exclusive sets the queues to be accessible only by the connection that declares them and will be
	// deleted wgen the connection closes
	// +optional
	Exclusive bool `json:"exclusive,omitempty" protobuf:"varint,4,opt,name=exclusive"`
	// NowWait when true, the queue assumes to be declared on the server
	// +optional
	NoWait bool `json:"noWait,omitempty" protobuf:"varint,5,opt,name=noWait"`
	// Arguments of a queue (also known as "x-arguments") used for optional features and plugins
	// +optional
	Arguments string `json:"arguments,omitempty" protobuf:"bytes,6,opt,name=arguments"`
}

AMQPQueueDeclareConfig holds the configuration of a queue to hold messages and deliver to consumers. Declaring creates a queue if it doesn't already exist, or ensures that an existing queue matches the same parameters +k8s:openapi-gen=true

func (*AMQPQueueDeclareConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AMQPQueueDeclareConfig.

func (*AMQPQueueDeclareConfig) DeepCopyInto

func (in *AMQPQueueDeclareConfig) DeepCopyInto(out *AMQPQueueDeclareConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AMQPQueueDeclareConfig) Descriptor

func (*AMQPQueueDeclareConfig) Descriptor() ([]byte, []int)

func (*AMQPQueueDeclareConfig) Marshal

func (m *AMQPQueueDeclareConfig) Marshal() (dAtA []byte, err error)

func (*AMQPQueueDeclareConfig) MarshalTo

func (m *AMQPQueueDeclareConfig) MarshalTo(dAtA []byte) (int, error)

func (*AMQPQueueDeclareConfig) MarshalToSizedBuffer

func (m *AMQPQueueDeclareConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AMQPQueueDeclareConfig) ProtoMessage

func (*AMQPQueueDeclareConfig) ProtoMessage()

func (*AMQPQueueDeclareConfig) Reset

func (m *AMQPQueueDeclareConfig) Reset()

func (*AMQPQueueDeclareConfig) Size

func (m *AMQPQueueDeclareConfig) Size() (n int)

func (*AMQPQueueDeclareConfig) String

func (this *AMQPQueueDeclareConfig) String() string

func (*AMQPQueueDeclareConfig) Unmarshal

func (m *AMQPQueueDeclareConfig) Unmarshal(dAtA []byte) error

func (*AMQPQueueDeclareConfig) XXX_DiscardUnknown

func (m *AMQPQueueDeclareConfig) XXX_DiscardUnknown()

func (*AMQPQueueDeclareConfig) XXX_Marshal

func (m *AMQPQueueDeclareConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AMQPQueueDeclareConfig) XXX_Merge

func (m *AMQPQueueDeclareConfig) XXX_Merge(src proto.Message)

func (*AMQPQueueDeclareConfig) XXX_Size

func (m *AMQPQueueDeclareConfig) XXX_Size() int

func (*AMQPQueueDeclareConfig) XXX_Unmarshal

func (m *AMQPQueueDeclareConfig) XXX_Unmarshal(b []byte) error

type AWSLambdaTrigger

type AWSLambdaTrigger struct {
	// FunctionName refers to the name of the function to invoke.
	FunctionName string `json:"functionName" protobuf:"bytes,1,opt,name=functionName"`
	// AccessKey refers K8s secret containing aws access key
	// +optional
	AccessKey *corev1.SecretKeySelector `json:"accessKey,omitempty" protobuf:"bytes,2,opt,name=accessKey"`
	// SecretKey refers K8s secret containing aws secret key
	// +optional
	SecretKey *corev1.SecretKeySelector `json:"secretKey,omitempty" protobuf:"bytes,3,opt,name=secretKey"`
	// Region is AWS region
	Region string `json:"region" protobuf:"bytes,4,opt,name=region"`
	// Payload is the list of key-value extracted from an event payload to construct the request payload.
	Payload []TriggerParameter `json:"payload" protobuf:"bytes,5,rep,name=payload"`
	// Parameters is the list of key-value extracted from event's payload that are applied to
	// the trigger resource.
	// +optional
	Parameters []TriggerParameter `json:"parameters,omitempty" protobuf:"bytes,6,rep,name=parameters"`
	// Choose from the following options.
	//
	//    * RequestResponse (default) - Invoke the function synchronously. Keep
	//    the connection open until the function returns a response or times out.
	//    The API response includes the function response and additional data.
	//
	//    * Event - Invoke the function asynchronously. Send events that fail multiple
	//    times to the function's dead-letter queue (if it's configured). The API
	//    response only includes a status code.
	//
	//    * DryRun - Validate parameter values and verify that the user or role
	//    has permission to invoke the function.
	// +optional
	InvocationType *string `json:"invocationType,omitempty" protobuf:"bytes,7,opt,name=invocationType"`
	// RoleARN is the Amazon Resource Name (ARN) of the role to assume.
	// +optional
	RoleARN string `json:"roleARN,omitempty" protobuf:"bytes,8,opt,name=roleARN"`
}

AWSLambdaTrigger refers to specification of the trigger to invoke an AWS Lambda function

func (*AWSLambdaTrigger) DeepCopy

func (in *AWSLambdaTrigger) DeepCopy() *AWSLambdaTrigger

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSLambdaTrigger.

func (*AWSLambdaTrigger) DeepCopyInto

func (in *AWSLambdaTrigger) DeepCopyInto(out *AWSLambdaTrigger)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AWSLambdaTrigger) Descriptor

func (*AWSLambdaTrigger) Descriptor() ([]byte, []int)

func (*AWSLambdaTrigger) Marshal

func (m *AWSLambdaTrigger) Marshal() (dAtA []byte, err error)

func (*AWSLambdaTrigger) MarshalTo

func (m *AWSLambdaTrigger) MarshalTo(dAtA []byte) (int, error)

func (*AWSLambdaTrigger) MarshalToSizedBuffer

func (m *AWSLambdaTrigger) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AWSLambdaTrigger) ProtoMessage

func (*AWSLambdaTrigger) ProtoMessage()

func (*AWSLambdaTrigger) Reset

func (m *AWSLambdaTrigger) Reset()

func (*AWSLambdaTrigger) Size

func (m *AWSLambdaTrigger) Size() (n int)

func (*AWSLambdaTrigger) String

func (this *AWSLambdaTrigger) String() string

func (*AWSLambdaTrigger) Unmarshal

func (m *AWSLambdaTrigger) Unmarshal(dAtA []byte) error

func (*AWSLambdaTrigger) XXX_DiscardUnknown

func (m *AWSLambdaTrigger) XXX_DiscardUnknown()

func (*AWSLambdaTrigger) XXX_Marshal

func (m *AWSLambdaTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AWSLambdaTrigger) XXX_Merge

func (m *AWSLambdaTrigger) XXX_Merge(src proto.Message)

func (*AWSLambdaTrigger) XXX_Size

func (m *AWSLambdaTrigger) XXX_Size() int

func (*AWSLambdaTrigger) XXX_Unmarshal

func (m *AWSLambdaTrigger) XXX_Unmarshal(b []byte) error

type Amount

type Amount struct {
	Value []byte `json:"value" protobuf:"bytes,1,opt,name=value"`
}

Amount represent a numeric amount.

func NewAmount

func NewAmount(s string) Amount

func (*Amount) DeepCopy

func (in *Amount) DeepCopy() *Amount

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Amount.

func (*Amount) DeepCopyInto

func (in *Amount) DeepCopyInto(out *Amount)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Amount) Descriptor

func (*Amount) Descriptor() ([]byte, []int)

func (*Amount) Float64

func (n *Amount) Float64() (float64, error)

func (*Amount) Marshal

func (m *Amount) Marshal() (dAtA []byte, err error)

func (Amount) MarshalJSON

func (n Amount) MarshalJSON() ([]byte, error)

func (*Amount) MarshalTo

func (m *Amount) MarshalTo(dAtA []byte) (int, error)

func (*Amount) MarshalToSizedBuffer

func (m *Amount) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (Amount) OpenAPISchemaFormat

func (n Amount) OpenAPISchemaFormat() string

func (Amount) OpenAPISchemaType

func (n Amount) OpenAPISchemaType() []string

func (*Amount) ProtoMessage

func (*Amount) ProtoMessage()

func (*Amount) Reset

func (m *Amount) Reset()

func (*Amount) Size

func (m *Amount) Size() (n int)

func (*Amount) String

func (this *Amount) String() string

func (*Amount) Unmarshal

func (m *Amount) Unmarshal(dAtA []byte) error

func (*Amount) UnmarshalJSON

func (a *Amount) UnmarshalJSON(value []byte) error

func (*Amount) XXX_DiscardUnknown

func (m *Amount) XXX_DiscardUnknown()

func (*Amount) XXX_Marshal

func (m *Amount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Amount) XXX_Merge

func (m *Amount) XXX_Merge(src proto.Message)

func (*Amount) XXX_Size

func (m *Amount) XXX_Size() int

func (*Amount) XXX_Unmarshal

func (m *Amount) XXX_Unmarshal(b []byte) error

type ArgoWorkflowOperation

type ArgoWorkflowOperation string

ArgoWorkflowOperation refers to the type of the operation performed on the Argo Workflow

const (
	Submit     ArgoWorkflowOperation = "submit"      // submit a workflow
	SubmitFrom ArgoWorkflowOperation = "submit-from" // submit from existing resource
	Suspend    ArgoWorkflowOperation = "suspend"     // suspends a workflow
	Resubmit   ArgoWorkflowOperation = "resubmit"    // resubmit a workflow
	Retry      ArgoWorkflowOperation = "retry"       // retry a workflow
	Resume     ArgoWorkflowOperation = "resume"      // resume a workflow
	Terminate  ArgoWorkflowOperation = "terminate"   // terminate a workflow
	Stop       ArgoWorkflowOperation = "stop"        // stop a workflow
)

possible values for ArgoWorkflowOperation

type ArgoWorkflowTrigger

type ArgoWorkflowTrigger struct {
	// Source of the K8s resource file(s)
	Source *ArtifactLocation `json:"source,omitempty" protobuf:"bytes,1,opt,name=source"`
	// Operation refers to the type of operation performed on the argo workflow resource.
	// Default value is Submit.
	// +optional
	Operation ArgoWorkflowOperation `json:"operation,omitempty" protobuf:"bytes,2,opt,name=operation,casttype=ArgoWorkflowOperation"`
	// Parameters is the list of parameters to pass to resolved Argo Workflow object
	Parameters []TriggerParameter `json:"parameters,omitempty" protobuf:"bytes,3,rep,name=parameters"`
	// Args is the list of arguments to pass to the argo CLI
	Args []string `json:"args,omitempty" protobuf:"bytes,4,rep,name=args"`
}

ArgoWorkflowTrigger is the trigger for the Argo Workflow

func (*ArgoWorkflowTrigger) DeepCopy

func (in *ArgoWorkflowTrigger) DeepCopy() *ArgoWorkflowTrigger

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoWorkflowTrigger.

func (*ArgoWorkflowTrigger) DeepCopyInto

func (in *ArgoWorkflowTrigger) DeepCopyInto(out *ArgoWorkflowTrigger)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArgoWorkflowTrigger) Descriptor

func (*ArgoWorkflowTrigger) Descriptor() ([]byte, []int)

func (*ArgoWorkflowTrigger) Marshal

func (m *ArgoWorkflowTrigger) Marshal() (dAtA []byte, err error)

func (*ArgoWorkflowTrigger) MarshalTo

func (m *ArgoWorkflowTrigger) MarshalTo(dAtA []byte) (int, error)

func (*ArgoWorkflowTrigger) MarshalToSizedBuffer

func (m *ArgoWorkflowTrigger) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ArgoWorkflowTrigger) ProtoMessage

func (*ArgoWorkflowTrigger) ProtoMessage()

func (*ArgoWorkflowTrigger) Reset

func (m *ArgoWorkflowTrigger) Reset()

func (*ArgoWorkflowTrigger) Size

func (m *ArgoWorkflowTrigger) Size() (n int)

func (*ArgoWorkflowTrigger) String

func (this *ArgoWorkflowTrigger) String() string

func (*ArgoWorkflowTrigger) Unmarshal

func (m *ArgoWorkflowTrigger) Unmarshal(dAtA []byte) error

func (*ArgoWorkflowTrigger) XXX_DiscardUnknown

func (m *ArgoWorkflowTrigger) XXX_DiscardUnknown()

func (*ArgoWorkflowTrigger) XXX_Marshal

func (m *ArgoWorkflowTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArgoWorkflowTrigger) XXX_Merge

func (m *ArgoWorkflowTrigger) XXX_Merge(src proto.Message)

func (*ArgoWorkflowTrigger) XXX_Size

func (m *ArgoWorkflowTrigger) XXX_Size() int

func (*ArgoWorkflowTrigger) XXX_Unmarshal

func (m *ArgoWorkflowTrigger) XXX_Unmarshal(b []byte) error

type ArtifactLocation

type ArtifactLocation struct {
	// S3 compliant artifact
	S3 *S3Artifact `json:"s3,omitempty" protobuf:"bytes,1,opt,name=s3"`
	// Inline artifact is embedded in sensor spec as a string
	Inline *string `json:"inline,omitempty" protobuf:"bytes,2,opt,name=inline"`
	// File artifact is artifact stored in a file
	File *FileArtifact `json:"file,omitempty" protobuf:"bytes,3,opt,name=file"`
	// URL to fetch the artifact from
	URL *URLArtifact `json:"url,omitempty" protobuf:"bytes,4,opt,name=url"`
	// Configmap that stores the artifact
	Configmap *corev1.ConfigMapKeySelector `json:"configmap,omitempty" protobuf:"bytes,5,opt,name=configmap"`
	// Git repository hosting the artifact
	Git *GitArtifact `json:"git,omitempty" protobuf:"bytes,6,opt,name=git"`
	// Resource is generic template for K8s resource
	Resource *K8SResource `json:"resource,omitempty" protobuf:"bytes,7,opt,name=resource"`
}

ArtifactLocation describes the source location for an external artifact

func (*ArtifactLocation) DeepCopy

func (in *ArtifactLocation) DeepCopy() *ArtifactLocation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactLocation.

func (*ArtifactLocation) DeepCopyInto

func (in *ArtifactLocation) DeepCopyInto(out *ArtifactLocation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArtifactLocation) Descriptor

func (*ArtifactLocation) Descriptor() ([]byte, []int)

func (*ArtifactLocation) HasLocation

func (a *ArtifactLocation) HasLocation() bool

HasLocation whether or not an artifact has a location defined

func (*ArtifactLocation) Marshal

func (m *ArtifactLocation) Marshal() (dAtA []byte, err error)

func (*ArtifactLocation) MarshalTo

func (m *ArtifactLocation) MarshalTo(dAtA []byte) (int, error)

func (*ArtifactLocation) MarshalToSizedBuffer

func (m *ArtifactLocation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ArtifactLocation) ProtoMessage

func (*ArtifactLocation) ProtoMessage()

func (*ArtifactLocation) Reset

func (m *ArtifactLocation) Reset()

func (*ArtifactLocation) Size

func (m *ArtifactLocation) Size() (n int)

func (*ArtifactLocation) String

func (this *ArtifactLocation) String() string

func (*ArtifactLocation) Unmarshal

func (m *ArtifactLocation) Unmarshal(dAtA []byte) error

func (*ArtifactLocation) XXX_DiscardUnknown

func (m *ArtifactLocation) XXX_DiscardUnknown()

func (*ArtifactLocation) XXX_Marshal

func (m *ArtifactLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArtifactLocation) XXX_Merge

func (m *ArtifactLocation) XXX_Merge(src proto.Message)

func (*ArtifactLocation) XXX_Size

func (m *ArtifactLocation) XXX_Size() int

func (*ArtifactLocation) XXX_Unmarshal

func (m *ArtifactLocation) XXX_Unmarshal(b []byte) error

type AuthStrategy

type AuthStrategy string

AuthStrategy is the auth strategy of native nats installaion

var (
	AuthStrategyNone  AuthStrategy = "none"
	AuthStrategyToken AuthStrategy = "token"
	AuthStrategyBasic AuthStrategy = "basic"
)

possible auth strategies

type AzureEventHubsTrigger

type AzureEventHubsTrigger struct {
	// FQDN refers to the namespace dns of Azure Event Hubs to be used i.e. <namespace>.servicebus.windows.net
	FQDN string `json:"fqdn" protobuf:"bytes,1,opt,name=fqdn"`
	// HubName refers to the Azure Event Hub to send events to
	HubName string `json:"hubName" protobuf:"bytes,2,opt,name=hubName"`
	// SharedAccessKeyName refers to the name of the Shared Access Key
	SharedAccessKeyName *corev1.SecretKeySelector `json:"sharedAccessKeyName" protobuf:"bytes,3,opt,name=sharedAccessKeyName"`
	// SharedAccessKey refers to a K8s secret containing the primary key for the
	SharedAccessKey *corev1.SecretKeySelector `json:"sharedAccessKey,omitempty" protobuf:"bytes,4,opt,name=sharedAccessKey"`
	// Payload is the list of key-value extracted from an event payload to construct the request payload.
	Payload []TriggerParameter `json:"payload" protobuf:"bytes,5,rep,name=payload"`
	// Parameters is the list of key-value extracted from event's payload that are applied to
	// the trigger resource.
	// +optional
	Parameters []TriggerParameter `json:"parameters,omitempty" protobuf:"bytes,6,rep,name=parameters"`
}

AzureEventHubsTrigger refers to specification of the Azure Event Hubs Trigger

func (*AzureEventHubsTrigger) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureEventHubsTrigger.

func (*AzureEventHubsTrigger) DeepCopyInto

func (in *AzureEventHubsTrigger) DeepCopyInto(out *AzureEventHubsTrigger)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AzureEventHubsTrigger) Descriptor

func (*AzureEventHubsTrigger) Descriptor() ([]byte, []int)

func (*AzureEventHubsTrigger) Marshal

func (m *AzureEventHubsTrigger) Marshal() (dAtA []byte, err error)

func (*AzureEventHubsTrigger) MarshalTo

func (m *AzureEventHubsTrigger) MarshalTo(dAtA []byte) (int, error)

func (*AzureEventHubsTrigger) MarshalToSizedBuffer

func (m *AzureEventHubsTrigger) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AzureEventHubsTrigger) ProtoMessage

func (*AzureEventHubsTrigger) ProtoMessage()

func (*AzureEventHubsTrigger) Reset

func (m *AzureEventHubsTrigger) Reset()

func (*AzureEventHubsTrigger) Size

func (m *AzureEventHubsTrigger) Size() (n int)

func (*AzureEventHubsTrigger) String

func (this *AzureEventHubsTrigger) String() string

func (*AzureEventHubsTrigger) Unmarshal

func (m *AzureEventHubsTrigger) Unmarshal(dAtA []byte) error

func (*AzureEventHubsTrigger) XXX_DiscardUnknown

func (m *AzureEventHubsTrigger) XXX_DiscardUnknown()

func (*AzureEventHubsTrigger) XXX_Marshal

func (m *AzureEventHubsTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AzureEventHubsTrigger) XXX_Merge

func (m *AzureEventHubsTrigger) XXX_Merge(src proto.Message)

func (*AzureEventHubsTrigger) XXX_Size

func (m *AzureEventHubsTrigger) XXX_Size() int

func (*AzureEventHubsTrigger) XXX_Unmarshal

func (m *AzureEventHubsTrigger) XXX_Unmarshal(b []byte) error

type AzureEventsHubEventSource

type AzureEventsHubEventSource struct {
	// FQDN of the EventHubs namespace you created
	// More info at https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-get-connection-string
	FQDN string `json:"fqdn" protobuf:"bytes,1,opt,name=fqdn"`
	// SharedAccessKeyName is the name you chose for your application's SAS keys
	SharedAccessKeyName *corev1.SecretKeySelector `json:"sharedAccessKeyName,omitempty" protobuf:"bytes,2,opt,name=sharedAccessKeyName"`
	// SharedAccessKey is the generated value of the key
	SharedAccessKey *corev1.SecretKeySelector `json:"sharedAccessKey,omitempty" protobuf:"bytes,3,opt,name=sharedAccessKey"`
	// Event Hub path/name
	HubName string `json:"hubName" protobuf:"bytes,4,opt,name=hubName"`
	// Metadata holds the user defined metadata which will passed along the event payload.
	// +optional
	Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,5,rep,name=metadata"`
	// Filter
	// +optional
	Filter *EventSourceFilter `json:"filter,omitempty" protobuf:"bytes,6,opt,name=filter"`
}

AzureEventsHubEventSource describes the event source for azure events hub More info at https://docs.microsoft.com/en-us/azure/event-hubs/

func (*AzureEventsHubEventSource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureEventsHubEventSource.

func (*AzureEventsHubEventSource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AzureEventsHubEventSource) Descriptor

func (*AzureEventsHubEventSource) Descriptor() ([]byte, []int)

func (*AzureEventsHubEventSource) Marshal

func (m *AzureEventsHubEventSource) Marshal() (dAtA []byte, err error)

func (*AzureEventsHubEventSource) MarshalTo

func (m *AzureEventsHubEventSource) MarshalTo(dAtA []byte) (int, error)

func (*AzureEventsHubEventSource) MarshalToSizedBuffer

func (m *AzureEventsHubEventSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AzureEventsHubEventSource) ProtoMessage

func (*AzureEventsHubEventSource) ProtoMessage()

func (*AzureEventsHubEventSource) Reset

func (m *AzureEventsHubEventSource) Reset()

func (*AzureEventsHubEventSource) Size

func (m *AzureEventsHubEventSource) Size() (n int)

func (*AzureEventsHubEventSource) String

func (this *AzureEventsHubEventSource) String() string

func (*AzureEventsHubEventSource) Unmarshal

func (m *AzureEventsHubEventSource) Unmarshal(dAtA []byte) error

func (*AzureEventsHubEventSource) XXX_DiscardUnknown

func (m *AzureEventsHubEventSource) XXX_DiscardUnknown()

func (*AzureEventsHubEventSource) XXX_Marshal

func (m *AzureEventsHubEventSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AzureEventsHubEventSource) XXX_Merge

func (m *AzureEventsHubEventSource) XXX_Merge(src proto.Message)

func (*AzureEventsHubEventSource) XXX_Size

func (m *AzureEventsHubEventSource) XXX_Size() int

func (*AzureEventsHubEventSource) XXX_Unmarshal

func (m *AzureEventsHubEventSource) XXX_Unmarshal(b []byte) error

type AzureQueueStorageEventSource

type AzureQueueStorageEventSource struct {
	// StorageAccountName is the name of the storage account where the queue is. This field is necessary to
	// access via Azure AD (managed identity) and it is ignored if ConnectionString is set.
	// +optional
	StorageAccountName string `json:"storageAccountName,omitempty" protobuf:"bytes,1,opt,name=storageAccountName"`
	// ConnectionString is the connection string to access Azure Queue Storage. If this fields is not provided
	// it will try to access via Azure AD with StorageAccountName.
	// +optional
	ConnectionString *corev1.SecretKeySelector `json:"connectionString,omitempty" protobuf:"bytes,2,opt,name=connectionString"`
	// QueueName is the name of the queue
	QueueName string `json:"queueName" protobuf:"bytes,3,opt,name=queueName"`
	// JSONBody specifies that all event body payload coming from this
	// source will be JSON
	// +optional
	JSONBody bool `json:"jsonBody,omitempty" protobuf:"varint,4,opt,name=jsonBody"`
	// DLQ specifies if a dead-letter queue is configured for messages that can't be processed successfully.
	// If set to true, messages with invalid payload won't be acknowledged to allow to forward them farther to the dead-letter queue.
	// The default value is false.
	// +optional
	DLQ bool `json:"dlq,omitempty" protobuf:"varint,5,opt,name=dlq"`
	// Metadata holds the user defined metadata which will passed along the event payload.
	// +optional
	Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,6,rep,name=metadata"`
	// Filter
	// +optional
	Filter *EventSourceFilter `json:"filter,omitempty" protobuf:"bytes,7,opt,name=filter"`
	// DecodeMessage specifies if all the messages should be base64 decoded.
	// If set to true the decoding is done before the evaluation of JSONBody
	// +optional
	DecodeMessage bool `json:"decodeMessage,omitempty" protobuf:"bytes,8,opt,name=decodeMessage"`
	// WaitTimeInSeconds is the duration (in seconds) for which the event source waits between empty results from the queue.
	// The default value is 3 seconds.
	// +optional
	WaitTimeInSeconds *int32 `json:"waitTimeInSeconds,omitempty" protobuf:"varint,9,opt,name=waitTimeInSeconds"`
}

AzureQueueStorageEventSource describes the event source for azure queue storage more info at https://learn.microsoft.com/en-us/azure/storage/queues/

func (*AzureQueueStorageEventSource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureQueueStorageEventSource.

func (*AzureQueueStorageEventSource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AzureQueueStorageEventSource) Descriptor

func (*AzureQueueStorageEventSource) Descriptor() ([]byte, []int)

func (*AzureQueueStorageEventSource) Marshal

func (m *AzureQueueStorageEventSource) Marshal() (dAtA []byte, err error)

func (*AzureQueueStorageEventSource) MarshalTo

func (m *AzureQueueStorageEventSource) MarshalTo(dAtA []byte) (int, error)

func (*AzureQueueStorageEventSource) MarshalToSizedBuffer

func (m *AzureQueueStorageEventSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AzureQueueStorageEventSource) ProtoMessage

func (*AzureQueueStorageEventSource) ProtoMessage()

func (*AzureQueueStorageEventSource) Reset

func (m *AzureQueueStorageEventSource) Reset()

func (*AzureQueueStorageEventSource) Size

func (m *AzureQueueStorageEventSource) Size() (n int)

func (*AzureQueueStorageEventSource) String

func (this *AzureQueueStorageEventSource) String() string

func (*AzureQueueStorageEventSource) Unmarshal

func (m *AzureQueueStorageEventSource) Unmarshal(dAtA []byte) error

func (*AzureQueueStorageEventSource) XXX_DiscardUnknown

func (m *AzureQueueStorageEventSource) XXX_DiscardUnknown()

func (*AzureQueueStorageEventSource) XXX_Marshal

func (m *AzureQueueStorageEventSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AzureQueueStorageEventSource) XXX_Merge

func (m *AzureQueueStorageEventSource) XXX_Merge(src proto.Message)

func (*AzureQueueStorageEventSource) XXX_Size

func (m *AzureQueueStorageEventSource) XXX_Size() int

func (*AzureQueueStorageEventSource) XXX_Unmarshal

func (m *AzureQueueStorageEventSource) XXX_Unmarshal(b []byte) error

type AzureServiceBusEventSource

type AzureServiceBusEventSource struct {
	// ConnectionString is the connection string for the Azure Service Bus. If this fields is not provided
	// it will try to access via Azure AD with DefaultAzureCredential and FullyQualifiedNamespace.
	// +optional
	ConnectionString *corev1.SecretKeySelector `json:"connectionString,omitempty" protobuf:"bytes,1,opt,name=connectionString"`
	// QueueName is the name of the Azure Service Bus Queue
	QueueName string `json:"queueName" protobuf:"bytes,2,opt,name=queueName"`
	// TopicName is the name of the Azure Service Bus Topic
	TopicName string `json:"topicName" protobuf:"bytes,3,opt,name=topicName"`
	// SubscriptionName is the name of the Azure Service Bus Topic Subscription
	SubscriptionName string `json:"subscriptionName" protobuf:"bytes,4,opt,name=subscriptionName"`
	// TLS configuration for the service bus client
	// +optional
	TLS *TLSConfig `json:"tls,omitempty" protobuf:"bytes,5,opt,name=tls"`
	// JSONBody specifies that all event body payload coming from this
	// source will be JSON
	// +optional
	JSONBody bool `json:"jsonBody,omitempty" protobuf:"varint,6,opt,name=jsonBody"`
	// Metadata holds the user defined metadata which will passed along the event payload.
	// +optional
	Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,7,rep,name=metadata"`
	// Filter
	// +optional
	Filter *EventSourceFilter `json:"filter,omitempty" protobuf:"bytes,8,opt,name=filter"`
	// FullyQualifiedNamespace is the Service Bus namespace name (ex: myservicebus.servicebus.windows.net). This field is necessary to
	// access via Azure AD (managed identity) and it is ignored if ConnectionString is set.
	// +optional
	FullyQualifiedNamespace string `json:"fullyQualifiedNamespace,omitempty" protobuf:"bytes,9,opt,name=fullyQualifiedNamespace"`
}

AzureServiceBusEventSource describes the event source for azure service bus More info at https://docs.microsoft.com/en-us/azure/service-bus-messaging/

func (*AzureServiceBusEventSource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureServiceBusEventSource.

func (*AzureServiceBusEventSource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AzureServiceBusEventSource) Descriptor

func (*AzureServiceBusEventSource) Descriptor() ([]byte, []int)

func (*AzureServiceBusEventSource) Marshal

func (m *AzureServiceBusEventSource) Marshal() (dAtA []byte, err error)

func (*AzureServiceBusEventSource) MarshalTo

func (m *AzureServiceBusEventSource) MarshalTo(dAtA []byte) (int, error)

func (*AzureServiceBusEventSource) MarshalToSizedBuffer

func (m *AzureServiceBusEventSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AzureServiceBusEventSource) ProtoMessage

func (*AzureServiceBusEventSource) ProtoMessage()

func (*AzureServiceBusEventSource) Reset

func (m *AzureServiceBusEventSource) Reset()

func (*AzureServiceBusEventSource) Size

func (m *AzureServiceBusEventSource) Size() (n int)

func (*AzureServiceBusEventSource) String

func (this *AzureServiceBusEventSource) String() string

func (*AzureServiceBusEventSource) Unmarshal

func (m *AzureServiceBusEventSource) Unmarshal(dAtA []byte) error

func (*AzureServiceBusEventSource) XXX_DiscardUnknown

func (m *AzureServiceBusEventSource) XXX_DiscardUnknown()

func (*AzureServiceBusEventSource) XXX_Marshal

func (m *AzureServiceBusEventSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AzureServiceBusEventSource) XXX_Merge

func (m *AzureServiceBusEventSource) XXX_Merge(src proto.Message)

func (*AzureServiceBusEventSource) XXX_Size

func (m *AzureServiceBusEventSource) XXX_Size() int

func (*AzureServiceBusEventSource) XXX_Unmarshal

func (m *AzureServiceBusEventSource) XXX_Unmarshal(b []byte) error

type AzureServiceBusTrigger

type AzureServiceBusTrigger struct {
	// ConnectionString is the connection string for the Azure Service Bus
	ConnectionString *corev1.SecretKeySelector `json:"connectionString,omitempty" protobuf:"bytes,1,opt,name=connectionString"`
	// QueueName is the name of the Azure Service Bus Queue
	QueueName string `json:"queueName" protobuf:"bytes,2,opt,name=queueName"`
	// TopicName is the name of the Azure Service Bus Topic
	TopicName string `json:"topicName" protobuf:"bytes,3,opt,name=topicName"`
	// SubscriptionName is the name of the Azure Service Bus Topic Subscription
	SubscriptionName string `json:"subscriptionName" protobuf:"bytes,4,opt,name=subscriptionName"`
	// TLS configuration for the service bus client
	// +optional
	TLS *TLSConfig `json:"tls,omitempty" protobuf:"bytes,5,opt,name=tls"`
	// Payload is the list of key-value extracted from an event payload to construct the request payload.
	Payload []TriggerParameter `json:"payload" protobuf:"bytes,6,rep,name=payload"`
	// Parameters is the list of key-value extracted from event's payload that are applied to
	// the trigger resource.
	// +optional
	Parameters []TriggerParameter `json:"parameters,omitempty" protobuf:"bytes,7,rep,name=parameters"`
}

func (*AzureServiceBusTrigger) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureServiceBusTrigger.

func (*AzureServiceBusTrigger) DeepCopyInto

func (in *AzureServiceBusTrigger) DeepCopyInto(out *AzureServiceBusTrigger)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AzureServiceBusTrigger) Descriptor

func (*AzureServiceBusTrigger) Descriptor() ([]byte, []int)

func (*AzureServiceBusTrigger) Marshal

func (m *AzureServiceBusTrigger) Marshal() (dAtA []byte, err error)

func (*AzureServiceBusTrigger) MarshalTo

func (m *AzureServiceBusTrigger) MarshalTo(dAtA []byte) (int, error)

func (*AzureServiceBusTrigger) MarshalToSizedBuffer

func (m *AzureServiceBusTrigger) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AzureServiceBusTrigger) ProtoMessage

func (*AzureServiceBusTrigger) ProtoMessage()

func (*AzureServiceBusTrigger) Reset

func (m *AzureServiceBusTrigger) Reset()

func (*AzureServiceBusTrigger) Size

func (m *AzureServiceBusTrigger) Size() (n int)

func (*AzureServiceBusTrigger) String

func (this *AzureServiceBusTrigger) String() string

func (*AzureServiceBusTrigger) Unmarshal

func (m *AzureServiceBusTrigger) Unmarshal(dAtA []byte) error

func (*AzureServiceBusTrigger) XXX_DiscardUnknown

func (m *AzureServiceBusTrigger) XXX_DiscardUnknown()

func (*AzureServiceBusTrigger) XXX_Marshal

func (m *AzureServiceBusTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AzureServiceBusTrigger) XXX_Merge

func (m *AzureServiceBusTrigger) XXX_Merge(src proto.Message)

func (*AzureServiceBusTrigger) XXX_Size

func (m *AzureServiceBusTrigger) XXX_Size() int

func (*AzureServiceBusTrigger) XXX_Unmarshal

func (m *AzureServiceBusTrigger) XXX_Unmarshal(b []byte) error

type Backoff

type Backoff struct {
	// The initial duration in nanoseconds or strings like "1s", "3m"
	// +optional
	Duration *Int64OrString `json:"duration,omitempty" protobuf:"bytes,1,opt,name=duration"`
	// Duration is multiplied by factor each iteration
	// +optional
	Factor *Amount `json:"factor,omitempty" protobuf:"bytes,2,opt,name=factor"`
	// The amount of jitter applied each iteration
	// +optional
	Jitter *Amount `json:"jitter,omitempty" protobuf:"bytes,3,opt,name=jitter"`
	// Exit with error after this many steps
	// +optional
	Steps int32 `json:"steps,omitempty" protobuf:"varint,4,opt,name=steps"`
}

Backoff for an operation

func (*Backoff) DeepCopy

func (in *Backoff) DeepCopy() *Backoff

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Backoff.

func (*Backoff) DeepCopyInto

func (in *Backoff) DeepCopyInto(out *Backoff)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Backoff) Descriptor

func (*Backoff) Descriptor() ([]byte, []int)

func (Backoff) GetSteps

func (b Backoff) GetSteps() int

func (*Backoff) Marshal

func (m *Backoff) Marshal() (dAtA []byte, err error)

func (*Backoff) MarshalTo

func (m *Backoff) MarshalTo(dAtA []byte) (int, error)

func (*Backoff) MarshalToSizedBuffer

func (m *Backoff) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Backoff) ProtoMessage

func (*Backoff) ProtoMessage()

func (*Backoff) Reset

func (m *Backoff) Reset()

func (*Backoff) Size

func (m *Backoff) Size() (n int)

func (*Backoff) String

func (this *Backoff) String() string

func (*Backoff) Unmarshal

func (m *Backoff) Unmarshal(dAtA []byte) error

func (*Backoff) XXX_DiscardUnknown

func (m *Backoff) XXX_DiscardUnknown()

func (*Backoff) XXX_Marshal

func (m *Backoff) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Backoff) XXX_Merge

func (m *Backoff) XXX_Merge(src proto.Message)

func (*Backoff) XXX_Size

func (m *Backoff) XXX_Size() int

func (*Backoff) XXX_Unmarshal

func (m *Backoff) XXX_Unmarshal(b []byte) error

type BasicAuth

type BasicAuth struct {
	// Username refers to the Kubernetes secret that holds the username required for basic auth.
	Username *corev1.SecretKeySelector `json:"username,omitempty" protobuf:"bytes,1,opt,name=username"`
	// Password refers to the Kubernetes secret that holds the password required for basic auth.
	Password *corev1.SecretKeySelector `json:"password,omitempty" protobuf:"bytes,2,opt,name=password"`
}

BasicAuth contains the reference to K8s secrets that holds the username and password

func (*BasicAuth) DeepCopy

func (in *BasicAuth) DeepCopy() *BasicAuth

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BasicAuth.

func (*BasicAuth) DeepCopyInto

func (in *BasicAuth) DeepCopyInto(out *BasicAuth)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BasicAuth) Descriptor

func (*BasicAuth) Descriptor() ([]byte, []int)

func (*BasicAuth) Marshal

func (m *BasicAuth) Marshal() (dAtA []byte, err error)

func (*BasicAuth) MarshalTo

func (m *BasicAuth) MarshalTo(dAtA []byte) (int, error)

func (*BasicAuth) MarshalToSizedBuffer

func (m *BasicAuth) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BasicAuth) ProtoMessage

func (*BasicAuth) ProtoMessage()

func (*BasicAuth) Reset

func (m *BasicAuth) Reset()

func (*BasicAuth) Size

func (m *BasicAuth) Size() (n int)

func (*BasicAuth) String

func (this *BasicAuth) String() string

func (*BasicAuth) Unmarshal

func (m *BasicAuth) Unmarshal(dAtA []byte) error

func (*BasicAuth) XXX_DiscardUnknown

func (m *BasicAuth) XXX_DiscardUnknown()

func (*BasicAuth) XXX_Marshal

func (m *BasicAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BasicAuth) XXX_Merge

func (m *BasicAuth) XXX_Merge(src proto.Message)

func (*BasicAuth) XXX_Size

func (m *BasicAuth) XXX_Size() int

func (*BasicAuth) XXX_Unmarshal

func (m *BasicAuth) XXX_Unmarshal(b []byte) error

type BitbucketAuth

type BitbucketAuth struct {
	// Basic is BasicAuth auth strategy.
	// +optional
	Basic *BitbucketBasicAuth `json:"basic,omitempty" protobuf:"bytes,1,opt,name=basic"`
	// OAuthToken refers to the K8s secret that holds the OAuth Bearer token.
	// +optional
	OAuthToken *corev1.SecretKeySelector `json:"oauthToken,omitempty" protobuf:"bytes,2,opt,name=oauthToken"`
}

BitbucketAuth holds the different auth strategies for connecting to Bitbucket

func (*BitbucketAuth) DeepCopy

func (in *BitbucketAuth) DeepCopy() *BitbucketAuth

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BitbucketAuth.

func (*BitbucketAuth) DeepCopyInto

func (in *BitbucketAuth) DeepCopyInto(out *BitbucketAuth)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BitbucketAuth) Descriptor

func (*BitbucketAuth) Descriptor() ([]byte, []int)

func (*BitbucketAuth) Marshal

func (m *BitbucketAuth) Marshal() (dAtA []byte, err error)

func (*BitbucketAuth) MarshalTo

func (m *BitbucketAuth) MarshalTo(dAtA []byte) (int, error)

func (*BitbucketAuth) MarshalToSizedBuffer

func (m *BitbucketAuth) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BitbucketAuth) ProtoMessage

func (*BitbucketAuth) ProtoMessage()

func (*BitbucketAuth) Reset

func (m *BitbucketAuth) Reset()

func (*BitbucketAuth) Size

func (m *BitbucketAuth) Size() (n int)

func (*BitbucketAuth) String

func (this *BitbucketAuth) String() string

func (*BitbucketAuth) Unmarshal

func (m *BitbucketAuth) Unmarshal(dAtA []byte) error

func (*BitbucketAuth) XXX_DiscardUnknown

func (m *BitbucketAuth) XXX_DiscardUnknown()

func (*BitbucketAuth) XXX_Marshal

func (m *BitbucketAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BitbucketAuth) XXX_Merge

func (m *BitbucketAuth) XXX_Merge(src proto.Message)

func (*BitbucketAuth) XXX_Size

func (m *BitbucketAuth) XXX_Size() int

func (*BitbucketAuth) XXX_Unmarshal

func (m *BitbucketAuth) XXX_Unmarshal(b []byte) error

type BitbucketBasicAuth

type BitbucketBasicAuth struct {
	// Username refers to the K8s secret that holds the username.
	Username *corev1.SecretKeySelector `json:"username" protobuf:"bytes,1,name=username"`
	// Password refers to the K8s secret that holds the password.
	Password *corev1.SecretKeySelector `json:"password" protobuf:"bytes,2,name=password"`
}

BitbucketBasicAuth holds the information required to authenticate user via basic auth mechanism

func (*BitbucketBasicAuth) DeepCopy

func (in *BitbucketBasicAuth) DeepCopy() *BitbucketBasicAuth

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BitbucketBasicAuth.

func (*BitbucketBasicAuth) DeepCopyInto

func (in *BitbucketBasicAuth) DeepCopyInto(out *BitbucketBasicAuth)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BitbucketBasicAuth) Descriptor

func (*BitbucketBasicAuth) Descriptor() ([]byte, []int)

func (*BitbucketBasicAuth) Marshal

func (m *BitbucketBasicAuth) Marshal() (dAtA []byte, err error)

func (*BitbucketBasicAuth) MarshalTo

func (m *BitbucketBasicAuth) MarshalTo(dAtA []byte) (int, error)

func (*BitbucketBasicAuth) MarshalToSizedBuffer

func (m *BitbucketBasicAuth) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BitbucketBasicAuth) ProtoMessage

func (*BitbucketBasicAuth) ProtoMessage()

func (*BitbucketBasicAuth) Reset

func (m *BitbucketBasicAuth) Reset()

func (*BitbucketBasicAuth) Size

func (m *BitbucketBasicAuth) Size() (n int)

func (*BitbucketBasicAuth) String

func (this *BitbucketBasicAuth) String() string

func (*BitbucketBasicAuth) Unmarshal

func (m *BitbucketBasicAuth) Unmarshal(dAtA []byte) error

func (*BitbucketBasicAuth) XXX_DiscardUnknown

func (m *BitbucketBasicAuth) XXX_DiscardUnknown()

func (*BitbucketBasicAuth) XXX_Marshal

func (m *BitbucketBasicAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BitbucketBasicAuth) XXX_Merge

func (m *BitbucketBasicAuth) XXX_Merge(src proto.Message)

func (*BitbucketBasicAuth) XXX_Size

func (m *BitbucketBasicAuth) XXX_Size() int

func (*BitbucketBasicAuth) XXX_Unmarshal

func (m *BitbucketBasicAuth) XXX_Unmarshal(b []byte) error

type BitbucketEventSource

type BitbucketEventSource struct {
	// DeleteHookOnFinish determines whether to delete the defined Bitbucket hook once the event source is stopped.
	// +optional
	DeleteHookOnFinish bool `json:"deleteHookOnFinish,omitempty" protobuf:"varint,1,opt,name=deleteHookOnFinish"`
	// Metadata holds the user defined metadata which will be passed along the event payload.
	// +optional
	Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,2,rep,name=metadata"`
	// Webhook refers to the configuration required to run an http server
	Webhook *WebhookContext `json:"webhook" protobuf:"bytes,3,name=webhook"`
	// Auth information required to connect to Bitbucket.
	Auth *BitbucketAuth `json:"auth" protobuf:"bytes,4,name=auth"`
	// Events this webhook is subscribed to.
	Events []string `json:"events" protobuf:"bytes,5,name=events"`
	// DeprecatedOwner is the owner of the repository.
	// Deprecated: use Repositories instead. Will be unsupported in v1.9
	// +optional
	DeprecatedOwner string `json:"owner,omitempty" protobuf:"bytes,6,name=owner"`
	// DeprecatedProjectKey is the key of the project to which the repository relates
	// Deprecated: use Repositories instead. Will be unsupported in v1.9
	// +optional
	DeprecatedProjectKey string `json:"projectKey,omitempty" protobuf:"bytes,7,opt,name=projectKey"`
	// DeprecatedRepositorySlug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL
	// Deprecated: use Repositories instead. Will be unsupported in v1.9
	// +optional
	DeprecatedRepositorySlug string `json:"repositorySlug,omitempty" protobuf:"bytes,8,name=repositorySlug"`
	// Repositories holds a list of repositories for which integration needs to set up
	// +optional
	Repositories []BitbucketRepository `json:"repositories,omitempty" protobuf:"bytes,9,rep,name=repositories"`
	// Filter
	// +optional
	Filter *EventSourceFilter `json:"filter,omitempty" protobuf:"bytes,10,opt,name=filter"`
}

BitbucketEventSource describes the event source for Bitbucket

func (*BitbucketEventSource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BitbucketEventSource.

func (*BitbucketEventSource) DeepCopyInto

func (in *BitbucketEventSource) DeepCopyInto(out *BitbucketEventSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BitbucketEventSource) Descriptor

func (*BitbucketEventSource) Descriptor() ([]byte, []int)

func (BitbucketEventSource) GetBitbucketRepositories

func (b BitbucketEventSource) GetBitbucketRepositories() []BitbucketRepository

func (BitbucketEventSource) HasBitbucketBasicAuth

func (b BitbucketEventSource) HasBitbucketBasicAuth() bool

func (BitbucketEventSource) HasBitbucketOAuthToken

func (b BitbucketEventSource) HasBitbucketOAuthToken() bool

func (BitbucketEventSource) HasConfiguredWebhook

func (b BitbucketEventSource) HasConfiguredWebhook() bool

func (*BitbucketEventSource) Marshal

func (m *BitbucketEventSource) Marshal() (dAtA []byte, err error)

func (*BitbucketEventSource) MarshalTo

func (m *BitbucketEventSource) MarshalTo(dAtA []byte) (int, error)

func (*BitbucketEventSource) MarshalToSizedBuffer

func (m *BitbucketEventSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BitbucketEventSource) ProtoMessage

func (*BitbucketEventSource) ProtoMessage()

func (*BitbucketEventSource) Reset

func (m *BitbucketEventSource) Reset()

func (BitbucketEventSource) ShouldCreateWebhooks

func (b BitbucketEventSource) ShouldCreateWebhooks() bool

func (*BitbucketEventSource) Size

func (m *BitbucketEventSource) Size() (n int)

func (*BitbucketEventSource) String

func (this *BitbucketEventSource) String() string

func (*BitbucketEventSource) Unmarshal

func (m *BitbucketEventSource) Unmarshal(dAtA []byte) error

func (*BitbucketEventSource) XXX_DiscardUnknown

func (m *BitbucketEventSource) XXX_DiscardUnknown()

func (*BitbucketEventSource) XXX_Marshal

func (m *BitbucketEventSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BitbucketEventSource) XXX_Merge

func (m *BitbucketEventSource) XXX_Merge(src proto.Message)

func (*BitbucketEventSource) XXX_Size

func (m *BitbucketEventSource) XXX_Size() int

func (*BitbucketEventSource) XXX_Unmarshal

func (m *BitbucketEventSource) XXX_Unmarshal(b []byte) error

type BitbucketRepository

type BitbucketRepository struct {
	// Owner is the owner of the repository
	Owner string `json:"owner" protobuf:"bytes,1,name=owner"`
	// RepositorySlug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL
	RepositorySlug string `json:"repositorySlug" protobuf:"bytes,2,rep,name=repositorySlug"`
}

func (*BitbucketRepository) DeepCopy

func (in *BitbucketRepository) DeepCopy() *BitbucketRepository

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BitbucketRepository.

func (*BitbucketRepository) DeepCopyInto

func (in *BitbucketRepository) DeepCopyInto(out *BitbucketRepository)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BitbucketRepository) Descriptor

func (*BitbucketRepository) Descriptor() ([]byte, []int)

func (BitbucketRepository) GetRepositoryID

func (r BitbucketRepository) GetRepositoryID() string

GetRepositoryID helper returns a string key identifier for the repo

func (*BitbucketRepository) Marshal

func (m *BitbucketRepository) Marshal() (dAtA []byte, err error)

func (*BitbucketRepository) MarshalTo

func (m *BitbucketRepository) MarshalTo(dAtA []byte) (int, error)

func (*BitbucketRepository) MarshalToSizedBuffer

func (m *BitbucketRepository) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BitbucketRepository) ProtoMessage

func (*BitbucketRepository) ProtoMessage()

func (*BitbucketRepository) Reset

func (m *BitbucketRepository) Reset()

func (*BitbucketRepository) Size

func (m *BitbucketRepository) Size() (n int)

func (*BitbucketRepository) String

func (this *BitbucketRepository) String() string

func (*BitbucketRepository) Unmarshal

func (m *BitbucketRepository) Unmarshal(dAtA []byte) error

func (*BitbucketRepository) XXX_DiscardUnknown

func (m *BitbucketRepository) XXX_DiscardUnknown()

func (*BitbucketRepository) XXX_Marshal

func (m *BitbucketRepository) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BitbucketRepository) XXX_Merge

func (m *BitbucketRepository) XXX_Merge(src proto.Message)

func (*BitbucketRepository) XXX_Size

func (m *BitbucketRepository) XXX_Size() int

func (*BitbucketRepository) XXX_Unmarshal

func (m *BitbucketRepository) XXX_Unmarshal(b []byte) error

type BitbucketServerEventSource

type BitbucketServerEventSource struct {
	// Webhook holds configuration to run a http server.
	Webhook *WebhookContext `json:"webhook,omitempty" protobuf:"bytes,1,opt,name=webhook"`
	// DeprecatedProjectKey is the key of project for which integration needs to set up.
	// Deprecated: use Repositories instead. Will be unsupported in v1.8.
	// +optional
	DeprecatedProjectKey string `json:"projectKey,omitempty" protobuf:"bytes,2,opt,name=projectKey"`
	// DeprecatedRepositorySlug is the slug of the repository for which integration needs to set up.
	// Deprecated: use Repositories instead. Will be unsupported in v1.8.
	// +optional
	DeprecatedRepositorySlug string `json:"repositorySlug,omitempty" protobuf:"bytes,3,opt,name=repositorySlug"`
	// Projects holds a list of projects for which integration needs to set up, this will add the webhook to all repositories in the project.
	// +optional
	Projects []string `json:"projects,omitempty" protobuf:"bytes,4,rep,name=projects"`
	// Repositories holds a list of repositories for which integration needs to set up.
	// +optional
	Repositories []BitbucketServerRepository `json:"repositories,omitempty" protobuf:"bytes,5,rep,name=repositories"`
	// Events are bitbucket event to listen to.
	// Refer https://confluence.atlassian.com/bitbucketserver/event-payload-938025882.html
	// +optional
	Events []string `json:"events" protobuf:"bytes,6,rep,name=events"`
	// SkipBranchRefsChangedOnOpenPR bypasses the event repo:refs_changed for branches whenever there's an associated open pull request.
	// This helps in optimizing the event handling process by avoiding unnecessary triggers for branch reference changes that are already part of a pull request under review.
	// +optional
	SkipBranchRefsChangedOnOpenPR bool `json:"skipBranchRefsChangedOnOpenPR,omitempty" protobuf:"varint,7,opt,name=skipBranchRefsChangedOnOpenPR"`
	// OneEventPerChange controls whether to process each change in a repo:refs_changed webhook event as a separate event. This setting is useful when multiple tags are
	// pushed simultaneously for the same commit, and each tag needs to independently trigger an action, such as a distinct workflow in Argo Workflows. When enabled, the
	// BitbucketServerEventSource publishes an individual BitbucketServerEventData for each change, ensuring independent processing of each tag or reference update in a
	// single webhook event.
	// +optional
	OneEventPerChange bool `json:"oneEventPerChange,omitempty" protobuf:"varint,8,opt,name=oneEventPerChange"`
	// AccessToken is reference to K8s secret which holds the bitbucket api access information.
	// +optional
	AccessToken *corev1.SecretKeySelector `json:"accessToken,omitempty" protobuf:"bytes,9,opt,name=accessToken"`
	// WebhookSecret is reference to K8s secret which holds the bitbucket webhook secret (for HMAC validation).
	// +optional
	WebhookSecret *corev1.SecretKeySelector `json:"webhookSecret,omitempty" protobuf:"bytes,10,opt,name=webhookSecret"`
	// BitbucketServerBaseURL is the base URL for API requests to a custom endpoint.
	BitbucketServerBaseURL string `json:"bitbucketserverBaseURL" protobuf:"bytes,11,opt,name=bitbucketserverBaseURL"`
	// DeleteHookOnFinish determines whether to delete the Bitbucket Server hook for the project once the event source is stopped.
	// +optional
	DeleteHookOnFinish bool `json:"deleteHookOnFinish,omitempty" protobuf:"varint,12,opt,name=deleteHookOnFinish"`
	// Metadata holds the user defined metadata which will passed along the event payload.
	// +optional
	Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,13,rep,name=metadata"`
	// Filter
	// +optional
	Filter *EventSourceFilter `json:"filter,omitempty" protobuf:"bytes,14,opt,name=filter"`
	// TLS configuration for the bitbucketserver client.
	// +optional
	TLS *TLSConfig `json:"tls,omitempty" protobuf:"bytes,15,opt,name=tls"`
	// CheckInterval is a duration in which to wait before checking that the webhooks exist, e.g. 1s, 30m, 2h... (defaults to 1m)
	// +optional
	CheckInterval string `json:"checkInterval" protobuf:"bytes,16,opt,name=checkInterval"`
}

BitbucketServerEventSource refers to event-source related to Bitbucket Server events

func (*BitbucketServerEventSource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BitbucketServerEventSource.

func (*BitbucketServerEventSource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BitbucketServerEventSource) Descriptor

func (*BitbucketServerEventSource) Descriptor() ([]byte, []int)

func (BitbucketServerEventSource) GetBitbucketServerRepositories

func (b BitbucketServerEventSource) GetBitbucketServerRepositories() []BitbucketServerRepository

func (*BitbucketServerEventSource) Marshal

func (m *BitbucketServerEventSource) Marshal() (dAtA []byte, err error)

func (*BitbucketServerEventSource) MarshalTo

func (m *BitbucketServerEventSource) MarshalTo(dAtA []byte) (int, error)

func (*BitbucketServerEventSource) MarshalToSizedBuffer

func (m *BitbucketServerEventSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BitbucketServerEventSource) ProtoMessage

func (*BitbucketServerEventSource) ProtoMessage()

func (*BitbucketServerEventSource) Reset

func (m *BitbucketServerEventSource) Reset()

func (BitbucketServerEventSource) ShouldCreateWebhooks

func (b BitbucketServerEventSource) ShouldCreateWebhooks() bool

func (*BitbucketServerEventSource) Size

func (m *BitbucketServerEventSource) Size() (n int)

func (*BitbucketServerEventSource) String

func (this *BitbucketServerEventSource) String() string

func (*BitbucketServerEventSource) Unmarshal

func (m *BitbucketServerEventSource) Unmarshal(dAtA []byte) error

func (*BitbucketServerEventSource) XXX_DiscardUnknown

func (m *BitbucketServerEventSource) XXX_DiscardUnknown()

func (*BitbucketServerEventSource) XXX_Marshal

func (m *BitbucketServerEventSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BitbucketServerEventSource) XXX_Merge

func (m *BitbucketServerEventSource) XXX_Merge(src proto.Message)

func (*BitbucketServerEventSource) XXX_Size

func (m *BitbucketServerEventSource) XXX_Size() int

func (*BitbucketServerEventSource) XXX_Unmarshal

func (m *BitbucketServerEventSource) XXX_Unmarshal(b []byte) error

type BitbucketServerRepository

type BitbucketServerRepository struct {
	// ProjectKey is the key of project for which integration needs to set up.
	ProjectKey string `json:"projectKey" protobuf:"bytes,1,opt,name=projectKey"`
	// RepositorySlug is the slug of the repository for which integration needs to set up.
	RepositorySlug string `json:"repositorySlug" protobuf:"bytes,2,opt,name=repositorySlug"`
}

func (*BitbucketServerRepository) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BitbucketServerRepository.

func (*BitbucketServerRepository) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BitbucketServerRepository) Descriptor

func (*BitbucketServerRepository) Descriptor() ([]byte, []int)

func (*BitbucketServerRepository) Marshal

func (m *BitbucketServerRepository) Marshal() (dAtA []byte, err error)

func (*BitbucketServerRepository) MarshalTo

func (m *BitbucketServerRepository) MarshalTo(dAtA []byte) (int, error)

func (*BitbucketServerRepository) MarshalToSizedBuffer

func (m *BitbucketServerRepository) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BitbucketServerRepository) ProtoMessage

func (*BitbucketServerRepository) ProtoMessage()

func (*BitbucketServerRepository) Reset

func (m *BitbucketServerRepository) Reset()

func (*BitbucketServerRepository) Size

func (m *BitbucketServerRepository) Size() (n int)

func (*BitbucketServerRepository) String

func (this *BitbucketServerRepository) String() string

func (*BitbucketServerRepository) Unmarshal

func (m *BitbucketServerRepository) Unmarshal(dAtA []byte) error

func (*BitbucketServerRepository) XXX_DiscardUnknown

func (m *BitbucketServerRepository) XXX_DiscardUnknown()

func (*BitbucketServerRepository) XXX_Marshal

func (m *BitbucketServerRepository) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BitbucketServerRepository) XXX_Merge

func (m *BitbucketServerRepository) XXX_Merge(src proto.Message)

func (*BitbucketServerRepository) XXX_Size

func (m *BitbucketServerRepository) XXX_Size() int

func (*BitbucketServerRepository) XXX_Unmarshal

func (m *BitbucketServerRepository) XXX_Unmarshal(b []byte) error

type BusConfig

type BusConfig struct {
	// +optional
	NATS *NATSConfig `json:"nats,omitempty" protobuf:"bytes,1,opt,name=nats"`
	// +optional
	JetStream *JetStreamConfig `json:"jetstream,omitempty" protobuf:"bytes,2,opt,name=jetstream"`
	// +optional
	Kafka *KafkaBus `json:"kafka,omitempty" protobuf:"bytes,3,opt,name=kafka"`
}

BusConfig has the finalized configuration for EventBus

func (*BusConfig) DeepCopy

func (in *BusConfig) DeepCopy() *BusConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BusConfig.

func (*BusConfig) DeepCopyInto

func (in *BusConfig) DeepCopyInto(out *BusConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BusConfig) Descriptor

func (*BusConfig) Descriptor() ([]byte, []int)

func (*BusConfig) Marshal

func (m *BusConfig) Marshal() (dAtA []byte, err error)

func (*BusConfig) MarshalTo

func (m *BusConfig) MarshalTo(dAtA []byte) (int, error)

func (*BusConfig) MarshalToSizedBuffer

func (m *BusConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BusConfig) ProtoMessage

func (*BusConfig) ProtoMessage()

func (*BusConfig) Reset

func (m *BusConfig) Reset()

func (*BusConfig) Size

func (m *BusConfig) Size() (n int)

func (*BusConfig) String

func (this *BusConfig) String() string

func (*BusConfig) Unmarshal

func (m *BusConfig) Unmarshal(dAtA []byte) error

func (*BusConfig) XXX_DiscardUnknown

func (m *BusConfig) XXX_DiscardUnknown()

func (*BusConfig) XXX_Marshal

func (m *BusConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BusConfig) XXX_Merge

func (m *BusConfig) XXX_Merge(src proto.Message)

func (*BusConfig) XXX_Size

func (m *BusConfig) XXX_Size() int

func (*BusConfig) XXX_Unmarshal

func (m *BusConfig) XXX_Unmarshal(b []byte) error

type CalendarEventSource

type CalendarEventSource struct {
	// Schedule is a cron-like expression. For reference, see: https://en.wikipedia.org/wiki/Cron
	// +optional
	Schedule string `json:"schedule" protobuf:"bytes,1,opt,name=schedule"`
	// Interval is a string that describes an interval duration, e.g. 1s, 30m, 2h...
	// +optional
	Interval string `json:"interval" protobuf:"bytes,2,opt,name=interval"`
	// ExclusionDates defines the list of DATE-TIME exceptions for recurring events.
	ExclusionDates []string `json:"exclusionDates,omitempty" protobuf:"bytes,3,rep,name=exclusionDates"`
	// Timezone in which to run the schedule
	// +optional
	Timezone string `json:"timezone,omitempty" protobuf:"bytes,4,opt,name=timezone"`
	// Metadata holds the user defined metadata which will passed along the event payload.
	// +optional
	Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,5,rep,name=metadata"`
	// Persistence hold the configuration for event persistence
	Persistence *EventPersistence `json:"persistence,omitempty" protobuf:"bytes,6,opt,name=persistence"`
	// Filter
	// +optional
	Filter *EventSourceFilter `json:"filter,omitempty" protobuf:"bytes,8,opt,name=filter"`
}

CalendarEventSource describes a time based dependency. One of the fields (schedule, interval, or recurrence) must be passed. Schedule takes precedence over interval; interval takes precedence over recurrence

func (*CalendarEventSource) DeepCopy

func (in *CalendarEventSource) DeepCopy() *CalendarEventSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CalendarEventSource.

func (*CalendarEventSource) DeepCopyInto

func (in *CalendarEventSource) DeepCopyInto(out *CalendarEventSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CalendarEventSource) Descriptor

func (*CalendarEventSource) Descriptor() ([]byte, []int)

func (*CalendarEventSource) Marshal

func (m *CalendarEventSource) Marshal() (dAtA []byte, err error)

func (*CalendarEventSource) MarshalTo

func (m *CalendarEventSource) MarshalTo(dAtA []byte) (int, error)

func (*CalendarEventSource) MarshalToSizedBuffer

func (m *CalendarEventSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CalendarEventSource) ProtoMessage

func (*CalendarEventSource) ProtoMessage()

func (*CalendarEventSource) Reset

func (m *CalendarEventSource) Reset()

func (*CalendarEventSource) Size

func (m *CalendarEventSource) Size() (n int)

func (*CalendarEventSource) String

func (this *CalendarEventSource) String() string

func (*CalendarEventSource) Unmarshal

func (m *CalendarEventSource) Unmarshal(dAtA []byte) error

func (*CalendarEventSource) XXX_DiscardUnknown

func (m *CalendarEventSource) XXX_DiscardUnknown()

func (*CalendarEventSource) XXX_Marshal

func (m *CalendarEventSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CalendarEventSource) XXX_Merge

func (m *CalendarEventSource) XXX_Merge(src proto.Message)

func (*CalendarEventSource) XXX_Size

func (m *CalendarEventSource) XXX_Size() int

func (*CalendarEventSource) XXX_Unmarshal

func (m *CalendarEventSource) XXX_Unmarshal(b []byte) error

type CatchupConfiguration

type CatchupConfiguration struct {
	// Enabled enables to triggered the missed schedule when eventsource restarts
	Enabled bool `json:"enabled,omitempty" protobuf:"varint,1,opt,name=enabled"`
	// MaxDuration holds max catchup duration
	MaxDuration string `json:"maxDuration,omitempty" protobuf:"bytes,2,opt,name=maxDuration"`
}

func (*CatchupConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CatchupConfiguration.

func (*CatchupConfiguration) DeepCopyInto

func (in *CatchupConfiguration) DeepCopyInto(out *CatchupConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CatchupConfiguration) Descriptor

func (*CatchupConfiguration) Descriptor() ([]byte, []int)

func (*CatchupConfiguration) Marshal

func (m *CatchupConfiguration) Marshal() (dAtA []byte, err error)

func (*CatchupConfiguration) MarshalTo

func (m *CatchupConfiguration) MarshalTo(dAtA []byte) (int, error)

func (*CatchupConfiguration) MarshalToSizedBuffer

func (m *CatchupConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CatchupConfiguration) ProtoMessage

func (*CatchupConfiguration) ProtoMessage()

func (*CatchupConfiguration) Reset

func (m *CatchupConfiguration) Reset()

func (*CatchupConfiguration) Size

func (m *CatchupConfiguration) Size() (n int)

func (*CatchupConfiguration) String

func (this *CatchupConfiguration) String() string

func (*CatchupConfiguration) Unmarshal

func (m *CatchupConfiguration) Unmarshal(dAtA []byte) error

func (*CatchupConfiguration) XXX_DiscardUnknown

func (m *CatchupConfiguration) XXX_DiscardUnknown()

func (*CatchupConfiguration) XXX_Marshal

func (m *CatchupConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CatchupConfiguration) XXX_Merge

func (m *CatchupConfiguration) XXX_Merge(src proto.Message)

func (*CatchupConfiguration) XXX_Size

func (m *CatchupConfiguration) XXX_Size() int

func (*CatchupConfiguration) XXX_Unmarshal

func (m *CatchupConfiguration) XXX_Unmarshal(b []byte) error

type Comparator

type Comparator string

Comparator refers to the comparator operator for a data filter

const (
	GreaterThanOrEqualTo Comparator = ">=" // Greater than or equal to value provided in data filter
	GreaterThan          Comparator = ">"  // Greater than value provided in data filter
	EqualTo              Comparator = "="  // Equal to value provided in data filter
	NotEqualTo           Comparator = "!=" // Not equal to value provided in data filter
	LessThan             Comparator = "<"  // Less than value provided in data filter
	LessThanOrEqualTo    Comparator = "<=" // Less than or equal to value provided in data filter
	EmptyComparator                 = ""   // Equal to value provided in data filter
)

type Condition

type Condition struct {
	// Condition type.
	// +required
	Type ConditionType `json:"type" protobuf:"bytes,1,opt,name=type"`
	// Condition status, True, False or Unknown.
	// +required
	Status corev1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"`
	// Last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,3,opt,name=lastTransitionTime"`
	// Unique, this should be a short, machine understandable string that gives the reason
	// for condition's last transition. For example, "ImageNotFound"
	// +optional
	Reason string `json:"reason,omitempty" protobuf:"bytes,4,opt,name=reason"`
	// Human-readable message indicating details about last transition.
	// +optional
	Message string `json:"message,omitempty" protobuf:"bytes,5,opt,name=message"`
}

Condition contains details about resource state

func (*Condition) DeepCopy

func (in *Condition) DeepCopy() *Condition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.

func (*Condition) DeepCopyInto

func (in *Condition) DeepCopyInto(out *Condition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Condition) Descriptor

func (*Condition) Descriptor() ([]byte, []int)

func (*Condition) GetMessage

func (c *Condition) GetMessage() string

GetMessage returns a Message

func (*Condition) GetReason

func (c *Condition) GetReason() string

GetReason returns as Reason

func (*Condition) IsFalse

func (c *Condition) IsFalse() bool

IsFalse tells if the condition is False

func (*Condition) IsTrue

func (c *Condition) IsTrue() bool

IsTrue tells if the condition is True

func (*Condition) IsUnknown

func (c *Condition) IsUnknown() bool

IsUnknown tells if the condition is Unknown

func (*Condition) Marshal

func (m *Condition) Marshal() (dAtA []byte, err error)

func (*Condition) MarshalTo

func (m *Condition) MarshalTo(dAtA []byte) (int, error)

func (*Condition) MarshalToSizedBuffer

func (m *Condition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Condition) ProtoMessage

func (*Condition) ProtoMessage()

func (*Condition) Reset

func (m *Condition) Reset()

func (*Condition) Size

func (m *Condition) Size() (n int)

func (*Condition) String

func (this *Condition) String() string

func (*Condition) Unmarshal

func (m *Condition) Unmarshal(dAtA []byte) error

func (*Condition) XXX_DiscardUnknown

func (m *Condition) XXX_DiscardUnknown()

func (*Condition) XXX_Marshal

func (m *Condition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Condition) XXX_Merge

func (m *Condition) XXX_Merge(src proto.Message)

func (*Condition) XXX_Size

func (m *Condition) XXX_Size() int

func (*Condition) XXX_Unmarshal

func (m *Condition) XXX_Unmarshal(b []byte) error

type ConditionType

type ConditionType string

ConditionType is a valid value of Condition.Type

const (
	// EventBusConditionDeployed has the status True when the EventBus
	// has its RestfulSet/Deployment ans service created.
	EventBusConditionDeployed ConditionType = "Deployed"
	// EventBusConditionConfigured has the status True when the EventBus
	// has its configuration ready.
	EventBusConditionConfigured ConditionType = "Configured"
)
const (
	// EventSourceConditionSourcesProvided has the status True when the EventSource
	// has its event source provided.
	EventSourceConditionSourcesProvided ConditionType = "SourcesProvided"
	// EventSourceConditionDeployed has the status True when the EventSource
	// has its Deployment created.
	EventSourceConditionDeployed ConditionType = "Deployed"
)
const (
	// SensorConditionDepencencyProvided has the status True when the
	// Sensor has valid dependencies provided.
	SensorConditionDepencencyProvided ConditionType = "DependenciesProvided"
	// SensorConditionTriggersProvided has the status True when the
	// Sensor has valid triggers provided.
	SensorConditionTriggersProvided ConditionType = "TriggersProvided"
	// SensorConditionDeployed has the status True when the Sensor
	// has its Deployment created.
	SensorConditionDeployed ConditionType = "Deployed"
)
const (
	// ConditionReady indicates the resource is ready.
	ConditionReady ConditionType = "Ready"
)

type ConditionsResetByTime

type ConditionsResetByTime struct {
	// Cron is a cron-like expression. For reference, see: https://en.wikipedia.org/wiki/Cron
	Cron string `json:"cron,omitempty" protobuf:"bytes,1,opt,name=cron"`
	// +optional
	Timezone string `json:"timezone,omitempty" protobuf:"bytes,2,opt,name=timezone"`
}

func (*ConditionsResetByTime) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionsResetByTime.

func (*ConditionsResetByTime) DeepCopyInto

func (in *ConditionsResetByTime) DeepCopyInto(out *ConditionsResetByTime)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ConditionsResetByTime) Descriptor

func (*ConditionsResetByTime) Descriptor() ([]byte, []int)

func (*ConditionsResetByTime) Marshal

func (m *ConditionsResetByTime) Marshal() (dAtA []byte, err error)

func (*ConditionsResetByTime) MarshalTo

func (m *ConditionsResetByTime) MarshalTo(dAtA []byte) (int, error)

func (*ConditionsResetByTime) MarshalToSizedBuffer

func (m *ConditionsResetByTime) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConditionsResetByTime) ProtoMessage

func (*ConditionsResetByTime) ProtoMessage()

func (*ConditionsResetByTime) Reset

func (m *ConditionsResetByTime) Reset()

func (*ConditionsResetByTime) Size

func (m *ConditionsResetByTime) Size() (n int)

func (*ConditionsResetByTime) String

func (this *ConditionsResetByTime) String() string

func (*ConditionsResetByTime) Unmarshal

func (m *ConditionsResetByTime) Unmarshal(dAtA []byte) error

func (*ConditionsResetByTime) XXX_DiscardUnknown

func (m *ConditionsResetByTime) XXX_DiscardUnknown()

func (*ConditionsResetByTime) XXX_Marshal

func (m *ConditionsResetByTime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConditionsResetByTime) XXX_Merge

func (m *ConditionsResetByTime) XXX_Merge(src proto.Message)

func (*ConditionsResetByTime) XXX_Size

func (m *ConditionsResetByTime) XXX_Size() int

func (*ConditionsResetByTime) XXX_Unmarshal

func (m *ConditionsResetByTime) XXX_Unmarshal(b []byte) error

type ConditionsResetCriteria

type ConditionsResetCriteria struct {
	// Schedule is a cron-like expression. For reference, see: https://en.wikipedia.org/wiki/Cron
	ByTime *ConditionsResetByTime `json:"byTime,omitempty" protobuf:"bytes,1,opt,name=byTime"`
}

func (*ConditionsResetCriteria) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionsResetCriteria.

func (*ConditionsResetCriteria) DeepCopyInto

func (in *ConditionsResetCriteria) DeepCopyInto(out *ConditionsResetCriteria)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ConditionsResetCriteria) Descriptor

func (*ConditionsResetCriteria) Descriptor() ([]byte, []int)

func (*ConditionsResetCriteria) Marshal

func (m *ConditionsResetCriteria) Marshal() (dAtA []byte, err error)

func (*ConditionsResetCriteria) MarshalTo

func (m *ConditionsResetCriteria) MarshalTo(dAtA []byte) (int, error)

func (*ConditionsResetCriteria) MarshalToSizedBuffer

func (m *ConditionsResetCriteria) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConditionsResetCriteria) ProtoMessage

func (*ConditionsResetCriteria) ProtoMessage()

func (*ConditionsResetCriteria) Reset

func (m *ConditionsResetCriteria) Reset()

func (*ConditionsResetCriteria) Size

func (m *ConditionsResetCriteria) Size() (n int)

func (*ConditionsResetCriteria) String

func (this *ConditionsResetCriteria) String() string

func (*ConditionsResetCriteria) Unmarshal

func (m *ConditionsResetCriteria) Unmarshal(dAtA []byte) error

func (*ConditionsResetCriteria) XXX_DiscardUnknown

func (m *ConditionsResetCriteria) XXX_DiscardUnknown()

func (*ConditionsResetCriteria) XXX_Marshal

func (m *ConditionsResetCriteria) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConditionsResetCriteria) XXX_Merge

func (m *ConditionsResetCriteria) XXX_Merge(src proto.Message)

func (*ConditionsResetCriteria) XXX_Size

func (m *ConditionsResetCriteria) XXX_Size() int

func (*ConditionsResetCriteria) XXX_Unmarshal

func (m *ConditionsResetCriteria) XXX_Unmarshal(b []byte) error

type ConfigMapPersistence

type ConfigMapPersistence struct {
	// Name of the configmap
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	// CreateIfNotExist will create configmap if it doesn't exists
	CreateIfNotExist bool `json:"createIfNotExist,omitempty" protobuf:"varint,2,opt,name=createIfNotExist"`
}

func (*ConfigMapPersistence) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapPersistence.

func (*ConfigMapPersistence) DeepCopyInto

func (in *ConfigMapPersistence) DeepCopyInto(out *ConfigMapPersistence)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ConfigMapPersistence) Descriptor

func (*ConfigMapPersistence) Descriptor() ([]byte, []int)

func (*ConfigMapPersistence) Marshal

func (m *ConfigMapPersistence) Marshal() (dAtA []byte, err error)

func (*ConfigMapPersistence) MarshalTo

func (m *ConfigMapPersistence) MarshalTo(dAtA []byte) (int, error)

func (*ConfigMapPersistence) MarshalToSizedBuffer

func (m *ConfigMapPersistence) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigMapPersistence) ProtoMessage

func (*ConfigMapPersistence) ProtoMessage()

func (*ConfigMapPersistence) Reset

func (m *ConfigMapPersistence) Reset()

func (*ConfigMapPersistence) Size

func (m *ConfigMapPersistence) Size() (n int)

func (*ConfigMapPersistence) String

func (this *ConfigMapPersistence) String() string

func (*ConfigMapPersistence) Unmarshal

func (m *ConfigMapPersistence) Unmarshal(dAtA []byte) error

func (*ConfigMapPersistence) XXX_DiscardUnknown

func (m *ConfigMapPersistence) XXX_DiscardUnknown()

func (*ConfigMapPersistence) XXX_Marshal

func (m *ConfigMapPersistence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigMapPersistence) XXX_Merge

func (m *ConfigMapPersistence) XXX_Merge(src proto.Message)

func (*ConfigMapPersistence) XXX_Size

func (m *ConfigMapPersistence) XXX_Size() int

func (*ConfigMapPersistence) XXX_Unmarshal

func (m *ConfigMapPersistence) XXX_Unmarshal(b []byte) error

type ContainerTemplate

type ContainerTemplate struct {
	Resources       corev1.ResourceRequirements `json:"resources,omitempty" protobuf:"bytes,1,opt,name=resources"`
	ImagePullPolicy corev1.PullPolicy           `json:"imagePullPolicy,omitempty" protobuf:"bytes,2,opt,name=imagePullPolicy,casttype=PullPolicy"`
	SecurityContext *corev1.SecurityContext     `json:"securityContext,omitempty" protobuf:"bytes,3,opt,name=securityContext"`
}

ContainerTemplate defines customized spec for a container

func (*ContainerTemplate) DeepCopy

func (in *ContainerTemplate) DeepCopy() *ContainerTemplate

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerTemplate.

func (*ContainerTemplate) DeepCopyInto

func (in *ContainerTemplate) DeepCopyInto(out *ContainerTemplate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ContainerTemplate) Descriptor

func (*ContainerTemplate) Descriptor() ([]byte, []int)

func (*ContainerTemplate) Marshal

func (m *ContainerTemplate) Marshal() (dAtA []byte, err error)

func (*ContainerTemplate) MarshalTo

func (m *ContainerTemplate) MarshalTo(dAtA []byte) (int, error)

func (*ContainerTemplate) MarshalToSizedBuffer

func (m *ContainerTemplate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerTemplate) ProtoMessage

func (*ContainerTemplate) ProtoMessage()

func (*ContainerTemplate) Reset

func (m *ContainerTemplate) Reset()

func (*ContainerTemplate) Size

func (m *ContainerTemplate) Size() (n int)

func (*ContainerTemplate) String

func (this *ContainerTemplate) String() string

func (*ContainerTemplate) Unmarshal

func (m *ContainerTemplate) Unmarshal(dAtA []byte) error

func (*ContainerTemplate) XXX_DiscardUnknown

func (m *ContainerTemplate) XXX_DiscardUnknown()

func (*ContainerTemplate) XXX_Marshal

func (m *ContainerTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerTemplate) XXX_Merge

func (m *ContainerTemplate) XXX_Merge(src proto.Message)

func (*ContainerTemplate) XXX_Size

func (m *ContainerTemplate) XXX_Size() int

func (*ContainerTemplate) XXX_Unmarshal

func (m *ContainerTemplate) XXX_Unmarshal(b []byte) error

type CustomTrigger

type CustomTrigger struct {
	// ServerURL is the url of the gRPC server that executes custom trigger
	ServerURL string `json:"serverURL" protobuf:"bytes,1,opt,name=serverURL"`
	// Secure refers to type of the connection between sensor to custom trigger gRPC
	Secure bool `json:"secure" protobuf:"varint,2,opt,name=secure"`
	// CertSecret refers to the secret that contains cert for secure connection between sensor and custom trigger gRPC server.
	CertSecret *corev1.SecretKeySelector `json:"certSecret,omitempty" protobuf:"bytes,3,opt,name=certSecret"`
	// ServerNameOverride for the secure connection between sensor and custom trigger gRPC server.
	ServerNameOverride string `json:"serverNameOverride,omitempty" protobuf:"bytes,4,opt,name=serverNameOverride"`
	// Spec is the custom trigger resource specification that custom trigger gRPC server knows how to interpret.
	Spec map[string]string `json:"spec" protobuf:"bytes,5,rep,name=spec"`
	// Parameters is the list of parameters that is applied to resolved custom trigger trigger object.
	Parameters []TriggerParameter `json:"parameters,omitempty" protobuf:"bytes,6,rep,name=parameters"`
	// Payload is the list of key-value extracted from an event payload to construct the request payload.
	Payload []TriggerParameter `json:"payload" protobuf:"bytes,7,rep,name=payload"`
}

CustomTrigger refers to the specification of the custom trigger.

func (*CustomTrigger) DeepCopy

func (in *CustomTrigger) DeepCopy() *CustomTrigger

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomTrigger.

func (*CustomTrigger) DeepCopyInto

func (in *CustomTrigger) DeepCopyInto(out *CustomTrigger)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CustomTrigger) Descriptor

func (*CustomTrigger) Descriptor() ([]byte, []int)

func (*CustomTrigger) Marshal

func (m *CustomTrigger) Marshal() (dAtA []byte, err error)

func (*CustomTrigger) MarshalTo

func (m *CustomTrigger) MarshalTo(dAtA []byte) (int, error)

func (*CustomTrigger) MarshalToSizedBuffer

func (m *CustomTrigger) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CustomTrigger) ProtoMessage

func (*CustomTrigger) ProtoMessage()

func (*CustomTrigger) Reset

func (m *CustomTrigger) Reset()

func (*CustomTrigger) Size

func (m *CustomTrigger) Size() (n int)

func (*CustomTrigger) String

func (this *CustomTrigger) String() string

func (*CustomTrigger) Unmarshal

func (m *CustomTrigger) Unmarshal(dAtA []byte) error

func (*CustomTrigger) XXX_DiscardUnknown

func (m *CustomTrigger) XXX_DiscardUnknown()

func (*CustomTrigger) XXX_Marshal

func (m *CustomTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomTrigger) XXX_Merge

func (m *CustomTrigger) XXX_Merge(src proto.Message)

func (*CustomTrigger) XXX_Size

func (m *CustomTrigger) XXX_Size() int

func (*CustomTrigger) XXX_Unmarshal

func (m *CustomTrigger) XXX_Unmarshal(b []byte) error

type DataFilter

type DataFilter struct {
	// Path is the JSONPath of the event's (JSON decoded) data key
	// Path is a series of keys separated by a dot. A key may contain wildcard characters '*' and '?'.
	// To access an array value use the index as the key. The dot and wildcard characters can be escaped with '\\'.
	// See https://github.com/tidwall/gjson#path-syntax for more information on how to use this.
	Path string `json:"path" protobuf:"bytes,1,opt,name=path"`
	// Type contains the JSON type of the data
	Type JSONType `json:"type" protobuf:"bytes,2,opt,name=type,casttype=JSONType"`
	// Value is the allowed string values for this key
	// Booleans are passed using strconv.ParseBool()
	// Numbers are parsed using as float64 using strconv.ParseFloat()
	// Strings are taken as is
	// Nils this value is ignored
	Value []string `json:"value" protobuf:"bytes,3,rep,name=value"`
	// Comparator compares the event data with a user given value.
	// Can be ">=", ">", "=", "!=", "<", or "<=".
	// Is optional, and if left blank treated as equality "=".
	Comparator Comparator `json:"comparator,omitempty" protobuf:"bytes,4,opt,name=comparator,casttype=Comparator"`
	// Template is a go-template for extracting a string from the event's data.
	// A Template is evaluated with provided path, type and value.
	// The templating follows the standard go-template syntax as well as sprig's extra functions.
	// See https://pkg.go.dev/text/template and https://masterminds.github.io/sprig/
	Template string `json:"template,omitempty" protobuf:"bytes,5,opt,name=template"`
}

DataFilter describes constraints and filters for event data Regular Expressions are purposefully not a feature as they are overkill for our uses here See Rob Pike's Post: https://commandcenter.blogspot.com/2011/08/regular-expressions-in-lexing-and.html

func (*DataFilter) DeepCopy

func (in *DataFilter) DeepCopy() *DataFilter

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataFilter.

func (*DataFilter) DeepCopyInto

func (in *DataFilter) DeepCopyInto(out *DataFilter)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DataFilter) Descriptor

func (*DataFilter) Descriptor() ([]byte, []int)

func (*DataFilter) Marshal

func (m *DataFilter) Marshal() (dAtA []byte, err error)

func (*DataFilter) MarshalTo

func (m *DataFilter) MarshalTo(dAtA []byte) (int, error)

func (*DataFilter) MarshalToSizedBuffer

func (m *DataFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DataFilter) ProtoMessage

func (*DataFilter) ProtoMessage()

func (*DataFilter) Reset

func (m *DataFilter) Reset()

func (*DataFilter) Size

func (m *DataFilter) Size() (n int)

func (*DataFilter) String

func (this *DataFilter) String() string

func (*DataFilter) Unmarshal

func (m *DataFilter) Unmarshal(dAtA []byte) error

func (*DataFilter) XXX_DiscardUnknown

func (m *DataFilter) XXX_DiscardUnknown()

func (*DataFilter) XXX_Marshal

func (m *DataFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DataFilter) XXX_Merge

func (m *DataFilter) XXX_Merge(src proto.Message)

func (*DataFilter) XXX_Size

func (m *DataFilter) XXX_Size() int

func (*DataFilter) XXX_Unmarshal

func (m *DataFilter) XXX_Unmarshal(b []byte) error

type EmailTrigger

type EmailTrigger struct {
	// Parameters is the list of key-value extracted from event's payload that are applied to
	// the trigger resource.
	// +optional
	Parameters []TriggerParameter `json:"parameters,omitempty" protobuf:"bytes,1,rep,name=parameters"`
	// Username refers to the username used to connect to the smtp server.
	// +optional
	Username string `json:"username,omitempty" protobuf:"bytes,2,opt,name=username"`
	// SMTPPassword refers to the Kubernetes secret that holds the smtp password used to connect to smtp server.
	// +optional
	SMTPPassword *corev1.SecretKeySelector `json:"smtpPassword,omitempty" protobuf:"bytes,3,opt,name=smtpPassword"`
	// Host refers to the smtp host url to which email is send.
	Host string `json:"host,omitempty" protobuf:"bytes,4,opt,name=host"`
	// Port refers to the smtp server port to which email is send.
	// Defaults to 0.
	// +optional
	Port int32 `json:"port,omitempty" protobuf:"varint,5,opt,name=port"`
	// To refers to the email addresses to which the emails are send.
	// +optional
	To []string `json:"to,omitempty" protobuf:"bytes,6,rep,name=to"`
	// From refers to the address from which the email is send from.
	// +optional
	From string `json:"from,omitempty" protobuf:"bytes,7,opt,name=from"`
	// Subject refers to the subject line for the email send.
	// +optional
	Subject string `json:"subject,omitempty" protobuf:"bytes,8,opt,name=subject"`
	// Body refers to the body/content of the email send.
	// +optional
	Body string `json:"body,omitempty" protobuf:"bytes,9,opt,name=body"`
}

EmailTrigger refers to the specification of the email notification trigger.

func (*EmailTrigger) DeepCopy

func (in *EmailTrigger) DeepCopy() *EmailTrigger

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmailTrigger.

func (*EmailTrigger) DeepCopyInto

func (in *EmailTrigger) DeepCopyInto(out *EmailTrigger)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EmailTrigger) Descriptor

func (*EmailTrigger) Descriptor() ([]byte, []int)

func (*EmailTrigger) Marshal

func (m *EmailTrigger) Marshal() (dAtA []byte, err error)

func (*EmailTrigger) MarshalTo

func (m *EmailTrigger) MarshalTo(dAtA []byte) (int, error)

func (*EmailTrigger) MarshalToSizedBuffer

func (m *EmailTrigger) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EmailTrigger) ProtoMessage

func (*EmailTrigger) ProtoMessage()

func (*EmailTrigger) Reset

func (m *EmailTrigger) Reset()

func (*EmailTrigger) Size

func (m *EmailTrigger) Size() (n int)

func (*EmailTrigger) String

func (this *EmailTrigger) String() string

func (*EmailTrigger) Unmarshal

func (m *EmailTrigger) Unmarshal(dAtA []byte) error

func (*EmailTrigger) XXX_DiscardUnknown

func (m *EmailTrigger) XXX_DiscardUnknown()

func (*EmailTrigger) XXX_Marshal

func (m *EmailTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EmailTrigger) XXX_Merge

func (m *EmailTrigger) XXX_Merge(src proto.Message)

func (*EmailTrigger) XXX_Size

func (m *EmailTrigger) XXX_Size() int

func (*EmailTrigger) XXX_Unmarshal

func (m *EmailTrigger) XXX_Unmarshal(b []byte) error

type EmitterEventSource

type EmitterEventSource struct {
	// Broker URI to connect to.
	Broker string `json:"broker" protobuf:"bytes,1,opt,name=broker"`
	// ChannelKey refers to the channel key
	ChannelKey string `json:"channelKey" protobuf:"bytes,2,opt,name=channelKey"`
	// ChannelName refers to the channel name
	ChannelName string `json:"channelName" protobuf:"bytes,3,opt,name=channelName"`
	// Username to use to connect to broker
	// +optional
	Username *corev1.SecretKeySelector `json:"username,omitempty" protobuf:"bytes,4,opt,name=username"`
	// Password to use to connect to broker
	// +optional
	Password *corev1.SecretKeySelector `json:"password,omitempty" protobuf:"bytes,5,opt,name=password"`
	// Backoff holds parameters applied to connection.
	// +optional
	ConnectionBackoff *Backoff `json:"connectionBackoff,omitempty" protobuf:"bytes,6,opt,name=connectionBackoff"`
	// JSONBody specifies that all event body payload coming from this
	// source will be JSON
	// +optional
	JSONBody bool `json:"jsonBody,omitempty" protobuf:"varint,7,opt,name=jsonBody"`
	// TLS configuration for the emitter client.
	// +optional
	TLS *TLSConfig `json:"tls,omitempty" protobuf:"bytes,8,opt,name=tls"`
	// Metadata holds the user defined metadata which will passed along the event payload.
	// +optional
	Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,9,rep,name=metadata"`
	// Filter
	// +optional
	Filter *EventSourceFilter `json:"filter,omitempty" protobuf:"bytes,10,opt,name=filter"`
}

EmitterEventSource describes the event source for emitter More info at https://emitter.io/develop/getting-started/

func (*EmitterEventSource) DeepCopy

func (in *EmitterEventSource) DeepCopy() *EmitterEventSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmitterEventSource.

func (*EmitterEventSource) DeepCopyInto

func (in *EmitterEventSource) DeepCopyInto(out *EmitterEventSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EmitterEventSource) Descriptor

func (*EmitterEventSource) Descriptor() ([]byte, []int)

func (*EmitterEventSource) Marshal

func (m *EmitterEventSource) Marshal() (dAtA []byte, err error)

func (*EmitterEventSource) MarshalTo

func (m *EmitterEventSource) MarshalTo(dAtA []byte) (int, error)

func (*EmitterEventSource) MarshalToSizedBuffer

func (m *EmitterEventSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EmitterEventSource) ProtoMessage

func (*EmitterEventSource) ProtoMessage()

func (*EmitterEventSource) Reset

func (m *EmitterEventSource) Reset()

func (*EmitterEventSource) Size

func (m *EmitterEventSource) Size() (n int)

func (*EmitterEventSource) String

func (this *EmitterEventSource) String() string

func (*EmitterEventSource) Unmarshal

func (m *EmitterEventSource) Unmarshal(dAtA []byte) error

func (*EmitterEventSource) XXX_DiscardUnknown

func (m *EmitterEventSource) XXX_DiscardUnknown()

func (*EmitterEventSource) XXX_Marshal

func (m *EmitterEventSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EmitterEventSource) XXX_Merge

func (m *EmitterEventSource) XXX_Merge(src proto.Message)

func (*EmitterEventSource) XXX_Size

func (m *EmitterEventSource) XXX_Size() int

func (*EmitterEventSource) XXX_Unmarshal

func (m *EmitterEventSource) XXX_Unmarshal(b []byte) error

type Event

type Event struct {
	Context *EventContext `json:"context,omitempty" protobuf:"bytes,1,opt,name=context"`
	Data    []byte        `json:"data" protobuf:"bytes,2,opt,name=data"`
}

Event represents the cloudevent received from an event source. +protobuf.options.(gogoproto.goproto_stringer)=false

func (Event) DataString

func (e Event) DataString() string

returns a string representation of the data, either as the text (e.g. if it is text) or as base 64 encoded string

func (*Event) DeepCopy

func (in *Event) DeepCopy() *Event

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Event.

func (*Event) DeepCopyInto

func (in *Event) DeepCopyInto(out *Event)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Event) Descriptor

func (*Event) Descriptor() ([]byte, []int)

func (*Event) Marshal

func (m *Event) Marshal() (dAtA []byte, err error)

func (*Event) MarshalTo

func (m *Event) MarshalTo(dAtA []byte) (int, error)

func (*Event) MarshalToSizedBuffer

func (m *Event) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (m *Event) Reset()

func (*Event) Size

func (m *Event) Size() (n int)

func (Event) String

func (e Event) String() string

func (*Event) Unmarshal

func (m *Event) Unmarshal(dAtA []byte) error

func (*Event) XXX_DiscardUnknown

func (m *Event) XXX_DiscardUnknown()

func (*Event) XXX_Marshal

func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Event) XXX_Merge

func (m *Event) XXX_Merge(src proto.Message)

func (*Event) XXX_Size

func (m *Event) XXX_Size() int

func (*Event) XXX_Unmarshal

func (m *Event) XXX_Unmarshal(b []byte) error

type EventBus

type EventBus struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`
	Spec              EventBusSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`
	// +optional
	Status EventBusStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

EventBus is the definition of a eventbus resource +genclient +kubebuilder:object:root=true +kubebuilder:resource:shortName=eb +kubebuilder:subresource:status +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true

func (*EventBus) DeepCopy

func (in *EventBus) DeepCopy() *EventBus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventBus.

func (*EventBus) DeepCopyInto

func (in *EventBus) DeepCopyInto(out *EventBus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EventBus) DeepCopyObject

func (in *EventBus) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*EventBus) Descriptor

func (*EventBus) Descriptor() ([]byte, []int)

func (*EventBus) Marshal

func (m *EventBus) Marshal() (dAtA []byte, err error)

func (*EventBus) MarshalTo

func (m *EventBus) MarshalTo(dAtA []byte) (int, error)

func (*EventBus) MarshalToSizedBuffer

func (m *EventBus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventBus) ProtoMessage

func (*EventBus) ProtoMessage()

func (*EventBus) Reset

func (m *EventBus) Reset()

func (*EventBus) Size

func (m *EventBus) Size() (n int)

func (*EventBus) String

func (this *EventBus) String() string

func (*EventBus) Unmarshal

func (m *EventBus) Unmarshal(dAtA []byte) error

func (*EventBus) XXX_DiscardUnknown

func (m *EventBus) XXX_DiscardUnknown()

func (*EventBus) XXX_Marshal

func (m *EventBus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventBus) XXX_Merge

func (m *EventBus) XXX_Merge(src proto.Message)

func (*EventBus) XXX_Size

func (m *EventBus) XXX_Size() int

func (*EventBus) XXX_Unmarshal

func (m *EventBus) XXX_Unmarshal(b []byte) error

type EventBusList

type EventBusList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`

	Items []EventBus `json:"items" protobuf:"bytes,2,rep,name=items"`
}

EventBusList is the list of eventbus resources +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*EventBusList) DeepCopy

func (in *EventBusList) DeepCopy() *EventBusList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventBusList.

func (*EventBusList) DeepCopyInto

func (in *EventBusList) DeepCopyInto(out *EventBusList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EventBusList) DeepCopyObject

func (in *EventBusList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*EventBusList) Descriptor

func (*EventBusList) Descriptor() ([]byte, []int)

func (*EventBusList) Marshal

func (m *EventBusList) Marshal() (dAtA []byte, err error)

func (*EventBusList) MarshalTo

func (m *EventBusList) MarshalTo(dAtA []byte) (int, error)

func (*EventBusList) MarshalToSizedBuffer

func (m *EventBusList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventBusList) ProtoMessage

func (*EventBusList) ProtoMessage()

func (*EventBusList) Reset

func (m *EventBusList) Reset()

func (*EventBusList) Size

func (m *EventBusList) Size() (n int)

func (*EventBusList) String

func (this *EventBusList) String() string

func (*EventBusList) Unmarshal

func (m *EventBusList) Unmarshal(dAtA []byte) error

func (*EventBusList) XXX_DiscardUnknown

func (m *EventBusList) XXX_DiscardUnknown()

func (*EventBusList) XXX_Marshal

func (m *EventBusList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventBusList) XXX_Merge

func (m *EventBusList) XXX_Merge(src proto.Message)

func (*EventBusList) XXX_Size

func (m *EventBusList) XXX_Size() int

func (*EventBusList) XXX_Unmarshal

func (m *EventBusList) XXX_Unmarshal(b []byte) error

type EventBusSpec

type EventBusSpec struct {
	// NATS eventbus
	// +optional
	NATS *NATSBus `json:"nats,omitempty" protobuf:"bytes,1,opt,name=nats"`
	// +optional
	JetStream *JetStreamBus `json:"jetstream,omitempty" protobuf:"bytes,2,opt,name=jetstream"`
	// +optional
	// Kafka eventbus
	Kafka *KafkaBus `json:"kafka,omitempty" protobuf:"bytes,3,opt,name=kafka"`
	// Exotic JetStream
	// +optional
	JetStreamExotic *JetStreamConfig `json:"jetstreamExotic,omitempty" protobuf:"bytes,4,opt,name=jetstreamExotic"`
}

EventBusSpec refers to specification of eventbus resource

func (*EventBusSpec) DeepCopy

func (in *EventBusSpec) DeepCopy() *EventBusSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventBusSpec.

func (*EventBusSpec) DeepCopyInto

func (in *EventBusSpec) DeepCopyInto(out *EventBusSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EventBusSpec) Descriptor

func (*EventBusSpec) Descriptor() ([]byte, []int)

func (*EventBusSpec) Marshal

func (m *EventBusSpec) Marshal() (dAtA []byte, err error)

func (*EventBusSpec) MarshalTo

func (m *EventBusSpec) MarshalTo(dAtA []byte) (int, error)

func (*EventBusSpec) MarshalToSizedBuffer

func (m *EventBusSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventBusSpec) ProtoMessage

func (*EventBusSpec) ProtoMessage()

func (*EventBusSpec) Reset

func (m *EventBusSpec) Reset()

func (*EventBusSpec) Size

func (m *EventBusSpec) Size() (n int)

func (*EventBusSpec) String

func (this *EventBusSpec) String() string

func (*EventBusSpec) Unmarshal

func (m *EventBusSpec) Unmarshal(dAtA []byte) error

func (*EventBusSpec) XXX_DiscardUnknown

func (m *EventBusSpec) XXX_DiscardUnknown()

func (*EventBusSpec) XXX_Marshal

func (m *EventBusSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventBusSpec) XXX_Merge

func (m *EventBusSpec) XXX_Merge(src proto.Message)

func (*EventBusSpec) XXX_Size

func (m *EventBusSpec) XXX_Size() int

func (*EventBusSpec) XXX_Unmarshal

func (m *EventBusSpec) XXX_Unmarshal(b []byte) error

type EventBusStatus

type EventBusStatus struct {
	Status `json:",inline" protobuf:"bytes,1,opt,name=status"`
	// Config holds the fininalized configuration of EventBus
	Config BusConfig `json:"config,omitempty" protobuf:"bytes,2,opt,name=config"`
}

EventBusStatus holds the status of the eventbus resource

func (*EventBusStatus) DeepCopy

func (in *EventBusStatus) DeepCopy() *EventBusStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventBusStatus.

func (*EventBusStatus) DeepCopyInto

func (in *EventBusStatus) DeepCopyInto(out *EventBusStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EventBusStatus) Descriptor

func (*EventBusStatus) Descriptor() ([]byte, []int)

func (*EventBusStatus) InitConditions

func (s *EventBusStatus) InitConditions()

InitConditions sets conditions to Unknown state.

func (*EventBusStatus) MarkConfigured

func (s *EventBusStatus) MarkConfigured()

MarkConfigured set the bus configuration has been done.

func (*EventBusStatus) MarkDeployFailed

func (s *EventBusStatus) MarkDeployFailed(reason, message string)

MarkDeployFailed set the bus deploy failed

func (*EventBusStatus) MarkDeployed

func (s *EventBusStatus) MarkDeployed(reason, message string)

MarkDeployed set the bus has been deployed.

func (*EventBusStatus) MarkDeploying

func (s *EventBusStatus) MarkDeploying(reason, message string)

MarkDeploying set the bus is deploying

func (*EventBusStatus) MarkNotConfigured

func (s *EventBusStatus) MarkNotConfigured(reason, message string)

MarkNotConfigured set the bus status not configured.

func (*EventBusStatus) Marshal

func (m *EventBusStatus) Marshal() (dAtA []byte, err error)

func (*EventBusStatus) MarshalTo

func (m *EventBusStatus) MarshalTo(dAtA []byte) (int, error)

func (*EventBusStatus) MarshalToSizedBuffer

func (m *EventBusStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventBusStatus) ProtoMessage

func (*EventBusStatus) ProtoMessage()

func (*EventBusStatus) Reset

func (m *EventBusStatus) Reset()

func (*EventBusStatus) Size

func (m *EventBusStatus) Size() (n int)

func (*EventBusStatus) String

func (this *EventBusStatus) String() string

func (*EventBusStatus) Unmarshal

func (m *EventBusStatus) Unmarshal(dAtA []byte) error

func (*EventBusStatus) XXX_DiscardUnknown

func (m *EventBusStatus) XXX_DiscardUnknown()

func (*EventBusStatus) XXX_Marshal

func (m *EventBusStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventBusStatus) XXX_Merge

func (m *EventBusStatus) XXX_Merge(src proto.Message)

func (*EventBusStatus) XXX_Size

func (m *EventBusStatus) XXX_Size() int

func (*EventBusStatus) XXX_Unmarshal

func (m *EventBusStatus) XXX_Unmarshal(b []byte) error

type EventBusType

type EventBusType string

EventBusType is the type of event bus

var (
	EventBusNATS      EventBusType = "nats"
	EventBusJetStream EventBusType = "jetstream"
	EventBusKafka     EventBusType = "kafka"
)

possible event bus types

type EventContext

type EventContext struct {
	// ID of the event; must be non-empty and unique within the scope of the producer.
	ID string `json:"id" protobuf:"bytes,1,opt,name=id"`
	// Source - A URI describing the event producer.
	Source string `json:"source" protobuf:"bytes,2,opt,name=source"`
	// SpecVersion - The version of the CloudEvents specification used by the event.
	SpecVersion string `json:"specversion" protobuf:"bytes,3,opt,name=specversion"`
	// Type - The type of the occurrence which has happened.
	Type string `json:"type" protobuf:"bytes,4,opt,name=type"`
	// DataContentType - A MIME (RFC2046) string describing the media type of `data`.
	DataContentType string `json:"datacontenttype" protobuf:"bytes,5,opt,name=datacontenttype"`
	// Subject - The subject of the event in the context of the event producer
	Subject string `json:"subject" protobuf:"bytes,6,opt,name=subject"`
	// Time - A Timestamp when the event happened.
	Time metav1.Time `json:"time" protobuf:"bytes,7,opt,name=time"`
}

EventContext holds the context of the cloudevent received from an event source. +protobuf.options.(gogoproto.goproto_stringer)=false

func (*EventContext) DeepCopy

func (in *EventContext) DeepCopy() *EventContext

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventContext.

func (*EventContext) DeepCopyInto

func (in *EventContext) DeepCopyInto(out *EventContext)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EventContext) Descriptor

func (*EventContext) Descriptor() ([]byte, []int)

func (*EventContext) Marshal

func (m *EventContext) Marshal() (dAtA []byte, err error)

func (*EventContext) MarshalTo

func (m *EventContext) MarshalTo(dAtA []byte) (int, error)

func (*EventContext) MarshalToSizedBuffer

func (m *EventContext) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventContext) ProtoMessage

func (*EventContext) ProtoMessage()

func (*EventContext) Reset

func (m *EventContext) Reset()

func (*EventContext) Size

func (m *EventContext) Size() (n int)

func (EventContext) String

func (e EventContext) String() string

func (*EventContext) Unmarshal

func (m *EventContext) Unmarshal(dAtA []byte) error

func (*EventContext) XXX_DiscardUnknown

func (m *EventContext) XXX_DiscardUnknown()

func (*EventContext) XXX_Marshal

func (m *EventContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventContext) XXX_Merge

func (m *EventContext) XXX_Merge(src proto.Message)

func (*EventContext) XXX_Size

func (m *EventContext) XXX_Size() int

func (*EventContext) XXX_Unmarshal

func (m *EventContext) XXX_Unmarshal(b []byte) error

type EventDependency

type EventDependency struct {
	// Name is a unique name of this dependency
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// EventSourceName is the name of EventSource that Sensor depends on
	EventSourceName string `json:"eventSourceName" protobuf:"bytes,2,name=eventSourceName"`
	// EventName is the name of the event
	EventName string `json:"eventName" protobuf:"bytes,3,name=eventName"`
	// Filters and rules governing toleration of success and constraints on the context and data of an event
	Filters *EventDependencyFilter `json:"filters,omitempty" protobuf:"bytes,4,opt,name=filters"`
	// Transform transforms the event data
	Transform *EventDependencyTransformer `json:"transform,omitempty" protobuf:"bytes,5,opt,name=transform"`
	// FiltersLogicalOperator defines how different filters are evaluated together.
	// Available values: and (&&), or (||)
	// Is optional and if left blank treated as and (&&).
	FiltersLogicalOperator LogicalOperator `json:"filtersLogicalOperator,omitempty" protobuf:"bytes,6,opt,name=filtersLogicalOperator,casttype=LogicalOperator"`
}

EventDependency describes a dependency

func (*EventDependency) DeepCopy

func (in *EventDependency) DeepCopy() *EventDependency

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventDependency.

func (*EventDependency) DeepCopyInto

func (in *EventDependency) DeepCopyInto(out *EventDependency)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EventDependency) Descriptor

func (*EventDependency) Descriptor() ([]byte, []int)

func (*EventDependency) Marshal

func (m *EventDependency) Marshal() (dAtA []byte, err error)

func (*EventDependency) MarshalTo

func (m *EventDependency) MarshalTo(dAtA []byte) (int, error)

func (*EventDependency) MarshalToSizedBuffer

func (m *EventDependency) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventDependency) ProtoMessage

func (*EventDependency) ProtoMessage()

func (*EventDependency) Reset

func (m *EventDependency) Reset()

func (*EventDependency) Size

func (m *EventDependency) Size() (n int)

func (*EventDependency) String

func (this *EventDependency) String() string

func (*EventDependency) Unmarshal

func (m *EventDependency) Unmarshal(dAtA []byte) error

func (*EventDependency) XXX_DiscardUnknown

func (m *EventDependency) XXX_DiscardUnknown()

func (*EventDependency) XXX_Marshal

func (m *EventDependency) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventDependency) XXX_Merge

func (m *EventDependency) XXX_Merge(src proto.Message)

func (*EventDependency) XXX_Size

func (m *EventDependency) XXX_Size() int

func (*EventDependency) XXX_Unmarshal

func (m *EventDependency) XXX_Unmarshal(b []byte) error

type EventDependencyFilter

type EventDependencyFilter struct {
	// Time filter on the event with escalation
	Time *TimeFilter `json:"time,omitempty" protobuf:"bytes,1,opt,name=time"`
	// Context filter constraints
	Context *EventContext `json:"context,omitempty" protobuf:"bytes,2,opt,name=context"`
	// Data filter constraints with escalation
	Data []DataFilter `json:"data,omitempty" protobuf:"bytes,3,rep,name=data"`
	// Exprs contains the list of expressions evaluated against the event payload.
	Exprs []ExprFilter `json:"exprs,omitempty" protobuf:"bytes,4,rep,name=exprs"`
	// DataLogicalOperator defines how multiple Data filters (if defined) are evaluated together.
	// Available values: and (&&), or (||)
	// Is optional and if left blank treated as and (&&).
	DataLogicalOperator LogicalOperator `json:"dataLogicalOperator,omitempty" protobuf:"bytes,5,opt,name=dataLogicalOperator,casttype=DataLogicalOperator"`
	// ExprLogicalOperator defines how multiple Exprs filters (if defined) are evaluated together.
	// Available values: and (&&), or (||)
	// Is optional and if left blank treated as and (&&).
	ExprLogicalOperator LogicalOperator `json:"exprLogicalOperator,omitempty" protobuf:"bytes,6,opt,name=exprLogicalOperator,casttype=ExprLogicalOperator"`
	// Script refers to a Lua script evaluated to determine the validity of an event.
	Script string `json:"script,omitempty" protobuf:"bytes,7,opt,name=script"`
}

EventDependencyFilter defines filters and constraints for a event.

func (*EventDependencyFilter) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventDependencyFilter.

func (*EventDependencyFilter) DeepCopyInto

func (in *EventDependencyFilter) DeepCopyInto(out *EventDependencyFilter)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EventDependencyFilter) Descriptor

func (*EventDependencyFilter) Descriptor() ([]byte, []int)

func (*EventDependencyFilter) Marshal

func (m *EventDependencyFilter) Marshal() (dAtA []byte, err error)

func (*EventDependencyFilter) MarshalTo

func (m *EventDependencyFilter) MarshalTo(dAtA []byte) (int, error)

func (*EventDependencyFilter) MarshalToSizedBuffer

func (m *EventDependencyFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventDependencyFilter) ProtoMessage

func (*EventDependencyFilter) ProtoMessage()

func (*EventDependencyFilter) Reset

func (m *EventDependencyFilter) Reset()

func (*EventDependencyFilter) Size

func (m *EventDependencyFilter) Size() (n int)

func (*EventDependencyFilter) String

func (this *EventDependencyFilter) String() string

func (*EventDependencyFilter) Unmarshal

func (m *EventDependencyFilter) Unmarshal(dAtA []byte) error

func (*EventDependencyFilter) XXX_DiscardUnknown

func (m *EventDependencyFilter) XXX_DiscardUnknown()

func (*EventDependencyFilter) XXX_Marshal

func (m *EventDependencyFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventDependencyFilter) XXX_Merge

func (m *EventDependencyFilter) XXX_Merge(src proto.Message)

func (*EventDependencyFilter) XXX_Size

func (m *EventDependencyFilter) XXX_Size() int

func (*EventDependencyFilter) XXX_Unmarshal

func (m *EventDependencyFilter) XXX_Unmarshal(b []byte) error

type EventDependencyTransformer

type EventDependencyTransformer struct {
	// JQ holds the jq command applied for transformation
	// +optional
	JQ string `json:"jq,omitempty" protobuf:"bytes,1,opt,name=jq"`
	// Script refers to a Lua script used to transform the event
	// +optional
	Script string `json:"script,omitempty" protobuf:"bytes,2,opt,name=script"`
}

EventDependencyTransformer transforms the event

func (*EventDependencyTransformer) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventDependencyTransformer.

func (*EventDependencyTransformer) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EventDependencyTransformer) Descriptor

func (*EventDependencyTransformer) Descriptor() ([]byte, []int)

func (*EventDependencyTransformer) Marshal

func (m *EventDependencyTransformer) Marshal() (dAtA []byte, err error)

func (*EventDependencyTransformer) MarshalTo

func (m *EventDependencyTransformer) MarshalTo(dAtA []byte) (int, error)

func (*EventDependencyTransformer) MarshalToSizedBuffer

func (m *EventDependencyTransformer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventDependencyTransformer) ProtoMessage

func (*EventDependencyTransformer) ProtoMessage()

func (*EventDependencyTransformer) Reset

func (m *EventDependencyTransformer) Reset()

func (*EventDependencyTransformer) Size

func (m *EventDependencyTransformer) Size() (n int)

func (*EventDependencyTransformer) String

func (this *EventDependencyTransformer) String() string

func (*EventDependencyTransformer) Unmarshal

func (m *EventDependencyTransformer) Unmarshal(dAtA []byte) error

func (*EventDependencyTransformer) XXX_DiscardUnknown

func (m *EventDependencyTransformer) XXX_DiscardUnknown()

func (*EventDependencyTransformer) XXX_Marshal

func (m *EventDependencyTransformer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventDependencyTransformer) XXX_Merge

func (m *EventDependencyTransformer) XXX_Merge(src proto.Message)

func (*EventDependencyTransformer) XXX_Size

func (m *EventDependencyTransformer) XXX_Size() int

func (*EventDependencyTransformer) XXX_Unmarshal

func (m *EventDependencyTransformer) XXX_Unmarshal(b []byte) error

type EventPersistence

type EventPersistence struct {
	// Catchup enables to triggered the missed schedule when eventsource restarts
	Catchup *CatchupConfiguration `json:"catchup,omitempty" protobuf:"bytes,1,opt,name=catchup"`
	// ConfigMap holds configmap details for persistence
	ConfigMap *ConfigMapPersistence `json:"configMap,omitempty" protobuf:"bytes,2,opt,name=configMap"`
}

func (*EventPersistence) DeepCopy

func (in *EventPersistence) DeepCopy() *EventPersistence

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventPersistence.

func (*EventPersistence) DeepCopyInto

func (in *EventPersistence) DeepCopyInto(out *EventPersistence)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EventPersistence) Descriptor

func (*EventPersistence) Descriptor() ([]byte, []int)

func (*EventPersistence) IsCatchUpEnabled

func (ep *EventPersistence) IsCatchUpEnabled() bool

func (*EventPersistence) Marshal

func (m *EventPersistence) Marshal() (dAtA []byte, err error)

func (*EventPersistence) MarshalTo

func (m *EventPersistence) MarshalTo(dAtA []byte) (int, error)

func (*EventPersistence) MarshalToSizedBuffer

func (m *EventPersistence) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventPersistence) ProtoMessage

func (*EventPersistence) ProtoMessage()

func (*EventPersistence) Reset

func (m *EventPersistence) Reset()

func (*EventPersistence) Size

func (m *EventPersistence) Size() (n int)

func (*EventPersistence) String

func (this *EventPersistence) String() string

func (*EventPersistence) Unmarshal

func (m *EventPersistence) Unmarshal(dAtA []byte) error

func (*EventPersistence) XXX_DiscardUnknown

func (m *EventPersistence) XXX_DiscardUnknown()

func (*EventPersistence) XXX_Marshal

func (m *EventPersistence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventPersistence) XXX_Merge

func (m *EventPersistence) XXX_Merge(src proto.Message)

func (*EventPersistence) XXX_Size

func (m *EventPersistence) XXX_Size() int

func (*EventPersistence) XXX_Unmarshal

func (m *EventPersistence) XXX_Unmarshal(b []byte) error

type EventSource

type EventSource struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`
	Spec              EventSourceSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`
	// +optional
	Status EventSourceStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

EventSource is the definition of a eventsource resource +genclient +kubebuilder:resource:shortName=es +kubebuilder:subresource:status +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true

func (*EventSource) DeepCopy

func (in *EventSource) DeepCopy() *EventSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSource.

func (*EventSource) DeepCopyInto

func (in *EventSource) DeepCopyInto(out *EventSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EventSource) DeepCopyObject

func (in *EventSource) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*EventSource) Descriptor

func (*EventSource) Descriptor() ([]byte, []int)

func (*EventSource) Marshal

func (m *EventSource) Marshal() (dAtA []byte, err error)

func (*EventSource) MarshalTo

func (m *EventSource) MarshalTo(dAtA []byte) (int, error)

func (*EventSource) MarshalToSizedBuffer

func (m *EventSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventSource) ProtoMessage

func (*EventSource) ProtoMessage()

func (*EventSource) Reset

func (m *EventSource) Reset()

func (*EventSource) Size

func (m *EventSource) Size() (n int)

func (*EventSource) String

func (this *EventSource) String() string

func (*EventSource) Unmarshal

func (m *EventSource) Unmarshal(dAtA []byte) error

func (*EventSource) XXX_DiscardUnknown

func (m *EventSource) XXX_DiscardUnknown()

func (*EventSource) XXX_Marshal

func (m *EventSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventSource) XXX_Merge

func (m *EventSource) XXX_Merge(src proto.Message)

func (*EventSource) XXX_Size

func (m *EventSource) XXX_Size() int

func (*EventSource) XXX_Unmarshal

func (m *EventSource) XXX_Unmarshal(b []byte) error

type EventSourceFilter

type EventSourceFilter struct {
	Expression string `json:"expression,omitempty" protobuf:"bytes,1,opt,name=expression"`
}

func (*EventSourceFilter) DeepCopy

func (in *EventSourceFilter) DeepCopy() *EventSourceFilter

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSourceFilter.

func (*EventSourceFilter) DeepCopyInto

func (in *EventSourceFilter) DeepCopyInto(out *EventSourceFilter)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EventSourceFilter) Descriptor

func (*EventSourceFilter) Descriptor() ([]byte, []int)

func (*EventSourceFilter) Marshal

func (m *EventSourceFilter) Marshal() (dAtA []byte, err error)

func (*EventSourceFilter) MarshalTo

func (m *EventSourceFilter) MarshalTo(dAtA []byte) (int, error)

func (*EventSourceFilter) MarshalToSizedBuffer

func (m *EventSourceFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventSourceFilter) ProtoMessage

func (*EventSourceFilter) ProtoMessage()

func (*EventSourceFilter) Reset

func (m *EventSourceFilter) Reset()

func (*EventSourceFilter) Size

func (m *EventSourceFilter) Size() (n int)

func (*EventSourceFilter) String

func (this *EventSourceFilter) String() string

func (*EventSourceFilter) Unmarshal

func (m *EventSourceFilter) Unmarshal(dAtA []byte) error

func (*EventSourceFilter) XXX_DiscardUnknown

func (m *EventSourceFilter) XXX_DiscardUnknown()

func (*EventSourceFilter) XXX_Marshal

func (m *EventSourceFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventSourceFilter) XXX_Merge

func (m *EventSourceFilter) XXX_Merge(src proto.Message)

func (*EventSourceFilter) XXX_Size

func (m *EventSourceFilter) XXX_Size() int

func (*EventSourceFilter) XXX_Unmarshal

func (m *EventSourceFilter) XXX_Unmarshal(b []byte) error

type EventSourceList

type EventSourceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`

	Items []EventSource `json:"items" protobuf:"bytes,2,rep,name=items"`
}

EventSourceList is the list of eventsource resources +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*EventSourceList) DeepCopy

func (in *EventSourceList) DeepCopy() *EventSourceList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSourceList.

func (*EventSourceList) DeepCopyInto

func (in *EventSourceList) DeepCopyInto(out *EventSourceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EventSourceList) DeepCopyObject

func (in *EventSourceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*EventSourceList) Descriptor

func (*EventSourceList) Descriptor() ([]byte, []int)

func (*EventSourceList) Marshal

func (m *EventSourceList) Marshal() (dAtA []byte, err error)

func (*EventSourceList) MarshalTo

func (m *EventSourceList) MarshalTo(dAtA []byte) (int, error)

func (*EventSourceList) MarshalToSizedBuffer

func (m *EventSourceList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventSourceList) ProtoMessage

func (*EventSourceList) ProtoMessage()

func (*EventSourceList) Reset

func (m *EventSourceList) Reset()

func (*EventSourceList) Size

func (m *EventSourceList) Size() (n int)

func (*EventSourceList) String

func (this *EventSourceList) String() string

func (*EventSourceList) Unmarshal

func (m *EventSourceList) Unmarshal(dAtA []byte) error

func (*EventSourceList) XXX_DiscardUnknown

func (m *EventSourceList) XXX_DiscardUnknown()

func (*EventSourceList) XXX_Marshal

func (m *EventSourceList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventSourceList) XXX_Merge

func (m *EventSourceList) XXX_Merge(src proto.Message)

func (*EventSourceList) XXX_Size

func (m *EventSourceList) XXX_Size() int

func (*EventSourceList) XXX_Unmarshal

func (m *EventSourceList) XXX_Unmarshal(b []byte) error

type EventSourceSpec

type EventSourceSpec struct {
	// EventBusName references to a EventBus name. By default the value is "default"
	EventBusName string `json:"eventBusName,omitempty" protobuf:"bytes,1,opt,name=eventBusName"`
	// Template is the pod specification for the event source
	// +optional
	Template *Template `json:"template,omitempty" protobuf:"bytes,2,opt,name=template"`
	// Service is the specifications of the service to expose the event source
	// +optional
	Service *Service `json:"service,omitempty" protobuf:"bytes,3,opt,name=service"`
	// Minio event sources
	Minio map[string]S3Artifact `json:"minio,omitempty" protobuf:"bytes,4,rep,name=minio"`
	// Calendar event sources
	Calendar map[string]CalendarEventSource `json:"calendar,omitempty" protobuf:"bytes,5,rep,name=calendar"`
	// File event sources
	File map[string]FileEventSource `json:"file,omitempty" protobuf:"bytes,6,rep,name=file"`
	// Resource event sources
	Resource map[string]ResourceEventSource `json:"resource,omitempty" protobuf:"bytes,7,rep,name=resource"`
	// Webhook event sources
	Webhook map[string]WebhookEventSource `json:"webhook,omitempty" protobuf:"bytes,8,rep,name=webhook"`
	// AMQP event sources
	AMQP map[string]AMQPEventSource `json:"amqp,omitempty" protobuf:"bytes,9,rep,name=amqp"`
	// Kafka event sources
	Kafka map[string]KafkaEventSource `json:"kafka,omitempty" protobuf:"bytes,10,rep,name=kafka"`
	// MQTT event sources
	MQTT map[string]MQTTEventSource `json:"mqtt,omitempty" protobuf:"bytes,11,rep,name=mqtt"`
	// NATS event sources
	NATS map[string]NATSEventsSource `json:"nats,omitempty" protobuf:"bytes,12,rep,name=nats"`
	// SNS event sources
	SNS map[string]SNSEventSource `json:"sns,omitempty" protobuf:"bytes,13,rep,name=sns"`
	// SQS event sources
	SQS map[string]SQSEventSource `json:"sqs,omitempty" protobuf:"bytes,14,rep,name=sqs"`
	// PubSub event sources
	PubSub map[string]PubSubEventSource `json:"pubSub,omitempty" protobuf:"bytes,15,rep,name=pubSub"`
	// Github event sources
	Github map[string]GithubEventSource `json:"github,omitempty" protobuf:"bytes,16,rep,name=github"`
	// Gitlab event sources
	Gitlab map[string]GitlabEventSource `json:"gitlab,omitempty" protobuf:"bytes,17,rep,name=gitlab"`
	// HDFS event sources
	HDFS map[string]HDFSEventSource `json:"hdfs,omitempty" protobuf:"bytes,18,rep,name=hdfs"`
	// Slack event sources
	Slack map[string]SlackEventSource `json:"slack,omitempty" protobuf:"bytes,19,rep,name=slack"`
	// StorageGrid event sources
	StorageGrid map[string]StorageGridEventSource `json:"storageGrid,omitempty" protobuf:"bytes,20,rep,name=storageGrid"`
	// AzureEventsHub event sources
	AzureEventsHub map[string]AzureEventsHubEventSource `json:"azureEventsHub,omitempty" protobuf:"bytes,21,rep,name=azureEventsHub"`
	// Stripe event sources
	Stripe map[string]StripeEventSource `json:"stripe,omitempty" protobuf:"bytes,22,rep,name=stripe"`
	// Emitter event source
	Emitter map[string]EmitterEventSource `json:"emitter,omitempty" protobuf:"bytes,23,rep,name=emitter"`
	// Redis event source
	Redis map[string]RedisEventSource `json:"redis,omitempty" protobuf:"bytes,24,rep,name=redis"`
	// NSQ event source
	NSQ map[string]NSQEventSource `json:"nsq,omitempty" protobuf:"bytes,25,rep,name=nsq"`
	// Pulsar event source
	Pulsar map[string]PulsarEventSource `json:"pulsar,omitempty" protobuf:"bytes,26,opt,name=pulsar"`
	// Generic event source
	Generic map[string]GenericEventSource `json:"generic,omitempty" protobuf:"bytes,27,rep,name=generic"`
	// Replicas is the event source deployment replicas
	Replicas *int32 `json:"replicas,omitempty" protobuf:"varint,28,opt,name=replicas"`
	// Bitbucket Server event sources
	BitbucketServer map[string]BitbucketServerEventSource `json:"bitbucketserver,omitempty" protobuf:"bytes,29,rep,name=bitbucketserver"`
	// Bitbucket event sources
	Bitbucket map[string]BitbucketEventSource `json:"bitbucket,omitempty" protobuf:"bytes,30,rep,name=bitbucket"`
	// Redis stream source
	RedisStream map[string]RedisStreamEventSource `json:"redisStream,omitempty" protobuf:"bytes,31,rep,name=redisStream"`
	// Azure Service Bus event source
	AzureServiceBus map[string]AzureServiceBusEventSource `json:"azureServiceBus,omitempty" protobuf:"bytes,32,rep,name=azureServiceBus"`
	// AzureQueueStorage event source
	AzureQueueStorage map[string]AzureQueueStorageEventSource `json:"azureQueueStorage,omitempty" protobuf:"bytes,33,rep,name=azureQueueStorage"`
	// SFTP event sources
	SFTP map[string]SFTPEventSource `json:"sftp,omitempty" protobuf:"bytes,34,rep,name=sftp"`
	// Gerrit event source
	Gerrit map[string]GerritEventSource `json:"gerrit,omitempty" protobuf:"bytes,35,rep,name=gerrit"`
}

EventSourceSpec refers to specification of event-source resource

func (*EventSourceSpec) DeepCopy

func (in *EventSourceSpec) DeepCopy() *EventSourceSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSourceSpec.

func (*EventSourceSpec) DeepCopyInto

func (in *EventSourceSpec) DeepCopyInto(out *EventSourceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EventSourceSpec) Descriptor

func (*EventSourceSpec) Descriptor() ([]byte, []int)

func (EventSourceSpec) GetReplicas

func (e EventSourceSpec) GetReplicas() int32

func (*EventSourceSpec) Marshal

func (m *EventSourceSpec) Marshal() (dAtA []byte, err error)

func (*EventSourceSpec) MarshalTo

func (m *EventSourceSpec) MarshalTo(dAtA []byte) (int, error)

func (*EventSourceSpec) MarshalToSizedBuffer

func (m *EventSourceSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventSourceSpec) ProtoMessage

func (*EventSourceSpec) ProtoMessage()

func (*EventSourceSpec) Reset

func (m *EventSourceSpec) Reset()

func (*EventSourceSpec) Size

func (m *EventSourceSpec) Size() (n int)

func (*EventSourceSpec) String

func (this *EventSourceSpec) String() string

func (*EventSourceSpec) Unmarshal

func (m *EventSourceSpec) Unmarshal(dAtA []byte) error

func (*EventSourceSpec) XXX_DiscardUnknown

func (m *EventSourceSpec) XXX_DiscardUnknown()

func (*EventSourceSpec) XXX_Marshal

func (m *EventSourceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventSourceSpec) XXX_Merge

func (m *EventSourceSpec) XXX_Merge(src proto.Message)

func (*EventSourceSpec) XXX_Size

func (m *EventSourceSpec) XXX_Size() int

func (*EventSourceSpec) XXX_Unmarshal

func (m *EventSourceSpec) XXX_Unmarshal(b []byte) error

type EventSourceStatus

type EventSourceStatus struct {
	Status `json:",inline" protobuf:"bytes,1,opt,name=status"`
}

EventSourceStatus holds the status of the event-source resource

func (*EventSourceStatus) DeepCopy

func (in *EventSourceStatus) DeepCopy() *EventSourceStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSourceStatus.

func (*EventSourceStatus) DeepCopyInto

func (in *EventSourceStatus) DeepCopyInto(out *EventSourceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EventSourceStatus) Descriptor

func (*EventSourceStatus) Descriptor() ([]byte, []int)

func (*EventSourceStatus) InitConditions

func (es *EventSourceStatus) InitConditions()

InitConditions sets conditions to Unknown state.

func (*EventSourceStatus) MarkDeployFailed

func (es *EventSourceStatus) MarkDeployFailed(reason, message string)

MarkDeployFailed set the eventsource deploy failed

func (*EventSourceStatus) MarkDeployed

func (es *EventSourceStatus) MarkDeployed()

MarkDeployed set the eventsource has been deployed.

func (*EventSourceStatus) MarkSourcesNotProvided

func (es *EventSourceStatus) MarkSourcesNotProvided(reason, message string)

MarkSourcesNotProvided the eventsource has invalid sources spec provided.

func (*EventSourceStatus) MarkSourcesProvided

func (es *EventSourceStatus) MarkSourcesProvided()

MarkSourcesProvided set the eventsource has valid sources spec provided.

func (*EventSourceStatus) Marshal

func (m *EventSourceStatus) Marshal() (dAtA []byte, err error)

func (*EventSourceStatus) MarshalTo

func (m *EventSourceStatus) MarshalTo(dAtA []byte) (int, error)

func (*EventSourceStatus) MarshalToSizedBuffer

func (m *EventSourceStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventSourceStatus) ProtoMessage

func (*EventSourceStatus) ProtoMessage()

func (*EventSourceStatus) Reset

func (m *EventSourceStatus) Reset()

func (*EventSourceStatus) Size

func (m *EventSourceStatus) Size() (n int)

func (*EventSourceStatus) String

func (this *EventSourceStatus) String() string

func (*EventSourceStatus) Unmarshal

func (m *EventSourceStatus) Unmarshal(dAtA []byte) error

func (*EventSourceStatus) XXX_DiscardUnknown

func (m *EventSourceStatus) XXX_DiscardUnknown()

func (*EventSourceStatus) XXX_Marshal

func (m *EventSourceStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventSourceStatus) XXX_Merge

func (m *EventSourceStatus) XXX_Merge(src proto.Message)

func (*EventSourceStatus) XXX_Size

func (m *EventSourceStatus) XXX_Size() int

func (*EventSourceStatus) XXX_Unmarshal

func (m *EventSourceStatus) XXX_Unmarshal(b []byte) error

type EventSourceType

type EventSourceType string

EventSourceType is the type of event source

var (
	MinioEvent           EventSourceType = "minio"
	CalendarEvent        EventSourceType = "calendar"
	FileEvent            EventSourceType = "file"
	SFTPEvent            EventSourceType = "sftp"
	ResourceEvent        EventSourceType = "resource"
	WebhookEvent         EventSourceType = "webhook"
	AMQPEvent            EventSourceType = "amqp"
	KafkaEvent           EventSourceType = "kafka"
	MQTTEvent            EventSourceType = "mqtt"
	NATSEvent            EventSourceType = "nats"
	SNSEvent             EventSourceType = "sns"
	SQSEvent             EventSourceType = "sqs"
	PubSubEvent          EventSourceType = "pubsub"
	GerritEvent          EventSourceType = "gerrit"
	GithubEvent          EventSourceType = "github"
	GitlabEvent          EventSourceType = "gitlab"
	HDFSEvent            EventSourceType = "hdfs"
	SlackEvent           EventSourceType = "slack"
	StorageGridEvent     EventSourceType = "storagegrid"
	AzureEventsHub       EventSourceType = "azureEventsHub"
	AzureQueueStorage    EventSourceType = "azureQueueStorage"
	AzureServiceBus      EventSourceType = "azureServiceBus"
	StripeEvent          EventSourceType = "stripe"
	EmitterEvent         EventSourceType = "emitter"
	RedisEvent           EventSourceType = "redis"
	RedisStreamEvent     EventSourceType = "redisStream"
	NSQEvent             EventSourceType = "nsq"
	PulsarEvent          EventSourceType = "pulsar"
	GenericEvent         EventSourceType = "generic"
	BitbucketServerEvent EventSourceType = "bitbucketserver"
	BitbucketEvent       EventSourceType = "bitbucket"
)

possible event source types

type ExprFilter

type ExprFilter struct {
	// Expr refers to the expression that determines the outcome of the filter.
	Expr string `json:"expr" protobuf:"bytes,1,opt,name=expr"`
	// Fields refers to set of keys that refer to the paths within event payload.
	Fields []PayloadField `json:"fields" protobuf:"bytes,2,rep,name=fields"`
}

func (*ExprFilter) DeepCopy

func (in *ExprFilter) DeepCopy() *ExprFilter

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExprFilter.

func (*ExprFilter) DeepCopyInto

func (in *ExprFilter) DeepCopyInto(out *ExprFilter)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ExprFilter) Descriptor

func (*ExprFilter) Descriptor() ([]byte, []int)

func (*ExprFilter) Marshal

func (m *ExprFilter) Marshal() (dAtA []byte, err error)

func (*ExprFilter) MarshalTo

func (m *ExprFilter) MarshalTo(dAtA []byte) (int, error)

func (*ExprFilter) MarshalToSizedBuffer

func (m *ExprFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExprFilter) ProtoMessage

func (*ExprFilter) ProtoMessage()

func (*ExprFilter) Reset

func (m *ExprFilter) Reset()

func (*ExprFilter) Size

func (m *ExprFilter) Size() (n int)

func (*ExprFilter) String

func (this *ExprFilter) String() string

func (*ExprFilter) Unmarshal

func (m *ExprFilter) Unmarshal(dAtA []byte) error

func (*ExprFilter) XXX_DiscardUnknown

func (m *ExprFilter) XXX_DiscardUnknown()

func (*ExprFilter) XXX_Marshal

func (m *ExprFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExprFilter) XXX_Merge

func (m *ExprFilter) XXX_Merge(src proto.Message)

func (*ExprFilter) XXX_Size

func (m *ExprFilter) XXX_Size() int

func (*ExprFilter) XXX_Unmarshal

func (m *ExprFilter) XXX_Unmarshal(b []byte) error

type FileArtifact

type FileArtifact struct {
	Path string `json:"path,omitempty" protobuf:"bytes,1,opt,name=path"`
}

FileArtifact contains information about an artifact in a filesystem

func (*FileArtifact) DeepCopy

func (in *FileArtifact) DeepCopy() *FileArtifact

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileArtifact.

func (*FileArtifact) DeepCopyInto

func (in *FileArtifact) DeepCopyInto(out *FileArtifact)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FileArtifact) Descriptor

func (*FileArtifact) Descriptor() ([]byte, []int)

func (*FileArtifact) Marshal

func (m *FileArtifact) Marshal() (dAtA []byte, err error)

func (*FileArtifact) MarshalTo

func (m *FileArtifact) MarshalTo(dAtA []byte) (int, error)

func (*FileArtifact) MarshalToSizedBuffer

func (m *FileArtifact) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FileArtifact) ProtoMessage

func (*FileArtifact) ProtoMessage()

func (*FileArtifact) Reset

func (m *FileArtifact) Reset()

func (*FileArtifact) Size

func (m *FileArtifact) Size() (n int)

func (*FileArtifact) String

func (this *FileArtifact) String() string

func (*FileArtifact) Unmarshal

func (m *FileArtifact) Unmarshal(dAtA []byte) error

func (*FileArtifact) XXX_DiscardUnknown

func (m *FileArtifact) XXX_DiscardUnknown()

func (*FileArtifact) XXX_Marshal

func (m *FileArtifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FileArtifact) XXX_Merge

func (m *FileArtifact) XXX_Merge(src proto.Message)

func (*FileArtifact) XXX_Size

func (m *FileArtifact) XXX_Size() int

func (*FileArtifact) XXX_Unmarshal

func (m *FileArtifact) XXX_Unmarshal(b []byte) error

type FileEventSource

type FileEventSource struct {
	// Type of file operations to watch
	// Refer https://github.com/fsnotify/fsnotify/blob/master/fsnotify.go for more information
	EventType string `json:"eventType" protobuf:"bytes,1,opt,name=eventType"`
	// WatchPathConfig contains configuration about the file path to watch
	WatchPathConfig WatchPathConfig `json:"watchPathConfig" protobuf:"bytes,2,opt,name=watchPathConfig"`
	// Use polling instead of inotify
	Polling bool `json:"polling,omitempty" protobuf:"varint,3,opt,name=polling"`
	// Metadata holds the user defined metadata which will passed along the event payload.
	// +optional
	Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,4,rep,name=metadata"`
	// Filter
	// +optional
	Filter *EventSourceFilter `json:"filter,omitempty" protobuf:"bytes,5,opt,name=filter"`
}

FileEventSource describes an event-source for file related events.

func (*FileEventSource) DeepCopy

func (in *FileEventSource) DeepCopy() *FileEventSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileEventSource.

func (*FileEventSource) DeepCopyInto

func (in *FileEventSource) DeepCopyInto(out *FileEventSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FileEventSource) Descriptor

func (*FileEventSource) Descriptor() ([]byte, []int)

func (*FileEventSource) Marshal

func (m *FileEventSource) Marshal() (dAtA []byte, err error)

func (*FileEventSource) MarshalTo

func (m *FileEventSource) MarshalTo(dAtA []byte) (int, error)

func (*FileEventSource) MarshalToSizedBuffer

func (m *FileEventSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FileEventSource) ProtoMessage

func (*FileEventSource) ProtoMessage()

func (*FileEventSource) Reset

func (m *FileEventSource) Reset()

func (*FileEventSource) Size

func (m *FileEventSource) Size() (n int)

func (*FileEventSource) String

func (this *FileEventSource) String() string

func (*FileEventSource) Unmarshal

func (m *FileEventSource) Unmarshal(dAtA []byte) error

func (*FileEventSource) XXX_DiscardUnknown

func (m *FileEventSource) XXX_DiscardUnknown()

func (*FileEventSource) XXX_Marshal

func (m *FileEventSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FileEventSource) XXX_Merge

func (m *FileEventSource) XXX_Merge(src proto.Message)

func (*FileEventSource) XXX_Size

func (m *FileEventSource) XXX_Size() int

func (*FileEventSource) XXX_Unmarshal

func (m *FileEventSource) XXX_Unmarshal(b []byte) error

type GenericEventSource

type GenericEventSource struct {
	// URL of the gRPC server that implements the event source.
	URL string `json:"url" protobuf:"bytes,1,name=url"`
	// Config is the event source configuration
	Config string `json:"config" protobuf:"bytes,2,name=config"`
	// Insecure determines the type of connection.
	Insecure bool `json:"insecure,omitempty" protobuf:"varint,3,opt,name=insecure"`
	// JSONBody specifies that all event body payload coming from this
	// source will be JSON
	// +optional
	JSONBody bool `json:"jsonBody,omitempty" protobuf:"varint,4,opt,name=jsonBody"`
	// Metadata holds the user defined metadata which will passed along the event payload.
	// +optional
	Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,5,rep,name=metadata"`
	// AuthSecret holds a secret selector that contains a bearer token for authentication
	// +optional
	AuthSecret *corev1.SecretKeySelector `json:"authSecret,omitempty" protobuf:"bytes,6,opt,name=authSecret"`
	// Filter
	// +optional
	Filter *EventSourceFilter `json:"filter,omitempty" protobuf:"bytes,7,opt,name=filter"`
}

GenericEventSource refers to a generic event source. It can be used to implement a custom event source.

func (*GenericEventSource) DeepCopy

func (in *GenericEventSource) DeepCopy() *GenericEventSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericEventSource.

func (*GenericEventSource) DeepCopyInto

func (in *GenericEventSource) DeepCopyInto(out *GenericEventSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GenericEventSource) Descriptor

func (*GenericEventSource) Descriptor() ([]byte, []int)

func (*GenericEventSource) Marshal

func (m *GenericEventSource) Marshal() (dAtA []byte, err error)

func (*GenericEventSource) MarshalTo

func (m *GenericEventSource) MarshalTo(dAtA []byte) (int, error)

func (*GenericEventSource) MarshalToSizedBuffer

func (m *GenericEventSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenericEventSource) ProtoMessage

func (*GenericEventSource) ProtoMessage()

func (*GenericEventSource) Reset

func (m *GenericEventSource) Reset()

func (*GenericEventSource) Size

func (m *GenericEventSource) Size() (n int)

func (*GenericEventSource) String

func (this *GenericEventSource) String() string

func (*GenericEventSource) Unmarshal

func (m *GenericEventSource) Unmarshal(dAtA []byte) error

func (*GenericEventSource) XXX_DiscardUnknown

func (m *GenericEventSource) XXX_DiscardUnknown()

func (*GenericEventSource) XXX_Marshal

func (m *GenericEventSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenericEventSource) XXX_Merge

func (m *GenericEventSource) XXX_Merge(src proto.Message)

func (*GenericEventSource) XXX_Size

func (m *GenericEventSource) XXX_Size() int

func (*GenericEventSource) XXX_Unmarshal

func (m *GenericEventSource) XXX_Unmarshal(b []byte) error

type GerritEventSource

type GerritEventSource struct {
	// Webhook holds configuration to run a http server
	Webhook *WebhookContext `json:"webhook,omitempty" protobuf:"bytes,1,opt,name=webhook"`
	// HookName is the name of the webhook
	HookName string `json:"hookName" protobuf:"bytes,2,opt,name=hookName"`
	// Events are gerrit event to listen to.
	// Refer https://gerrit-review.googlesource.com/Documentation/cmd-stream-events.html#events
	Events []string `json:"events" protobuf:"bytes,3,opt,name=events"`
	// Auth hosts secret selectors for username and password
	// +optional
	Auth *BasicAuth `json:"auth,omitempty" protobuf:"bytes,4,opt,name=auth"`
	// GerritBaseURL is the base URL for API requests to a custom endpoint
	GerritBaseURL string `json:"gerritBaseURL" protobuf:"bytes,5,opt,name=gerritBaseURL"`
	// DeleteHookOnFinish determines whether to delete the Gerrit hook for the project once the event source is stopped.
	// +optional
	DeleteHookOnFinish bool `json:"deleteHookOnFinish,omitempty" protobuf:"varint,6,opt,name=deleteHookOnFinish"`
	// Metadata holds the user defined metadata which will passed along the event payload.
	// +optional
	Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,7,rep,name=metadata"`
	// List of project namespace paths like "whynowy/test".
	Projects []string `json:"projects,omitempty" protobuf:"bytes,8,rep,name=projects"`
	// SslVerify to enable ssl verification
	// +optional
	SslVerify bool `json:"sslVerify,omitempty" protobuf:"varint,9,opt,name=sslVerify"`
	// Filter
	// +optional
	Filter *EventSourceFilter `json:"filter,omitempty" protobuf:"bytes,10,opt,name=filter"`
}

GerritEventSource refers to event-source related to gerrit events

func (*GerritEventSource) DeepCopy

func (in *GerritEventSource) DeepCopy() *GerritEventSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GerritEventSource.

func (*GerritEventSource) DeepCopyInto

func (in *GerritEventSource) DeepCopyInto(out *GerritEventSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GerritEventSource) Descriptor

func (*GerritEventSource) Descriptor() ([]byte, []int)

func (*GerritEventSource) Marshal

func (m *GerritEventSource) Marshal() (dAtA []byte, err error)

func (*GerritEventSource) MarshalTo

func (m *GerritEventSource) MarshalTo(dAtA []byte) (int, error)

func (*GerritEventSource) MarshalToSizedBuffer

func (m *GerritEventSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (GerritEventSource) NeedToCreateHooks

func (g GerritEventSource) NeedToCreateHooks() bool

func (*GerritEventSource) ProtoMessage

func (*GerritEventSource) ProtoMessage()

func (*GerritEventSource) Reset

func (m *GerritEventSource) Reset()

func (*GerritEventSource) Size

func (m *GerritEventSource) Size() (n int)

func (*GerritEventSource) String

func (this *GerritEventSource) String() string

func (*GerritEventSource) Unmarshal

func (m *GerritEventSource) Unmarshal(dAtA []byte) error

func (*GerritEventSource) XXX_DiscardUnknown

func (m *GerritEventSource) XXX_DiscardUnknown()

func (*GerritEventSource) XXX_Marshal

func (m *GerritEventSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GerritEventSource) XXX_Merge

func (m *GerritEventSource) XXX_Merge(src proto.Message)

func (*GerritEventSource) XXX_Size

func (m *GerritEventSource) XXX_Size() int

func (*GerritEventSource) XXX_Unmarshal

func (m *GerritEventSource) XXX_Unmarshal(b []byte) error

type GitArtifact

type GitArtifact struct {
	// Git URL
	URL string `json:"url" protobuf:"bytes,1,opt,name=url"`
	// Directory to clone the repository. We clone complete directory because GitArtifact is not limited to any specific Git service providers.
	// Hence we don't use any specific git provider client.
	CloneDirectory string `json:"cloneDirectory" protobuf:"bytes,2,opt,name=cloneDirectory"`
	// Creds contain reference to git username and password
	// +optional
	Creds *GitCreds `json:"creds,omitempty" protobuf:"bytes,3,opt,name=creds"`
	// SSHKeySecret refers to the secret that contains SSH key
	SSHKeySecret *corev1.SecretKeySelector `json:"sshKeySecret,omitempty" protobuf:"bytes,4,opt,name=sshKeySecret"`
	// Path to file that contains trigger resource definition
	FilePath string `json:"filePath" protobuf:"bytes,5,opt,name=filePath"`
	// Branch to use to pull trigger resource
	// +optional
	Branch string `json:"branch,omitempty" protobuf:"bytes,6,opt,name=branch"`
	// Tag to use to pull trigger resource
	// +optional
	Tag string `json:"tag,omitempty" protobuf:"bytes,7,opt,name=tag"`
	// Ref to use to pull trigger resource. Will result in a shallow clone and
	// fetch.
	// +optional
	Ref string `json:"ref,omitempty" protobuf:"bytes,8,opt,name=ref"`
	// Remote to manage set of tracked repositories. Defaults to "origin".
	// Refer https://git-scm.com/docs/git-remote
	// +optional
	Remote *GitRemoteConfig `json:"remote,omitempty" protobuf:"bytes,9,opt,name=remote"`
	// Whether to ignore host key
	// +optional
	InsecureIgnoreHostKey bool `json:"insecureIgnoreHostKey,omitempty" protobuf:"bytes,10,opt,name=insecureIgnoreHostKey"`
}

GitArtifact contains information about an artifact stored in git

func (*GitArtifact) DeepCopy

func (in *GitArtifact) DeepCopy() *GitArtifact

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitArtifact.

func (*GitArtifact) DeepCopyInto

func (in *GitArtifact) DeepCopyInto(out *GitArtifact)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GitArtifact) Descriptor

func (*GitArtifact) Descriptor() ([]byte, []int)

func (*GitArtifact) Marshal

func (m *GitArtifact) Marshal() (dAtA []byte, err error)

func (*GitArtifact) MarshalTo

func (m *GitArtifact) MarshalTo(dAtA []byte) (int, error)

func (*GitArtifact) MarshalToSizedBuffer

func (m *GitArtifact) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitArtifact) ProtoMessage

func (*GitArtifact) ProtoMessage()

func (*GitArtifact) Reset

func (m *GitArtifact) Reset()

func (*GitArtifact) Size

func (m *GitArtifact) Size() (n int)

func (*GitArtifact) String

func (this *GitArtifact) String() string

func (*GitArtifact) Unmarshal

func (m *GitArtifact) Unmarshal(dAtA []byte) error

func (*GitArtifact) XXX_DiscardUnknown

func (m *GitArtifact) XXX_DiscardUnknown()

func (*GitArtifact) XXX_Marshal

func (m *GitArtifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GitArtifact) XXX_Merge

func (m *GitArtifact) XXX_Merge(src proto.Message)

func (*GitArtifact) XXX_Size

func (m *GitArtifact) XXX_Size() int

func (*GitArtifact) XXX_Unmarshal

func (m *GitArtifact) XXX_Unmarshal(b []byte) error

type GitCreds

type GitCreds struct {
	Username *corev1.SecretKeySelector `json:"username,omitempty" protobuf:"bytes,1,opt,name=username"`
	Password *corev1.SecretKeySelector `json:"password,omitempty" protobuf:"bytes,2,opt,name=password"`
}

GitCreds contain reference to git username and password

func (*GitCreds) DeepCopy

func (in *GitCreds) DeepCopy() *GitCreds

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitCreds.

func (*GitCreds) DeepCopyInto

func (in *GitCreds) DeepCopyInto(out *GitCreds)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GitCreds) Descriptor

func (*GitCreds) Descriptor() ([]byte, []int)

func (*GitCreds) Marshal

func (m *GitCreds) Marshal() (dAtA []byte, err error)

func (*GitCreds) MarshalTo

func (m *GitCreds) MarshalTo(dAtA []byte) (int, error)

func (*GitCreds) MarshalToSizedBuffer

func (m *GitCreds) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitCreds) ProtoMessage

func (*GitCreds) ProtoMessage()

func (*GitCreds) Reset

func (m *GitCreds) Reset()

func (*GitCreds) Size

func (m *GitCreds) Size() (n int)

func (*GitCreds) String

func (this *GitCreds) String() string

func (*GitCreds) Unmarshal

func (m *GitCreds) Unmarshal(dAtA []byte) error

func (*GitCreds) XXX_DiscardUnknown

func (m *GitCreds) XXX_DiscardUnknown()

func (*GitCreds) XXX_Marshal

func (m *GitCreds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GitCreds) XXX_Merge

func (m *GitCreds) XXX_Merge(src proto.Message)

func (*GitCreds) XXX_Size

func (m *GitCreds) XXX_Size() int

func (*GitCreds) XXX_Unmarshal

func (m *GitCreds) XXX_Unmarshal(b []byte) error

type GitRemoteConfig

type GitRemoteConfig struct {
	// Name of the remote to fetch from.
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`

	// URLs the URLs of a remote repository. It must be non-empty. Fetch will
	// always use the first URL, while push will use all of them.
	URLS []string `json:"urls" protobuf:"bytes,2,rep,name=urls"`
}

GitRemoteConfig contains the configuration of a Git remote

func (*GitRemoteConfig) DeepCopy

func (in *GitRemoteConfig) DeepCopy() *GitRemoteConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRemoteConfig.

func (*GitRemoteConfig) DeepCopyInto

func (in *GitRemoteConfig) DeepCopyInto(out *GitRemoteConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GitRemoteConfig) Descriptor

func (*GitRemoteConfig) Descriptor() ([]byte, []int)

func (*GitRemoteConfig) Marshal

func (m *GitRemoteConfig) Marshal() (dAtA []byte, err error)

func (*GitRemoteConfig) MarshalTo

func (m *GitRemoteConfig) MarshalTo(dAtA []byte) (int, error)

func (*GitRemoteConfig) MarshalToSizedBuffer

func (m *GitRemoteConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitRemoteConfig) ProtoMessage

func (*GitRemoteConfig) ProtoMessage()

func (*GitRemoteConfig) Reset

func (m *GitRemoteConfig) Reset()

func (*GitRemoteConfig) Size

func (m *GitRemoteConfig) Size() (n int)

func (*GitRemoteConfig) String

func (this *GitRemoteConfig) String() string

func (*GitRemoteConfig) Unmarshal

func (m *GitRemoteConfig) Unmarshal(dAtA []byte) error

func (*GitRemoteConfig) XXX_DiscardUnknown

func (m *GitRemoteConfig) XXX_DiscardUnknown()

func (*GitRemoteConfig) XXX_Marshal

func (m *GitRemoteConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GitRemoteConfig) XXX_Merge

func (m *GitRemoteConfig) XXX_Merge(src proto.Message)

func (*GitRemoteConfig) XXX_Size

func (m *GitRemoteConfig) XXX_Size() int

func (*GitRemoteConfig) XXX_Unmarshal

func (m *GitRemoteConfig) XXX_Unmarshal(b []byte) error

type GithubAppCreds

type GithubAppCreds struct {
	// PrivateKey refers to a K8s secret containing the GitHub app private key
	PrivateKey *corev1.SecretKeySelector `json:"privateKey" protobuf:"bytes,1,opt,name=privateKey"`
	// AppID refers to the GitHub App ID for the application you created
	AppID int64 `json:"appID" protobuf:"bytes,2,opt,name=appID"`
	// InstallationID refers to the Installation ID of the GitHub app you created and installed
	InstallationID int64 `json:"installationID" protobuf:"bytes,3,opt,name=installationID"`
}

func (*GithubAppCreds) DeepCopy

func (in *GithubAppCreds) DeepCopy() *GithubAppCreds

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubAppCreds.

func (*GithubAppCreds) DeepCopyInto

func (in *GithubAppCreds) DeepCopyInto(out *GithubAppCreds)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GithubAppCreds) Descriptor

func (*GithubAppCreds) Descriptor() ([]byte, []int)

func (*GithubAppCreds) Marshal

func (m *GithubAppCreds) Marshal() (dAtA []byte, err error)

func (*GithubAppCreds) MarshalTo

func (m *GithubAppCreds) MarshalTo(dAtA []byte) (int, error)

func (*GithubAppCreds) MarshalToSizedBuffer

func (m *GithubAppCreds) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GithubAppCreds) ProtoMessage

func (*GithubAppCreds) ProtoMessage()

func (*GithubAppCreds) Reset

func (m *GithubAppCreds) Reset()

func (*GithubAppCreds) Size

func (m *GithubAppCreds) Size() (n int)

func (*GithubAppCreds) String

func (this *GithubAppCreds) String() string

func (*GithubAppCreds) Unmarshal

func (m *GithubAppCreds) Unmarshal(dAtA []byte) error

func (*GithubAppCreds) XXX_DiscardUnknown

func (m *GithubAppCreds) XXX_DiscardUnknown()

func (*GithubAppCreds) XXX_Marshal

func (m *GithubAppCreds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GithubAppCreds) XXX_Merge

func (m *GithubAppCreds) XXX_Merge(src proto.Message)

func (*GithubAppCreds) XXX_Size

func (m *GithubAppCreds) XXX_Size() int

func (*GithubAppCreds) XXX_Unmarshal

func (m *GithubAppCreds) XXX_Unmarshal(b []byte) error

type GithubEventSource

type GithubEventSource struct {
	// Id is the webhook's id
	// Deprecated: This is not used at all, will be removed in v1.6
	// +optional
	ID int64 `json:"id" protobuf:"varint,1,opt,name=id"`
	// Webhook refers to the configuration required to run a http server
	Webhook *WebhookContext `json:"webhook,omitempty" protobuf:"bytes,2,opt,name=webhook"`
	// DeprecatedOwner refers to GitHub owner name i.e. argoproj
	// Deprecated: use Repositories instead. Will be unsupported in v 1.6
	// +optional
	DeprecatedOwner string `json:"owner" protobuf:"bytes,3,opt,name=owner"`
	// DeprecatedRepository refers to GitHub repo name i.e. argo-events
	// Deprecated: use Repositories instead. Will be unsupported in v 1.6
	// +optional
	DeprecatedRepository string `json:"repository" protobuf:"bytes,4,opt,name=repository"`
	// Events refer to Github events to which the event source will subscribe
	Events []string `json:"events" protobuf:"bytes,5,rep,name=events"`
	// APIToken refers to a K8s secret containing github api token
	// +optional
	APIToken *corev1.SecretKeySelector `json:"apiToken,omitempty" protobuf:"bytes,6,opt,name=apiToken"`
	// WebhookSecret refers to K8s secret containing GitHub webhook secret
	// https://developer.github.com/webhooks/securing/
	// +optional
	WebhookSecret *corev1.SecretKeySelector `json:"webhookSecret,omitempty" protobuf:"bytes,7,opt,name=webhookSecret"`
	// Insecure tls verification
	Insecure bool `json:"insecure,omitempty" protobuf:"varint,8,opt,name=insecure"`
	// Active refers to status of the webhook for event deliveries.
	// https://developer.github.com/webhooks/creating/#active
	// +optional
	Active bool `json:"active,omitempty" protobuf:"varint,9,opt,name=active"`
	// ContentType of the event delivery
	ContentType string `json:"contentType,omitempty" protobuf:"bytes,10,opt,name=contentType"`
	// GitHub base URL (for GitHub Enterprise)
	// +optional
	GithubBaseURL string `json:"githubBaseURL,omitempty" protobuf:"bytes,11,opt,name=githubBaseURL"`
	// GitHub upload URL (for GitHub Enterprise)
	// +optional
	GithubUploadURL string `json:"githubUploadURL,omitempty" protobuf:"bytes,12,opt,name=githubUploadURL"`
	// DeleteHookOnFinish determines whether to delete the GitHub hook for the repository once the event source is stopped.
	// +optional
	DeleteHookOnFinish bool `json:"deleteHookOnFinish,omitempty" protobuf:"varint,13,opt,name=deleteHookOnFinish"`
	// Metadata holds the user defined metadata which will passed along the event payload.
	// +optional
	Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,14,rep,name=metadata"`
	// Repositories holds the information of repositories, which uses repo owner as the key,
	// and list of repo names as the value. Not required if Organizations is set.
	Repositories []OwnedRepositories `json:"repositories,omitempty" protobuf:"bytes,15,rep,name=repositories"`
	// Organizations holds the names of organizations (used for organization level webhooks). Not required if Repositories is set.
	Organizations []string `json:"organizations,omitempty" protobuf:"bytes,16,rep,name=organizations"`
	// GitHubApp holds the GitHub app credentials
	// +optional
	GithubApp *GithubAppCreds `json:"githubApp,omitempty" protobuf:"bytes,17,opt,name=githubApp"`
	// Filter
	// +optional
	Filter *EventSourceFilter `json:"filter,omitempty" protobuf:"bytes,18,opt,name=filter"`
}

GithubEventSource refers to event-source for github related events

func (*GithubEventSource) DeepCopy

func (in *GithubEventSource) DeepCopy() *GithubEventSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubEventSource.

func (*GithubEventSource) DeepCopyInto

func (in *GithubEventSource) DeepCopyInto(out *GithubEventSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GithubEventSource) Descriptor

func (*GithubEventSource) Descriptor() ([]byte, []int)

func (GithubEventSource) GetOwnedRepositories

func (g GithubEventSource) GetOwnedRepositories() []OwnedRepositories

func (GithubEventSource) HasConfiguredWebhook

func (g GithubEventSource) HasConfiguredWebhook() bool

func (GithubEventSource) HasGithubAPIToken

func (g GithubEventSource) HasGithubAPIToken() bool

func (GithubEventSource) HasGithubAppCreds

func (g GithubEventSource) HasGithubAppCreds() bool

func (*GithubEventSource) Marshal

func (m *GithubEventSource) Marshal() (dAtA []byte, err error)

func (*GithubEventSource) MarshalTo

func (m *GithubEventSource) MarshalTo(dAtA []byte) (int, error)

func (*GithubEventSource) MarshalToSizedBuffer

func (m *GithubEventSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (GithubEventSource) NeedToCreateHooks

func (g GithubEventSource) NeedToCreateHooks() bool

func (*GithubEventSource) ProtoMessage

func (*GithubEventSource) ProtoMessage()

func (*GithubEventSource) Reset

func (m *GithubEventSource) Reset()

func (*GithubEventSource) Size

func (m *GithubEventSource) Size() (n int)

func (*GithubEventSource) String

func (this *GithubEventSource) String() string

func (*GithubEventSource) Unmarshal

func (m *GithubEventSource) Unmarshal(dAtA []byte) error

func (*GithubEventSource) XXX_DiscardUnknown

func (m *GithubEventSource) XXX_DiscardUnknown()

func (*GithubEventSource) XXX_Marshal

func (m *GithubEventSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GithubEventSource) XXX_Merge

func (m *GithubEventSource) XXX_Merge(src proto.Message)

func (*GithubEventSource) XXX_Size

func (m *GithubEventSource) XXX_Size() int

func (*GithubEventSource) XXX_Unmarshal

func (m *GithubEventSource) XXX_Unmarshal(b []byte) error

type GitlabEventSource

type GitlabEventSource struct {
	// Webhook holds configuration to run a http server
	Webhook *WebhookContext `json:"webhook,omitempty" protobuf:"bytes,1,opt,name=webhook"`
	// DeprecatedProjectID is the id of project for which integration needs to setup
	// Deprecated: use Projects instead. Will be unsupported in v 1.7
	// +optional
	DeprecatedProjectID string `json:"projectID,omitempty" protobuf:"bytes,2,opt,name=projectID"`
	// Events are gitlab event to listen to.
	// Refer https://github.com/xanzy/go-gitlab/blob/bf34eca5d13a9f4c3f501d8a97b8ac226d55e4d9/projects.go#L794.
	Events []string `json:"events" protobuf:"bytes,3,opt,name=events"`
	// AccessToken references to k8 secret which holds the gitlab api access information
	AccessToken *corev1.SecretKeySelector `json:"accessToken,omitempty" protobuf:"bytes,4,opt,name=accessToken"`
	// EnableSSLVerification to enable ssl verification
	// +optional
	EnableSSLVerification bool `json:"enableSSLVerification,omitempty" protobuf:"varint,5,opt,name=enableSSLVerification"`
	// GitlabBaseURL is the base URL for API requests to a custom endpoint
	GitlabBaseURL string `json:"gitlabBaseURL" protobuf:"bytes,6,opt,name=gitlabBaseURL"`
	// DeleteHookOnFinish determines whether to delete the GitLab hook for the project once the event source is stopped.
	// +optional
	DeleteHookOnFinish bool `json:"deleteHookOnFinish,omitempty" protobuf:"varint,8,opt,name=deleteHookOnFinish"`
	// Metadata holds the user defined metadata which will passed along the event payload.
	// +optional
	Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,9,rep,name=metadata"`
	// List of project IDs or project namespace paths like "whynowy/test". Projects and groups cannot be empty at the same time.
	// +optional
	Projects []string `json:"projects,omitempty" protobuf:"bytes,10,rep,name=projects"`
	// SecretToken references to k8 secret which holds the Secret Token used by webhook config
	SecretToken *corev1.SecretKeySelector `json:"secretToken,omitempty" protobuf:"bytes,11,opt,name=secretToken"`
	// Filter
	// +optional
	Filter *EventSourceFilter `json:"filter,omitempty" protobuf:"bytes,12,opt,name=filter"`
	// List of group IDs or group name like "test".
	// Group level hook available in Premium and Ultimate Gitlab.
	// +optional
	Groups []string `json:"groups,omitempty" protobuf:"bytes,13,rep,name=groups"`
}

GitlabEventSource refers to event-source related to Gitlab events

func (*GitlabEventSource) DeepCopy

func (in *GitlabEventSource) DeepCopy() *GitlabEventSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitlabEventSource.

func (*GitlabEventSource) DeepCopyInto

func (in *GitlabEventSource) DeepCopyInto(out *GitlabEventSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GitlabEventSource) Descriptor

func (*GitlabEventSource) Descriptor() ([]byte, []int)

func (GitlabEventSource) GetGroups

func (g GitlabEventSource) GetGroups() []string

func (GitlabEventSource) GetProjects

func (g GitlabEventSource) GetProjects() []string

func (*GitlabEventSource) Marshal

func (m *GitlabEventSource) Marshal() (dAtA []byte, err error)

func (*GitlabEventSource) MarshalTo

func (m *GitlabEventSource) MarshalTo(dAtA []byte) (int, error)

func (*GitlabEventSource) MarshalToSizedBuffer

func (m *GitlabEventSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (GitlabEventSource) NeedToCreateHooks

func (g GitlabEventSource) NeedToCreateHooks() bool

func (*GitlabEventSource) ProtoMessage

func (*GitlabEventSource) ProtoMessage()

func (*GitlabEventSource) Reset

func (m *GitlabEventSource) Reset()

func (*GitlabEventSource) Size

func (m *GitlabEventSource) Size() (n int)

func (*GitlabEventSource) String

func (this *GitlabEventSource) String() string

func (*GitlabEventSource) Unmarshal

func (m *GitlabEventSource) Unmarshal(dAtA []byte) error

func (*GitlabEventSource) XXX_DiscardUnknown

func (m *GitlabEventSource) XXX_DiscardUnknown()

func (*GitlabEventSource) XXX_Marshal

func (m *GitlabEventSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GitlabEventSource) XXX_Merge

func (m *GitlabEventSource) XXX_Merge(src proto.Message)

func (*GitlabEventSource) XXX_Size

func (m *GitlabEventSource) XXX_Size() int

func (*GitlabEventSource) XXX_Unmarshal

func (m *GitlabEventSource) XXX_Unmarshal(b []byte) error

type HDFSEventSource

type HDFSEventSource struct {
	WatchPathConfig `json:",inline" protobuf:"bytes,1,opt,name=watchPathConfig"`
	// Type of file operations to watch
	Type string `json:"type" protobuf:"bytes,2,opt,name=type"`
	// CheckInterval is a string that describes an interval duration to check the directory state, e.g. 1s, 30m, 2h... (defaults to 1m)
	CheckInterval string `json:"checkInterval,omitempty" protobuf:"bytes,3,opt,name=checkInterval"`

	Addresses []string `json:"addresses" protobuf:"bytes,4,rep,name=addresses"`
	// HDFSUser is the user to access HDFS file system.
	// It is ignored if either ccache or keytab is used.
	HDFSUser string `json:"hdfsUser,omitempty" protobuf:"bytes,5,opt,name=hdfsUser"`
	// KrbCCacheSecret is the secret selector for Kerberos ccache
	// Either ccache or keytab can be set to use Kerberos.
	KrbCCacheSecret *corev1.SecretKeySelector `json:"krbCCacheSecret,omitempty" protobuf:"bytes,6,opt,name=krbCCacheSecret"`
	// KrbKeytabSecret is the secret selector for Kerberos keytab
	// Either ccache or keytab can be set to use Kerberos.
	KrbKeytabSecret *corev1.SecretKeySelector `json:"krbKeytabSecret,omitempty" protobuf:"bytes,7,opt,name=krbKeytabSecret"`
	// KrbUsername is the Kerberos username used with Kerberos keytab
	// It must be set if keytab is used.
	KrbUsername string `json:"krbUsername,omitempty" protobuf:"bytes,8,opt,name=krbUsername"`
	// KrbRealm is the Kerberos realm used with Kerberos keytab
	// It must be set if keytab is used.
	KrbRealm string `json:"krbRealm,omitempty" protobuf:"bytes,9,opt,name=krbRealm"`
	// KrbConfig is the configmap selector for Kerberos config as string
	// It must be set if either ccache or keytab is used.
	KrbConfigConfigMap *corev1.ConfigMapKeySelector `json:"krbConfigConfigMap,omitempty" protobuf:"bytes,10,opt,name=krbConfigConfigMap"`
	// KrbServicePrincipalName is the principal name of Kerberos service
	// It must be set if either ccache or keytab is used.
	KrbServicePrincipalName string `json:"krbServicePrincipalName,omitempty" protobuf:"bytes,11,opt,name=krbServicePrincipalName"`
	// Metadata holds the user defined metadata which will passed along the event payload.
	// +optional
	Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,12,rep,name=metadata"`
	// Filter
	// +optional
	Filter *EventSourceFilter `json:"filter,omitempty" protobuf:"bytes,13,opt,name=filter"`
}

HDFSEventSource refers to event-source for HDFS related events

func (*HDFSEventSource) DeepCopy

func (in *HDFSEventSource) DeepCopy() *HDFSEventSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HDFSEventSource.

func (*HDFSEventSource) DeepCopyInto

func (in *HDFSEventSource) DeepCopyInto(out *HDFSEventSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HDFSEventSource) Descriptor

func (*HDFSEventSource) Descriptor() ([]byte, []int)

func (*HDFSEventSource) Marshal

func (m *HDFSEventSource) Marshal() (dAtA []byte, err error)

func (*HDFSEventSource) MarshalTo

func (m *HDFSEventSource) MarshalTo(dAtA []byte) (int, error)

func (*HDFSEventSource) MarshalToSizedBuffer

func (m *HDFSEventSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HDFSEventSource) ProtoMessage

func (*HDFSEventSource) ProtoMessage()

func (*HDFSEventSource) Reset

func (m *HDFSEventSource) Reset()

func (*HDFSEventSource) Size

func (m *HDFSEventSource) Size() (n int)

func (*HDFSEventSource) String

func (this *HDFSEventSource) String() string

func (*HDFSEventSource) Unmarshal

func (m *HDFSEventSource) Unmarshal(dAtA []byte) error

func (*HDFSEventSource) XXX_DiscardUnknown

func (m *HDFSEventSource) XXX_DiscardUnknown()

func (*HDFSEventSource) XXX_Marshal

func (m *HDFSEventSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HDFSEventSource) XXX_Merge

func (m *HDFSEventSource) XXX_Merge(src proto.Message)

func (*HDFSEventSource) XXX_Size

func (m *HDFSEventSource) XXX_Size() int

func (*HDFSEventSource) XXX_Unmarshal

func (m *HDFSEventSource) XXX_Unmarshal(b []byte) error

type HTTPTrigger

type HTTPTrigger struct {
	// URL refers to the URL to send HTTP request to.
	URL string `json:"url" protobuf:"bytes,1,opt,name=url"`

	Payload []TriggerParameter `json:"payload" protobuf:"bytes,2,rep,name=payload"`
	// TLS configuration for the HTTP client.
	// +optional
	TLS *TLSConfig `json:"tls,omitempty" protobuf:"bytes,3,opt,name=tls"`
	// Method refers to the type of the HTTP request.
	// Refer https://golang.org/src/net/http/method.go for more info.
	// Default value is POST.
	// +optional
	Method string `json:"method,omitempty" protobuf:"bytes,4,opt,name=method"`
	// Parameters is the list of key-value extracted from event's payload that are applied to
	// the HTTP trigger resource.
	Parameters []TriggerParameter `json:"parameters,omitempty" protobuf:"bytes,5,rep,name=parameters"`
	// Timeout refers to the HTTP request timeout in seconds.
	// Default value is 60 seconds.
	// +optional
	Timeout int64 `json:"timeout,omitempty" protobuf:"varint,6,opt,name=timeout"`
	// BasicAuth configuration for the http request.
	// +optional
	BasicAuth *BasicAuth `json:"basicAuth,omitempty" protobuf:"bytes,7,opt,name=basicAuth"`
	// Headers for the HTTP request.
	// +optional
	Headers map[string]string `json:"headers,omitempty" protobuf:"bytes,8,rep,name=headers"`
	// Secure Headers stored in Kubernetes Secrets for the HTTP requests.
	// +optional
	SecureHeaders []*SecureHeader `json:"secureHeaders,omitempty" protobuf:"bytes,9,rep,name=secureHeaders"`
}

HTTPTrigger is the trigger for the HTTP request

func (*HTTPTrigger) DeepCopy

func (in *HTTPTrigger) DeepCopy() *HTTPTrigger

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPTrigger.

func (*HTTPTrigger) DeepCopyInto

func (in *HTTPTrigger) DeepCopyInto(out *HTTPTrigger)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HTTPTrigger) Descriptor

func (*HTTPTrigger) Descriptor() ([]byte, []int)

func (*HTTPTrigger) Marshal

func (m *HTTPTrigger) Marshal() (dAtA []byte, err error)

func (*HTTPTrigger) MarshalTo

func (m *HTTPTrigger) MarshalTo(dAtA []byte) (int, error)

func (*HTTPTrigger) MarshalToSizedBuffer

func (m *HTTPTrigger) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HTTPTrigger) ProtoMessage

func (*HTTPTrigger) ProtoMessage()

func (*HTTPTrigger) Reset

func (m *HTTPTrigger) Reset()

func (*HTTPTrigger) Size

func (m *HTTPTrigger) Size() (n int)

func (*HTTPTrigger) String

func (this *HTTPTrigger) String() string

func (*HTTPTrigger) Unmarshal

func (m *HTTPTrigger) Unmarshal(dAtA []byte) error

func (*HTTPTrigger) XXX_DiscardUnknown

func (m *HTTPTrigger) XXX_DiscardUnknown()

func (*HTTPTrigger) XXX_Marshal

func (m *HTTPTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HTTPTrigger) XXX_Merge

func (m *HTTPTrigger) XXX_Merge(src proto.Message)

func (*HTTPTrigger) XXX_Size

func (m *HTTPTrigger) XXX_Size() int

func (*HTTPTrigger) XXX_Unmarshal

func (m *HTTPTrigger) XXX_Unmarshal(b []byte) error

type Int64OrString

type Int64OrString struct {
	Type     Type   `json:"type" protobuf:"varint,1,opt,name=type,casttype=Type"`
	Int64Val int64  `json:"int64Val,omitempty" protobuf:"varint,2,opt,name=int64Val"`
	StrVal   string `json:"strVal,omitempty" protobuf:"bytes,3,opt,name=strVal"`
}

func FromInt64

func FromInt64(val int64) Int64OrString

FromInt64 creates an Int64OrString object with an int64 value.

func FromString

func FromString(val string) Int64OrString

FromString creates an Int64OrString object with a string value.

func Parse

func Parse(val string) Int64OrString

Parse the given string and try to convert it to an int64 before setting it as a string value.

func (*Int64OrString) DeepCopy

func (in *Int64OrString) DeepCopy() *Int64OrString

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Int64OrString.

func (*Int64OrString) DeepCopyInto

func (in *Int64OrString) DeepCopyInto(out *Int64OrString)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Int64OrString) Descriptor

func (*Int64OrString) Descriptor() ([]byte, []int)

func (*Int64OrString) Int64Value

func (int64str *Int64OrString) Int64Value() int64

Int64Value returns the Int64Val if type Int64, or if it is a String, will attempt a conversion to int64, returning 0 if a parsing error occurs.

func (*Int64OrString) Marshal

func (m *Int64OrString) Marshal() (dAtA []byte, err error)

func (Int64OrString) MarshalJSON

func (int64str Int64OrString) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface.

func (*Int64OrString) MarshalTo

func (m *Int64OrString) MarshalTo(dAtA []byte) (int, error)

func (*Int64OrString) MarshalToSizedBuffer

func (m *Int64OrString) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (Int64OrString) OpenAPISchemaFormat

func (Int64OrString) OpenAPISchemaFormat() string

OpenAPISchemaFormat is used by the kube-openapi generator when constructing the OpenAPI spec of this type.

func (Int64OrString) OpenAPISchemaType

func (Int64OrString) OpenAPISchemaType() []string

OpenAPISchemaType is used by the kube-openapi generator when constructing the OpenAPI spec of this type.

See: https://github.com/kubernetes/kube-openapi/tree/master/pkg/generators

func (*Int64OrString) ProtoMessage

func (*Int64OrString) ProtoMessage()

func (*Int64OrString) Reset

func (m *Int64OrString) Reset()

func (*Int64OrString) Size

func (m *Int64OrString) Size() (n int)

func (*Int64OrString) String

func (this *Int64OrString) String() string

func (*Int64OrString) Unmarshal

func (m *Int64OrString) Unmarshal(dAtA []byte) error

func (*Int64OrString) UnmarshalJSON

func (int64str *Int64OrString) UnmarshalJSON(value []byte) error

UnmarshalJSON implements the json.Unmarshaller interface.

func (*Int64OrString) XXX_DiscardUnknown

func (m *Int64OrString) XXX_DiscardUnknown()

func (*Int64OrString) XXX_Marshal

func (m *Int64OrString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Int64OrString) XXX_Merge

func (m *Int64OrString) XXX_Merge(src proto.Message)

func (*Int64OrString) XXX_Size

func (m *Int64OrString) XXX_Size() int

func (*Int64OrString) XXX_Unmarshal

func (m *Int64OrString) XXX_Unmarshal(b []byte) error

type JSONType

type JSONType string

JSONType contains the supported JSON types for data filtering

const (
	JSONTypeBool   JSONType = "bool"
	JSONTypeNumber JSONType = "number"
	JSONTypeString JSONType = "string"
)

the various supported JSONTypes

type JetStreamBus

type JetStreamBus struct {
	// JetStream version, such as "2.7.3"
	Version string `json:"version,omitempty" protobuf:"bytes,1,opt,name=version"`
	// JetStream StatefulSet size
	// +kubebuilder:default=3
	Replicas *int32 `json:"replicas,omitempty" protobuf:"varint,2,opt,name=replicas"`
	// ContainerTemplate contains customized spec for Nats JetStream container
	// +optional
	ContainerTemplate *ContainerTemplate `json:"containerTemplate,omitempty" protobuf:"bytes,3,opt,name=containerTemplate"`
	// ReloaderContainerTemplate contains customized spec for config reloader container
	// +optional
	ReloaderContainerTemplate *ContainerTemplate `json:"reloaderContainerTemplate,omitempty" protobuf:"bytes,4,opt,name=reloaderContainerTemplate"`
	// MetricsContainerTemplate contains customized spec for metrics container
	// +optional
	MetricsContainerTemplate *ContainerTemplate `json:"metricsContainerTemplate,omitempty" protobuf:"bytes,5,opt,name=metricsContainerTemplate"`
	// +optional
	Persistence *PersistenceStrategy `json:"persistence,omitempty" protobuf:"bytes,6,opt,name=persistence"`
	// Metadata sets the pods's metadata, i.e. annotations and labels
	Metadata *Metadata `json:"metadata,omitempty" protobuf:"bytes,7,opt,name=metadata"`
	// NodeSelector is a selector which must be true for the pod to fit on a node.
	// Selector which must match a node's labels for the pod to be scheduled on that node.
	// More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
	// +optional
	NodeSelector map[string]string `json:"nodeSelector,omitempty" protobuf:"bytes,8,rep,name=nodeSelector"`
	// If specified, the pod's tolerations.
	// +optional
	Tolerations []corev1.Toleration `json:"tolerations,omitempty" protobuf:"bytes,9,rep,name=tolerations"`
	// SecurityContext holds pod-level security attributes and common container settings.
	// Optional: Defaults to empty.  See type description for default values of each field.
	// +optional
	SecurityContext *corev1.PodSecurityContext `json:"securityContext,omitempty" protobuf:"bytes,10,opt,name=securityContext"`
	// ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
	// If specified, these secrets will be passed to individual puller implementations for them to use. For example,
	// in the case of docker, only DockerConfig type secrets are honored.
	// More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod
	// +optional
	// +patchMergeKey=name
	// +patchStrategy=merge
	ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,11,rep,name=imagePullSecrets"`
	// If specified, indicates the Redis pod's priority. "system-node-critical"
	// and "system-cluster-critical" are two special keywords which indicate the
	// highest priorities with the former being the highest priority. Any other
	// name must be defined by creating a PriorityClass object with that name.
	// If not specified, the pod priority will be default or zero if there is no
	// default.
	// More info: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
	// +optional
	PriorityClassName string `json:"priorityClassName,omitempty" protobuf:"bytes,12,opt,name=priorityClassName"`
	// The priority value. Various system components use this field to find the
	// priority of the Redis pod. When Priority Admission Controller is enabled,
	// it prevents users from setting this field. The admission controller populates
	// this field from PriorityClassName.
	// The higher the value, the higher the priority.
	// More info: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
	// +optional
	Priority *int32 `json:"priority,omitempty" protobuf:"bytes,13,opt,name=priority"`
	// The pod's scheduling constraints
	// More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
	// +optional
	Affinity *corev1.Affinity `json:"affinity,omitempty" protobuf:"bytes,14,opt,name=affinity"`
	// ServiceAccountName to apply to the StatefulSet
	// +optional
	ServiceAccountName string `json:"serviceAccountName,omitempty" protobuf:"bytes,15,opt,name=serviceAccountName"`
	// JetStream configuration, if not specified, global settings in controller-config will be used.
	// See https://docs.nats.io/running-a-nats-service/configuration#jetstream.
	// Only configure "max_memory_store" or "max_file_store", do not set "store_dir" as it has been hardcoded.
	// +optional
	Settings *string `json:"settings,omitempty" protobuf:"bytes,16,opt,name=settings"`
	// Optional arguments to start nats-server. For example, "-D" to enable debugging output, "-DV" to enable debugging and tracing.
	// Check https://docs.nats.io/ for all the available arguments.
	// +optional
	StartArgs []string `json:"startArgs,omitempty" protobuf:"bytes,17,rep,name=startArgs"`
	// Optional configuration for the streams to be created in this JetStream service, if specified, it will be merged with the default configuration in controller-config.
	// It accepts a YAML format configuration, available fields include, "maxBytes", "maxMsgs", "maxAge" (e.g. 72h), "replicas" (1, 3, 5), "duplicates" (e.g. 5m),
	// "retention" (e.g. 0: Limits (default), 1: Interest, 2: WorkQueue), "Discard" (e.g. 0: DiscardOld (default), 1: DiscardNew).
	// +optional
	StreamConfig *string `json:"streamConfig,omitempty" protobuf:"bytes,18,opt,name=streamConfig"`
	// Maximum number of bytes in a message payload, 0 means unlimited. Defaults to 1MB
	// +optional
	MaxPayload *string `json:"maxPayload,omitempty" protobuf:"bytes,19,opt,name=maxPayload"`
}

JetStreamBus holds the JetStream EventBus information

func (*JetStreamBus) DeepCopy

func (in *JetStreamBus) DeepCopy() *JetStreamBus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JetStreamBus.

func (*JetStreamBus) DeepCopyInto

func (in *JetStreamBus) DeepCopyInto(out *JetStreamBus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*JetStreamBus) Descriptor

func (*JetStreamBus) Descriptor() ([]byte, []int)

func (JetStreamBus) GetReplicas

func (j JetStreamBus) GetReplicas() int

func (*JetStreamBus) Marshal

func (m *JetStreamBus) Marshal() (dAtA []byte, err error)

func (*JetStreamBus) MarshalTo

func (m *JetStreamBus) MarshalTo(dAtA []byte) (int, error)

func (*JetStreamBus) MarshalToSizedBuffer

func (m *JetStreamBus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*JetStreamBus) ProtoMessage

func (*JetStreamBus) ProtoMessage()

func (*JetStreamBus) Reset

func (m *JetStreamBus) Reset()

func (*JetStreamBus) Size

func (m *JetStreamBus) Size() (n int)

func (*JetStreamBus) String

func (this *JetStreamBus) String() string

func (*JetStreamBus) Unmarshal

func (m *JetStreamBus) Unmarshal(dAtA []byte) error

func (*JetStreamBus) XXX_DiscardUnknown

func (m *JetStreamBus) XXX_DiscardUnknown()

func (*JetStreamBus) XXX_Marshal

func (m *JetStreamBus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JetStreamBus) XXX_Merge

func (m *JetStreamBus) XXX_Merge(src proto.Message)

func (*JetStreamBus) XXX_Size

func (m *JetStreamBus) XXX_Size() int

func (*JetStreamBus) XXX_Unmarshal

func (m *JetStreamBus) XXX_Unmarshal(b []byte) error

type JetStreamConfig

type JetStreamConfig struct {
	// JetStream (Nats) URL
	URL string `json:"url,omitempty" protobuf:"bytes,1,opt,name=url"`
	// Secret for auth
	// +optional
	AccessSecret *corev1.SecretKeySelector `json:"accessSecret,omitempty" protobuf:"bytes,2,opt,name=accessSecret"`
	// +optional
	StreamConfig string `json:"streamConfig,omitempty" protobuf:"bytes,3,opt,name=streamConfig"`
}

func (*JetStreamConfig) DeepCopy

func (in *JetStreamConfig) DeepCopy() *JetStreamConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JetStreamConfig.

func (*JetStreamConfig) DeepCopyInto

func (in *JetStreamConfig) DeepCopyInto(out *JetStreamConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*JetStreamConfig) Descriptor

func (*JetStreamConfig) Descriptor() ([]byte, []int)

func (*JetStreamConfig) Marshal

func (m *JetStreamConfig) Marshal() (dAtA []byte, err error)

func (*JetStreamConfig) MarshalTo

func (m *JetStreamConfig) MarshalTo(dAtA []byte) (int, error)

func (*JetStreamConfig) MarshalToSizedBuffer

func (m *JetStreamConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*JetStreamConfig) ProtoMessage

func (*JetStreamConfig) ProtoMessage()

func (*JetStreamConfig) Reset

func (m *JetStreamConfig) Reset()

func (*JetStreamConfig) Size

func (m *JetStreamConfig) Size() (n int)

func (*JetStreamConfig) String

func (this *JetStreamConfig) String() string

func (*JetStreamConfig) Unmarshal

func (m *JetStreamConfig) Unmarshal(dAtA []byte) error

func (*JetStreamConfig) XXX_DiscardUnknown

func (m *JetStreamConfig) XXX_DiscardUnknown()

func (*JetStreamConfig) XXX_Marshal

func (m *JetStreamConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JetStreamConfig) XXX_Merge

func (m *JetStreamConfig) XXX_Merge(src proto.Message)

func (*JetStreamConfig) XXX_Size

func (m *JetStreamConfig) XXX_Size() int

func (*JetStreamConfig) XXX_Unmarshal

func (m *JetStreamConfig) XXX_Unmarshal(b []byte) error

type K8SResource

type K8SResource struct {
	Value []byte `json:"value" protobuf:"bytes,1,opt,name=value"`
}

K8SResource represent arbitrary structured data.

func NewK8SResource

func NewK8SResource(s interface{}) K8SResource

func (*K8SResource) DeepCopy

func (in *K8SResource) DeepCopy() *K8SResource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new K8SResource.

func (*K8SResource) DeepCopyInto

func (in *K8SResource) DeepCopyInto(out *K8SResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*K8SResource) Descriptor

func (*K8SResource) Descriptor() ([]byte, []int)

func (*K8SResource) Marshal

func (m *K8SResource) Marshal() (dAtA []byte, err error)

func (K8SResource) MarshalJSON

func (n K8SResource) MarshalJSON() ([]byte, error)

func (*K8SResource) MarshalTo

func (m *K8SResource) MarshalTo(dAtA []byte) (int, error)

func (*K8SResource) MarshalToSizedBuffer

func (m *K8SResource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (K8SResource) OpenAPISchemaFormat

func (n K8SResource) OpenAPISchemaFormat() string

func (K8SResource) OpenAPISchemaType

func (n K8SResource) OpenAPISchemaType() []string

func (*K8SResource) ProtoMessage

func (*K8SResource) ProtoMessage()

func (*K8SResource) Reset

func (m *K8SResource) Reset()

func (*K8SResource) Size

func (m *K8SResource) Size() (n int)

func (*K8SResource) String

func (this *K8SResource) String() string

func (*K8SResource) Unmarshal

func (m *K8SResource) Unmarshal(dAtA []byte) error

func (*K8SResource) UnmarshalJSON

func (a *K8SResource) UnmarshalJSON(value []byte) error

func (*K8SResource) XXX_DiscardUnknown

func (m *K8SResource) XXX_DiscardUnknown()

func (*K8SResource) XXX_Marshal

func (m *K8SResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*K8SResource) XXX_Merge

func (m *K8SResource) XXX_Merge(src proto.Message)

func (*K8SResource) XXX_Size

func (m *K8SResource) XXX_Size() int

func (*K8SResource) XXX_Unmarshal

func (m *K8SResource) XXX_Unmarshal(b []byte) error

type K8SResourcePolicy

type K8SResourcePolicy struct {
	// Labels required to identify whether a resource is in success state
	Labels map[string]string `json:"labels,omitempty" protobuf:"bytes,1,rep,name=labels"`
	// Backoff before checking resource state
	Backoff *Backoff `json:"backoff" protobuf:"bytes,2,opt,name=backoff"`
	// ErrorOnBackoffTimeout determines whether sensor should transition to error state if the trigger policy is unable to determine
	// the state of the resource
	ErrorOnBackoffTimeout bool `json:"errorOnBackoffTimeout" protobuf:"varint,3,opt,name=errorOnBackoffTimeout"`
}

K8SResourcePolicy refers to the policy used to check the state of K8s based triggers using labels

func (*K8SResourcePolicy) DeepCopy

func (in *K8SResourcePolicy) DeepCopy() *K8SResourcePolicy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new K8SResourcePolicy.

func (*K8SResourcePolicy) DeepCopyInto

func (in *K8SResourcePolicy) DeepCopyInto(out *K8SResourcePolicy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*K8SResourcePolicy) Descriptor

func (*K8SResourcePolicy) Descriptor() ([]byte, []int)

func (*K8SResourcePolicy) Marshal

func (m *K8SResourcePolicy) Marshal() (dAtA []byte, err error)

func (*K8SResourcePolicy) MarshalTo

func (m *K8SResourcePolicy) MarshalTo(dAtA []byte) (int, error)

func (*K8SResourcePolicy) MarshalToSizedBuffer

func (m *K8SResourcePolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*K8SResourcePolicy) ProtoMessage

func (*K8SResourcePolicy) ProtoMessage()

func (*K8SResourcePolicy) Reset

func (m *K8SResourcePolicy) Reset()

func (*K8SResourcePolicy) Size

func (m *K8SResourcePolicy) Size() (n int)

func (*K8SResourcePolicy) String

func (this *K8SResourcePolicy) String() string

func (*K8SResourcePolicy) Unmarshal

func (m *K8SResourcePolicy) Unmarshal(dAtA []byte) error

func (*K8SResourcePolicy) XXX_DiscardUnknown

func (m *K8SResourcePolicy) XXX_DiscardUnknown()

func (*K8SResourcePolicy) XXX_Marshal

func (m *K8SResourcePolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*K8SResourcePolicy) XXX_Merge

func (m *K8SResourcePolicy) XXX_Merge(src proto.Message)

func (*K8SResourcePolicy) XXX_Size

func (m *K8SResourcePolicy) XXX_Size() int

func (*K8SResourcePolicy) XXX_Unmarshal

func (m *K8SResourcePolicy) XXX_Unmarshal(b []byte) error

type KafkaBus

type KafkaBus struct {
	// URL to kafka cluster, multiple URLs separated by comma
	URL string `json:"url,omitempty" protobuf:"bytes,1,opt,name=url"`
	// Topic name, defaults to {namespace_name}-{eventbus_name}
	// +optional
	Topic string `json:"topic,omitempty" protobuf:"bytes,2,opt,name=topic"`
	// Kafka version, sarama defaults to the oldest supported stable version
	// +optional
	Version string `json:"version,omitempty" protobuf:"bytes,3,opt,name=version"`
	// TLS configuration for the kafka client.
	// +optional
	TLS *TLSConfig `json:"tls,omitempty" protobuf:"bytes,4,opt,name=tls"`
	// SASL configuration for the kafka client
	// +optional
	SASL *SASLConfig `json:"sasl,omitempty" protobuf:"bytes,5,opt,name=sasl"`
	// Consumer group for kafka client
	// +optional
	ConsumerGroup *KafkaConsumerGroup `json:"consumerGroup,omitempty" protobuf:"bytes,6,opt,name=consumerGroup"`
}

KafkaBus holds the KafkaBus EventBus information

func (*KafkaBus) DeepCopy

func (in *KafkaBus) DeepCopy() *KafkaBus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaBus.

func (*KafkaBus) DeepCopyInto

func (in *KafkaBus) DeepCopyInto(out *KafkaBus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KafkaBus) Descriptor

func (*KafkaBus) Descriptor() ([]byte, []int)

func (*KafkaBus) Marshal

func (m *KafkaBus) Marshal() (dAtA []byte, err error)

func (*KafkaBus) MarshalTo

func (m *KafkaBus) MarshalTo(dAtA []byte) (int, error)

func (*KafkaBus) MarshalToSizedBuffer

func (m *KafkaBus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KafkaBus) ProtoMessage

func (*KafkaBus) ProtoMessage()

func (*KafkaBus) Reset

func (m *KafkaBus) Reset()

func (*KafkaBus) Size

func (m *KafkaBus) Size() (n int)

func (*KafkaBus) String

func (this *KafkaBus) String() string

func (*KafkaBus) Unmarshal

func (m *KafkaBus) Unmarshal(dAtA []byte) error

func (*KafkaBus) XXX_DiscardUnknown

func (m *KafkaBus) XXX_DiscardUnknown()

func (*KafkaBus) XXX_Marshal

func (m *KafkaBus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KafkaBus) XXX_Merge

func (m *KafkaBus) XXX_Merge(src proto.Message)

func (*KafkaBus) XXX_Size

func (m *KafkaBus) XXX_Size() int

func (*KafkaBus) XXX_Unmarshal

func (m *KafkaBus) XXX_Unmarshal(b []byte) error

type KafkaConsumerGroup

type KafkaConsumerGroup struct {
	// The name for the consumer group to use
	GroupName string `json:"groupName" protobuf:"bytes,1,opt,name=groupName"`
	// When starting up a new group do we want to start from the oldest event (true) or the newest event (false), defaults to false
	// +optional
	Oldest bool `json:"oldest,omitempty" protobuf:"varint,2,opt,name=oldest"`
	// Rebalance strategy can be one of: sticky, roundrobin, range. Range is the default.
	// +optional
	RebalanceStrategy string `json:"rebalanceStrategy" protobuf:"bytes,3,opt,name=rebalanceStrategy"`
}

func (*KafkaConsumerGroup) DeepCopy

func (in *KafkaConsumerGroup) DeepCopy() *KafkaConsumerGroup

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaConsumerGroup.

func (*KafkaConsumerGroup) DeepCopyInto

func (in *KafkaConsumerGroup) DeepCopyInto(out *KafkaConsumerGroup)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KafkaConsumerGroup) Descriptor

func (*KafkaConsumerGroup) Descriptor() ([]byte, []int)

func (*KafkaConsumerGroup) Marshal

func (m *KafkaConsumerGroup) Marshal() (dAtA []byte, err error)

func (*KafkaConsumerGroup) MarshalTo

func (m *KafkaConsumerGroup) MarshalTo(dAtA []byte) (int, error)

func (*KafkaConsumerGroup) MarshalToSizedBuffer

func (m *KafkaConsumerGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KafkaConsumerGroup) ProtoMessage

func (*KafkaConsumerGroup) ProtoMessage()

func (*KafkaConsumerGroup) Reset

func (m *KafkaConsumerGroup) Reset()

func (*KafkaConsumerGroup) Size

func (m *KafkaConsumerGroup) Size() (n int)

func (*KafkaConsumerGroup) String

func (this *KafkaConsumerGroup) String() string

func (*KafkaConsumerGroup) Unmarshal

func (m *KafkaConsumerGroup) Unmarshal(dAtA []byte) error

func (*KafkaConsumerGroup) XXX_DiscardUnknown

func (m *KafkaConsumerGroup) XXX_DiscardUnknown()

func (*KafkaConsumerGroup) XXX_Marshal

func (m *KafkaConsumerGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KafkaConsumerGroup) XXX_Merge

func (m *KafkaConsumerGroup) XXX_Merge(src proto.Message)

func (*KafkaConsumerGroup) XXX_Size

func (m *KafkaConsumerGroup) XXX_Size() int

func (*KafkaConsumerGroup) XXX_Unmarshal

func (m *KafkaConsumerGroup) XXX_Unmarshal(b []byte) error

type KafkaEventSource

type KafkaEventSource struct {
	// URL to kafka cluster, multiple URLs separated by comma
	URL string `json:"url" protobuf:"bytes,1,opt,name=url"`
	// Partition name
	// +optional
	Partition string `json:"partition" protobuf:"bytes,2,opt,name=partition"`
	// Topic name
	Topic string `json:"topic" protobuf:"bytes,3,opt,name=topic"`
	// Backoff holds parameters applied to connection.
	ConnectionBackoff *Backoff `json:"connectionBackoff,omitempty" protobuf:"bytes,4,opt,name=connectionBackoff"`
	// TLS configuration for the kafka client.
	// +optional
	TLS *TLSConfig `json:"tls,omitempty" protobuf:"bytes,5,opt,name=tls"`
	// JSONBody specifies that all event body payload coming from this
	// source will be JSON
	// +optional
	JSONBody bool `json:"jsonBody,omitempty" protobuf:"varint,6,opt,name=jsonBody"`
	// Metadata holds the user defined metadata which will passed along the event payload.
	// +optional
	Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,7,rep,name=metadata"`

	// Consumer group for kafka client
	// +optional
	ConsumerGroup *KafkaConsumerGroup `json:"consumerGroup,omitempty" protobuf:"bytes,8,opt,name=consumerGroup"`

	// Sets a limit on how many events get read from kafka per second.
	// +optional
	LimitEventsPerSecond int64 `json:"limitEventsPerSecond,omitempty" protobuf:"varint,9,opt,name=limitEventsPerSecond"`

	// Specify what kafka version is being connected to enables certain features in sarama, defaults to 1.0.0
	// +optional
	Version string `json:"version" protobuf:"bytes,10,opt,name=version"`
	// SASL configuration for the kafka client
	// +optional
	SASL *SASLConfig `json:"sasl,omitempty" protobuf:"bytes,11,opt,name=sasl"`
	// Filter
	// +optional
	Filter *EventSourceFilter `json:"filter,omitempty" protobuf:"bytes,12,opt,name=filter"`
	// Yaml format Sarama config for Kafka connection.
	// It follows the struct of sarama.Config. See https://github.com/IBM/sarama/blob/main/config.go
	// e.g.
	//
	// consumer:
	//   fetch:
	//     min: 1
	// net:
	//   MaxOpenRequests: 5
	//
	// +optional
	Config string `json:"config,omitempty" protobuf:"bytes,13,opt,name=config"`
}

KafkaEventSource refers to event-source for Kafka related events

func (*KafkaEventSource) DeepCopy

func (in *KafkaEventSource) DeepCopy() *KafkaEventSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaEventSource.

func (*KafkaEventSource) DeepCopyInto

func (in *KafkaEventSource) DeepCopyInto(out *KafkaEventSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KafkaEventSource) Descriptor

func (*KafkaEventSource) Descriptor() ([]byte, []int)

func (*KafkaEventSource) Marshal

func (m *KafkaEventSource) Marshal() (dAtA []byte, err error)

func (*KafkaEventSource) MarshalTo

func (m *KafkaEventSource) MarshalTo(dAtA []byte) (int, error)

func (*KafkaEventSource) MarshalToSizedBuffer

func (m *KafkaEventSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KafkaEventSource) ProtoMessage

func (*KafkaEventSource) ProtoMessage()

func (*KafkaEventSource) Reset

func (m *KafkaEventSource) Reset()

func (*KafkaEventSource) Size

func (m *KafkaEventSource) Size() (n int)

func (*KafkaEventSource) String

func (this *KafkaEventSource) String() string

func (*KafkaEventSource) Unmarshal

func (m *KafkaEventSource) Unmarshal(dAtA []byte) error

func (*KafkaEventSource) XXX_DiscardUnknown

func (m *KafkaEventSource) XXX_DiscardUnknown()

func (*KafkaEventSource) XXX_Marshal

func (m *KafkaEventSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KafkaEventSource) XXX_Merge

func (m *KafkaEventSource) XXX_Merge(src proto.Message)

func (*KafkaEventSource) XXX_Size

func (m *KafkaEventSource) XXX_Size() int

func (*KafkaEventSource) XXX_Unmarshal

func (m *KafkaEventSource) XXX_Unmarshal(b []byte) error

type KafkaTrigger

type KafkaTrigger struct {
	// URL of the Kafka broker, multiple URLs separated by comma.
	URL string `json:"url" protobuf:"bytes,1,opt,name=url"`
	// Name of the topic.
	// More info at https://kafka.apache.org/documentation/#intro_topics
	Topic string `json:"topic" protobuf:"bytes,2,opt,name=topic"`
	// +optional
	// DEPRECATED
	Partition int32 `json:"partition" protobuf:"varint,3,opt,name=partition"`
	// Parameters is the list of parameters that is applied to resolved Kafka trigger object.
	Parameters []TriggerParameter `json:"parameters,omitempty" protobuf:"bytes,4,rep,name=parameters"`
	// RequiredAcks used in producer to tell the broker how many replica acknowledgements
	// Defaults to 1 (Only wait for the leader to ack).
	// +optional.
	RequiredAcks int32 `json:"requiredAcks,omitempty" protobuf:"varint,5,opt,name=requiredAcks"`
	// Compress determines whether to compress message or not.
	// Defaults to false.
	// If set to true, compresses message using snappy compression.
	// +optional
	Compress bool `json:"compress,omitempty" protobuf:"varint,6,opt,name=compress"`
	// FlushFrequency refers to the frequency in milliseconds to flush batches.
	// Defaults to 500 milliseconds.
	// +optional
	FlushFrequency int32 `json:"flushFrequency,omitempty" protobuf:"varint,7,opt,name=flushFrequency"`
	// TLS configuration for the Kafka producer.
	// +optional
	TLS *TLSConfig `json:"tls,omitempty" protobuf:"bytes,8,opt,name=tls"`
	// Payload is the list of key-value extracted from an event payload to construct the request payload.
	Payload []TriggerParameter `json:"payload" protobuf:"bytes,9,rep,name=payload"`
	// The partitioning key for the messages put on the Kafka topic.
	// +optional.
	PartitioningKey *string `json:"partitioningKey,omitempty" protobuf:"bytes,10,opt,name=partitioningKey"`
	// Specify what kafka version is being connected to enables certain features in sarama, defaults to 1.0.0
	// +optional
	Version string `json:"version,omitempty" protobuf:"bytes,11,opt,name=version"`
	// SASL configuration for the kafka client
	// +optional
	SASL *SASLConfig `json:"sasl,omitempty" protobuf:"bytes,12,opt,name=sasl"`
	// Schema Registry configuration to producer message with avro format
	// +optional
	SchemaRegistry *SchemaRegistryConfig `json:"schemaRegistry,omitempty" protobuf:"bytes,13,opt,name=schemaRegistry"`
	// Headers for the Kafka Messages.
	// +optional
	Headers map[string]string `json:"headers,omitempty" protobuf:"bytes,14,rep,name=headers"`
	// Secure Headers stored in Kubernetes Secrets for the Kafka messages.
	// +optional
	SecureHeaders []*SecureHeader `json:"secureHeaders,omitempty" protobuf:"bytes,15,rep,name=secureHeaders"`
}

KafkaTrigger refers to the specification of the Kafka trigger.

func (*KafkaTrigger) DeepCopy

func (in *KafkaTrigger) DeepCopy() *KafkaTrigger

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaTrigger.

func (*KafkaTrigger) DeepCopyInto

func (in *KafkaTrigger) DeepCopyInto(out *KafkaTrigger)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KafkaTrigger) Descriptor

func (*KafkaTrigger) Descriptor() ([]byte, []int)

func (*KafkaTrigger) Marshal

func (m *KafkaTrigger) Marshal() (dAtA []byte, err error)

func (*KafkaTrigger) MarshalTo

func (m *KafkaTrigger) MarshalTo(dAtA []byte) (int, error)

func (*KafkaTrigger) MarshalToSizedBuffer

func (m *KafkaTrigger) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KafkaTrigger) ProtoMessage

func (*KafkaTrigger) ProtoMessage()

func (*KafkaTrigger) Reset

func (m *KafkaTrigger) Reset()

func (*KafkaTrigger) Size

func (m *KafkaTrigger) Size() (n int)

func (*KafkaTrigger) String

func (this *KafkaTrigger) String() string

func (*KafkaTrigger) Unmarshal

func (m *KafkaTrigger) Unmarshal(dAtA []byte) error

func (*KafkaTrigger) XXX_DiscardUnknown

func (m *KafkaTrigger) XXX_DiscardUnknown()

func (*KafkaTrigger) XXX_Marshal

func (m *KafkaTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KafkaTrigger) XXX_Merge

func (m *KafkaTrigger) XXX_Merge(src proto.Message)

func (*KafkaTrigger) XXX_Size

func (m *KafkaTrigger) XXX_Size() int

func (*KafkaTrigger) XXX_Unmarshal

func (m *KafkaTrigger) XXX_Unmarshal(b []byte) error

type KubernetesResourceOperation

type KubernetesResourceOperation string

KubernetesResourceOperation refers to the type of operation performed on the K8s resource

const (
	Create KubernetesResourceOperation = "create" // create the resource
	Update KubernetesResourceOperation = "update" // updates the resource
	Patch  KubernetesResourceOperation = "patch"  // patch resource
	Delete KubernetesResourceOperation = "delete" // deletes the resource
)

possible values for KubernetesResourceOperation

type LogTrigger

type LogTrigger struct {
	// Only print messages every interval. Useful to prevent logging too much data for busy events.
	// +optional
	IntervalSeconds uint64 `json:"intervalSeconds,omitempty" protobuf:"varint,1,opt,name=intervalSeconds"`
}

func (*LogTrigger) DeepCopy

func (in *LogTrigger) DeepCopy() *LogTrigger

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogTrigger.

func (*LogTrigger) DeepCopyInto

func (in *LogTrigger) DeepCopyInto(out *LogTrigger)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LogTrigger) Descriptor

func (*LogTrigger) Descriptor() ([]byte, []int)

func (*LogTrigger) GetInterval

func (in *LogTrigger) GetInterval() time.Duration

func (*LogTrigger) Marshal

func (m *LogTrigger) Marshal() (dAtA []byte, err error)

func (*LogTrigger) MarshalTo

func (m *LogTrigger) MarshalTo(dAtA []byte) (int, error)

func (*LogTrigger) MarshalToSizedBuffer

func (m *LogTrigger) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LogTrigger) ProtoMessage

func (*LogTrigger) ProtoMessage()

func (*LogTrigger) Reset

func (m *LogTrigger) Reset()

func (*LogTrigger) Size

func (m *LogTrigger) Size() (n int)

func (*LogTrigger) String

func (this *LogTrigger) String() string

func (*LogTrigger) Unmarshal

func (m *LogTrigger) Unmarshal(dAtA []byte) error

func (*LogTrigger) XXX_DiscardUnknown

func (m *LogTrigger) XXX_DiscardUnknown()

func (*LogTrigger) XXX_Marshal

func (m *LogTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LogTrigger) XXX_Merge

func (m *LogTrigger) XXX_Merge(src proto.Message)

func (*LogTrigger) XXX_Size

func (m *LogTrigger) XXX_Size() int

func (*LogTrigger) XXX_Unmarshal

func (m *LogTrigger) XXX_Unmarshal(b []byte) error

type LogicalOperator

type LogicalOperator string
const (
	AndLogicalOperator   LogicalOperator = "and" // Equal to &&
	OrLogicalOperator    LogicalOperator = "or"  // Equal to ||
	EmptyLogicalOperator LogicalOperator = ""    // Empty will default to AND (&&)
)

type MQTTEventSource

type MQTTEventSource struct {
	// URL to connect to broker
	URL string `json:"url" protobuf:"bytes,1,opt,name=url"`
	// Topic name
	Topic string `json:"topic" protobuf:"bytes,2,opt,name=topic"`
	// ClientID is the id of the client
	ClientID string `json:"clientId" protobuf:"bytes,3,opt,name=clientId"`
	// ConnectionBackoff holds backoff applied to connection.
	ConnectionBackoff *Backoff `json:"connectionBackoff,omitempty" protobuf:"bytes,4,opt,name=connectionBackoff"`
	// JSONBody specifies that all event body payload coming from this
	// source will be JSON
	// +optional
	JSONBody bool `json:"jsonBody,omitempty" protobuf:"varint,5,opt,name=jsonBody"`
	// TLS configuration for the mqtt client.
	// +optional
	TLS *TLSConfig `json:"tls,omitempty" protobuf:"bytes,6,opt,name=tls"`
	// Metadata holds the user defined metadata which will passed along the event payload.
	// +optional
	Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,7,rep,name=metadata"`
	// Filter
	// +optional
	Filter *EventSourceFilter `json:"filter,omitempty" protobuf:"bytes,8,opt,name=filter"`
	// Auth hosts secret selectors for username and password
	// +optional
	Auth *BasicAuth `json:"auth,omitempty" protobuf:"bytes,9,opt,name=auth"`
}

MQTTEventSource refers to event-source for MQTT related events

func (*MQTTEventSource) DeepCopy

func (in *MQTTEventSource) DeepCopy() *MQTTEventSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MQTTEventSource.

func (*MQTTEventSource) DeepCopyInto

func (in *MQTTEventSource) DeepCopyInto(out *MQTTEventSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MQTTEventSource) Descriptor

func (*MQTTEventSource) Descriptor() ([]byte, []int)

func (*MQTTEventSource) Marshal

func (m *MQTTEventSource) Marshal() (dAtA []byte, err error)

func (*MQTTEventSource) MarshalTo

func (m *MQTTEventSource) MarshalTo(dAtA []byte) (int, error)

func (*MQTTEventSource) MarshalToSizedBuffer

func (m *MQTTEventSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MQTTEventSource) ProtoMessage

func (*MQTTEventSource) ProtoMessage()

func (*MQTTEventSource) Reset

func (m *MQTTEventSource) Reset()

func (*MQTTEventSource) Size

func (m *MQTTEventSource) Size() (n int)

func (*MQTTEventSource) String

func (this *MQTTEventSource) String() string

func (*MQTTEventSource) Unmarshal

func (m *MQTTEventSource) Unmarshal(dAtA []byte) error

func (*MQTTEventSource) XXX_DiscardUnknown

func (m *MQTTEventSource) XXX_DiscardUnknown()

func (*MQTTEventSource) XXX_Marshal

func (m *MQTTEventSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MQTTEventSource) XXX_Merge

func (m *MQTTEventSource) XXX_Merge(src proto.Message)

func (*MQTTEventSource) XXX_Size

func (m *MQTTEventSource) XXX_Size() int

func (*MQTTEventSource) XXX_Unmarshal

func (m *MQTTEventSource) XXX_Unmarshal(b []byte) error

type Metadata

type Metadata struct {
	Annotations map[string]string `json:"annotations,omitempty" protobuf:"bytes,1,rep,name=annotations"`
	Labels      map[string]string `json:"labels,omitempty" protobuf:"bytes,2,rep,name=labels"`
}

Metadata holds the annotations and labels of an event source pod

func (*Metadata) DeepCopy

func (in *Metadata) DeepCopy() *Metadata

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metadata.

func (*Metadata) DeepCopyInto

func (in *Metadata) DeepCopyInto(out *Metadata)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Metadata) Descriptor

func (*Metadata) Descriptor() ([]byte, []int)

func (*Metadata) Marshal

func (m *Metadata) Marshal() (dAtA []byte, err error)

func (*Metadata) MarshalTo

func (m *Metadata) MarshalTo(dAtA []byte) (int, error)

func (*Metadata) MarshalToSizedBuffer

func (m *Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) Reset

func (m *Metadata) Reset()

func (*Metadata) Size

func (m *Metadata) Size() (n int)

func (*Metadata) String

func (this *Metadata) String() string

func (*Metadata) Unmarshal

func (m *Metadata) Unmarshal(dAtA []byte) error

func (*Metadata) XXX_DiscardUnknown

func (m *Metadata) XXX_DiscardUnknown()

func (*Metadata) XXX_Marshal

func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Metadata) XXX_Merge

func (m *Metadata) XXX_Merge(src proto.Message)

func (*Metadata) XXX_Size

func (m *Metadata) XXX_Size() int

func (*Metadata) XXX_Unmarshal

func (m *Metadata) XXX_Unmarshal(b []byte) error

type NATSAuth

type NATSAuth struct {
	// Baisc auth with username and password
	// +optional
	Basic *BasicAuth `json:"basic,omitempty" protobuf:"bytes,1,opt,name=basic"`
	// Token used to connect
	// +optional
	Token *corev1.SecretKeySelector `json:"token,omitempty" protobuf:"bytes,2,opt,name=token"`
	// NKey used to connect
	// +optional
	NKey *corev1.SecretKeySelector `json:"nkey,omitempty" protobuf:"bytes,3,opt,name=nkey"`
	// credential used to connect
	// +optional
	Credential *corev1.SecretKeySelector `json:"credential,omitempty" protobuf:"bytes,4,opt,name=credential"`
}

NATSAuth refers to the auth info for NATS EventSource

func (*NATSAuth) DeepCopy

func (in *NATSAuth) DeepCopy() *NATSAuth

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATSAuth.

func (*NATSAuth) DeepCopyInto

func (in *NATSAuth) DeepCopyInto(out *NATSAuth)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NATSAuth) Descriptor

func (*NATSAuth) Descriptor() ([]byte, []int)

func (*NATSAuth) Marshal

func (m *NATSAuth) Marshal() (dAtA []byte, err error)

func (*NATSAuth) MarshalTo

func (m *NATSAuth) MarshalTo(dAtA []byte) (int, error)

func (*NATSAuth) MarshalToSizedBuffer

func (m *NATSAuth) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NATSAuth) ProtoMessage

func (*NATSAuth) ProtoMessage()

func (*NATSAuth) Reset

func (m *NATSAuth) Reset()

func (*NATSAuth) Size

func (m *NATSAuth) Size() (n int)

func (*NATSAuth) String

func (this *NATSAuth) String() string

func (*NATSAuth) Unmarshal

func (m *NATSAuth) Unmarshal(dAtA []byte) error

func (*NATSAuth) XXX_DiscardUnknown

func (m *NATSAuth) XXX_DiscardUnknown()

func (*NATSAuth) XXX_Marshal

func (m *NATSAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NATSAuth) XXX_Merge

func (m *NATSAuth) XXX_Merge(src proto.Message)

func (*NATSAuth) XXX_Size

func (m *NATSAuth) XXX_Size() int

func (*NATSAuth) XXX_Unmarshal

func (m *NATSAuth) XXX_Unmarshal(b []byte) error

type NATSBus

type NATSBus struct {
	// Native means to bring up a native NATS service
	Native *NativeStrategy `json:"native,omitempty" protobuf:"bytes,1,opt,name=native"`
	// Exotic holds an exotic NATS config
	Exotic *NATSConfig `json:"exotic,omitempty" protobuf:"bytes,2,opt,name=exotic"`
}

NATSBus holds the NATS eventbus information

func (*NATSBus) DeepCopy

func (in *NATSBus) DeepCopy() *NATSBus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATSBus.

func (*NATSBus) DeepCopyInto

func (in *NATSBus) DeepCopyInto(out *NATSBus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NATSBus) Descriptor

func (*NATSBus) Descriptor() ([]byte, []int)

func (*NATSBus) Marshal

func (m *NATSBus) Marshal() (dAtA []byte, err error)

func (*NATSBus) MarshalTo

func (m *NATSBus) MarshalTo(dAtA []byte) (int, error)

func (*NATSBus) MarshalToSizedBuffer

func (m *NATSBus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NATSBus) ProtoMessage

func (*NATSBus) ProtoMessage()

func (*NATSBus) Reset

func (m *NATSBus) Reset()

func (*NATSBus) Size

func (m *NATSBus) Size() (n int)

func (*NATSBus) String

func (this *NATSBus) String() string

func (*NATSBus) Unmarshal

func (m *NATSBus) Unmarshal(dAtA []byte) error

func (*NATSBus) XXX_DiscardUnknown

func (m *NATSBus) XXX_DiscardUnknown()

func (*NATSBus) XXX_Marshal

func (m *NATSBus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NATSBus) XXX_Merge

func (m *NATSBus) XXX_Merge(src proto.Message)

func (*NATSBus) XXX_Size

func (m *NATSBus) XXX_Size() int

func (*NATSBus) XXX_Unmarshal

func (m *NATSBus) XXX_Unmarshal(b []byte) error

type NATSConfig

type NATSConfig struct {
	// NATS streaming url
	URL string `json:"url,omitempty" protobuf:"bytes,1,opt,name=url"`
	// Cluster ID for nats streaming
	ClusterID *string `json:"clusterID,omitempty" protobuf:"bytes,2,opt,name=clusterID"`
	// Auth strategy, default to AuthStrategyNone
	// +optional
	Auth *AuthStrategy `json:"auth,omitempty" protobuf:"bytes,3,opt,name=auth,casttype=AuthStrategy"`
	// Secret for auth
	// +optional
	AccessSecret *corev1.SecretKeySelector `json:"accessSecret,omitempty" protobuf:"bytes,4,opt,name=accessSecret"`
}

NATSConfig holds the config of NATS

func (*NATSConfig) DeepCopy

func (in *NATSConfig) DeepCopy() *NATSConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATSConfig.

func (*NATSConfig) DeepCopyInto

func (in *NATSConfig) DeepCopyInto(out *NATSConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NATSConfig) Descriptor

func (*NATSConfig) Descriptor() ([]byte, []int)

func (*NATSConfig) Marshal

func (m *NATSConfig) Marshal() (dAtA []byte, err error)

func (*NATSConfig) MarshalTo

func (m *NATSConfig) MarshalTo(dAtA []byte) (int, error)

func (*NATSConfig) MarshalToSizedBuffer

func (m *NATSConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NATSConfig) ProtoMessage

func (*NATSConfig) ProtoMessage()

func (*NATSConfig) Reset

func (m *NATSConfig) Reset()

func (*NATSConfig) Size

func (m *NATSConfig) Size() (n int)

func (*NATSConfig) String

func (this *NATSConfig) String() string

func (*NATSConfig) Unmarshal

func (m *NATSConfig) Unmarshal(dAtA []byte) error

func (*NATSConfig) XXX_DiscardUnknown

func (m *NATSConfig) XXX_DiscardUnknown()

func (*NATSConfig) XXX_Marshal

func (m *NATSConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NATSConfig) XXX_Merge

func (m *NATSConfig) XXX_Merge(src proto.Message)

func (*NATSConfig) XXX_Size

func (m *NATSConfig) XXX_Size() int

func (*NATSConfig) XXX_Unmarshal

func (m *NATSConfig) XXX_Unmarshal(b []byte) error

type NATSEventsSource

type NATSEventsSource struct {
	// URL to connect to NATS cluster
	URL string `json:"url" protobuf:"bytes,1,opt,name=url"`
	// Subject holds the name of the subject onto which messages are published
	Subject string `json:"subject" protobuf:"bytes,2,opt,name=subject"`
	// ConnectionBackoff holds backoff applied to connection.
	ConnectionBackoff *Backoff `json:"connectionBackoff,omitempty" protobuf:"bytes,3,opt,name=connectionBackoff"`
	// JSONBody specifies that all event body payload coming from this
	// source will be JSON
	// +optional
	JSONBody bool `json:"jsonBody,omitempty" protobuf:"varint,4,opt,name=jsonBody"`
	// TLS configuration for the nats client.
	// +optional
	TLS *TLSConfig `json:"tls,omitempty" protobuf:"bytes,5,opt,name=tls"`
	// Metadata holds the user defined metadata which will passed along the event payload.
	// +optional
	Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,6,rep,name=metadata"`
	// Auth information
	// +optional
	Auth *NATSAuth `json:"auth,omitempty" protobuf:"bytes,7,opt,name=auth"`
	// Filter
	// +optional
	Filter *EventSourceFilter `json:"filter,omitempty" protobuf:"bytes,8,opt,name=filter"`
	// Queue is the name of the queue group to subscribe as if specified. Uses QueueSubscribe
	// logic to subscribe as queue group. If the queue is empty, uses default Subscribe logic.
	// +optional
	Queue *string `json:"queue" protobuf:"bytes,9,opt,name=queue"`
}

NATSEventsSource refers to event-source for NATS related events

func (*NATSEventsSource) DeepCopy

func (in *NATSEventsSource) DeepCopy() *NATSEventsSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATSEventsSource.

func (*NATSEventsSource) DeepCopyInto

func (in *NATSEventsSource) DeepCopyInto(out *NATSEventsSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NATSEventsSource) Descriptor

func (*NATSEventsSource) Descriptor() ([]byte, []int)

func (*NATSEventsSource) Marshal

func (m *NATSEventsSource) Marshal() (dAtA []byte, err error)

func (*NATSEventsSource) MarshalTo

func (m *NATSEventsSource) MarshalTo(dAtA []byte) (int, error)

func (*NATSEventsSource) MarshalToSizedBuffer

func (m *NATSEventsSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NATSEventsSource) ProtoMessage

func (*NATSEventsSource) ProtoMessage()

func (*NATSEventsSource) Reset

func (m *NATSEventsSource) Reset()

func (*NATSEventsSource) Size

func (m *NATSEventsSource) Size() (n int)

func (*NATSEventsSource) String

func (this *NATSEventsSource) String() string

func (*NATSEventsSource) Unmarshal

func (m *NATSEventsSource) Unmarshal(dAtA []byte) error

func (*NATSEventsSource) XXX_DiscardUnknown

func (m *NATSEventsSource) XXX_DiscardUnknown()

func (*NATSEventsSource) XXX_Marshal

func (m *NATSEventsSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NATSEventsSource) XXX_Merge

func (m *NATSEventsSource) XXX_Merge(src proto.Message)

func (*NATSEventsSource) XXX_Size

func (m *NATSEventsSource) XXX_Size() int

func (*NATSEventsSource) XXX_Unmarshal

func (m *NATSEventsSource) XXX_Unmarshal(b []byte) error

type NATSTrigger

type NATSTrigger struct {
	// URL of the NATS cluster.
	URL string `json:"url" protobuf:"bytes,1,opt,name=url"`
	// Name of the subject to put message on.
	Subject string `json:"subject" protobuf:"bytes,2,opt,name=subject"`

	Payload []TriggerParameter `json:"payload" protobuf:"bytes,3,rep,name=payload"`

	Parameters []TriggerParameter `json:"parameters,omitempty" protobuf:"bytes,4,rep,name=parameters"`
	// TLS configuration for the NATS producer.
	// +optional
	TLS *TLSConfig `json:"tls,omitempty" protobuf:"bytes,5,opt,name=tls"`
}

NATSTrigger refers to the specification of the NATS trigger.

func (*NATSTrigger) DeepCopy

func (in *NATSTrigger) DeepCopy() *NATSTrigger

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATSTrigger.

func (*NATSTrigger) DeepCopyInto

func (in *NATSTrigger) DeepCopyInto(out *NATSTrigger)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NATSTrigger) Descriptor

func (*NATSTrigger) Descriptor() ([]byte, []int)

func (*NATSTrigger) Marshal

func (m *NATSTrigger) Marshal() (dAtA []byte, err error)

func (*NATSTrigger) MarshalTo

func (m *NATSTrigger) MarshalTo(dAtA []byte) (int, error)

func (*NATSTrigger) MarshalToSizedBuffer

func (m *NATSTrigger) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NATSTrigger) ProtoMessage

func (*NATSTrigger) ProtoMessage()

func (*NATSTrigger) Reset

func (m *NATSTrigger) Reset()

func (*NATSTrigger) Size

func (m *NATSTrigger) Size() (n int)

func (*NATSTrigger) String

func (this *NATSTrigger) String() string

func (*NATSTrigger) Unmarshal

func (m *NATSTrigger) Unmarshal(dAtA []byte) error

func (*NATSTrigger) XXX_DiscardUnknown

func (m *NATSTrigger) XXX_DiscardUnknown()

func (*NATSTrigger) XXX_Marshal

func (m *NATSTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NATSTrigger) XXX_Merge

func (m *NATSTrigger) XXX_Merge(src proto.Message)

func (*NATSTrigger) XXX_Size

func (m *NATSTrigger) XXX_Size() int

func (*NATSTrigger) XXX_Unmarshal

func (m *NATSTrigger) XXX_Unmarshal(b []byte) error

type NSQEventSource

type NSQEventSource struct {
	// HostAddress is the address of the host for NSQ lookup
	HostAddress string `json:"hostAddress" protobuf:"bytes,1,opt,name=hostAddress"`
	// Topic to subscribe to.
	Topic string `json:"topic" protobuf:"bytes,2,opt,name=topic"`
	// Channel used for subscription
	Channel string `json:"channel" protobuf:"bytes,3,opt,name=channel"`
	// Backoff holds parameters applied to connection.
	// +optional
	ConnectionBackoff *Backoff `json:"connectionBackoff,omitempty" protobuf:"bytes,4,opt,name=connectionBackoff"`
	// JSONBody specifies that all event body payload coming from this
	// source will be JSON
	// +optional
	JSONBody bool `json:"jsonBody,omitempty" protobuf:"varint,5,opt,name=jsonBody"`
	// TLS configuration for the nsq client.
	// +optional
	TLS *TLSConfig `json:"tls,omitempty" protobuf:"bytes,6,opt,name=tls"`
	// Metadata holds the user defined metadata which will passed along the event payload.
	// +optional
	Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,7,rep,name=metadata"`
	// Filter
	// +optional
	Filter *EventSourceFilter `json:"filter,omitempty" protobuf:"bytes,8,opt,name=filter"`
}

NSQEventSource describes the event source for NSQ PubSub More info at https://godoc.org/github.com/nsqio/go-nsq

func (*NSQEventSource) DeepCopy

func (in *NSQEventSource) DeepCopy() *NSQEventSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NSQEventSource.

func (*NSQEventSource) DeepCopyInto

func (in *NSQEventSource) DeepCopyInto(out *NSQEventSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NSQEventSource) Descriptor

func (*NSQEventSource) Descriptor() ([]byte, []int)

func (*NSQEventSource) Marshal

func (m *NSQEventSource) Marshal() (dAtA []byte, err error)

func (*NSQEventSource) MarshalTo

func (m *NSQEventSource) MarshalTo(dAtA []byte) (int, error)

func (*NSQEventSource) MarshalToSizedBuffer

func (m *NSQEventSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NSQEventSource) ProtoMessage

func (*NSQEventSource) ProtoMessage()

func (*NSQEventSource) Reset

func (m *NSQEventSource) Reset()

func (*NSQEventSource) Size

func (m *NSQEventSource) Size() (n int)

func (*NSQEventSource) String

func (this *NSQEventSource) String() string

func (*NSQEventSource) Unmarshal

func (m *NSQEventSource) Unmarshal(dAtA []byte) error

func (*NSQEventSource) XXX_DiscardUnknown

func (m *NSQEventSource) XXX_DiscardUnknown()

func (*NSQEventSource) XXX_Marshal

func (m *NSQEventSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NSQEventSource) XXX_Merge

func (m *NSQEventSource) XXX_Merge(src proto.Message)

func (*NSQEventSource) XXX_Size

func (m *NSQEventSource) XXX_Size() int

func (*NSQEventSource) XXX_Unmarshal

func (m *NSQEventSource) XXX_Unmarshal(b []byte) error

type NativeStrategy

type NativeStrategy struct {
	// Size is the NATS StatefulSet size
	Replicas int32         `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"`
	Auth     *AuthStrategy `json:"auth,omitempty" protobuf:"bytes,2,opt,name=auth,casttype=AuthStrategy"`
	// +optional
	Persistence *PersistenceStrategy `json:"persistence,omitempty" protobuf:"bytes,3,opt,name=persistence"`
	// ContainerTemplate contains customized spec for NATS container
	// +optional
	ContainerTemplate *ContainerTemplate `json:"containerTemplate,omitempty" protobuf:"bytes,4,opt,name=containerTemplate"`
	// MetricsContainerTemplate contains customized spec for metrics container
	// +optional
	MetricsContainerTemplate *ContainerTemplate `json:"metricsContainerTemplate,omitempty" protobuf:"bytes,5,opt,name=metricsContainerTemplate"`
	// NodeSelector is a selector which must be true for the pod to fit on a node.
	// Selector which must match a node's labels for the pod to be scheduled on that node.
	// More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
	// +optional
	NodeSelector map[string]string `json:"nodeSelector,omitempty" protobuf:"bytes,6,rep,name=nodeSelector"`
	// If specified, the pod's tolerations.
	// +optional
	Tolerations []corev1.Toleration `json:"tolerations,omitempty" protobuf:"bytes,7,rep,name=tolerations"`
	// Metadata sets the pods's metadata, i.e. annotations and labels
	Metadata *Metadata `json:"metadata,omitempty" protobuf:"bytes,8,opt,name=metadata"`
	// SecurityContext holds pod-level security attributes and common container settings.
	// Optional: Defaults to empty.  See type description for default values of each field.
	// +optional
	SecurityContext *corev1.PodSecurityContext `json:"securityContext,omitempty" protobuf:"bytes,9,opt,name=securityContext"`
	// Max Age of existing messages, i.e. "72h", “4h35m”
	// +optional
	MaxAge *string `json:"maxAge,omitempty" protobuf:"bytes,10,opt,name=maxAge"`
	// ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
	// If specified, these secrets will be passed to individual puller implementations for them to use. For example,
	// in the case of docker, only DockerConfig type secrets are honored.
	// More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod
	// +optional
	// +patchMergeKey=name
	// +patchStrategy=merge
	ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,11,rep,name=imagePullSecrets"`
	// ServiceAccountName to apply to NATS StatefulSet
	// +optional
	ServiceAccountName string `json:"serviceAccountName,omitempty" protobuf:"bytes,12,opt,name=serviceAccountName"`
	// If specified, indicates the EventSource pod's priority. "system-node-critical"
	// and "system-cluster-critical" are two special keywords which indicate the
	// highest priorities with the former being the highest priority. Any other
	// name must be defined by creating a PriorityClass object with that name.
	// If not specified, the pod priority will be default or zero if there is no
	// default.
	// More info: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
	// +optional
	PriorityClassName string `json:"priorityClassName,omitempty" protobuf:"bytes,13,opt,name=priorityClassName"`
	// The priority value. Various system components use this field to find the
	// priority of the EventSource pod. When Priority Admission Controller is enabled,
	// it prevents users from setting this field. The admission controller populates
	// this field from PriorityClassName.
	// The higher the value, the higher the priority.
	// More info: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
	// +optional
	Priority *int32 `json:"priority,omitempty" protobuf:"bytes,14,opt,name=priority"`
	// The pod's scheduling constraints
	// More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
	// +optional
	Affinity *corev1.Affinity `json:"affinity,omitempty" protobuf:"bytes,15,opt,name=affinity"`
	// Maximum number of messages per channel, 0 means unlimited. Defaults to 1000000
	MaxMsgs *uint64 `json:"maxMsgs,omitempty" protobuf:"bytes,16,opt,name=maxMsgs"`
	// Total size of messages per channel, 0 means unlimited. Defaults to 1GB
	MaxBytes *string `json:"maxBytes,omitempty" protobuf:"bytes,17,opt,name=maxBytes"`
	// Maximum number of subscriptions per channel, 0 means unlimited. Defaults to 1000
	MaxSubs *uint64 `json:"maxSubs,omitempty" protobuf:"bytes,18,opt,name=maxSubs"`
	// Maximum number of bytes in a message payload, 0 means unlimited. Defaults to 1MB
	MaxPayload *string `json:"maxPayload,omitempty" protobuf:"bytes,19,opt,name=maxPayload"`
	// Specifies the time in follower state without a leader before attempting an election, i.e. "72h", “4h35m”. Defaults to 2s
	RaftHeartbeatTimeout *string `json:"raftHeartbeatTimeout,omitempty" protobuf:"bytes,20,opt,name=raftHeartbeatTimeout"`
	// Specifies the time in candidate state without a leader before attempting an election, i.e. "72h", “4h35m”. Defaults to 2s
	RaftElectionTimeout *string `json:"raftElectionTimeout,omitempty" protobuf:"bytes,21,opt,name=raftElectionTimeout"`
	// Specifies how long a leader waits without being able to contact a quorum of nodes before stepping down as leader, i.e. "72h", “4h35m”. Defaults to 1s
	RaftLeaseTimeout *string `json:"raftLeaseTimeout,omitempty" protobuf:"bytes,22,opt,name=raftLeaseTimeout"`
	// Specifies the time without an Apply() operation before sending an heartbeat to ensure timely commit, i.e. "72h", “4h35m”. Defaults to 100ms
	RaftCommitTimeout *string `json:"raftCommitTimeout,omitempty" protobuf:"bytes,23,opt,name=raftCommitTimeout"`
}

NativeStrategy indicates to install a native NATS service

func (*NativeStrategy) DeepCopy

func (in *NativeStrategy) DeepCopy() *NativeStrategy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NativeStrategy.

func (*NativeStrategy) DeepCopyInto

func (in *NativeStrategy) DeepCopyInto(out *NativeStrategy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NativeStrategy) Descriptor

func (*NativeStrategy) Descriptor() ([]byte, []int)

func (*NativeStrategy) GetReplicas

func (in *NativeStrategy) GetReplicas() int

GetReplicas return the replicas of statefulset

func (*NativeStrategy) Marshal

func (m *NativeStrategy) Marshal() (dAtA []byte, err error)

func (*NativeStrategy) MarshalTo

func (m *NativeStrategy) MarshalTo(dAtA []byte) (int, error)

func (*NativeStrategy) MarshalToSizedBuffer

func (m *NativeStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NativeStrategy) ProtoMessage

func (*NativeStrategy) ProtoMessage()

func (*NativeStrategy) Reset

func (m *NativeStrategy) Reset()

func (*NativeStrategy) Size

func (m *NativeStrategy) Size() (n int)

func (*NativeStrategy) String

func (this *NativeStrategy) String() string

func (*NativeStrategy) Unmarshal

func (m *NativeStrategy) Unmarshal(dAtA []byte) error

func (*NativeStrategy) XXX_DiscardUnknown

func (m *NativeStrategy) XXX_DiscardUnknown()

func (*NativeStrategy) XXX_Marshal

func (m *NativeStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NativeStrategy) XXX_Merge

func (m *NativeStrategy) XXX_Merge(src proto.Message)

func (*NativeStrategy) XXX_Size

func (m *NativeStrategy) XXX_Size() int

func (*NativeStrategy) XXX_Unmarshal

func (m *NativeStrategy) XXX_Unmarshal(b []byte) error

type OpenWhiskTrigger

type OpenWhiskTrigger struct {
	// Host URL of the OpenWhisk.
	Host string `json:"host" protobuf:"bytes,1,opt,name=host"`
	// Version for the API.
	// Defaults to v1.
	// +optional
	Version string `json:"version,omitempty" protobuf:"bytes,2,opt,name=version"`
	// Namespace for the action.
	// Defaults to "_".
	// +optional.
	Namespace string `json:"namespace,omitempty" protobuf:"bytes,3,opt,name=namespace"`
	// AuthToken for authentication.
	// +optional
	AuthToken *corev1.SecretKeySelector `json:"authToken,omitempty" protobuf:"bytes,4,opt,name=authToken"`
	// Name of the action/function.
	ActionName string `json:"actionName" protobuf:"bytes,5,opt,name=actionName"`
	// Payload is the list of key-value extracted from an event payload to construct the request payload.
	Payload []TriggerParameter `json:"payload" protobuf:"bytes,6,rep,name=payload"`
	// Parameters is the list of key-value extracted from event's payload that are applied to
	// the trigger resource.
	// +optional
	Parameters []TriggerParameter `json:"parameters,omitempty" protobuf:"bytes,7,rep,name=parameters"`
}

OpenWhiskTrigger refers to the specification of the OpenWhisk trigger.

func (*OpenWhiskTrigger) DeepCopy

func (in *OpenWhiskTrigger) DeepCopy() *OpenWhiskTrigger

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenWhiskTrigger.

func (*OpenWhiskTrigger) DeepCopyInto

func (in *OpenWhiskTrigger) DeepCopyInto(out *OpenWhiskTrigger)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OpenWhiskTrigger) Descriptor

func (*OpenWhiskTrigger) Descriptor() ([]byte, []int)

func (*OpenWhiskTrigger) Marshal

func (m *OpenWhiskTrigger) Marshal() (dAtA []byte, err error)

func (*OpenWhiskTrigger) MarshalTo

func (m *OpenWhiskTrigger) MarshalTo(dAtA []byte) (int, error)

func (*OpenWhiskTrigger) MarshalToSizedBuffer

func (m *OpenWhiskTrigger) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OpenWhiskTrigger) ProtoMessage

func (*OpenWhiskTrigger) ProtoMessage()

func (*OpenWhiskTrigger) Reset

func (m *OpenWhiskTrigger) Reset()

func (*OpenWhiskTrigger) Size

func (m *OpenWhiskTrigger) Size() (n int)

func (*OpenWhiskTrigger) String

func (this *OpenWhiskTrigger) String() string

func (*OpenWhiskTrigger) Unmarshal

func (m *OpenWhiskTrigger) Unmarshal(dAtA []byte) error

func (*OpenWhiskTrigger) XXX_DiscardUnknown

func (m *OpenWhiskTrigger) XXX_DiscardUnknown()

func (*OpenWhiskTrigger) XXX_Marshal

func (m *OpenWhiskTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OpenWhiskTrigger) XXX_Merge

func (m *OpenWhiskTrigger) XXX_Merge(src proto.Message)

func (*OpenWhiskTrigger) XXX_Size

func (m *OpenWhiskTrigger) XXX_Size() int

func (*OpenWhiskTrigger) XXX_Unmarshal

func (m *OpenWhiskTrigger) XXX_Unmarshal(b []byte) error

type OwnedRepositories

type OwnedRepositories struct {
	// Organization or user name
	Owner string `json:"owner,omitempty" protobuf:"bytes,1,opt,name=owner"`
	// Repository names
	Names []string `json:"names,omitempty" protobuf:"bytes,2,rep,name=names"`
}

func (*OwnedRepositories) DeepCopy

func (in *OwnedRepositories) DeepCopy() *OwnedRepositories

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OwnedRepositories.

func (*OwnedRepositories) DeepCopyInto

func (in *OwnedRepositories) DeepCopyInto(out *OwnedRepositories)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OwnedRepositories) Descriptor

func (*OwnedRepositories) Descriptor() ([]byte, []int)

func (*OwnedRepositories) Marshal

func (m *OwnedRepositories) Marshal() (dAtA []byte, err error)

func (*OwnedRepositories) MarshalTo

func (m *OwnedRepositories) MarshalTo(dAtA []byte) (int, error)

func (*OwnedRepositories) MarshalToSizedBuffer

func (m *OwnedRepositories) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OwnedRepositories) ProtoMessage

func (*OwnedRepositories) ProtoMessage()

func (*OwnedRepositories) Reset

func (m *OwnedRepositories) Reset()

func (*OwnedRepositories) Size

func (m *OwnedRepositories) Size() (n int)

func (*OwnedRepositories) String

func (this *OwnedRepositories) String() string

func (*OwnedRepositories) Unmarshal

func (m *OwnedRepositories) Unmarshal(dAtA []byte) error

func (*OwnedRepositories) XXX_DiscardUnknown

func (m *OwnedRepositories) XXX_DiscardUnknown()

func (*OwnedRepositories) XXX_Marshal

func (m *OwnedRepositories) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OwnedRepositories) XXX_Merge

func (m *OwnedRepositories) XXX_Merge(src proto.Message)

func (*OwnedRepositories) XXX_Size

func (m *OwnedRepositories) XXX_Size() int

func (*OwnedRepositories) XXX_Unmarshal

func (m *OwnedRepositories) XXX_Unmarshal(b []byte) error

type PayloadField

type PayloadField struct {
	// Path is the JSONPath of the event's (JSON decoded) data key
	// Path is a series of keys separated by a dot. A key may contain wildcard characters '*' and '?'.
	// To access an array value use the index as the key. The dot and wildcard characters can be escaped with '\\'.
	// See https://github.com/tidwall/gjson#path-syntax for more information on how to use this.
	Path string `json:"path" protobuf:"bytes,1,opt,name=path"`
	// Name acts as key that holds the value at the path.
	Name string `json:"name" protobuf:"bytes,2,opt,name=name"`
}

PayloadField binds a value at path within the event payload against a name.

func (*PayloadField) DeepCopy

func (in *PayloadField) DeepCopy() *PayloadField

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PayloadField.

func (*PayloadField) DeepCopyInto

func (in *PayloadField) DeepCopyInto(out *PayloadField)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PayloadField) Descriptor

func (*PayloadField) Descriptor() ([]byte, []int)

func (*PayloadField) Marshal

func (m *PayloadField) Marshal() (dAtA []byte, err error)

func (*PayloadField) MarshalTo

func (m *PayloadField) MarshalTo(dAtA []byte) (int, error)

func (*PayloadField) MarshalToSizedBuffer

func (m *PayloadField) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PayloadField) ProtoMessage

func (*PayloadField) ProtoMessage()

func (*PayloadField) Reset

func (m *PayloadField) Reset()

func (*PayloadField) Size

func (m *PayloadField) Size() (n int)

func (*PayloadField) String

func (this *PayloadField) String() string

func (*PayloadField) Unmarshal

func (m *PayloadField) Unmarshal(dAtA []byte) error

func (*PayloadField) XXX_DiscardUnknown

func (m *PayloadField) XXX_DiscardUnknown()

func (*PayloadField) XXX_Marshal

func (m *PayloadField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PayloadField) XXX_Merge

func (m *PayloadField) XXX_Merge(src proto.Message)

func (*PayloadField) XXX_Size

func (m *PayloadField) XXX_Size() int

func (*PayloadField) XXX_Unmarshal

func (m *PayloadField) XXX_Unmarshal(b []byte) error

type PersistenceStrategy

type PersistenceStrategy struct {
	// Name of the StorageClass required by the claim.
	// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
	// +optional
	StorageClassName *string `json:"storageClassName,omitempty" protobuf:"bytes,1,opt,name=storageClassName"`
	// Available access modes such as ReadWriteOnce, ReadWriteMany
	// https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes
	// +optional
	AccessMode *corev1.PersistentVolumeAccessMode `json:"accessMode,omitempty" protobuf:"bytes,2,opt,name=accessMode,casttype=k8s.io/api/core/v1.PersistentVolumeAccessMode"`
	// Volume size, e.g. 10Gi
	VolumeSize *apiresource.Quantity `json:"volumeSize,omitempty" protobuf:"bytes,3,opt,name=volumeSize"`
}

PersistenceStrategy defines the strategy of persistence

func (*PersistenceStrategy) DeepCopy

func (in *PersistenceStrategy) DeepCopy() *PersistenceStrategy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistenceStrategy.

func (*PersistenceStrategy) DeepCopyInto

func (in *PersistenceStrategy) DeepCopyInto(out *PersistenceStrategy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PersistenceStrategy) Descriptor

func (*PersistenceStrategy) Descriptor() ([]byte, []int)

func (*PersistenceStrategy) Marshal

func (m *PersistenceStrategy) Marshal() (dAtA []byte, err error)

func (*PersistenceStrategy) MarshalTo

func (m *PersistenceStrategy) MarshalTo(dAtA []byte) (int, error)

func (*PersistenceStrategy) MarshalToSizedBuffer

func (m *PersistenceStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PersistenceStrategy) ProtoMessage

func (*PersistenceStrategy) ProtoMessage()

func (*PersistenceStrategy) Reset

func (m *PersistenceStrategy) Reset()

func (*PersistenceStrategy) Size

func (m *PersistenceStrategy) Size() (n int)

func (*PersistenceStrategy) String

func (this *PersistenceStrategy) String() string

func (*PersistenceStrategy) Unmarshal

func (m *PersistenceStrategy) Unmarshal(dAtA []byte) error

func (*PersistenceStrategy) XXX_DiscardUnknown

func (m *PersistenceStrategy) XXX_DiscardUnknown()

func (*PersistenceStrategy) XXX_Marshal

func (m *PersistenceStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PersistenceStrategy) XXX_Merge

func (m *PersistenceStrategy) XXX_Merge(src proto.Message)

func (*PersistenceStrategy) XXX_Size

func (m *PersistenceStrategy) XXX_Size() int

func (*PersistenceStrategy) XXX_Unmarshal

func (m *PersistenceStrategy) XXX_Unmarshal(b []byte) error

type PubSubEventSource

type PubSubEventSource struct {
	// ProjectID is GCP project ID for the subscription.
	// Required if you run Argo Events outside of GKE/GCE.
	// (otherwise, the default value is its project)
	// +optional
	ProjectID string `json:"projectID" protobuf:"bytes,1,opt,name=projectID"`
	// TopicProjectID is GCP project ID for the topic.
	// By default, it is same as ProjectID.
	// +optional
	TopicProjectID string `json:"topicProjectID" protobuf:"bytes,2,opt,name=topicProjectID"`
	// Topic to which the subscription should belongs.
	// Required if you want the eventsource to create a new subscription.
	// If you specify this field along with an existing subscription,
	// it will be verified whether it actually belongs to the specified topic.
	// +optional
	Topic string `json:"topic" protobuf:"bytes,3,opt,name=topic"`
	// SubscriptionID is ID of subscription.
	// Required if you use existing subscription.
	// The default value will be auto generated hash based on this eventsource setting, so the subscription
	// might be recreated every time you update the setting, which has a possibility of event loss.
	// +optional
	SubscriptionID string `json:"subscriptionID" protobuf:"bytes,4,opt,name=subscriptionID"`
	// CredentialSecret references to the secret that contains JSON credentials to access GCP.
	// If it is missing, it implicitly uses Workload Identity to access.
	// https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity
	// +optional
	CredentialSecret *corev1.SecretKeySelector `json:"credentialSecret,omitempty" protobuf:"bytes,5,opt,name=credentialSecret"`
	// DeleteSubscriptionOnFinish determines whether to delete the GCP PubSub subscription once the event source is stopped.
	// +optional
	DeleteSubscriptionOnFinish bool `json:"deleteSubscriptionOnFinish,omitempty" protobuf:"varint,6,opt,name=deleteSubscriptionOnFinish"`
	// JSONBody specifies that all event body payload coming from this
	// source will be JSON
	// +optional
	JSONBody bool `json:"jsonBody,omitempty" protobuf:"varint,7,opt,name=jsonBody"`
	// Metadata holds the user defined metadata which will passed along the event payload.
	// +optional
	Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,8,rep,name=metadata"`
	// Filter
	// +optional
	Filter *EventSourceFilter `json:"filter,omitempty" protobuf:"bytes,9,opt,name=filter"`
}

PubSubEventSource refers to event-source for GCP PubSub related events.

func (*PubSubEventSource) DeepCopy

func (in *PubSubEventSource) DeepCopy() *PubSubEventSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PubSubEventSource.

func (*PubSubEventSource) DeepCopyInto

func (in *PubSubEventSource) DeepCopyInto(out *PubSubEventSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PubSubEventSource) Descriptor

func (*PubSubEventSource) Descriptor() ([]byte, []int)

func (*PubSubEventSource) Marshal

func (m *PubSubEventSource) Marshal() (dAtA []byte, err error)

func (*PubSubEventSource) MarshalTo

func (m *PubSubEventSource) MarshalTo(dAtA []byte) (int, error)

func (*PubSubEventSource) MarshalToSizedBuffer

func (m *PubSubEventSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PubSubEventSource) ProtoMessage

func (*PubSubEventSource) ProtoMessage()

func (*PubSubEventSource) Reset

func (m *PubSubEventSource) Reset()

func (*PubSubEventSource) Size

func (m *PubSubEventSource) Size() (n int)

func (*PubSubEventSource) String

func (this *PubSubEventSource) String() string

func (*PubSubEventSource) Unmarshal

func (m *PubSubEventSource) Unmarshal(dAtA []byte) error

func (*PubSubEventSource) XXX_DiscardUnknown

func (m *PubSubEventSource) XXX_DiscardUnknown()

func (*PubSubEventSource) XXX_Marshal

func (m *PubSubEventSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PubSubEventSource) XXX_Merge

func (m *PubSubEventSource) XXX_Merge(src proto.Message)

func (*PubSubEventSource) XXX_Size

func (m *PubSubEventSource) XXX_Size() int

func (*PubSubEventSource) XXX_Unmarshal

func (m *PubSubEventSource) XXX_Unmarshal(b []byte) error

type PulsarEventSource

type PulsarEventSource struct {
	// Name of the topics to subscribe to.
	// +required
	Topics []string `json:"topics" protobuf:"bytes,1,rep,name=topics"`
	// Type of the subscription.
	// Only "exclusive" and "shared" is supported.
	// Defaults to exclusive.
	// +optional
	Type string `json:"type,omitempty" protobuf:"bytes,2,opt,name=type"`
	// Configure the service URL for the Pulsar service.
	// +required
	URL string `json:"url" protobuf:"bytes,3,name=url"`
	// Trusted TLS certificate secret.
	// +optional
	TLSTrustCertsSecret *corev1.SecretKeySelector `json:"tlsTrustCertsSecret,omitempty" protobuf:"bytes,4,opt,name=tlsTrustCertsSecret"`
	// Whether the Pulsar client accept untrusted TLS certificate from broker.
	// +optional
	TLSAllowInsecureConnection bool `json:"tlsAllowInsecureConnection,omitempty" protobuf:"bytes,5,opt,name=tlsAllowInsecureConnection"`
	// Whether the Pulsar client verify the validity of the host name from broker.
	// +optional
	TLSValidateHostname bool `json:"tlsValidateHostname,omitempty" protobuf:"bytes,6,opt,name=tlsValidateHostname"`
	// TLS configuration for the pulsar client.
	// +optional
	TLS *TLSConfig `json:"tls,omitempty" protobuf:"bytes,7,opt,name=tls"`
	// Backoff holds parameters applied to connection.
	// +optional
	ConnectionBackoff *Backoff `json:"connectionBackoff,omitempty" protobuf:"bytes,8,opt,name=connectionBackoff"`
	// JSONBody specifies that all event body payload coming from this
	// source will be JSON
	// +optional
	JSONBody bool `json:"jsonBody,omitempty" protobuf:"bytes,9,opt,name=jsonBody"`
	// Metadata holds the user defined metadata which will passed along the event payload.
	// +optional
	Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,10,rep,name=metadata"`
	// Authentication token for the pulsar client.
	// Either token or athenz can be set to use auth.
	// +optional
	AuthTokenSecret *corev1.SecretKeySelector `json:"authTokenSecret,omitempty" protobuf:"bytes,11,opt,name=authTokenSecret"`
	// Filter
	// +optional
	Filter *EventSourceFilter `json:"filter,omitempty" protobuf:"bytes,12,opt,name=filter"`
	// Authentication athenz parameters for the pulsar client.
	// Refer https://github.com/apache/pulsar-client-go/blob/master/pulsar/auth/athenz.go
	// Either token or athenz can be set to use auth.
	// +optional
	AuthAthenzParams map[string]string `json:"authAthenzParams,omitempty" protobuf:"bytes,13,rep,name=authAthenzParams"`
	// Authentication athenz privateKey secret for the pulsar client.
	// AuthAthenzSecret must be set if AuthAthenzParams is used.
	// +optional
	AuthAthenzSecret *corev1.SecretKeySelector `json:"authAthenzSecret,omitempty" protobuf:"bytes,14,opt,name=authAthenzSecret"`
}

PulsarEventSource describes the event source for Apache Pulsar

func (*PulsarEventSource) DeepCopy

func (in *PulsarEventSource) DeepCopy() *PulsarEventSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PulsarEventSource.

func (*PulsarEventSource) DeepCopyInto

func (in *PulsarEventSource) DeepCopyInto(out *PulsarEventSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PulsarEventSource) Descriptor

func (*PulsarEventSource) Descriptor() ([]byte, []int)

func (*PulsarEventSource) Marshal

func (m *PulsarEventSource) Marshal() (dAtA []byte, err error)

func (*PulsarEventSource) MarshalTo

func (m *PulsarEventSource) MarshalTo(dAtA []byte) (int, error)

func (*PulsarEventSource) MarshalToSizedBuffer

func (m *PulsarEventSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PulsarEventSource) ProtoMessage

func (*PulsarEventSource) ProtoMessage()

func (*PulsarEventSource) Reset

func (m *PulsarEventSource) Reset()

func (*PulsarEventSource) Size

func (m *PulsarEventSource) Size() (n int)

func (*PulsarEventSource) String

func (this *PulsarEventSource) String() string

func (*PulsarEventSource) Unmarshal

func (m *PulsarEventSource) Unmarshal(dAtA []byte) error

func (*PulsarEventSource) XXX_DiscardUnknown

func (m *PulsarEventSource) XXX_DiscardUnknown()

func (*PulsarEventSource) XXX_Marshal

func (m *PulsarEventSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PulsarEventSource) XXX_Merge

func (m *PulsarEventSource) XXX_Merge(src proto.Message)

func (*PulsarEventSource) XXX_Size

func (m *PulsarEventSource) XXX_Size() int

func (*PulsarEventSource) XXX_Unmarshal

func (m *PulsarEventSource) XXX_Unmarshal(b []byte) error

type PulsarTrigger

type PulsarTrigger struct {
	// Configure the service URL for the Pulsar service.
	// +required
	URL string `json:"url" protobuf:"bytes,1,name=url"`
	// Name of the topic.
	// See https://pulsar.apache.org/docs/en/concepts-messaging/
	Topic string `json:"topic" protobuf:"bytes,2,name=topic"`
	// Parameters is the list of parameters that is applied to resolved Kafka trigger object.
	Parameters []TriggerParameter `json:"parameters,omitempty" protobuf:"bytes,3,rep,name=parameters"`
	// Payload is the list of key-value extracted from an event payload to construct the request payload.
	Payload []TriggerParameter `json:"payload" protobuf:"bytes,4,rep,name=payload"`
	// Trusted TLS certificate secret.
	// +optional
	TLSTrustCertsSecret *corev1.SecretKeySelector `json:"tlsTrustCertsSecret,omitempty" protobuf:"bytes,5,opt,name=tlsTrustCertsSecret"`
	// Whether the Pulsar client accept untrusted TLS certificate from broker.
	// +optional
	TLSAllowInsecureConnection bool `json:"tlsAllowInsecureConnection,omitempty" protobuf:"bytes,6,opt,name=tlsAllowInsecureConnection"`
	// Whether the Pulsar client verify the validity of the host name from broker.
	// +optional
	TLSValidateHostname bool `json:"tlsValidateHostname,omitempty" protobuf:"bytes,7,opt,name=tlsValidateHostname"`
	// TLS configuration for the pulsar client.
	// +optional
	TLS *TLSConfig `json:"tls,omitempty" protobuf:"bytes,8,opt,name=tls"`
	// Authentication token for the pulsar client.
	// Either token or athenz can be set to use auth.
	// +optional
	AuthTokenSecret *corev1.SecretKeySelector `json:"authTokenSecret,omitempty" protobuf:"bytes,9,opt,name=authTokenSecret"`
	// Backoff holds parameters applied to connection.
	// +optional
	ConnectionBackoff *Backoff `json:"connectionBackoff,omitempty" protobuf:"bytes,10,opt,name=connectionBackoff"`
	// Authentication athenz parameters for the pulsar client.
	// Refer https://github.com/apache/pulsar-client-go/blob/master/pulsar/auth/athenz.go
	// Either token or athenz can be set to use auth.
	// +optional
	AuthAthenzParams map[string]string `json:"authAthenzParams,omitempty" protobuf:"bytes,11,rep,name=authAthenzParams"`
	// Authentication athenz privateKey secret for the pulsar client.
	// AuthAthenzSecret must be set if AuthAthenzParams is used.
	// +optional
	AuthAthenzSecret *corev1.SecretKeySelector `json:"authAthenzSecret,omitempty" protobuf:"bytes,12,opt,name=authAthenzSecret"`
}

PulsarTrigger refers to the specification of the Pulsar trigger.

func (*PulsarTrigger) DeepCopy

func (in *PulsarTrigger) DeepCopy() *PulsarTrigger

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PulsarTrigger.

func (*PulsarTrigger) DeepCopyInto

func (in *PulsarTrigger) DeepCopyInto(out *PulsarTrigger)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PulsarTrigger) Descriptor

func (*PulsarTrigger) Descriptor() ([]byte, []int)

func (*PulsarTrigger) Marshal

func (m *PulsarTrigger) Marshal() (dAtA []byte, err error)

func (*PulsarTrigger) MarshalTo

func (m *PulsarTrigger) MarshalTo(dAtA []byte) (int, error)

func (*PulsarTrigger) MarshalToSizedBuffer

func (m *PulsarTrigger) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PulsarTrigger) ProtoMessage

func (*PulsarTrigger) ProtoMessage()

func (*PulsarTrigger) Reset

func (m *PulsarTrigger) Reset()

func (*PulsarTrigger) Size

func (m *PulsarTrigger) Size() (n int)

func (*PulsarTrigger) String

func (this *PulsarTrigger) String() string

func (*PulsarTrigger) Unmarshal

func (m *PulsarTrigger) Unmarshal(dAtA []byte) error

func (*PulsarTrigger) XXX_DiscardUnknown

func (m *PulsarTrigger) XXX_DiscardUnknown()

func (*PulsarTrigger) XXX_Marshal

func (m *PulsarTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PulsarTrigger) XXX_Merge

func (m *PulsarTrigger) XXX_Merge(src proto.Message)

func (*PulsarTrigger) XXX_Size

func (m *PulsarTrigger) XXX_Size() int

func (*PulsarTrigger) XXX_Unmarshal

func (m *PulsarTrigger) XXX_Unmarshal(b []byte) error

type RateLimit

type RateLimit struct {
	// Defaults to Second
	Unit            RateLimiteUnit `json:"unit,omitempty" protobuf:"bytes,1,opt,name=unit"`
	RequestsPerUnit int32          `json:"requestsPerUnit,omitempty" protobuf:"bytes,2,opt,name=requestsPerUnit"`
}

func (*RateLimit) DeepCopy

func (in *RateLimit) DeepCopy() *RateLimit

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RateLimit.

func (*RateLimit) DeepCopyInto

func (in *RateLimit) DeepCopyInto(out *RateLimit)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RateLimit) Descriptor

func (*RateLimit) Descriptor() ([]byte, []int)

func (*RateLimit) Marshal

func (m *RateLimit) Marshal() (dAtA []byte, err error)

func (*RateLimit) MarshalTo

func (m *RateLimit) MarshalTo(dAtA []byte) (int, error)

func (*RateLimit) MarshalToSizedBuffer

func (m *RateLimit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RateLimit) ProtoMessage

func (*RateLimit) ProtoMessage()

func (*RateLimit) Reset

func (m *RateLimit) Reset()

func (*RateLimit) Size

func (m *RateLimit) Size() (n int)

func (*RateLimit) String

func (this *RateLimit) String() string

func (*RateLimit) Unmarshal

func (m *RateLimit) Unmarshal(dAtA []byte) error

func (*RateLimit) XXX_DiscardUnknown

func (m *RateLimit) XXX_DiscardUnknown()

func (*RateLimit) XXX_Marshal

func (m *RateLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RateLimit) XXX_Merge

func (m *RateLimit) XXX_Merge(src proto.Message)

func (*RateLimit) XXX_Size

func (m *RateLimit) XXX_Size() int

func (*RateLimit) XXX_Unmarshal

func (m *RateLimit) XXX_Unmarshal(b []byte) error

type RateLimiteUnit

type RateLimiteUnit string
const (
	Second RateLimiteUnit = "Second"
	Minute RateLimiteUnit = "Minute"
	Hour   RateLimiteUnit = "Hour"
)

type RedisEventSource

type RedisEventSource struct {
	// HostAddress refers to the address of the Redis host/server
	HostAddress string `json:"hostAddress" protobuf:"bytes,1,opt,name=hostAddress"`
	// Password required for authentication if any.
	// +optional
	Password *corev1.SecretKeySelector `json:"password,omitempty" protobuf:"bytes,2,opt,name=password"`
	// Namespace to use to retrieve the password from. It should only be specified if password is declared
	// +optional
	Namespace string `json:"namespace,omitempty" protobuf:"bytes,3,opt,name=namespace"`
	// DB to use. If not specified, default DB 0 will be used.
	// +optional
	DB int32 `json:"db,omitempty" protobuf:"varint,4,opt,name=db"`

	Channels []string `json:"channels" protobuf:"bytes,5,rep,name=channels"`
	// TLS configuration for the redis client.
	// +optional
	TLS *TLSConfig `json:"tls,omitempty" protobuf:"bytes,6,opt,name=tls"`
	// Metadata holds the user defined metadata which will passed along the event payload.
	// +optional
	Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,7,rep,name=metadata"`
	// Filter
	// +optional
	Filter *EventSourceFilter `json:"filter,omitempty" protobuf:"bytes,8,opt,name=filter"`
	// JSONBody specifies that all event body payload coming from this
	// source will be JSON
	// +optional
	JSONBody bool `json:"jsonBody,omitempty" protobuf:"varint,9,opt,name=jsonBody"`
	// Username required for ACL style authentication if any.
	// +optional
	Username string `json:"username,omitempty" protobuf:"bytes,10,opt,name=username"`
}

RedisEventSource describes an event source for the Redis PubSub. More info at https://godoc.org/github.com/go-redis/redis#example-PubSub

func (*RedisEventSource) DeepCopy

func (in *RedisEventSource) DeepCopy() *RedisEventSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisEventSource.

func (*RedisEventSource) DeepCopyInto

func (in *RedisEventSource) DeepCopyInto(out *RedisEventSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RedisEventSource) Descriptor

func (*RedisEventSource) Descriptor() ([]byte, []int)

func (*RedisEventSource) Marshal

func (m *RedisEventSource) Marshal() (dAtA []byte, err error)

func (*RedisEventSource) MarshalTo

func (m *RedisEventSource) MarshalTo(dAtA []byte) (int, error)

func (*RedisEventSource) MarshalToSizedBuffer

func (m *RedisEventSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RedisEventSource) ProtoMessage

func (*RedisEventSource) ProtoMessage()

func (*RedisEventSource) Reset

func (m *RedisEventSource) Reset()

func (*RedisEventSource) Size

func (m *RedisEventSource) Size() (n int)

func (*RedisEventSource) String

func (this *RedisEventSource) String() string

func (*RedisEventSource) Unmarshal

func (m *RedisEventSource) Unmarshal(dAtA []byte) error

func (*RedisEventSource) XXX_DiscardUnknown

func (m *RedisEventSource) XXX_DiscardUnknown()

func (*RedisEventSource) XXX_Marshal

func (m *RedisEventSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RedisEventSource) XXX_Merge

func (m *RedisEventSource) XXX_Merge(src proto.Message)

func (*RedisEventSource) XXX_Size

func (m *RedisEventSource) XXX_Size() int

func (*RedisEventSource) XXX_Unmarshal

func (m *RedisEventSource) XXX_Unmarshal(b []byte) error

type RedisStreamEventSource

type RedisStreamEventSource struct {
	// HostAddress refers to the address of the Redis host/server (master instance)
	HostAddress string `json:"hostAddress" protobuf:"bytes,1,opt,name=hostAddress"`
	// Password required for authentication if any.
	// +optional
	Password *corev1.SecretKeySelector `json:"password,omitempty" protobuf:"bytes,2,opt,name=password"`
	// DB to use. If not specified, default DB 0 will be used.
	// +optional
	DB int32 `json:"db,omitempty" protobuf:"varint,3,opt,name=db"`
	// Streams to look for entries. XREADGROUP is used on all streams using a single consumer group.
	Streams []string `json:"streams" protobuf:"bytes,4,rep,name=streams"`
	// MaxMsgCountPerRead holds the maximum number of messages per stream that will be read in each XREADGROUP of all streams
	// Example: if there are 2 streams and MaxMsgCountPerRead=10, then each XREADGROUP may read upto a total of 20 messages.
	// Same as COUNT option in XREADGROUP(https://redis.io/topics/streams-intro). Defaults to 10
	// +optional
	MaxMsgCountPerRead int32 `json:"maxMsgCountPerRead,omitempty" protobuf:"varint,5,opt,name=maxMsgCountPerRead"`
	// ConsumerGroup refers to the Redis stream consumer group that will be
	// created on all redis streams. Messages are read through this group. Defaults to 'argo-events-cg'
	// +optional
	ConsumerGroup string `json:"consumerGroup,omitempty" protobuf:"bytes,6,opt,name=consumerGroup"`
	// TLS configuration for the redis client.
	// +optional
	TLS *TLSConfig `json:"tls,omitempty" protobuf:"bytes,7,opt,name=tls"`
	// Metadata holds the user defined metadata which will passed along the event payload.
	// +optional
	Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,8,rep,name=metadata"`
	// Filter
	// +optional
	Filter *EventSourceFilter `json:"filter,omitempty" protobuf:"bytes,9,opt,name=filter"`
	// Username required for ACL style authentication if any.
	// +optional
	Username string `json:"username,omitempty" protobuf:"bytes,10,opt,name=username"`
}

RedisStreamEventSource describes an event source for Redis streams (https://redis.io/topics/streams-intro)

func (*RedisStreamEventSource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisStreamEventSource.

func (*RedisStreamEventSource) DeepCopyInto

func (in *RedisStreamEventSource) DeepCopyInto(out *RedisStreamEventSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RedisStreamEventSource) Descriptor

func (*RedisStreamEventSource) Descriptor() ([]byte, []int)

func (*RedisStreamEventSource) Marshal

func (m *RedisStreamEventSource) Marshal() (dAtA []byte, err error)

func (*RedisStreamEventSource) MarshalTo

func (m *RedisStreamEventSource) MarshalTo(dAtA []byte) (int, error)

func (*RedisStreamEventSource) MarshalToSizedBuffer

func (m *RedisStreamEventSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RedisStreamEventSource) ProtoMessage

func (*RedisStreamEventSource) ProtoMessage()

func (*RedisStreamEventSource) Reset

func (m *RedisStreamEventSource) Reset()

func (*RedisStreamEventSource) Size

func (m *RedisStreamEventSource) Size() (n int)

func (*RedisStreamEventSource) String

func (this *RedisStreamEventSource) String() string

func (*RedisStreamEventSource) Unmarshal

func (m *RedisStreamEventSource) Unmarshal(dAtA []byte) error

func (*RedisStreamEventSource) XXX_DiscardUnknown

func (m *RedisStreamEventSource) XXX_DiscardUnknown()

func (*RedisStreamEventSource) XXX_Marshal

func (m *RedisStreamEventSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RedisStreamEventSource) XXX_Merge

func (m *RedisStreamEventSource) XXX_Merge(src proto.Message)

func (*RedisStreamEventSource) XXX_Size

func (m *RedisStreamEventSource) XXX_Size() int

func (*RedisStreamEventSource) XXX_Unmarshal

func (m *RedisStreamEventSource) XXX_Unmarshal(b []byte) error

type ResourceEventSource

type ResourceEventSource struct {
	// Namespace where resource is deployed
	Namespace string `json:"namespace" protobuf:"bytes,1,opt,name=namespace"`
	// Filter is applied on the metadata of the resource
	// If you apply filter, then the internal event informer will only monitor objects that pass the filter.
	// +optional
	Filter *ResourceFilter `json:"filter,omitempty" protobuf:"bytes,2,opt,name=filter"`
	// Group of the resource
	metav1.GroupVersionResource `json:",inline" protobuf:"bytes,3,opt,name=groupVersionResource"`
	// EventTypes is the list of event type to watch.
	// Possible values are - ADD, UPDATE and DELETE.
	EventTypes []ResourceEventType `json:"eventTypes" protobuf:"bytes,4,rep,name=eventTypes,casttype=ResourceEventType"`
	// Metadata holds the user defined metadata which will passed along the event payload.
	// +optional
	Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,5,rep,name=metadata"`
}

ResourceEventSource refers to a event-source for K8s resource related events.

func (*ResourceEventSource) DeepCopy

func (in *ResourceEventSource) DeepCopy() *ResourceEventSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceEventSource.

func (*ResourceEventSource) DeepCopyInto

func (in *ResourceEventSource) DeepCopyInto(out *ResourceEventSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ResourceEventSource) Descriptor

func (*ResourceEventSource) Descriptor() ([]byte, []int)

func (*ResourceEventSource) Marshal

func (m *ResourceEventSource) Marshal() (dAtA []byte, err error)

func (*ResourceEventSource) MarshalTo

func (m *ResourceEventSource) MarshalTo(dAtA []byte) (int, error)

func (*ResourceEventSource) MarshalToSizedBuffer

func (m *ResourceEventSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResourceEventSource) ProtoMessage

func (*ResourceEventSource) ProtoMessage()

func (*ResourceEventSource) Reset

func (m *ResourceEventSource) Reset()

func (*ResourceEventSource) Size

func (m *ResourceEventSource) Size() (n int)

func (*ResourceEventSource) String

func (this *ResourceEventSource) String() string

func (*ResourceEventSource) Unmarshal

func (m *ResourceEventSource) Unmarshal(dAtA []byte) error

func (*ResourceEventSource) XXX_DiscardUnknown

func (m *ResourceEventSource) XXX_DiscardUnknown()

func (*ResourceEventSource) XXX_Marshal

func (m *ResourceEventSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResourceEventSource) XXX_Merge

func (m *ResourceEventSource) XXX_Merge(src proto.Message)

func (*ResourceEventSource) XXX_Size

func (m *ResourceEventSource) XXX_Size() int

func (*ResourceEventSource) XXX_Unmarshal

func (m *ResourceEventSource) XXX_Unmarshal(b []byte) error

type ResourceEventType

type ResourceEventType string

ResourceEventType is the type of event for the K8s resource mutation

const (
	ADD    ResourceEventType = "ADD"
	UPDATE ResourceEventType = "UPDATE"
	DELETE ResourceEventType = "DELETE"
)

possible values of ResourceEventType

type ResourceFilter

type ResourceFilter struct {
	// Prefix filter is applied on the resource name.
	// +optional
	Prefix string `json:"prefix,omitempty" protobuf:"bytes,1,opt,name=prefix"`
	// Labels provide listing options to K8s API to watch resource/s.
	// Refer https://kubernetes.io/docs/concepts/overview/working-with-objects/label-selectors/ for more info.
	// Unlike K8s field selector, multiple values are passed as comma separated values instead of list of values.
	// Eg: value: value1,value2.
	// Same as K8s label selector, operator "=", "==", "!=", "exists", "!", "notin", "in", "gt" and "lt"
	// are supported
	// +optional
	Labels []Selector `json:"labels,omitempty" protobuf:"bytes,2,rep,name=labels"`
	// Fields provide field filters similar to K8s field selector
	// (see https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/).
	// Unlike K8s field selector, it supports arbitrary fileds like "spec.serviceAccountName",
	// and the value could be a string or a regex.
	// Same as K8s field selector, operator "=", "==" and "!=" are supported.
	// +optional
	Fields []Selector `json:"fields,omitempty" protobuf:"bytes,3,rep,name=fields"`
	// If resource is created before the specified time then the event is treated as valid.
	// +optional
	CreatedBy metav1.Time `json:"createdBy,omitempty" protobuf:"bytes,4,opt,name=createdBy"`
	// If the resource is created after the start time then the event is treated as valid.
	// +optional
	AfterStart bool `json:"afterStart,omitempty" protobuf:"varint,5,opt,name=afterStart"`
}

ResourceFilter contains K8s ObjectMeta information to further filter resource event objects

func (*ResourceFilter) DeepCopy

func (in *ResourceFilter) DeepCopy() *ResourceFilter

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceFilter.

func (*ResourceFilter) DeepCopyInto

func (in *ResourceFilter) DeepCopyInto(out *ResourceFilter)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ResourceFilter) Descriptor

func (*ResourceFilter) Descriptor() ([]byte, []int)

func (*ResourceFilter) Marshal

func (m *ResourceFilter) Marshal() (dAtA []byte, err error)

func (*ResourceFilter) MarshalTo

func (m *ResourceFilter) MarshalTo(dAtA []byte) (int, error)

func (*ResourceFilter) MarshalToSizedBuffer

func (m *ResourceFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResourceFilter) ProtoMessage

func (*ResourceFilter) ProtoMessage()

func (*ResourceFilter) Reset

func (m *ResourceFilter) Reset()

func (*ResourceFilter) Size

func (m *ResourceFilter) Size() (n int)

func (*ResourceFilter) String

func (this *ResourceFilter) String() string

func (*ResourceFilter) Unmarshal

func (m *ResourceFilter) Unmarshal(dAtA []byte) error

func (*ResourceFilter) XXX_DiscardUnknown

func (m *ResourceFilter) XXX_DiscardUnknown()

func (*ResourceFilter) XXX_Marshal

func (m *ResourceFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResourceFilter) XXX_Merge

func (m *ResourceFilter) XXX_Merge(src proto.Message)

func (*ResourceFilter) XXX_Size

func (m *ResourceFilter) XXX_Size() int

func (*ResourceFilter) XXX_Unmarshal

func (m *ResourceFilter) XXX_Unmarshal(b []byte) error

type S3Artifact

type S3Artifact struct {
	Endpoint  string                    `json:"endpoint" protobuf:"bytes,1,opt,name=endpoint"`
	Bucket    *S3Bucket                 `json:"bucket" protobuf:"bytes,2,opt,name=bucket"`
	Region    string                    `json:"region,omitempty" protobuf:"bytes,3,opt,name=region"`
	Insecure  bool                      `json:"insecure,omitempty" protobuf:"varint,4,opt,name=insecure"`
	AccessKey *corev1.SecretKeySelector `json:"accessKey" protobuf:"bytes,5,opt,name=accessKey"`
	SecretKey *corev1.SecretKeySelector `json:"secretKey" protobuf:"bytes,6,opt,name=secretKey"`

	Events   []string          `json:"events,omitempty" protobuf:"bytes,7,rep,name=events"`
	Filter   *S3Filter         `json:"filter,omitempty" protobuf:"bytes,8,opt,name=filter"`
	Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,9,opt,name=metadata"`

	CACertificate *corev1.SecretKeySelector `json:"caCertificate,omitempty" protobuf:"bytes,10,opt,name=caCertificate"`
}

S3Artifact contains information about an S3 connection and bucket

func (*S3Artifact) DeepCopy

func (in *S3Artifact) DeepCopy() *S3Artifact

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3Artifact.

func (*S3Artifact) DeepCopyInto

func (in *S3Artifact) DeepCopyInto(out *S3Artifact)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*S3Artifact) Descriptor

func (*S3Artifact) Descriptor() ([]byte, []int)

func (*S3Artifact) Marshal

func (m *S3Artifact) Marshal() (dAtA []byte, err error)

func (*S3Artifact) MarshalTo

func (m *S3Artifact) MarshalTo(dAtA []byte) (int, error)

func (*S3Artifact) MarshalToSizedBuffer

func (m *S3Artifact) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*S3Artifact) ProtoMessage

func (*S3Artifact) ProtoMessage()

func (*S3Artifact) Reset

func (m *S3Artifact) Reset()

func (*S3Artifact) Size

func (m *S3Artifact) Size() (n int)

func (*S3Artifact) String

func (this *S3Artifact) String() string

func (*S3Artifact) Unmarshal

func (m *S3Artifact) Unmarshal(dAtA []byte) error

func (*S3Artifact) XXX_DiscardUnknown

func (m *S3Artifact) XXX_DiscardUnknown()

func (*S3Artifact) XXX_Marshal

func (m *S3Artifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*S3Artifact) XXX_Merge

func (m *S3Artifact) XXX_Merge(src proto.Message)

func (*S3Artifact) XXX_Size

func (m *S3Artifact) XXX_Size() int

func (*S3Artifact) XXX_Unmarshal

func (m *S3Artifact) XXX_Unmarshal(b []byte) error

type S3Bucket

type S3Bucket struct {
	Key  string `json:"key,omitempty" protobuf:"bytes,1,opt,name=key"`
	Name string `json:"name" protobuf:"bytes,2,opt,name=name"`
}

S3Bucket contains information to describe an S3 Bucket

func (*S3Bucket) DeepCopy

func (in *S3Bucket) DeepCopy() *S3Bucket

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3Bucket.

func (*S3Bucket) DeepCopyInto

func (in *S3Bucket) DeepCopyInto(out *S3Bucket)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*S3Bucket) Descriptor

func (*S3Bucket) Descriptor() ([]byte, []int)

func (*S3Bucket) Marshal

func (m *S3Bucket) Marshal() (dAtA []byte, err error)

func (*S3Bucket) MarshalTo

func (m *S3Bucket) MarshalTo(dAtA []byte) (int, error)

func (*S3Bucket) MarshalToSizedBuffer

func (m *S3Bucket) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*S3Bucket) ProtoMessage

func (*S3Bucket) ProtoMessage()

func (*S3Bucket) Reset

func (m *S3Bucket) Reset()

func (*S3Bucket) Size

func (m *S3Bucket) Size() (n int)

func (*S3Bucket) String

func (this *S3Bucket) String() string

func (*S3Bucket) Unmarshal

func (m *S3Bucket) Unmarshal(dAtA []byte) error

func (*S3Bucket) XXX_DiscardUnknown

func (m *S3Bucket) XXX_DiscardUnknown()

func (*S3Bucket) XXX_Marshal

func (m *S3Bucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*S3Bucket) XXX_Merge

func (m *S3Bucket) XXX_Merge(src proto.Message)

func (*S3Bucket) XXX_Size

func (m *S3Bucket) XXX_Size() int

func (*S3Bucket) XXX_Unmarshal

func (m *S3Bucket) XXX_Unmarshal(b []byte) error

type S3Filter

type S3Filter struct {
	Prefix string `json:"prefix" protobuf:"bytes,1,opt,name=prefix"`
	Suffix string `json:"suffix" protobuf:"bytes,2,opt,name=suffix"`
}

S3Filter represents filters to apply to bucket notifications for specifying constraints on objects

func (*S3Filter) DeepCopy

func (in *S3Filter) DeepCopy() *S3Filter

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3Filter.

func (*S3Filter) DeepCopyInto

func (in *S3Filter) DeepCopyInto(out *S3Filter)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*S3Filter) Descriptor

func (*S3Filter) Descriptor() ([]byte, []int)

func (*S3Filter) Marshal

func (m *S3Filter) Marshal() (dAtA []byte, err error)

func (*S3Filter) MarshalTo

func (m *S3Filter) MarshalTo(dAtA []byte) (int, error)

func (*S3Filter) MarshalToSizedBuffer

func (m *S3Filter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*S3Filter) ProtoMessage

func (*S3Filter) ProtoMessage()

func (*S3Filter) Reset

func (m *S3Filter) Reset()

func (*S3Filter) Size

func (m *S3Filter) Size() (n int)

func (*S3Filter) String

func (this *S3Filter) String() string

func (*S3Filter) Unmarshal

func (m *S3Filter) Unmarshal(dAtA []byte) error

func (*S3Filter) XXX_DiscardUnknown

func (m *S3Filter) XXX_DiscardUnknown()

func (*S3Filter) XXX_Marshal

func (m *S3Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*S3Filter) XXX_Merge

func (m *S3Filter) XXX_Merge(src proto.Message)

func (*S3Filter) XXX_Size

func (m *S3Filter) XXX_Size() int

func (*S3Filter) XXX_Unmarshal

func (m *S3Filter) XXX_Unmarshal(b []byte) error

type SASLConfig

type SASLConfig struct {
	// SASLMechanism is the name of the enabled SASL mechanism.
	// Possible values: OAUTHBEARER, PLAIN (defaults to PLAIN).
	// +optional
	Mechanism string `json:"mechanism,omitempty" protobuf:"bytes,1,opt,name=mechanism"`
	// User is the authentication identity (authcid) to present for
	// SASL/PLAIN or SASL/SCRAM authentication
	UserSecret *corev1.SecretKeySelector `json:"userSecret,omitempty" protobuf:"bytes,2,opt,name=userSecret"`
	// Password for SASL/PLAIN authentication
	PasswordSecret *corev1.SecretKeySelector `json:"passwordSecret,omitempty" protobuf:"bytes,3,opt,name=passwordSecret"`
}

SASLConfig refers to SASL configuration for a client

func (*SASLConfig) DeepCopy

func (in *SASLConfig) DeepCopy() *SASLConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SASLConfig.

func (*SASLConfig) DeepCopyInto

func (in *SASLConfig) DeepCopyInto(out *SASLConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SASLConfig) Descriptor

func (*SASLConfig) Descriptor() ([]byte, []int)

func (SASLConfig) GetMechanism

func (s SASLConfig) GetMechanism() string

func (*SASLConfig) Marshal

func (m *SASLConfig) Marshal() (dAtA []byte, err error)

func (*SASLConfig) MarshalTo

func (m *SASLConfig) MarshalTo(dAtA []byte) (int, error)

func (*SASLConfig) MarshalToSizedBuffer

func (m *SASLConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SASLConfig) ProtoMessage

func (*SASLConfig) ProtoMessage()

func (*SASLConfig) Reset

func (m *SASLConfig) Reset()

func (*SASLConfig) Size

func (m *SASLConfig) Size() (n int)

func (*SASLConfig) String

func (this *SASLConfig) String() string

func (*SASLConfig) Unmarshal

func (m *SASLConfig) Unmarshal(dAtA []byte) error

func (*SASLConfig) XXX_DiscardUnknown

func (m *SASLConfig) XXX_DiscardUnknown()

func (*SASLConfig) XXX_Marshal

func (m *SASLConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SASLConfig) XXX_Merge

func (m *SASLConfig) XXX_Merge(src proto.Message)

func (*SASLConfig) XXX_Size

func (m *SASLConfig) XXX_Size() int

func (*SASLConfig) XXX_Unmarshal

func (m *SASLConfig) XXX_Unmarshal(b []byte) error

type SFTPEventSource

type SFTPEventSource struct {
	// Type of file operations to watch
	// Refer https://github.com/fsnotify/fsnotify/blob/master/fsnotify.go for more information
	EventType string `json:"eventType" protobuf:"bytes,1,opt,name=eventType"`
	// WatchPathConfig contains configuration about the file path to watch
	WatchPathConfig WatchPathConfig `json:"watchPathConfig" protobuf:"bytes,2,opt,name=watchPathConfig"`
	// Username required for authentication if any.
	Username *corev1.SecretKeySelector `json:"username,omitempty" protobuf:"bytes,3,opt,name=username"`
	// Password required for authentication if any.
	Password *corev1.SecretKeySelector `json:"password,omitempty" protobuf:"bytes,4,opt,name=password"`
	// SSHKeySecret refers to the secret that contains SSH key. Key needs to contain private key and public key.
	SSHKeySecret *corev1.SecretKeySelector `json:"sshKeySecret,omitempty" protobuf:"bytes,5,opt,name=sshKeySecret"`
	// Address sftp address.
	Address *corev1.SecretKeySelector `json:"address,omitempty" protobuf:"bytes,6,opt,name=address"`
	// Metadata holds the user defined metadata which will passed along the event payload.
	// +optional
	Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,7,rep,name=metadata"`
	// Filter
	// +optional
	Filter *EventSourceFilter `json:"filter,omitempty" protobuf:"bytes,8,opt,name=filter"`
	// PollIntervalDuration the interval at which to poll the SFTP server
	// defaults to 10 seconds
	// +optional
	PollIntervalDuration string `json:"pollIntervalDuration" protobuf:"varint,9,opt,name=pollIntervalDuration"`
}

SFTPEventSource describes an event-source for sftp related events.

func (*SFTPEventSource) DeepCopy

func (in *SFTPEventSource) DeepCopy() *SFTPEventSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SFTPEventSource.

func (*SFTPEventSource) DeepCopyInto

func (in *SFTPEventSource) DeepCopyInto(out *SFTPEventSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SFTPEventSource) Descriptor

func (*SFTPEventSource) Descriptor() ([]byte, []int)

func (*SFTPEventSource) Marshal

func (m *SFTPEventSource) Marshal() (dAtA []byte, err error)

func (*SFTPEventSource) MarshalTo

func (m *SFTPEventSource) MarshalTo(dAtA []byte) (int, error)

func (*SFTPEventSource) MarshalToSizedBuffer

func (m *SFTPEventSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SFTPEventSource) ProtoMessage

func (*SFTPEventSource) ProtoMessage()

func (*SFTPEventSource) Reset

func (m *SFTPEventSource) Reset()

func (*SFTPEventSource) Size

func (m *SFTPEventSource) Size() (n int)

func (*SFTPEventSource) String

func (this *SFTPEventSource) String() string

func (*SFTPEventSource) Unmarshal

func (m *SFTPEventSource) Unmarshal(dAtA []byte) error

func (*SFTPEventSource) XXX_DiscardUnknown

func (m *SFTPEventSource) XXX_DiscardUnknown()

func (*SFTPEventSource) XXX_Marshal

func (m *SFTPEventSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SFTPEventSource) XXX_Merge

func (m *SFTPEventSource) XXX_Merge(src proto.Message)

func (*SFTPEventSource) XXX_Size

func (m *SFTPEventSource) XXX_Size() int

func (*SFTPEventSource) XXX_Unmarshal

func (m *SFTPEventSource) XXX_Unmarshal(b []byte) error

type SNSEventSource

type SNSEventSource struct {
	// Webhook configuration for http server
	Webhook *WebhookContext `json:"webhook,omitempty" protobuf:"bytes,1,opt,name=webhook"`
	// TopicArn
	TopicArn string `json:"topicArn" protobuf:"bytes,2,opt,name=topicArn"`
	// AccessKey refers K8s secret containing aws access key
	AccessKey *corev1.SecretKeySelector `json:"accessKey,omitempty" protobuf:"bytes,3,opt,name=accessKey"`
	// SecretKey refers K8s secret containing aws secret key
	SecretKey *corev1.SecretKeySelector `json:"secretKey,omitempty" protobuf:"bytes,4,opt,name=secretKey"`
	// Region is AWS region
	Region string `json:"region" protobuf:"bytes,5,opt,name=region"`
	// RoleARN is the Amazon Resource Name (ARN) of the role to assume.
	// +optional
	RoleARN string `json:"roleARN,omitempty" protobuf:"bytes,6,opt,name=roleARN"`
	// Metadata holds the user defined metadata which will passed along the event payload.
	// +optional
	Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,7,rep,name=metadata"`
	// ValidateSignature is boolean that can be set to true for SNS signature verification
	// +optional
	ValidateSignature bool `json:"validateSignature,omitempty" protobuf:"varint,8,opt,name=validateSignature"`
	// Filter
	// +optional
	Filter *EventSourceFilter `json:"filter,omitempty" protobuf:"bytes,9,opt,name=filter"`
	// Endpoint configures connection to a specific SNS endpoint instead of Amazons servers
	// +optional
	Endpoint string `json:"endpoint" protobuf:"bytes,10,opt,name=endpoint"`
}

SNSEventSource refers to event-source for AWS SNS related events

func (*SNSEventSource) DeepCopy

func (in *SNSEventSource) DeepCopy() *SNSEventSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SNSEventSource.

func (*SNSEventSource) DeepCopyInto

func (in *SNSEventSource) DeepCopyInto(out *SNSEventSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SNSEventSource) Descriptor

func (*SNSEventSource) Descriptor() ([]byte, []int)

func (*SNSEventSource) Marshal

func (m *SNSEventSource) Marshal() (dAtA []byte, err error)

func (*SNSEventSource) MarshalTo

func (m *SNSEventSource) MarshalTo(dAtA []byte) (int, error)

func (*SNSEventSource) MarshalToSizedBuffer

func (m *SNSEventSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SNSEventSource) ProtoMessage

func (*SNSEventSource) ProtoMessage()

func (*SNSEventSource) Reset

func (m *SNSEventSource) Reset()

func (*SNSEventSource) Size

func (m *SNSEventSource) Size() (n int)

func (*SNSEventSource) String

func (this *SNSEventSource) String() string

func (*SNSEventSource) Unmarshal

func (m *SNSEventSource) Unmarshal(dAtA []byte) error

func (*SNSEventSource) XXX_DiscardUnknown

func (m *SNSEventSource) XXX_DiscardUnknown()

func (*SNSEventSource) XXX_Marshal

func (m *SNSEventSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SNSEventSource) XXX_Merge

func (m *SNSEventSource) XXX_Merge(src proto.Message)

func (*SNSEventSource) XXX_Size

func (m *SNSEventSource) XXX_Size() int

func (*SNSEventSource) XXX_Unmarshal

func (m *SNSEventSource) XXX_Unmarshal(b []byte) error

type SQSEventSource

type SQSEventSource struct {
	// AccessKey refers K8s secret containing aws access key
	AccessKey *corev1.SecretKeySelector `json:"accessKey,omitempty" protobuf:"bytes,1,opt,name=accessKey"`
	// SecretKey refers K8s secret containing aws secret key
	SecretKey *corev1.SecretKeySelector `json:"secretKey,omitempty" protobuf:"bytes,2,opt,name=secretKey"`
	// Region is AWS region
	Region string `json:"region" protobuf:"bytes,3,opt,name=region"`
	// Queue is AWS SQS queue to listen to for messages
	Queue string `json:"queue" protobuf:"bytes,4,opt,name=queue"`
	// WaitTimeSeconds is The duration (in seconds) for which the call waits for a message to arrive
	// in the queue before returning.
	WaitTimeSeconds int64 `json:"waitTimeSeconds" protobuf:"varint,5,opt,name=waitTimeSeconds"`
	// RoleARN is the Amazon Resource Name (ARN) of the role to assume.
	// +optional
	RoleARN string `json:"roleARN,omitempty" protobuf:"bytes,6,opt,name=roleARN"`
	// JSONBody specifies that all event body payload coming from this
	// source will be JSON
	// +optional
	JSONBody bool `json:"jsonBody,omitempty" protobuf:"varint,7,opt,name=jsonBody"`
	// QueueAccountID is the ID of the account that created the queue to monitor
	// +optional
	QueueAccountID string `json:"queueAccountId,omitempty" protobuf:"bytes,8,opt,name=queueAccountId"`
	// Metadata holds the user defined metadata which will passed along the event payload.
	// +optional
	Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,9,rep,name=metadata"`
	// DLQ specifies if a dead-letter queue is configured for messages that can't be processed successfully.
	// If set to true, messages with invalid payload won't be acknowledged to allow to forward them farther to the dead-letter queue.
	// The default value is false.
	// +optional
	DLQ bool `json:"dlq,omitempty" protobuf:"varint,10,opt,name=dlq"`
	// Filter
	// +optional
	Filter *EventSourceFilter `json:"filter,omitempty" protobuf:"bytes,11,opt,name=filter"`
	// Endpoint configures connection to a specific SQS endpoint instead of Amazons servers
	// +optional
	Endpoint string `json:"endpoint" protobuf:"bytes,12,opt,name=endpoint"`
	// SessionToken refers to K8s secret containing AWS temporary credentials(STS) session token
	// +optional
	SessionToken *corev1.SecretKeySelector `json:"sessionToken,omitempty" protobuf:"bytes,13,opt,name=sessionToken"`
}

SQSEventSource refers to event-source for AWS SQS related events

func (*SQSEventSource) DeepCopy

func (in *SQSEventSource) DeepCopy() *SQSEventSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQSEventSource.

func (*SQSEventSource) DeepCopyInto

func (in *SQSEventSource) DeepCopyInto(out *SQSEventSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SQSEventSource) Descriptor

func (*SQSEventSource) Descriptor() ([]byte, []int)

func (*SQSEventSource) Marshal

func (m *SQSEventSource) Marshal() (dAtA []byte, err error)

func (*SQSEventSource) MarshalTo

func (m *SQSEventSource) MarshalTo(dAtA []byte) (int, error)

func (*SQSEventSource) MarshalToSizedBuffer

func (m *SQSEventSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SQSEventSource) ProtoMessage

func (*SQSEventSource) ProtoMessage()

func (*SQSEventSource) Reset

func (m *SQSEventSource) Reset()

func (*SQSEventSource) Size

func (m *SQSEventSource) Size() (n int)

func (*SQSEventSource) String

func (this *SQSEventSource) String() string

func (*SQSEventSource) Unmarshal

func (m *SQSEventSource) Unmarshal(dAtA []byte) error

func (*SQSEventSource) XXX_DiscardUnknown

func (m *SQSEventSource) XXX_DiscardUnknown()

func (*SQSEventSource) XXX_Marshal

func (m *SQSEventSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SQSEventSource) XXX_Merge

func (m *SQSEventSource) XXX_Merge(src proto.Message)

func (*SQSEventSource) XXX_Size

func (m *SQSEventSource) XXX_Size() int

func (*SQSEventSource) XXX_Unmarshal

func (m *SQSEventSource) XXX_Unmarshal(b []byte) error

type SchemaRegistryConfig

type SchemaRegistryConfig struct {
	// Schema Registry URL.
	URL string `json:"url" protobuf:"bytes,1,opt,name=url"`
	// Schema ID
	SchemaID int32 `json:"schemaId" protobuf:"varint,2,name=schemaId"`
	// +optional
	// SchemaRegistry - basic authentication
	Auth BasicAuth `json:"auth,omitempty" protobuf:"bytes,3,opt,name=auth"`
}

SchemaRegistryConfig refers to configuration for a client

func (*SchemaRegistryConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchemaRegistryConfig.

func (*SchemaRegistryConfig) DeepCopyInto

func (in *SchemaRegistryConfig) DeepCopyInto(out *SchemaRegistryConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SchemaRegistryConfig) Descriptor

func (*SchemaRegistryConfig) Descriptor() ([]byte, []int)

func (*SchemaRegistryConfig) Marshal

func (m *SchemaRegistryConfig) Marshal() (dAtA []byte, err error)

func (*SchemaRegistryConfig) MarshalTo

func (m *SchemaRegistryConfig) MarshalTo(dAtA []byte) (int, error)

func (*SchemaRegistryConfig) MarshalToSizedBuffer

func (m *SchemaRegistryConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchemaRegistryConfig) ProtoMessage

func (*SchemaRegistryConfig) ProtoMessage()

func (*SchemaRegistryConfig) Reset

func (m *SchemaRegistryConfig) Reset()

func (*SchemaRegistryConfig) Size

func (m *SchemaRegistryConfig) Size() (n int)

func (*SchemaRegistryConfig) String

func (this *SchemaRegistryConfig) String() string

func (*SchemaRegistryConfig) Unmarshal

func (m *SchemaRegistryConfig) Unmarshal(dAtA []byte) error

func (*SchemaRegistryConfig) XXX_DiscardUnknown

func (m *SchemaRegistryConfig) XXX_DiscardUnknown()

func (*SchemaRegistryConfig) XXX_Marshal

func (m *SchemaRegistryConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SchemaRegistryConfig) XXX_Merge

func (m *SchemaRegistryConfig) XXX_Merge(src proto.Message)

func (*SchemaRegistryConfig) XXX_Size

func (m *SchemaRegistryConfig) XXX_Size() int

func (*SchemaRegistryConfig) XXX_Unmarshal

func (m *SchemaRegistryConfig) XXX_Unmarshal(b []byte) error

type SecureHeader

type SecureHeader struct {
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	// Values can be read from either secrets or configmaps
	ValueFrom *ValueFromSource `json:"valueFrom,omitempty" protobuf:"bytes,2,opt,name=valueFrom"`
}

SecureHeader refers to HTTP Headers with auth tokens as values

func (*SecureHeader) DeepCopy

func (in *SecureHeader) DeepCopy() *SecureHeader

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecureHeader.

func (*SecureHeader) DeepCopyInto

func (in *SecureHeader) DeepCopyInto(out *SecureHeader)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SecureHeader) Descriptor

func (*SecureHeader) Descriptor() ([]byte, []int)

func (*SecureHeader) Marshal

func (m *SecureHeader) Marshal() (dAtA []byte, err error)

func (*SecureHeader) MarshalTo

func (m *SecureHeader) MarshalTo(dAtA []byte) (int, error)

func (*SecureHeader) MarshalToSizedBuffer

func (m *SecureHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecureHeader) ProtoMessage

func (*SecureHeader) ProtoMessage()

func (*SecureHeader) Reset

func (m *SecureHeader) Reset()

func (*SecureHeader) Size

func (m *SecureHeader) Size() (n int)

func (*SecureHeader) String

func (this *SecureHeader) String() string

func (*SecureHeader) Unmarshal

func (m *SecureHeader) Unmarshal(dAtA []byte) error

func (*SecureHeader) XXX_DiscardUnknown

func (m *SecureHeader) XXX_DiscardUnknown()

func (*SecureHeader) XXX_Marshal

func (m *SecureHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecureHeader) XXX_Merge

func (m *SecureHeader) XXX_Merge(src proto.Message)

func (*SecureHeader) XXX_Size

func (m *SecureHeader) XXX_Size() int

func (*SecureHeader) XXX_Unmarshal

func (m *SecureHeader) XXX_Unmarshal(b []byte) error

type Selector

type Selector struct {
	// Key name
	Key string `json:"key" protobuf:"bytes,1,opt,name=key"`
	// Supported operations like ==, != etc.
	// Defaults to ==.
	// Refer https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors for more info.
	// +optional
	Operation string `json:"operation,omitempty" protobuf:"bytes,2,opt,name=operation"`
	// Value
	Value string `json:"value" protobuf:"bytes,3,opt,name=value"`
}

Selector represents conditional operation to select K8s objects.

func (*Selector) DeepCopy

func (in *Selector) DeepCopy() *Selector

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Selector.

func (*Selector) DeepCopyInto

func (in *Selector) DeepCopyInto(out *Selector)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Selector) Descriptor

func (*Selector) Descriptor() ([]byte, []int)

func (*Selector) Marshal

func (m *Selector) Marshal() (dAtA []byte, err error)

func (*Selector) MarshalTo

func (m *Selector) MarshalTo(dAtA []byte) (int, error)

func (*Selector) MarshalToSizedBuffer

func (m *Selector) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Selector) ProtoMessage

func (*Selector) ProtoMessage()

func (*Selector) Reset

func (m *Selector) Reset()

func (*Selector) Size

func (m *Selector) Size() (n int)

func (*Selector) String

func (this *Selector) String() string

func (*Selector) Unmarshal

func (m *Selector) Unmarshal(dAtA []byte) error

func (*Selector) XXX_DiscardUnknown

func (m *Selector) XXX_DiscardUnknown()

func (*Selector) XXX_Marshal

func (m *Selector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Selector) XXX_Merge

func (m *Selector) XXX_Merge(src proto.Message)

func (*Selector) XXX_Size

func (m *Selector) XXX_Size() int

func (*Selector) XXX_Unmarshal

func (m *Selector) XXX_Unmarshal(b []byte) error

type Sensor

type Sensor struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`
	Spec              SensorSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`
	// +optional
	Status SensorStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

Sensor is the definition of a sensor resource +genclient +genclient:noStatus +kubebuilder:resource:shortName=sn +kubebuilder:subresource:status +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true

func (*Sensor) DeepCopy

func (in *Sensor) DeepCopy() *Sensor

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sensor.

func (*Sensor) DeepCopyInto

func (in *Sensor) DeepCopyInto(out *Sensor)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Sensor) DeepCopyObject

func (in *Sensor) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Sensor) Descriptor

func (*Sensor) Descriptor() ([]byte, []int)

func (*Sensor) Marshal

func (m *Sensor) Marshal() (dAtA []byte, err error)

func (*Sensor) MarshalTo

func (m *Sensor) MarshalTo(dAtA []byte) (int, error)

func (*Sensor) MarshalToSizedBuffer

func (m *Sensor) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Sensor) ProtoMessage

func (*Sensor) ProtoMessage()

func (*Sensor) Reset

func (m *Sensor) Reset()

func (*Sensor) Size

func (m *Sensor) Size() (n int)

func (*Sensor) String

func (this *Sensor) String() string

func (*Sensor) Unmarshal

func (m *Sensor) Unmarshal(dAtA []byte) error

func (*Sensor) XXX_DiscardUnknown

func (m *Sensor) XXX_DiscardUnknown()

func (*Sensor) XXX_Marshal

func (m *Sensor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Sensor) XXX_Merge

func (m *Sensor) XXX_Merge(src proto.Message)

func (*Sensor) XXX_Size

func (m *Sensor) XXX_Size() int

func (*Sensor) XXX_Unmarshal

func (m *Sensor) XXX_Unmarshal(b []byte) error

type SensorList

type SensorList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`
	Items           []Sensor `json:"items" protobuf:"bytes,2,rep,name=items"`
}

SensorList is the list of Sensor resources +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*SensorList) DeepCopy

func (in *SensorList) DeepCopy() *SensorList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SensorList.

func (*SensorList) DeepCopyInto

func (in *SensorList) DeepCopyInto(out *SensorList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SensorList) DeepCopyObject

func (in *SensorList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*SensorList) Descriptor

func (*SensorList) Descriptor() ([]byte, []int)

func (*SensorList) Marshal

func (m *SensorList) Marshal() (dAtA []byte, err error)

func (*SensorList) MarshalTo

func (m *SensorList) MarshalTo(dAtA []byte) (int, error)

func (*SensorList) MarshalToSizedBuffer

func (m *SensorList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SensorList) ProtoMessage

func (*SensorList) ProtoMessage()

func (*SensorList) Reset

func (m *SensorList) Reset()

func (*SensorList) Size

func (m *SensorList) Size() (n int)

func (*SensorList) String

func (this *SensorList) String() string

func (*SensorList) Unmarshal

func (m *SensorList) Unmarshal(dAtA []byte) error

func (*SensorList) XXX_DiscardUnknown

func (m *SensorList) XXX_DiscardUnknown()

func (*SensorList) XXX_Marshal

func (m *SensorList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SensorList) XXX_Merge

func (m *SensorList) XXX_Merge(src proto.Message)

func (*SensorList) XXX_Size

func (m *SensorList) XXX_Size() int

func (*SensorList) XXX_Unmarshal

func (m *SensorList) XXX_Unmarshal(b []byte) error

type SensorSpec

type SensorSpec struct {
	// Dependencies is a list of the events that this sensor is dependent on.
	Dependencies []EventDependency `json:"dependencies" protobuf:"bytes,1,rep,name=dependencies"`
	// Triggers is a list of the things that this sensor evokes. These are the outputs from this sensor.
	Triggers []Trigger `json:"triggers" protobuf:"bytes,2,rep,name=triggers"`
	// Template is the pod specification for the sensor
	// +optional
	Template *Template `json:"template,omitempty" protobuf:"bytes,3,opt,name=template"`
	// ErrorOnFailedRound if set to true, marks sensor state as `error` if the previous trigger round fails.
	// Once sensor state is set to `error`, no further triggers will be processed.
	ErrorOnFailedRound bool `json:"errorOnFailedRound,omitempty" protobuf:"varint,4,opt,name=errorOnFailedRound"`
	// EventBusName references to a EventBus name. By default the value is "default"
	EventBusName string `json:"eventBusName,omitempty" protobuf:"bytes,5,opt,name=eventBusName"`
	// Replicas is the sensor deployment replicas
	Replicas *int32 `json:"replicas,omitempty" protobuf:"varint,6,opt,name=replicas"`
	// RevisionHistoryLimit specifies how many old deployment revisions to retain
	// +optional
	RevisionHistoryLimit *int32 `json:"revisionHistoryLimit,omitempty" protobuf:"varint,7,opt,name=revisionHistoryLimit"`
	// LoggingFields add additional key-value pairs when logging happens
	// +optional
	LoggingFields map[string]string `json:"loggingFields" protobuf:"bytes,8,rep,name=loggingFields"`
}

SensorSpec represents desired sensor state

func (*SensorSpec) DeepCopy

func (in *SensorSpec) DeepCopy() *SensorSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SensorSpec.

func (*SensorSpec) DeepCopyInto

func (in *SensorSpec) DeepCopyInto(out *SensorSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SensorSpec) Descriptor

func (*SensorSpec) Descriptor() ([]byte, []int)

func (SensorSpec) GetReplicas

func (s SensorSpec) GetReplicas() int32

func (*SensorSpec) Marshal

func (m *SensorSpec) Marshal() (dAtA []byte, err error)

func (*SensorSpec) MarshalTo

func (m *SensorSpec) MarshalTo(dAtA []byte) (int, error)

func (*SensorSpec) MarshalToSizedBuffer

func (m *SensorSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SensorSpec) ProtoMessage

func (*SensorSpec) ProtoMessage()

func (*SensorSpec) Reset

func (m *SensorSpec) Reset()

func (*SensorSpec) Size

func (m *SensorSpec) Size() (n int)

func (*SensorSpec) String

func (this *SensorSpec) String() string

func (*SensorSpec) Unmarshal

func (m *SensorSpec) Unmarshal(dAtA []byte) error

func (*SensorSpec) XXX_DiscardUnknown

func (m *SensorSpec) XXX_DiscardUnknown()

func (*SensorSpec) XXX_Marshal

func (m *SensorSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SensorSpec) XXX_Merge

func (m *SensorSpec) XXX_Merge(src proto.Message)

func (*SensorSpec) XXX_Size

func (m *SensorSpec) XXX_Size() int

func (*SensorSpec) XXX_Unmarshal

func (m *SensorSpec) XXX_Unmarshal(b []byte) error

type SensorStatus

type SensorStatus struct {
	Status `json:",inline" protobuf:"bytes,1,opt,name=status"`
}

SensorStatus contains information about the status of a sensor.

func (*SensorStatus) DeepCopy

func (in *SensorStatus) DeepCopy() *SensorStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SensorStatus.

func (*SensorStatus) DeepCopyInto

func (in *SensorStatus) DeepCopyInto(out *SensorStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SensorStatus) Descriptor

func (*SensorStatus) Descriptor() ([]byte, []int)

func (*SensorStatus) InitConditions

func (s *SensorStatus) InitConditions()

InitConditions sets conditions to Unknown state.

func (*SensorStatus) MarkDependenciesNotProvided

func (s *SensorStatus) MarkDependenciesNotProvided(reason, message string)

MarkDependenciesNotProvided set the sensor has invalid dependencies provided.

func (*SensorStatus) MarkDependenciesProvided

func (s *SensorStatus) MarkDependenciesProvided()

MarkDependenciesProvided set the sensor has valid dependencies provided.

func (*SensorStatus) MarkDeployFailed

func (s *SensorStatus) MarkDeployFailed(reason, message string)

MarkDeployFailed set the sensor deploy failed

func (*SensorStatus) MarkDeployed

func (s *SensorStatus) MarkDeployed()

MarkDeployed set the sensor has been deployed.

func (*SensorStatus) MarkTriggersNotProvided

func (s *SensorStatus) MarkTriggersNotProvided(reason, message string)

MarkTriggersNotProvided set the sensor has invalid triggers provided.

func (*SensorStatus) MarkTriggersProvided

func (s *SensorStatus) MarkTriggersProvided()

MarkTriggersProvided set the sensor has valid triggers provided.

func (*SensorStatus) Marshal

func (m *SensorStatus) Marshal() (dAtA []byte, err error)

func (*SensorStatus) MarshalTo

func (m *SensorStatus) MarshalTo(dAtA []byte) (int, error)

func (*SensorStatus) MarshalToSizedBuffer

func (m *SensorStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SensorStatus) ProtoMessage

func (*SensorStatus) ProtoMessage()

func (*SensorStatus) Reset

func (m *SensorStatus) Reset()

func (*SensorStatus) Size

func (m *SensorStatus) Size() (n int)

func (*SensorStatus) String

func (this *SensorStatus) String() string

func (*SensorStatus) Unmarshal

func (m *SensorStatus) Unmarshal(dAtA []byte) error

func (*SensorStatus) XXX_DiscardUnknown

func (m *SensorStatus) XXX_DiscardUnknown()

func (*SensorStatus) XXX_Marshal

func (m *SensorStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SensorStatus) XXX_Merge

func (m *SensorStatus) XXX_Merge(src proto.Message)

func (*SensorStatus) XXX_Size

func (m *SensorStatus) XXX_Size() int

func (*SensorStatus) XXX_Unmarshal

func (m *SensorStatus) XXX_Unmarshal(b []byte) error

type Service

type Service struct {
	// Metadata sets the pods's metadata, i.e. annotations and labels
	// default={annotations: {}, labels: {}}
	Metadata *Metadata `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// The list of ports that are exposed by this ClusterIP service.
	// +patchMergeKey=port
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=port
	// +listMapKey=protocol
	Ports []corev1.ServicePort `json:"ports,omitempty" patchStrategy:"merge" patchMergeKey:"port" protobuf:"bytes,2,rep,name=ports"`
	// clusterIP is the IP address of the service and is usually assigned
	// randomly by the master. If an address is specified manually and is not in
	// use by others, it will be allocated to the service; otherwise, creation
	// of the service will fail. This field can not be changed through updates.
	// Valid values are "None", empty string (""), or a valid IP address. "None"
	// can be specified for headless services when proxying is not required.
	// More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
	// +optional
	ClusterIP string `json:"clusterIP,omitempty" protobuf:"bytes,3,opt,name=clusterIP"`
}

Service holds the service information eventsource exposes

func (*Service) DeepCopy

func (in *Service) DeepCopy() *Service

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service.

func (*Service) DeepCopyInto

func (in *Service) DeepCopyInto(out *Service)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Service) Descriptor

func (*Service) Descriptor() ([]byte, []int)

func (*Service) Marshal

func (m *Service) Marshal() (dAtA []byte, err error)

func (*Service) MarshalTo

func (m *Service) MarshalTo(dAtA []byte) (int, error)

func (*Service) MarshalToSizedBuffer

func (m *Service) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) Reset

func (m *Service) Reset()

func (*Service) Size

func (m *Service) Size() (n int)

func (*Service) String

func (this *Service) String() string

func (*Service) Unmarshal

func (m *Service) Unmarshal(dAtA []byte) error

func (*Service) XXX_DiscardUnknown

func (m *Service) XXX_DiscardUnknown()

func (*Service) XXX_Marshal

func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Service) XXX_Merge

func (m *Service) XXX_Merge(src proto.Message)

func (*Service) XXX_Size

func (m *Service) XXX_Size() int

func (*Service) XXX_Unmarshal

func (m *Service) XXX_Unmarshal(b []byte) error

type SlackEventSource

type SlackEventSource struct {
	// Slack App signing secret
	SigningSecret *corev1.SecretKeySelector `json:"signingSecret,omitempty" protobuf:"bytes,1,opt,name=signingSecret"`
	// Token for URL verification handshake
	Token *corev1.SecretKeySelector `json:"token,omitempty" protobuf:"bytes,2,opt,name=token"`
	// Webhook holds configuration for a REST endpoint
	Webhook *WebhookContext `json:"webhook,omitempty" protobuf:"bytes,3,opt,name=webhook"`
	// Metadata holds the user defined metadata which will passed along the event payload.
	// +optional
	Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,4,rep,name=metadata"`
	// Filter
	// +optional
	Filter *EventSourceFilter `json:"filter,omitempty" protobuf:"bytes,5,opt,name=filter"`
}

SlackEventSource refers to event-source for Slack related events

func (*SlackEventSource) DeepCopy

func (in *SlackEventSource) DeepCopy() *SlackEventSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SlackEventSource.

func (*SlackEventSource) DeepCopyInto

func (in *SlackEventSource) DeepCopyInto(out *SlackEventSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SlackEventSource) Descriptor

func (*SlackEventSource) Descriptor() ([]byte, []int)

func (*SlackEventSource) Marshal

func (m *SlackEventSource) Marshal() (dAtA []byte, err error)

func (*SlackEventSource) MarshalTo

func (m *SlackEventSource) MarshalTo(dAtA []byte) (int, error)

func (*SlackEventSource) MarshalToSizedBuffer

func (m *SlackEventSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SlackEventSource) ProtoMessage

func (*SlackEventSource) ProtoMessage()

func (*SlackEventSource) Reset

func (m *SlackEventSource) Reset()

func (*SlackEventSource) Size

func (m *SlackEventSource) Size() (n int)

func (*SlackEventSource) String

func (this *SlackEventSource) String() string

func (*SlackEventSource) Unmarshal

func (m *SlackEventSource) Unmarshal(dAtA []byte) error

func (*SlackEventSource) XXX_DiscardUnknown

func (m *SlackEventSource) XXX_DiscardUnknown()

func (*SlackEventSource) XXX_Marshal

func (m *SlackEventSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SlackEventSource) XXX_Merge

func (m *SlackEventSource) XXX_Merge(src proto.Message)

func (*SlackEventSource) XXX_Size

func (m *SlackEventSource) XXX_Size() int

func (*SlackEventSource) XXX_Unmarshal

func (m *SlackEventSource) XXX_Unmarshal(b []byte) error

type SlackSender

type SlackSender struct {
	// Username is the Slack application's username
	// +optional
	Username string `json:"username,omitempty" protobuf:"bytes,1,opt,name=username"`
	// Icon is the Slack application's icon, e.g. :robot_face: or https://example.com/image.png
	// +optional
	Icon string `json:"icon,omitempty" protobuf:"bytes,2,opt,name=icon"`
}

func (*SlackSender) DeepCopy

func (in *SlackSender) DeepCopy() *SlackSender

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SlackSender.

func (*SlackSender) DeepCopyInto

func (in *SlackSender) DeepCopyInto(out *SlackSender)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SlackSender) Descriptor

func (*SlackSender) Descriptor() ([]byte, []int)

func (*SlackSender) Marshal

func (m *SlackSender) Marshal() (dAtA []byte, err error)

func (*SlackSender) MarshalTo

func (m *SlackSender) MarshalTo(dAtA []byte) (int, error)

func (*SlackSender) MarshalToSizedBuffer

func (m *SlackSender) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SlackSender) ProtoMessage

func (*SlackSender) ProtoMessage()

func (*SlackSender) Reset

func (m *SlackSender) Reset()

func (*SlackSender) Size

func (m *SlackSender) Size() (n int)

func (*SlackSender) String

func (this *SlackSender) String() string

func (*SlackSender) Unmarshal

func (m *SlackSender) Unmarshal(dAtA []byte) error

func (*SlackSender) XXX_DiscardUnknown

func (m *SlackSender) XXX_DiscardUnknown()

func (*SlackSender) XXX_Marshal

func (m *SlackSender) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SlackSender) XXX_Merge

func (m *SlackSender) XXX_Merge(src proto.Message)

func (*SlackSender) XXX_Size

func (m *SlackSender) XXX_Size() int

func (*SlackSender) XXX_Unmarshal

func (m *SlackSender) XXX_Unmarshal(b []byte) error

type SlackThread

type SlackThread struct {
	// MessageAggregationKey allows to aggregate the messages to a thread by some key.
	// +optional
	MessageAggregationKey string `json:"messageAggregationKey,omitempty" protobuf:"bytes,1,opt,name=messageAggregationKey"`
	// BroadcastMessageToChannel allows to also broadcast the message from the thread to the channel
	// +optional
	BroadcastMessageToChannel bool `json:"broadcastMessageToChannel,omitempty" protobuf:"bytes,2,opt,name=broadcastMessageToChannel"`
}

func (*SlackThread) DeepCopy

func (in *SlackThread) DeepCopy() *SlackThread

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SlackThread.

func (*SlackThread) DeepCopyInto

func (in *SlackThread) DeepCopyInto(out *SlackThread)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SlackThread) Descriptor

func (*SlackThread) Descriptor() ([]byte, []int)

func (*SlackThread) Marshal

func (m *SlackThread) Marshal() (dAtA []byte, err error)

func (*SlackThread) MarshalTo

func (m *SlackThread) MarshalTo(dAtA []byte) (int, error)

func (*SlackThread) MarshalToSizedBuffer

func (m *SlackThread) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SlackThread) ProtoMessage

func (*SlackThread) ProtoMessage()

func (*SlackThread) Reset

func (m *SlackThread) Reset()

func (*SlackThread) Size

func (m *SlackThread) Size() (n int)

func (*SlackThread) String

func (this *SlackThread) String() string

func (*SlackThread) Unmarshal

func (m *SlackThread) Unmarshal(dAtA []byte) error

func (*SlackThread) XXX_DiscardUnknown

func (m *SlackThread) XXX_DiscardUnknown()

func (*SlackThread) XXX_Marshal

func (m *SlackThread) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SlackThread) XXX_Merge

func (m *SlackThread) XXX_Merge(src proto.Message)

func (*SlackThread) XXX_Size

func (m *SlackThread) XXX_Size() int

func (*SlackThread) XXX_Unmarshal

func (m *SlackThread) XXX_Unmarshal(b []byte) error

type SlackTrigger

type SlackTrigger struct {
	// Parameters is the list of key-value extracted from event's payload that are applied to
	// the trigger resource.
	// +optional
	Parameters []TriggerParameter `json:"parameters,omitempty" protobuf:"bytes,1,rep,name=parameters"`
	// SlackToken refers to the Kubernetes secret that holds the slack token required to send messages.
	SlackToken *corev1.SecretKeySelector `json:"slackToken,omitempty" protobuf:"bytes,2,opt,name=slackToken"`
	// Channel refers to which Slack channel to send Slack message.
	// +optional
	Channel string `json:"channel,omitempty" protobuf:"bytes,3,opt,name=channel"`
	// Message refers to the message to send to the Slack channel.
	// +optional
	Message string `json:"message,omitempty" protobuf:"bytes,4,opt,name=message"`
	// Attachments is a JSON format string that represents an array of Slack attachments according to the attachments API: https://api.slack.com/reference/messaging/attachments .
	// +optional
	Attachments string `json:"attachments,omitempty" protobuf:"bytes,5,opt,name=attachments"`
	// Blocks is a JSON format string that represents an array of Slack blocks according to the blocks API: https://api.slack.com/reference/block-kit/blocks .
	// +optional
	Blocks string `json:"blocks,omitempty" protobuf:"bytes,6,opt,name=blocks"`
	// Thread refers to additional options for sending messages to a Slack thread.
	// +optional
	Thread SlackThread `json:"thread,omitempty" protobuf:"bytes,7,opt,name=thread"`
	// Sender refers to additional configuration of the Slack application that sends the message.
	// +optional
	Sender SlackSender `json:"sender,omitempty" protobuf:"bytes,8,opt,name=sender"`
}

SlackTrigger refers to the specification of the slack notification trigger.

func (*SlackTrigger) DeepCopy

func (in *SlackTrigger) DeepCopy() *SlackTrigger

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SlackTrigger.

func (*SlackTrigger) DeepCopyInto

func (in *SlackTrigger) DeepCopyInto(out *SlackTrigger)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SlackTrigger) Descriptor

func (*SlackTrigger) Descriptor() ([]byte, []int)

func (*SlackTrigger) Marshal

func (m *SlackTrigger) Marshal() (dAtA []byte, err error)

func (*SlackTrigger) MarshalTo

func (m *SlackTrigger) MarshalTo(dAtA []byte) (int, error)

func (*SlackTrigger) MarshalToSizedBuffer

func (m *SlackTrigger) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SlackTrigger) ProtoMessage

func (*SlackTrigger) ProtoMessage()

func (*SlackTrigger) Reset

func (m *SlackTrigger) Reset()

func (*SlackTrigger) Size

func (m *SlackTrigger) Size() (n int)

func (*SlackTrigger) String

func (this *SlackTrigger) String() string

func (*SlackTrigger) Unmarshal

func (m *SlackTrigger) Unmarshal(dAtA []byte) error

func (*SlackTrigger) XXX_DiscardUnknown

func (m *SlackTrigger) XXX_DiscardUnknown()

func (*SlackTrigger) XXX_Marshal

func (m *SlackTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SlackTrigger) XXX_Merge

func (m *SlackTrigger) XXX_Merge(src proto.Message)

func (*SlackTrigger) XXX_Size

func (m *SlackTrigger) XXX_Size() int

func (*SlackTrigger) XXX_Unmarshal

func (m *SlackTrigger) XXX_Unmarshal(b []byte) error

type StandardK8STrigger

type StandardK8STrigger struct {
	// Source of the K8s resource file(s)
	Source *ArtifactLocation `json:"source,omitempty" protobuf:"bytes,1,opt,name=source"`
	// Operation refers to the type of operation performed on the k8s resource.
	// Default value is Create.
	// +optional
	Operation KubernetesResourceOperation `json:"operation,omitempty" protobuf:"bytes,2,opt,name=operation,casttype=KubernetesResourceOperation"`
	// Parameters is the list of parameters that is applied to resolved K8s trigger object.
	Parameters []TriggerParameter `json:"parameters,omitempty" protobuf:"bytes,3,rep,name=parameters"`
	// PatchStrategy controls the K8s object patching strategy when the trigger operation is specified as patch.
	// possible values:
	// "application/json-patch+json"
	// "application/merge-patch+json"
	// "application/strategic-merge-patch+json"
	// "application/apply-patch+yaml".
	// Defaults to "application/merge-patch+json"
	// +optional
	PatchStrategy k8stypes.PatchType `json:"patchStrategy,omitempty" protobuf:"bytes,4,opt,name=patchStrategy,casttype=k8s.io/apimachinery/pkg/types.PatchType"`
	// LiveObject specifies whether the resource should be directly fetched from K8s instead
	// of being marshaled from the resource artifact. If set to true, the resource artifact
	// must contain the information required to uniquely identify the resource in the cluster,
	// that is, you must specify "apiVersion", "kind" as well as "name" and "namespace" meta
	// data.
	// Only valid for operation type `update`
	// +optional
	LiveObject bool `json:"liveObject,omitempty" protobuf:"varint,5,opt,name=liveObject"`
}

StandardK8STrigger is the standard Kubernetes resource trigger

func (*StandardK8STrigger) DeepCopy

func (in *StandardK8STrigger) DeepCopy() *StandardK8STrigger

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StandardK8STrigger.

func (*StandardK8STrigger) DeepCopyInto

func (in *StandardK8STrigger) DeepCopyInto(out *StandardK8STrigger)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*StandardK8STrigger) Descriptor

func (*StandardK8STrigger) Descriptor() ([]byte, []int)

func (*StandardK8STrigger) Marshal

func (m *StandardK8STrigger) Marshal() (dAtA []byte, err error)

func (*StandardK8STrigger) MarshalTo

func (m *StandardK8STrigger) MarshalTo(dAtA []byte) (int, error)

func (*StandardK8STrigger) MarshalToSizedBuffer

func (m *StandardK8STrigger) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StandardK8STrigger) ProtoMessage

func (*StandardK8STrigger) ProtoMessage()

func (*StandardK8STrigger) Reset

func (m *StandardK8STrigger) Reset()

func (*StandardK8STrigger) Size

func (m *StandardK8STrigger) Size() (n int)

func (*StandardK8STrigger) String

func (this *StandardK8STrigger) String() string

func (*StandardK8STrigger) Unmarshal

func (m *StandardK8STrigger) Unmarshal(dAtA []byte) error

func (*StandardK8STrigger) XXX_DiscardUnknown

func (m *StandardK8STrigger) XXX_DiscardUnknown()

func (*StandardK8STrigger) XXX_Marshal

func (m *StandardK8STrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StandardK8STrigger) XXX_Merge

func (m *StandardK8STrigger) XXX_Merge(src proto.Message)

func (*StandardK8STrigger) XXX_Size

func (m *StandardK8STrigger) XXX_Size() int

func (*StandardK8STrigger) XXX_Unmarshal

func (m *StandardK8STrigger) XXX_Unmarshal(b []byte) error

type Status

type Status struct {
	// Conditions are the latest available observations of a resource's current state.
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}

Status is a common structure which can be used for Status field.

func (*Status) DeepCopy

func (in *Status) DeepCopy() *Status

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status.

func (*Status) DeepCopyInto

func (in *Status) DeepCopyInto(out *Status)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Status) Descriptor

func (*Status) Descriptor() ([]byte, []int)

func (*Status) GetCondition

func (s *Status) GetCondition(t ConditionType) *Condition

GetCondition returns the condition of a condtion type

func (*Status) InitializeConditions

func (s *Status) InitializeConditions(conditionTypes ...ConditionType)

InitializeConditions initializes the contions to Unknown

func (*Status) IsReady

func (s *Status) IsReady() bool

IsReady returns true when all the conditions are true

func (*Status) MarkFalse

func (s *Status) MarkFalse(t ConditionType, reason, message string)

MarkFalse sets the status of t to fasle

func (*Status) MarkTrue

func (s *Status) MarkTrue(t ConditionType)

MarkTrue sets the status of t to true

func (*Status) MarkTrueWithReason

func (s *Status) MarkTrueWithReason(t ConditionType, reason, message string)

MarkTrueWithReason sets the status of t to true with reason

func (*Status) MarkUnknown

func (s *Status) MarkUnknown(t ConditionType, reason, message string)

MarkUnknown sets the status of t to unknown

func (*Status) Marshal

func (m *Status) Marshal() (dAtA []byte, err error)

func (*Status) MarshalTo

func (m *Status) MarshalTo(dAtA []byte) (int, error)

func (*Status) MarshalToSizedBuffer

func (m *Status) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) Reset

func (m *Status) Reset()

func (*Status) SetCondition

func (s *Status) SetCondition(condition Condition)

SetCondition sets a condition

func (*Status) Size

func (m *Status) Size() (n int)

func (*Status) String

func (this *Status) String() string

func (*Status) Unmarshal

func (m *Status) Unmarshal(dAtA []byte) error

func (*Status) XXX_DiscardUnknown

func (m *Status) XXX_DiscardUnknown()

func (*Status) XXX_Marshal

func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Status) XXX_Merge

func (m *Status) XXX_Merge(src proto.Message)

func (*Status) XXX_Size

func (m *Status) XXX_Size() int

func (*Status) XXX_Unmarshal

func (m *Status) XXX_Unmarshal(b []byte) error

type StatusPolicy

type StatusPolicy struct {
	Allow []int32 `json:"allow" protobuf:"varint,1,rep,name=allow"`
}

StatusPolicy refers to the policy used to check the state of the trigger using response status

func (*StatusPolicy) DeepCopy

func (in *StatusPolicy) DeepCopy() *StatusPolicy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusPolicy.

func (*StatusPolicy) DeepCopyInto

func (in *StatusPolicy) DeepCopyInto(out *StatusPolicy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*StatusPolicy) Descriptor

func (*StatusPolicy) Descriptor() ([]byte, []int)

func (*StatusPolicy) GetAllow

func (in *StatusPolicy) GetAllow() []int

func (*StatusPolicy) Marshal

func (m *StatusPolicy) Marshal() (dAtA []byte, err error)

func (*StatusPolicy) MarshalTo

func (m *StatusPolicy) MarshalTo(dAtA []byte) (int, error)

func (*StatusPolicy) MarshalToSizedBuffer

func (m *StatusPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StatusPolicy) ProtoMessage

func (*StatusPolicy) ProtoMessage()

func (*StatusPolicy) Reset

func (m *StatusPolicy) Reset()

func (*StatusPolicy) Size

func (m *StatusPolicy) Size() (n int)

func (*StatusPolicy) String

func (this *StatusPolicy) String() string

func (*StatusPolicy) Unmarshal

func (m *StatusPolicy) Unmarshal(dAtA []byte) error

func (*StatusPolicy) XXX_DiscardUnknown

func (m *StatusPolicy) XXX_DiscardUnknown()

func (*StatusPolicy) XXX_Marshal

func (m *StatusPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StatusPolicy) XXX_Merge

func (m *StatusPolicy) XXX_Merge(src proto.Message)

func (*StatusPolicy) XXX_Size

func (m *StatusPolicy) XXX_Size() int

func (*StatusPolicy) XXX_Unmarshal

func (m *StatusPolicy) XXX_Unmarshal(b []byte) error

type StorageGridEventSource

type StorageGridEventSource struct {
	// Webhook holds configuration for a REST endpoint
	Webhook *WebhookContext `json:"webhook,omitempty" protobuf:"bytes,1,opt,name=webhook"`

	Events []string `json:"events,omitempty" protobuf:"bytes,2,rep,name=events"`
	// Filter on object key which caused the notification.
	Filter *StorageGridFilter `json:"filter,omitempty" protobuf:"bytes,3,opt,name=filter"`
	// TopicArn
	TopicArn string `json:"topicArn" protobuf:"bytes,4,name=topicArn"`
	// Name of the bucket to register notifications for.
	Bucket string `json:"bucket" protobuf:"bytes,5,name=bucket"`
	// S3 region.
	// Defaults to us-east-1
	// +optional
	Region string `json:"region,omitempty" protobuf:"bytes,6,opt,name=region"`
	// Auth token for storagegrid api
	AuthToken *corev1.SecretKeySelector `json:"authToken" protobuf:"bytes,7,name=authToken"`
	// APIURL is the url of the storagegrid api.
	APIURL string `json:"apiURL" protobuf:"bytes,8,name=apiURL"`
	// Metadata holds the user defined metadata which will passed along the event payload.
	// +optional
	Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,9,rep,name=metadata"`
}

StorageGridEventSource refers to event-source for StorageGrid related events

func (*StorageGridEventSource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageGridEventSource.

func (*StorageGridEventSource) DeepCopyInto

func (in *StorageGridEventSource) DeepCopyInto(out *StorageGridEventSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*StorageGridEventSource) Descriptor

func (*StorageGridEventSource) Descriptor() ([]byte, []int)

func (*StorageGridEventSource) Marshal

func (m *StorageGridEventSource) Marshal() (dAtA []byte, err error)

func (*StorageGridEventSource) MarshalTo

func (m *StorageGridEventSource) MarshalTo(dAtA []byte) (int, error)

func (*StorageGridEventSource) MarshalToSizedBuffer

func (m *StorageGridEventSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StorageGridEventSource) ProtoMessage

func (*StorageGridEventSource) ProtoMessage()

func (*StorageGridEventSource) Reset

func (m *StorageGridEventSource) Reset()

func (*StorageGridEventSource) Size

func (m *StorageGridEventSource) Size() (n int)

func (*StorageGridEventSource) String

func (this *StorageGridEventSource) String() string

func (*StorageGridEventSource) Unmarshal

func (m *StorageGridEventSource) Unmarshal(dAtA []byte) error

func (*StorageGridEventSource) XXX_DiscardUnknown

func (m *StorageGridEventSource) XXX_DiscardUnknown()

func (*StorageGridEventSource) XXX_Marshal

func (m *StorageGridEventSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StorageGridEventSource) XXX_Merge

func (m *StorageGridEventSource) XXX_Merge(src proto.Message)

func (*StorageGridEventSource) XXX_Size

func (m *StorageGridEventSource) XXX_Size() int

func (*StorageGridEventSource) XXX_Unmarshal

func (m *StorageGridEventSource) XXX_Unmarshal(b []byte) error

type StorageGridFilter

type StorageGridFilter struct {
	Prefix string `json:"prefix" protobuf:"bytes,1,opt,name=prefix"`
	Suffix string `json:"suffix" protobuf:"bytes,2,opt,name=suffix"`
}

StorageGridFilter represents filters to apply to bucket notifications for specifying constraints on objects +k8s:openapi-gen=true

func (*StorageGridFilter) DeepCopy

func (in *StorageGridFilter) DeepCopy() *StorageGridFilter

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageGridFilter.

func (*StorageGridFilter) DeepCopyInto

func (in *StorageGridFilter) DeepCopyInto(out *StorageGridFilter)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*StorageGridFilter) Descriptor

func (*StorageGridFilter) Descriptor() ([]byte, []int)

func (*StorageGridFilter) Marshal

func (m *StorageGridFilter) Marshal() (dAtA []byte, err error)

func (*StorageGridFilter) MarshalTo

func (m *StorageGridFilter) MarshalTo(dAtA []byte) (int, error)

func (*StorageGridFilter) MarshalToSizedBuffer

func (m *StorageGridFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StorageGridFilter) ProtoMessage

func (*StorageGridFilter) ProtoMessage()

func (*StorageGridFilter) Reset

func (m *StorageGridFilter) Reset()

func (*StorageGridFilter) Size

func (m *StorageGridFilter) Size() (n int)

func (*StorageGridFilter) String

func (this *StorageGridFilter) String() string

func (*StorageGridFilter) Unmarshal

func (m *StorageGridFilter) Unmarshal(dAtA []byte) error

func (*StorageGridFilter) XXX_DiscardUnknown

func (m *StorageGridFilter) XXX_DiscardUnknown()

func (*StorageGridFilter) XXX_Marshal

func (m *StorageGridFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StorageGridFilter) XXX_Merge

func (m *StorageGridFilter) XXX_Merge(src proto.Message)

func (*StorageGridFilter) XXX_Size

func (m *StorageGridFilter) XXX_Size() int

func (*StorageGridFilter) XXX_Unmarshal

func (m *StorageGridFilter) XXX_Unmarshal(b []byte) error

type StripeEventSource

type StripeEventSource struct {
	// Webhook holds configuration for a REST endpoint
	Webhook *WebhookContext `json:"webhook,omitempty" protobuf:"bytes,1,opt,name=webhook"`
	// CreateWebhook if specified creates a new webhook programmatically.
	// +optional
	CreateWebhook bool `json:"createWebhook,omitempty" protobuf:"varint,2,opt,name=createWebhook"`
	// APIKey refers to K8s secret that holds Stripe API key. Used only if CreateWebhook is enabled.
	// +optional
	APIKey *corev1.SecretKeySelector `json:"apiKey,omitempty" protobuf:"bytes,3,opt,name=apiKey"`
	// EventFilter describes the type of events to listen to. If not specified, all types of events will be processed.
	// More info at https://stripe.com/docs/api/events/list
	// +optional
	EventFilter []string `json:"eventFilter,omitempty" protobuf:"bytes,4,rep,name=eventFilter"`
	// Metadata holds the user defined metadata which will passed along the event payload.
	// +optional
	Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,5,rep,name=metadata"`
}

StripeEventSource describes the event source for stripe webhook notifications More info at https://stripe.com/docs/webhooks

func (*StripeEventSource) DeepCopy

func (in *StripeEventSource) DeepCopy() *StripeEventSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StripeEventSource.

func (*StripeEventSource) DeepCopyInto

func (in *StripeEventSource) DeepCopyInto(out *StripeEventSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*StripeEventSource) Descriptor

func (*StripeEventSource) Descriptor() ([]byte, []int)

func (*StripeEventSource) Marshal

func (m *StripeEventSource) Marshal() (dAtA []byte, err error)

func (*StripeEventSource) MarshalTo

func (m *StripeEventSource) MarshalTo(dAtA []byte) (int, error)

func (*StripeEventSource) MarshalToSizedBuffer

func (m *StripeEventSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StripeEventSource) ProtoMessage

func (*StripeEventSource) ProtoMessage()

func (*StripeEventSource) Reset

func (m *StripeEventSource) Reset()

func (*StripeEventSource) Size

func (m *StripeEventSource) Size() (n int)

func (*StripeEventSource) String

func (this *StripeEventSource) String() string

func (*StripeEventSource) Unmarshal

func (m *StripeEventSource) Unmarshal(dAtA []byte) error

func (*StripeEventSource) XXX_DiscardUnknown

func (m *StripeEventSource) XXX_DiscardUnknown()

func (*StripeEventSource) XXX_Marshal

func (m *StripeEventSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StripeEventSource) XXX_Merge

func (m *StripeEventSource) XXX_Merge(src proto.Message)

func (*StripeEventSource) XXX_Size

func (m *StripeEventSource) XXX_Size() int

func (*StripeEventSource) XXX_Unmarshal

func (m *StripeEventSource) XXX_Unmarshal(b []byte) error

type TLSConfig

type TLSConfig struct {
	// CACertSecret refers to the secret that contains the CA cert
	CACertSecret *corev1.SecretKeySelector `json:"caCertSecret,omitempty" protobuf:"bytes,1,opt,name=caCertSecret"`
	// ClientCertSecret refers to the secret that contains the client cert
	ClientCertSecret *corev1.SecretKeySelector `json:"clientCertSecret,omitempty" protobuf:"bytes,2,opt,name=clientCertSecret"`
	// ClientKeySecret refers to the secret that contains the client key
	ClientKeySecret *corev1.SecretKeySelector `json:"clientKeySecret,omitempty" protobuf:"bytes,3,opt,name=clientKeySecret"`
	// If true, skips creation of TLSConfig with certs and creates an empty TLSConfig. (Defaults to false)
	// +optional
	InsecureSkipVerify bool `json:"insecureSkipVerify,omitempty" protobuf:"varint,4,opt,name=insecureSkipVerify"`
}

TLSConfig refers to TLS configuration for a client.

func (*TLSConfig) DeepCopy

func (in *TLSConfig) DeepCopy() *TLSConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSConfig.

func (*TLSConfig) DeepCopyInto

func (in *TLSConfig) DeepCopyInto(out *TLSConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TLSConfig) Descriptor

func (*TLSConfig) Descriptor() ([]byte, []int)

func (*TLSConfig) Marshal

func (m *TLSConfig) Marshal() (dAtA []byte, err error)

func (*TLSConfig) MarshalTo

func (m *TLSConfig) MarshalTo(dAtA []byte) (int, error)

func (*TLSConfig) MarshalToSizedBuffer

func (m *TLSConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TLSConfig) ProtoMessage

func (*TLSConfig) ProtoMessage()

func (*TLSConfig) Reset

func (m *TLSConfig) Reset()

func (*TLSConfig) Size

func (m *TLSConfig) Size() (n int)

func (*TLSConfig) String

func (this *TLSConfig) String() string

func (*TLSConfig) Unmarshal

func (m *TLSConfig) Unmarshal(dAtA []byte) error

func (*TLSConfig) XXX_DiscardUnknown

func (m *TLSConfig) XXX_DiscardUnknown()

func (*TLSConfig) XXX_Marshal

func (m *TLSConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TLSConfig) XXX_Merge

func (m *TLSConfig) XXX_Merge(src proto.Message)

func (*TLSConfig) XXX_Size

func (m *TLSConfig) XXX_Size() int

func (*TLSConfig) XXX_Unmarshal

func (m *TLSConfig) XXX_Unmarshal(b []byte) error

type Template

type Template struct {
	// Metadata sets the pods's metadata, i.e. annotations and labels
	Metadata *Metadata `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// ServiceAccountName is the name of the ServiceAccount to use to run sensor pod.
	// More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
	// +optional
	ServiceAccountName string `json:"serviceAccountName,omitempty" protobuf:"bytes,2,opt,name=serviceAccountName"`
	// Container is the main container image to run in the sensor pod
	// +optional
	Container *corev1.Container `json:"container,omitempty" protobuf:"bytes,3,opt,name=container"`
	// Volumes is a list of volumes that can be mounted by containers in a workflow.
	// +patchStrategy=merge
	// +patchMergeKey=name
	// +optional
	Volumes []corev1.Volume `json:"volumes,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,4,rep,name=volumes"`
	// SecurityContext holds pod-level security attributes and common container settings.
	// Optional: Defaults to empty.  See type description for default values of each field.
	// +optional
	SecurityContext *corev1.PodSecurityContext `json:"securityContext,omitempty" protobuf:"bytes,5,opt,name=securityContext"`
	// NodeSelector is a selector which must be true for the pod to fit on a node.
	// Selector which must match a node's labels for the pod to be scheduled on that node.
	// More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
	// +optional
	NodeSelector map[string]string `json:"nodeSelector,omitempty" protobuf:"bytes,6,rep,name=nodeSelector"`
	// If specified, the pod's tolerations.
	// +optional
	Tolerations []corev1.Toleration `json:"tolerations,omitempty" protobuf:"bytes,7,rep,name=tolerations"`
	// ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
	// If specified, these secrets will be passed to individual puller implementations for them to use. For example,
	// in the case of docker, only DockerConfig type secrets are honored.
	// More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod
	// +optional
	// +patchMergeKey=name
	// +patchStrategy=merge
	ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,8,rep,name=imagePullSecrets"`
	// If specified, indicates the EventSource pod's priority. "system-node-critical"
	// and "system-cluster-critical" are two special keywords which indicate the
	// highest priorities with the former being the highest priority. Any other
	// name must be defined by creating a PriorityClass object with that name.
	// If not specified, the pod priority will be default or zero if there is no
	// default.
	// More info: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
	// +optional
	PriorityClassName string `json:"priorityClassName,omitempty" protobuf:"bytes,9,opt,name=priorityClassName"`
	// The priority value. Various system components use this field to find the
	// priority of the EventSource pod. When Priority Admission Controller is enabled,
	// it prevents users from setting this field. The admission controller populates
	// this field from PriorityClassName.
	// The higher the value, the higher the priority.
	// More info: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
	// +optional
	Priority *int32 `json:"priority,omitempty" protobuf:"bytes,10,opt,name=priority"`
	// If specified, the pod's scheduling constraints
	// +optional
	Affinity *corev1.Affinity `json:"affinity,omitempty" protobuf:"bytes,11,opt,name=affinity"`
}

Template holds the information of a deployment template

func (*Template) DeepCopy

func (in *Template) DeepCopy() *Template

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Template.

func (*Template) DeepCopyInto

func (in *Template) DeepCopyInto(out *Template)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Template) Descriptor

func (*Template) Descriptor() ([]byte, []int)

func (*Template) Marshal

func (m *Template) Marshal() (dAtA []byte, err error)

func (*Template) MarshalTo

func (m *Template) MarshalTo(dAtA []byte) (int, error)

func (*Template) MarshalToSizedBuffer

func (m *Template) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Template) ProtoMessage

func (*Template) ProtoMessage()

func (*Template) Reset

func (m *Template) Reset()

func (*Template) Size

func (m *Template) Size() (n int)

func (*Template) String

func (this *Template) String() string

func (*Template) Unmarshal

func (m *Template) Unmarshal(dAtA []byte) error

func (*Template) XXX_DiscardUnknown

func (m *Template) XXX_DiscardUnknown()

func (*Template) XXX_Marshal

func (m *Template) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Template) XXX_Merge

func (m *Template) XXX_Merge(src proto.Message)

func (*Template) XXX_Size

func (m *Template) XXX_Size() int

func (*Template) XXX_Unmarshal

func (m *Template) XXX_Unmarshal(b []byte) error

type TimeFilter

type TimeFilter struct {
	// Start is the beginning of a time window in UTC.
	// Before this time, events for this dependency are ignored.
	// Format is hh:mm:ss.
	Start string `json:"start" protobuf:"bytes,1,opt,name=start"`
	// Stop is the end of a time window in UTC.
	// After or equal to this time, events for this dependency are ignored and
	// Format is hh:mm:ss.
	// If it is smaller than Start, it is treated as next day of Start
	// (e.g.: 22:00:00-01:00:00 means 22:00:00-25:00:00).
	Stop string `json:"stop" protobuf:"bytes,2,opt,name=stop"`
}

TimeFilter describes a window in time. It filters out events that occur outside the time limits. In other words, only events that occur after Start and before Stop will pass this filter.

func (*TimeFilter) DeepCopy

func (in *TimeFilter) DeepCopy() *TimeFilter

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeFilter.

func (*TimeFilter) DeepCopyInto

func (in *TimeFilter) DeepCopyInto(out *TimeFilter)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TimeFilter) Descriptor

func (*TimeFilter) Descriptor() ([]byte, []int)

func (*TimeFilter) Marshal

func (m *TimeFilter) Marshal() (dAtA []byte, err error)

func (*TimeFilter) MarshalTo

func (m *TimeFilter) MarshalTo(dAtA []byte) (int, error)

func (*TimeFilter) MarshalToSizedBuffer

func (m *TimeFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TimeFilter) ProtoMessage

func (*TimeFilter) ProtoMessage()

func (*TimeFilter) Reset

func (m *TimeFilter) Reset()

func (*TimeFilter) Size

func (m *TimeFilter) Size() (n int)

func (*TimeFilter) String

func (this *TimeFilter) String() string

func (*TimeFilter) Unmarshal

func (m *TimeFilter) Unmarshal(dAtA []byte) error

func (*TimeFilter) XXX_DiscardUnknown

func (m *TimeFilter) XXX_DiscardUnknown()

func (*TimeFilter) XXX_Marshal

func (m *TimeFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TimeFilter) XXX_Merge

func (m *TimeFilter) XXX_Merge(src proto.Message)

func (*TimeFilter) XXX_Size

func (m *TimeFilter) XXX_Size() int

func (*TimeFilter) XXX_Unmarshal

func (m *TimeFilter) XXX_Unmarshal(b []byte) error

type Trigger

type Trigger struct {
	// Template describes the trigger specification.
	Template *TriggerTemplate `json:"template,omitempty" protobuf:"bytes,1,opt,name=template"`
	// Parameters is the list of parameters applied to the trigger template definition
	Parameters []TriggerParameter `json:"parameters,omitempty" protobuf:"bytes,2,rep,name=parameters"`
	// Policy to configure backoff and execution criteria for the trigger
	// +optional
	Policy *TriggerPolicy `json:"policy,omitempty" protobuf:"bytes,3,opt,name=policy"`
	// Retry strategy, defaults to no retry
	// +optional
	RetryStrategy *Backoff `json:"retryStrategy,omitempty" protobuf:"bytes,4,opt,name=retryStrategy"`
	// Rate limit, default unit is Second
	// +optional
	RateLimit *RateLimit `json:"rateLimit,omitempty" protobuf:"bytes,5,opt,name=rateLimit"`
	// AtLeastOnce determines the trigger execution semantics.
	// Defaults to false. Trigger execution will use at-most-once semantics.
	// If set to true, Trigger execution will switch to at-least-once semantics.
	// +kubebuilder:default=false
	// +optional
	AtLeastOnce bool `json:"atLeastOnce,omitempty" protobuf:"varint,6,opt,name=atLeastOnce"`
	// If the trigger fails, it will retry up to the configured number of
	// retries. If the maximum retries are reached and the trigger is set to
	// execute atLeastOnce, the dead letter queue (DLQ) trigger will be invoked if
	// specified.  Invoking the dead letter queue trigger helps prevent data
	// loss.
	// +optional
	DlqTrigger *Trigger `json:"dlqTrigger,omitempty" protobuf:"bytes,7,opt,name=dlqTrigger"`
}

Trigger is an action taken, output produced, an event created, a message sent

func (*Trigger) DeepCopy

func (in *Trigger) DeepCopy() *Trigger

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Trigger.

func (*Trigger) DeepCopyInto

func (in *Trigger) DeepCopyInto(out *Trigger)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Trigger) Descriptor

func (*Trigger) Descriptor() ([]byte, []int)

func (*Trigger) Marshal

func (m *Trigger) Marshal() (dAtA []byte, err error)

func (*Trigger) MarshalTo

func (m *Trigger) MarshalTo(dAtA []byte) (int, error)

func (*Trigger) MarshalToSizedBuffer

func (m *Trigger) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Trigger) ProtoMessage

func (*Trigger) ProtoMessage()

func (*Trigger) Reset

func (m *Trigger) Reset()

func (*Trigger) Size

func (m *Trigger) Size() (n int)

func (*Trigger) String

func (this *Trigger) String() string

func (*Trigger) Unmarshal

func (m *Trigger) Unmarshal(dAtA []byte) error

func (*Trigger) XXX_DiscardUnknown

func (m *Trigger) XXX_DiscardUnknown()

func (*Trigger) XXX_Marshal

func (m *Trigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Trigger) XXX_Merge

func (m *Trigger) XXX_Merge(src proto.Message)

func (*Trigger) XXX_Size

func (m *Trigger) XXX_Size() int

func (*Trigger) XXX_Unmarshal

func (m *Trigger) XXX_Unmarshal(b []byte) error

type TriggerParameter

type TriggerParameter struct {
	// Src contains a source reference to the value of the parameter from a dependency
	Src *TriggerParameterSource `json:"src,omitempty" protobuf:"bytes,1,opt,name=src"`
	// Dest is the JSONPath of a resource key.
	// A path is a series of keys separated by a dot. The colon character can be escaped with '.'
	// The -1 key can be used to append a value to an existing array.
	// See https://github.com/tidwall/sjson#path-syntax for more information about how this is used.
	Dest string `json:"dest" protobuf:"bytes,2,opt,name=dest"`
	// Operation is what to do with the existing value at Dest, whether to
	// 'prepend', 'overwrite', or 'append' it.
	Operation TriggerParameterOperation `json:"operation,omitempty" protobuf:"bytes,3,opt,name=operation,casttype=TriggerParameterOperation"`
}

TriggerParameter indicates a passed parameter to a service template

func (*TriggerParameter) DeepCopy

func (in *TriggerParameter) DeepCopy() *TriggerParameter

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerParameter.

func (*TriggerParameter) DeepCopyInto

func (in *TriggerParameter) DeepCopyInto(out *TriggerParameter)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TriggerParameter) Descriptor

func (*TriggerParameter) Descriptor() ([]byte, []int)

func (*TriggerParameter) Marshal

func (m *TriggerParameter) Marshal() (dAtA []byte, err error)

func (*TriggerParameter) MarshalTo

func (m *TriggerParameter) MarshalTo(dAtA []byte) (int, error)

func (*TriggerParameter) MarshalToSizedBuffer

func (m *TriggerParameter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TriggerParameter) ProtoMessage

func (*TriggerParameter) ProtoMessage()

func (*TriggerParameter) Reset

func (m *TriggerParameter) Reset()

func (*TriggerParameter) Size

func (m *TriggerParameter) Size() (n int)

func (*TriggerParameter) String

func (this *TriggerParameter) String() string

func (*TriggerParameter) Unmarshal

func (m *TriggerParameter) Unmarshal(dAtA []byte) error

func (*TriggerParameter) XXX_DiscardUnknown

func (m *TriggerParameter) XXX_DiscardUnknown()

func (*TriggerParameter) XXX_Marshal

func (m *TriggerParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TriggerParameter) XXX_Merge

func (m *TriggerParameter) XXX_Merge(src proto.Message)

func (*TriggerParameter) XXX_Size

func (m *TriggerParameter) XXX_Size() int

func (*TriggerParameter) XXX_Unmarshal

func (m *TriggerParameter) XXX_Unmarshal(b []byte) error

type TriggerParameterOperation

type TriggerParameterOperation string

TriggerParameterOperation represents how to set a trigger destination resource key

const (
	// TriggerParameterOpNone is the zero value of TriggerParameterOperation
	TriggerParameterOpNone TriggerParameterOperation = ""
	// TriggerParameterOpAppend means append the new value to the existing
	TriggerParameterOpAppend TriggerParameterOperation = "append"
	// TriggerParameterOpOverwrite means overwrite the existing value with the new
	TriggerParameterOpOverwrite TriggerParameterOperation = "overwrite"
	// TriggerParameterOpPrepend means prepend the new value to the existing
	TriggerParameterOpPrepend TriggerParameterOperation = "prepend"
)

type TriggerParameterSource

type TriggerParameterSource struct {
	// DependencyName refers to the name of the dependency. The event which is stored for this dependency is used as payload
	// for the parameterization. Make sure to refer to one of the dependencies you have defined under Dependencies list.
	DependencyName string `json:"dependencyName" protobuf:"bytes,1,opt,name=dependencyName"`
	// ContextKey is the JSONPath of the event's (JSON decoded) context key
	// ContextKey is a series of keys separated by a dot. A key may contain wildcard characters '*' and '?'.
	// To access an array value use the index as the key. The dot and wildcard characters can be escaped with '\\'.
	// See https://github.com/tidwall/gjson#path-syntax for more information on how to use this.
	ContextKey string `json:"contextKey,omitempty" protobuf:"bytes,2,opt,name=contextKey"`
	// ContextTemplate is a go-template for extracting a string from the event's context.
	// If a ContextTemplate is provided with a ContextKey, the template will be evaluated first and fallback to the ContextKey.
	// The templating follows the standard go-template syntax as well as sprig's extra functions.
	// See https://pkg.go.dev/text/template and https://masterminds.github.io/sprig/
	ContextTemplate string `json:"contextTemplate,omitempty" protobuf:"bytes,3,opt,name=contextTemplate"`
	// DataKey is the JSONPath of the event's (JSON decoded) data key
	// DataKey is a series of keys separated by a dot. A key may contain wildcard characters '*' and '?'.
	// To access an array value use the index as the key. The dot and wildcard characters can be escaped with '\\'.
	// See https://github.com/tidwall/gjson#path-syntax for more information on how to use this.
	DataKey string `json:"dataKey,omitempty" protobuf:"bytes,4,opt,name=dataKey"`
	// DataTemplate is a go-template for extracting a string from the event's data.
	// If a DataTemplate is provided with a DataKey, the template will be evaluated first and fallback to the DataKey.
	// The templating follows the standard go-template syntax as well as sprig's extra functions.
	// See https://pkg.go.dev/text/template and https://masterminds.github.io/sprig/
	DataTemplate string `json:"dataTemplate,omitempty" protobuf:"bytes,5,opt,name=dataTemplate"`
	// Value is the default literal value to use for this parameter source
	// This is only used if the DataKey is invalid.
	// If the DataKey is invalid and this is not defined, this param source will produce an error.
	Value *string `json:"value,omitempty" protobuf:"bytes,6,opt,name=value"`
	// UseRawData indicates if the value in an event at data key should be used without converting to string.
	// When true, a number, boolean, json or string parameter may be extracted. When the field is unspecified, or explicitly
	// false, the behavior is to turn the extracted field into a string. (e.g. when set to true, the parameter
	// 123 will resolve to the numerical type, but when false, or not provided, the string "123" will be resolved)
	// +optional
	UseRawData bool `json:"useRawData,omitempty" protobuf:"bytes,7,opt,name=useRawData"`
}

TriggerParameterSource defines the source for a parameter from a event event

func (*TriggerParameterSource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerParameterSource.

func (*TriggerParameterSource) DeepCopyInto

func (in *TriggerParameterSource) DeepCopyInto(out *TriggerParameterSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TriggerParameterSource) Descriptor

func (*TriggerParameterSource) Descriptor() ([]byte, []int)

func (*TriggerParameterSource) Marshal

func (m *TriggerParameterSource) Marshal() (dAtA []byte, err error)

func (*TriggerParameterSource) MarshalTo

func (m *TriggerParameterSource) MarshalTo(dAtA []byte) (int, error)

func (*TriggerParameterSource) MarshalToSizedBuffer

func (m *TriggerParameterSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TriggerParameterSource) ProtoMessage

func (*TriggerParameterSource) ProtoMessage()

func (*TriggerParameterSource) Reset

func (m *TriggerParameterSource) Reset()

func (*TriggerParameterSource) Size

func (m *TriggerParameterSource) Size() (n int)

func (*TriggerParameterSource) String

func (this *TriggerParameterSource) String() string

func (*TriggerParameterSource) Unmarshal

func (m *TriggerParameterSource) Unmarshal(dAtA []byte) error

func (*TriggerParameterSource) XXX_DiscardUnknown

func (m *TriggerParameterSource) XXX_DiscardUnknown()

func (*TriggerParameterSource) XXX_Marshal

func (m *TriggerParameterSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TriggerParameterSource) XXX_Merge

func (m *TriggerParameterSource) XXX_Merge(src proto.Message)

func (*TriggerParameterSource) XXX_Size

func (m *TriggerParameterSource) XXX_Size() int

func (*TriggerParameterSource) XXX_Unmarshal

func (m *TriggerParameterSource) XXX_Unmarshal(b []byte) error

type TriggerPolicy

type TriggerPolicy struct {
	// K8SResourcePolicy refers to the policy used to check the state of K8s based triggers using using labels
	K8s *K8SResourcePolicy `json:"k8s,omitempty" protobuf:"bytes,1,opt,name=k8s"`
	// Status refers to the policy used to check the state of the trigger using response status
	Status *StatusPolicy `json:"status,omitempty" protobuf:"bytes,2,opt,name=status"`
}

TriggerPolicy dictates the policy for the trigger retries

func (*TriggerPolicy) DeepCopy

func (in *TriggerPolicy) DeepCopy() *TriggerPolicy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerPolicy.

func (*TriggerPolicy) DeepCopyInto

func (in *TriggerPolicy) DeepCopyInto(out *TriggerPolicy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TriggerPolicy) Descriptor

func (*TriggerPolicy) Descriptor() ([]byte, []int)

func (*TriggerPolicy) Marshal

func (m *TriggerPolicy) Marshal() (dAtA []byte, err error)

func (*TriggerPolicy) MarshalTo

func (m *TriggerPolicy) MarshalTo(dAtA []byte) (int, error)

func (*TriggerPolicy) MarshalToSizedBuffer

func (m *TriggerPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TriggerPolicy) ProtoMessage

func (*TriggerPolicy) ProtoMessage()

func (*TriggerPolicy) Reset

func (m *TriggerPolicy) Reset()

func (*TriggerPolicy) Size

func (m *TriggerPolicy) Size() (n int)

func (*TriggerPolicy) String

func (this *TriggerPolicy) String() string

func (*TriggerPolicy) Unmarshal

func (m *TriggerPolicy) Unmarshal(dAtA []byte) error

func (*TriggerPolicy) XXX_DiscardUnknown

func (m *TriggerPolicy) XXX_DiscardUnknown()

func (*TriggerPolicy) XXX_Marshal

func (m *TriggerPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TriggerPolicy) XXX_Merge

func (m *TriggerPolicy) XXX_Merge(src proto.Message)

func (*TriggerPolicy) XXX_Size

func (m *TriggerPolicy) XXX_Size() int

func (*TriggerPolicy) XXX_Unmarshal

func (m *TriggerPolicy) XXX_Unmarshal(b []byte) error

type TriggerTemplate

type TriggerTemplate struct {
	// Name is a unique name of the action to take.
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// Conditions is the conditions to execute the trigger.
	// For example: "(dep01 || dep02) && dep04"
	// +optional
	Conditions string `json:"conditions,omitempty" protobuf:"bytes,2,opt,name=conditions"`
	// StandardK8STrigger refers to the trigger designed to create or update a generic Kubernetes resource.
	// +optional
	K8s *StandardK8STrigger `json:"k8s,omitempty" protobuf:"bytes,3,opt,name=k8s"`
	// ArgoWorkflow refers to the trigger that can perform various operations on an Argo workflow.
	// +optional
	ArgoWorkflow *ArgoWorkflowTrigger `json:"argoWorkflow,omitempty" protobuf:"bytes,4,opt,name=argoWorkflow"`
	// HTTP refers to the trigger designed to dispatch a HTTP request with on-the-fly constructable payload.
	// +optional
	HTTP *HTTPTrigger `json:"http,omitempty" protobuf:"bytes,5,opt,name=http"`
	// AWSLambda refers to the trigger designed to invoke AWS Lambda function with with on-the-fly constructable payload.
	// +optional
	AWSLambda *AWSLambdaTrigger `json:"awsLambda,omitempty" protobuf:"bytes,6,opt,name=awsLambda"`
	// CustomTrigger refers to the trigger designed to connect to a gRPC trigger server and execute a custom trigger.
	// +optional
	CustomTrigger *CustomTrigger `json:"custom,omitempty" protobuf:"bytes,7,opt,name=custom"`
	// Kafka refers to the trigger designed to place messages on Kafka topic.
	// +optional.
	Kafka *KafkaTrigger `json:"kafka,omitempty" protobuf:"bytes,8,opt,name=kafka"`
	// NATS refers to the trigger designed to place message on NATS subject.
	// +optional.
	NATS *NATSTrigger `json:"nats,omitempty" protobuf:"bytes,9,opt,name=nats"`
	// Slack refers to the trigger designed to send slack notification message.
	// +optional
	Slack *SlackTrigger `json:"slack,omitempty" protobuf:"bytes,10,opt,name=slack"`
	// OpenWhisk refers to the trigger designed to invoke OpenWhisk action.
	// +optional
	OpenWhisk *OpenWhiskTrigger `json:"openWhisk,omitempty" protobuf:"bytes,11,opt,name=openWhisk"`
	// Log refers to the trigger designed to invoke log the event.
	// +optional
	Log *LogTrigger `json:"log,omitempty" protobuf:"bytes,12,opt,name=log"`
	// AzureEventHubs refers to the trigger send an event to an Azure Event Hub.
	// +optional
	AzureEventHubs *AzureEventHubsTrigger `json:"azureEventHubs,omitempty" protobuf:"bytes,13,opt,name=azureEventHubs"`
	// Pulsar refers to the trigger designed to place messages on Pulsar topic.
	// +optional
	Pulsar *PulsarTrigger `json:"pulsar,omitempty" protobuf:"bytes,14,opt,name=pulsar"`
	// Criteria to reset the conditons
	// +optional
	ConditionsReset []ConditionsResetCriteria `json:"conditionsReset,omitempty" protobuf:"bytes,15,rep,name=conditionsReset"`
	// AzureServiceBus refers to the trigger designed to place messages on Azure Service Bus
	// +optional
	AzureServiceBus *AzureServiceBusTrigger `json:"azureServiceBus,omitempty" protobuf:"bytes,16,opt,name=azureServiceBus"`
	// Email refers to the trigger designed to send an email notification
	// +optional
	Email *EmailTrigger `json:"email,omitempty" protobuf:"bytes,17,opt,name=email"`
}

TriggerTemplate is the template that describes trigger specification.

func (*TriggerTemplate) DeepCopy

func (in *TriggerTemplate) DeepCopy() *TriggerTemplate

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerTemplate.

func (*TriggerTemplate) DeepCopyInto

func (in *TriggerTemplate) DeepCopyInto(out *TriggerTemplate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TriggerTemplate) Descriptor

func (*TriggerTemplate) Descriptor() ([]byte, []int)

func (*TriggerTemplate) Marshal

func (m *TriggerTemplate) Marshal() (dAtA []byte, err error)

func (*TriggerTemplate) MarshalTo

func (m *TriggerTemplate) MarshalTo(dAtA []byte) (int, error)

func (*TriggerTemplate) MarshalToSizedBuffer

func (m *TriggerTemplate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TriggerTemplate) ProtoMessage

func (*TriggerTemplate) ProtoMessage()

func (*TriggerTemplate) Reset

func (m *TriggerTemplate) Reset()

func (*TriggerTemplate) Size

func (m *TriggerTemplate) Size() (n int)

func (*TriggerTemplate) String

func (this *TriggerTemplate) String() string

func (*TriggerTemplate) Unmarshal

func (m *TriggerTemplate) Unmarshal(dAtA []byte) error

func (*TriggerTemplate) XXX_DiscardUnknown

func (m *TriggerTemplate) XXX_DiscardUnknown()

func (*TriggerTemplate) XXX_Marshal

func (m *TriggerTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TriggerTemplate) XXX_Merge

func (m *TriggerTemplate) XXX_Merge(src proto.Message)

func (*TriggerTemplate) XXX_Size

func (m *TriggerTemplate) XXX_Size() int

func (*TriggerTemplate) XXX_Unmarshal

func (m *TriggerTemplate) XXX_Unmarshal(b []byte) error

type TriggerType

type TriggerType string

TriggerType is the type of trigger

var (
	TriggerTypeOpenWhisk       TriggerType = "OpenWhisk"
	TriggerTypeArgoWorkflow    TriggerType = "ArgoWorkflow"
	TriggerTypeLambda          TriggerType = "Lambda"
	TriggerTypeCustom          TriggerType = "Custom"
	TriggerTypeHTTP            TriggerType = "HTTP"
	TriggerTypeKafka           TriggerType = "Kafka"
	TriggerTypePulsar          TriggerType = "Pulsar"
	TriggerTypeLog             TriggerType = "Log"
	TriggerTypeNATS            TriggerType = "NATS"
	TriggerTypeSlack           TriggerType = "Slack"
	TriggerTypeK8s             TriggerType = "Kubernetes"
	TriggerTypeAzureEventHubs  TriggerType = "AzureEventHubs"
	TriggerTypeAzureServiceBus TriggerType = "AzureServiceBus"
	TriggerTypeEmail           TriggerType = "Email"
)

possible trigger types

type Type

type Type int64

Type represents the stored type of Int64OrString.

const (
	Int64  Type = iota // The Int64OrString holds an int64.
	String             // The Int64OrString holds a string.
)

type URLArtifact

type URLArtifact struct {
	// Path is the complete URL
	Path string `json:"path" protobuf:"bytes,1,opt,name=path"`
	// VerifyCert decides whether the connection is secure or not
	VerifyCert bool `json:"verifyCert,omitempty" protobuf:"varint,2,opt,name=verifyCert"`
}

URLArtifact contains information about an artifact at an http endpoint.

func (*URLArtifact) DeepCopy

func (in *URLArtifact) DeepCopy() *URLArtifact

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URLArtifact.

func (*URLArtifact) DeepCopyInto

func (in *URLArtifact) DeepCopyInto(out *URLArtifact)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*URLArtifact) Descriptor

func (*URLArtifact) Descriptor() ([]byte, []int)

func (*URLArtifact) Marshal

func (m *URLArtifact) Marshal() (dAtA []byte, err error)

func (*URLArtifact) MarshalTo

func (m *URLArtifact) MarshalTo(dAtA []byte) (int, error)

func (*URLArtifact) MarshalToSizedBuffer

func (m *URLArtifact) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*URLArtifact) ProtoMessage

func (*URLArtifact) ProtoMessage()

func (*URLArtifact) Reset

func (m *URLArtifact) Reset()

func (*URLArtifact) Size

func (m *URLArtifact) Size() (n int)

func (*URLArtifact) String

func (this *URLArtifact) String() string

func (*URLArtifact) Unmarshal

func (m *URLArtifact) Unmarshal(dAtA []byte) error

func (*URLArtifact) XXX_DiscardUnknown

func (m *URLArtifact) XXX_DiscardUnknown()

func (*URLArtifact) XXX_Marshal

func (m *URLArtifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*URLArtifact) XXX_Merge

func (m *URLArtifact) XXX_Merge(src proto.Message)

func (*URLArtifact) XXX_Size

func (m *URLArtifact) XXX_Size() int

func (*URLArtifact) XXX_Unmarshal

func (m *URLArtifact) XXX_Unmarshal(b []byte) error

type ValueFromSource

type ValueFromSource struct {
	SecretKeyRef    *corev1.SecretKeySelector    `json:"secretKeyRef,omitempty" protobuf:"bytes,1,opt,name=secretKeyRef"`
	ConfigMapKeyRef *corev1.ConfigMapKeySelector `json:"configMapKeyRef,omitempty" protobuf:"bytes,2,opt,name=configMapKeyRef"`
}

ValueFromSource allows you to reference keys from either a Configmap or Secret

func (*ValueFromSource) DeepCopy

func (in *ValueFromSource) DeepCopy() *ValueFromSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValueFromSource.

func (*ValueFromSource) DeepCopyInto

func (in *ValueFromSource) DeepCopyInto(out *ValueFromSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ValueFromSource) Descriptor

func (*ValueFromSource) Descriptor() ([]byte, []int)

func (*ValueFromSource) Marshal

func (m *ValueFromSource) Marshal() (dAtA []byte, err error)

func (*ValueFromSource) MarshalTo

func (m *ValueFromSource) MarshalTo(dAtA []byte) (int, error)

func (*ValueFromSource) MarshalToSizedBuffer

func (m *ValueFromSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ValueFromSource) ProtoMessage

func (*ValueFromSource) ProtoMessage()

func (*ValueFromSource) Reset

func (m *ValueFromSource) Reset()

func (*ValueFromSource) Size

func (m *ValueFromSource) Size() (n int)

func (*ValueFromSource) String

func (this *ValueFromSource) String() string

func (*ValueFromSource) Unmarshal

func (m *ValueFromSource) Unmarshal(dAtA []byte) error

func (*ValueFromSource) XXX_DiscardUnknown

func (m *ValueFromSource) XXX_DiscardUnknown()

func (*ValueFromSource) XXX_Marshal

func (m *ValueFromSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValueFromSource) XXX_Merge

func (m *ValueFromSource) XXX_Merge(src proto.Message)

func (*ValueFromSource) XXX_Size

func (m *ValueFromSource) XXX_Size() int

func (*ValueFromSource) XXX_Unmarshal

func (m *ValueFromSource) XXX_Unmarshal(b []byte) error

type WatchPathConfig

type WatchPathConfig struct {
	// Directory to watch for events
	Directory string `json:"directory" protobuf:"bytes,1,opt,name=directory"`
	// Path is relative path of object to watch with respect to the directory
	Path string `json:"path,omitempty" protobuf:"bytes,2,opt,name=path"`
	// PathRegexp is regexp of relative path of object to watch with respect to the directory
	PathRegexp string `json:"pathRegexp,omitempty" protobuf:"bytes,3,opt,name=pathRegexp"`
}

func (*WatchPathConfig) DeepCopy

func (in *WatchPathConfig) DeepCopy() *WatchPathConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WatchPathConfig.

func (*WatchPathConfig) DeepCopyInto

func (in *WatchPathConfig) DeepCopyInto(out *WatchPathConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WatchPathConfig) Descriptor

func (*WatchPathConfig) Descriptor() ([]byte, []int)

func (*WatchPathConfig) Marshal

func (m *WatchPathConfig) Marshal() (dAtA []byte, err error)

func (*WatchPathConfig) MarshalTo

func (m *WatchPathConfig) MarshalTo(dAtA []byte) (int, error)

func (*WatchPathConfig) MarshalToSizedBuffer

func (m *WatchPathConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WatchPathConfig) ProtoMessage

func (*WatchPathConfig) ProtoMessage()

func (*WatchPathConfig) Reset

func (m *WatchPathConfig) Reset()

func (*WatchPathConfig) Size

func (m *WatchPathConfig) Size() (n int)

func (*WatchPathConfig) String

func (this *WatchPathConfig) String() string

func (*WatchPathConfig) Unmarshal

func (m *WatchPathConfig) Unmarshal(dAtA []byte) error

func (*WatchPathConfig) Validate

func (c *WatchPathConfig) Validate() error

Validate validates WatchPathConfig

func (*WatchPathConfig) XXX_DiscardUnknown

func (m *WatchPathConfig) XXX_DiscardUnknown()

func (*WatchPathConfig) XXX_Marshal

func (m *WatchPathConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WatchPathConfig) XXX_Merge

func (m *WatchPathConfig) XXX_Merge(src proto.Message)

func (*WatchPathConfig) XXX_Size

func (m *WatchPathConfig) XXX_Size() int

func (*WatchPathConfig) XXX_Unmarshal

func (m *WatchPathConfig) XXX_Unmarshal(b []byte) error

type WebhookContext

type WebhookContext struct {
	// REST API endpoint
	Endpoint string `json:"endpoint" protobuf:"bytes,1,opt,name=endpoint"`
	// Method is HTTP request method that indicates the desired action to be performed for a given resource.
	// See RFC7231 Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
	Method string `json:"method" protobuf:"bytes,2,opt,name=method"`
	// Port on which HTTP server is listening for incoming events.
	Port string `json:"port" protobuf:"bytes,3,opt,name=port"`
	// URL is the url of the server.
	URL string `json:"url" protobuf:"bytes,4,opt,name=url"`
	// ServerCertPath refers the file that contains the cert.
	ServerCertSecret *corev1.SecretKeySelector `json:"serverCertSecret,omitempty" protobuf:"bytes,5,opt,name=serverCertSecret"`
	// ServerKeyPath refers the file that contains private key
	ServerKeySecret *corev1.SecretKeySelector `json:"serverKeySecret,omitempty" protobuf:"bytes,6,opt,name=serverKeySecret"`
	// Metadata holds the user defined metadata which will passed along the event payload.
	// +optional
	Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,7,rep,name=metadata"`
	// AuthSecret holds a secret selector that contains a bearer token for authentication
	// +optional
	AuthSecret *corev1.SecretKeySelector `json:"authSecret,omitempty" protobuf:"bytes,8,opt,name=authSecret"`
	// MaxPayloadSize is the maximum webhook payload size that the server will accept.
	// Requests exceeding that limit will be rejected with "request too large" response.
	// Default value: 1048576 (1MB).
	// +optional
	MaxPayloadSize *int64 `json:"maxPayloadSize,omitempty" protobuf:"bytes,9,opt,name=maxPayloadSize"`
}

WebhookContext holds a general purpose REST API context

func (*WebhookContext) DeepCopy

func (in *WebhookContext) DeepCopy() *WebhookContext

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookContext.

func (*WebhookContext) DeepCopyInto

func (in *WebhookContext) DeepCopyInto(out *WebhookContext)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WebhookContext) Descriptor

func (*WebhookContext) Descriptor() ([]byte, []int)

func (*WebhookContext) GetMaxPayloadSize

func (wc *WebhookContext) GetMaxPayloadSize() int64

func (*WebhookContext) Marshal

func (m *WebhookContext) Marshal() (dAtA []byte, err error)

func (*WebhookContext) MarshalTo

func (m *WebhookContext) MarshalTo(dAtA []byte) (int, error)

func (*WebhookContext) MarshalToSizedBuffer

func (m *WebhookContext) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WebhookContext) ProtoMessage

func (*WebhookContext) ProtoMessage()

func (*WebhookContext) Reset

func (m *WebhookContext) Reset()

func (*WebhookContext) Size

func (m *WebhookContext) Size() (n int)

func (*WebhookContext) String

func (this *WebhookContext) String() string

func (*WebhookContext) Unmarshal

func (m *WebhookContext) Unmarshal(dAtA []byte) error

func (*WebhookContext) XXX_DiscardUnknown

func (m *WebhookContext) XXX_DiscardUnknown()

func (*WebhookContext) XXX_Marshal

func (m *WebhookContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WebhookContext) XXX_Merge

func (m *WebhookContext) XXX_Merge(src proto.Message)

func (*WebhookContext) XXX_Size

func (m *WebhookContext) XXX_Size() int

func (*WebhookContext) XXX_Unmarshal

func (m *WebhookContext) XXX_Unmarshal(b []byte) error

type WebhookEventSource

type WebhookEventSource struct {
	WebhookContext `json:",inline" protobuf:"bytes,1,opt,name=webhookContext"`
	// Filter
	// +optional
	Filter *EventSourceFilter `json:"filter,omitempty" protobuf:"bytes,2,opt,name=filter"`
}

CalendarEventSource describes an HTTP based EventSource

func (*WebhookEventSource) DeepCopy

func (in *WebhookEventSource) DeepCopy() *WebhookEventSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookEventSource.

func (*WebhookEventSource) DeepCopyInto

func (in *WebhookEventSource) DeepCopyInto(out *WebhookEventSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WebhookEventSource) Descriptor

func (*WebhookEventSource) Descriptor() ([]byte, []int)

func (*WebhookEventSource) Marshal

func (m *WebhookEventSource) Marshal() (dAtA []byte, err error)

func (*WebhookEventSource) MarshalTo

func (m *WebhookEventSource) MarshalTo(dAtA []byte) (int, error)

func (*WebhookEventSource) MarshalToSizedBuffer

func (m *WebhookEventSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WebhookEventSource) ProtoMessage

func (*WebhookEventSource) ProtoMessage()

func (*WebhookEventSource) Reset

func (m *WebhookEventSource) Reset()

func (*WebhookEventSource) Size

func (m *WebhookEventSource) Size() (n int)

func (*WebhookEventSource) String

func (this *WebhookEventSource) String() string

func (*WebhookEventSource) Unmarshal

func (m *WebhookEventSource) Unmarshal(dAtA []byte) error

func (*WebhookEventSource) XXX_DiscardUnknown

func (m *WebhookEventSource) XXX_DiscardUnknown()

func (*WebhookEventSource) XXX_Marshal

func (m *WebhookEventSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WebhookEventSource) XXX_Merge

func (m *WebhookEventSource) XXX_Merge(src proto.Message)

func (*WebhookEventSource) XXX_Size

func (m *WebhookEventSource) XXX_Size() int

func (*WebhookEventSource) XXX_Unmarshal

func (m *WebhookEventSource) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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