v1alpha1

package
Version: v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: Apache-2.0 Imports: 20 Imported by: 10

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API. +groupName=argoproj.io +k8s:deepcopy-gen=package,register +k8s:openapi-gen=true

Package v1alpha1 contains API Schema definitions for the sources v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:defaulter-gen=TypeMeta +groupName=argoproj.io

Index

Constants

View Source
const (
	// EventSourceConditionSourcesProvided has the status True when the EventSource
	// has its event source provided.
	EventSourceConditionSourcesProvided apicommon.ConditionType = "SourcesProvided"
	// EventSourceConditionDeployed has the status True when the EventSource
	// has its Deployment created.
	EventSourceConditionDeployed apicommon.ConditionType = "Deployed"
)

Variables

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 a group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: eventsource.Group, Version: "v1alpha1"}

	// SchemaGroupVersionKind is a group version kind used to attach owner references to eventsource-controller
	SchemaGroupVersionKind = SchemeGroupVersion.WithKind(eventsource.Kind)

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

	// AddToScheme is required by pkg/client/...
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes unqualified resource and returns Group qualified GroupResource

func ValidateEventSource

func ValidateEventSource(eventSource *EventSource) error

ValidateEventSource validates a generic event source

Types

type AMQPConsumeConfig added in v1.3.0

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 added in v1.3.0

func (in *AMQPConsumeConfig) DeepCopy() *AMQPConsumeConfig

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

func (*AMQPConsumeConfig) DeepCopyInto added in v1.3.0

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 added in v1.3.0

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

func (*AMQPConsumeConfig) Marshal added in v1.3.0

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

func (*AMQPConsumeConfig) MarshalTo added in v1.3.0

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

func (*AMQPConsumeConfig) MarshalToSizedBuffer added in v1.3.0

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

func (*AMQPConsumeConfig) ProtoMessage added in v1.3.0

func (*AMQPConsumeConfig) ProtoMessage()

func (*AMQPConsumeConfig) Reset added in v1.3.0

func (m *AMQPConsumeConfig) Reset()

func (*AMQPConsumeConfig) Size added in v1.3.0

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

func (*AMQPConsumeConfig) String added in v1.3.0

func (this *AMQPConsumeConfig) String() string

func (*AMQPConsumeConfig) Unmarshal added in v1.3.0

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

func (*AMQPConsumeConfig) XXX_DiscardUnknown added in v1.3.0

func (m *AMQPConsumeConfig) XXX_DiscardUnknown()

func (*AMQPConsumeConfig) XXX_Marshal added in v1.3.0

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

func (*AMQPConsumeConfig) XXX_Merge added in v1.3.0

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

func (*AMQPConsumeConfig) XXX_Size added in v1.3.0

func (m *AMQPConsumeConfig) XXX_Size() int

func (*AMQPConsumeConfig) XXX_Unmarshal added in v1.3.0

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 *apicommon.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 *apicommon.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 *apicommon.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 added in v0.17.0

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

func (*AMQPEventSource) Marshal added in v0.17.0

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

func (*AMQPEventSource) MarshalTo added in v0.17.0

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

func (*AMQPEventSource) MarshalToSizedBuffer added in v0.17.0

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

func (*AMQPEventSource) ProtoMessage added in v0.17.0

func (*AMQPEventSource) ProtoMessage()

func (*AMQPEventSource) Reset added in v0.17.0

func (m *AMQPEventSource) Reset()

func (*AMQPEventSource) Size added in v0.17.0

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

func (*AMQPEventSource) String added in v0.17.0

func (this *AMQPEventSource) String() string

func (*AMQPEventSource) Unmarshal added in v0.17.0

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

func (*AMQPEventSource) XXX_DiscardUnknown added in v0.17.0

func (m *AMQPEventSource) XXX_DiscardUnknown()

func (*AMQPEventSource) XXX_Marshal added in v0.17.0

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

func (*AMQPEventSource) XXX_Merge added in v0.17.0

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

func (*AMQPEventSource) XXX_Size added in v0.17.0

func (m *AMQPEventSource) XXX_Size() int

func (*AMQPEventSource) XXX_Unmarshal added in v0.17.0

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

type AMQPExchangeDeclareConfig added in v1.3.0

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 added in v1.3.0

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

func (*AMQPExchangeDeclareConfig) DeepCopyInto added in v1.3.0

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

func (*AMQPExchangeDeclareConfig) Descriptor added in v1.3.0

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

func (*AMQPExchangeDeclareConfig) Marshal added in v1.3.0

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

func (*AMQPExchangeDeclareConfig) MarshalTo added in v1.3.0

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

func (*AMQPExchangeDeclareConfig) MarshalToSizedBuffer added in v1.3.0

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

func (*AMQPExchangeDeclareConfig) ProtoMessage added in v1.3.0

func (*AMQPExchangeDeclareConfig) ProtoMessage()

func (*AMQPExchangeDeclareConfig) Reset added in v1.3.0

func (m *AMQPExchangeDeclareConfig) Reset()

func (*AMQPExchangeDeclareConfig) Size added in v1.3.0

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

func (*AMQPExchangeDeclareConfig) String added in v1.3.0

func (this *AMQPExchangeDeclareConfig) String() string

func (*AMQPExchangeDeclareConfig) Unmarshal added in v1.3.0

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

func (*AMQPExchangeDeclareConfig) XXX_DiscardUnknown added in v1.3.0

func (m *AMQPExchangeDeclareConfig) XXX_DiscardUnknown()

func (*AMQPExchangeDeclareConfig) XXX_Marshal added in v1.3.0

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

func (*AMQPExchangeDeclareConfig) XXX_Merge added in v1.3.0

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

func (*AMQPExchangeDeclareConfig) XXX_Size added in v1.3.0

func (m *AMQPExchangeDeclareConfig) XXX_Size() int

func (*AMQPExchangeDeclareConfig) XXX_Unmarshal added in v1.3.0

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

type AMQPQueueBindConfig added in v1.3.0

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 added in v1.3.0

func (in *AMQPQueueBindConfig) DeepCopy() *AMQPQueueBindConfig

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

func (*AMQPQueueBindConfig) DeepCopyInto added in v1.3.0

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 added in v1.3.0

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

func (*AMQPQueueBindConfig) Marshal added in v1.3.0

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

func (*AMQPQueueBindConfig) MarshalTo added in v1.3.0

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

func (*AMQPQueueBindConfig) MarshalToSizedBuffer added in v1.3.0

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

func (*AMQPQueueBindConfig) ProtoMessage added in v1.3.0

func (*AMQPQueueBindConfig) ProtoMessage()

func (*AMQPQueueBindConfig) Reset added in v1.3.0

func (m *AMQPQueueBindConfig) Reset()

func (*AMQPQueueBindConfig) Size added in v1.3.0

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

func (*AMQPQueueBindConfig) String added in v1.3.0

func (this *AMQPQueueBindConfig) String() string

func (*AMQPQueueBindConfig) Unmarshal added in v1.3.0

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

func (*AMQPQueueBindConfig) XXX_DiscardUnknown added in v1.3.0

func (m *AMQPQueueBindConfig) XXX_DiscardUnknown()

func (*AMQPQueueBindConfig) XXX_Marshal added in v1.3.0

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

func (*AMQPQueueBindConfig) XXX_Merge added in v1.3.0

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

func (*AMQPQueueBindConfig) XXX_Size added in v1.3.0

func (m *AMQPQueueBindConfig) XXX_Size() int

func (*AMQPQueueBindConfig) XXX_Unmarshal added in v1.3.0

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

type AMQPQueueDeclareConfig added in v1.3.0

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 added in v1.3.0

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

func (*AMQPQueueDeclareConfig) DeepCopyInto added in v1.3.0

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 added in v1.3.0

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

func (*AMQPQueueDeclareConfig) Marshal added in v1.3.0

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

func (*AMQPQueueDeclareConfig) MarshalTo added in v1.3.0

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

func (*AMQPQueueDeclareConfig) MarshalToSizedBuffer added in v1.3.0

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

func (*AMQPQueueDeclareConfig) ProtoMessage added in v1.3.0

func (*AMQPQueueDeclareConfig) ProtoMessage()

func (*AMQPQueueDeclareConfig) Reset added in v1.3.0

func (m *AMQPQueueDeclareConfig) Reset()

func (*AMQPQueueDeclareConfig) Size added in v1.3.0

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

func (*AMQPQueueDeclareConfig) String added in v1.3.0

func (this *AMQPQueueDeclareConfig) String() string

func (*AMQPQueueDeclareConfig) Unmarshal added in v1.3.0

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

func (*AMQPQueueDeclareConfig) XXX_DiscardUnknown added in v1.3.0

func (m *AMQPQueueDeclareConfig) XXX_DiscardUnknown()

func (*AMQPQueueDeclareConfig) XXX_Marshal added in v1.3.0

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

func (*AMQPQueueDeclareConfig) XXX_Merge added in v1.3.0

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

func (*AMQPQueueDeclareConfig) XXX_Size added in v1.3.0

func (m *AMQPQueueDeclareConfig) XXX_Size() int

func (*AMQPQueueDeclareConfig) XXX_Unmarshal added in v1.3.0

func (m *AMQPQueueDeclareConfig) 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 added in v0.17.0

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

func (*AzureEventsHubEventSource) Marshal added in v0.17.0

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

func (*AzureEventsHubEventSource) MarshalTo added in v0.17.0

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

func (*AzureEventsHubEventSource) MarshalToSizedBuffer added in v0.17.0

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

func (*AzureEventsHubEventSource) ProtoMessage added in v0.17.0

func (*AzureEventsHubEventSource) ProtoMessage()

func (*AzureEventsHubEventSource) Reset added in v0.17.0

func (m *AzureEventsHubEventSource) Reset()

func (*AzureEventsHubEventSource) Size added in v0.17.0

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

func (*AzureEventsHubEventSource) String added in v0.17.0

func (this *AzureEventsHubEventSource) String() string

func (*AzureEventsHubEventSource) Unmarshal added in v0.17.0

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

func (*AzureEventsHubEventSource) XXX_DiscardUnknown added in v0.17.0

func (m *AzureEventsHubEventSource) XXX_DiscardUnknown()

func (*AzureEventsHubEventSource) XXX_Marshal added in v0.17.0

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

func (*AzureEventsHubEventSource) XXX_Merge added in v0.17.0

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

func (*AzureEventsHubEventSource) XXX_Size added in v0.17.0

func (m *AzureEventsHubEventSource) XXX_Size() int

func (*AzureEventsHubEventSource) XXX_Unmarshal added in v0.17.0

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

type BitbucketAuth added in v1.6.0

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 added in v1.6.0

func (in *BitbucketAuth) DeepCopy() *BitbucketAuth

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

func (*BitbucketAuth) DeepCopyInto added in v1.6.0

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 added in v1.6.0

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

func (*BitbucketAuth) Marshal added in v1.6.0

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

func (*BitbucketAuth) MarshalTo added in v1.6.0

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

func (*BitbucketAuth) MarshalToSizedBuffer added in v1.6.0

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

func (*BitbucketAuth) ProtoMessage added in v1.6.0

func (*BitbucketAuth) ProtoMessage()

func (*BitbucketAuth) Reset added in v1.6.0

func (m *BitbucketAuth) Reset()

func (*BitbucketAuth) Size added in v1.6.0

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

func (*BitbucketAuth) String added in v1.6.0

func (this *BitbucketAuth) String() string

func (*BitbucketAuth) Unmarshal added in v1.6.0

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

func (*BitbucketAuth) XXX_DiscardUnknown added in v1.6.0

func (m *BitbucketAuth) XXX_DiscardUnknown()

func (*BitbucketAuth) XXX_Marshal added in v1.6.0

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

func (*BitbucketAuth) XXX_Merge added in v1.6.0

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

func (*BitbucketAuth) XXX_Size added in v1.6.0

func (m *BitbucketAuth) XXX_Size() int

func (*BitbucketAuth) XXX_Unmarshal added in v1.6.0

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

type BitbucketBasicAuth added in v1.6.0

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"`
}

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

func (*BitbucketBasicAuth) DeepCopy added in v1.6.0

func (in *BitbucketBasicAuth) DeepCopy() *BitbucketBasicAuth

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

func (*BitbucketBasicAuth) DeepCopyInto added in v1.6.0

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 added in v1.6.0

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

func (*BitbucketBasicAuth) Marshal added in v1.6.0

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

func (*BitbucketBasicAuth) MarshalTo added in v1.6.0

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

func (*BitbucketBasicAuth) MarshalToSizedBuffer added in v1.6.0

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

func (*BitbucketBasicAuth) ProtoMessage added in v1.6.0

func (*BitbucketBasicAuth) ProtoMessage()

func (*BitbucketBasicAuth) Reset added in v1.6.0

func (m *BitbucketBasicAuth) Reset()

func (*BitbucketBasicAuth) Size added in v1.6.0

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

func (*BitbucketBasicAuth) String added in v1.6.0

func (this *BitbucketBasicAuth) String() string

func (*BitbucketBasicAuth) Unmarshal added in v1.6.0

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

func (*BitbucketBasicAuth) XXX_DiscardUnknown added in v1.6.0

func (m *BitbucketBasicAuth) XXX_DiscardUnknown()

func (*BitbucketBasicAuth) XXX_Marshal added in v1.6.0

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

func (*BitbucketBasicAuth) XXX_Merge added in v1.6.0

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

func (*BitbucketBasicAuth) XXX_Size added in v1.6.0

func (m *BitbucketBasicAuth) XXX_Size() int

func (*BitbucketBasicAuth) XXX_Unmarshal added in v1.6.0

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

type BitbucketEventSource added in v1.6.0

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"`
	// Owner of the repository.
	Owner string `json:"owner" protobuf:"bytes,6,name=owner"`
	// ProjectKey is the key of the project for which integration needs to setup
	ProjectKey string `json:"projectKey" protobuf:"bytes,7,opt,name=projectKey"`
	// 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,8,name=repositorySlug"`
	// Filter
	// +optional
	Filter *EventSourceFilter `json:"filter,omitempty" protobuf:"bytes,9,opt,name=filter"`
}

BitbucketEventSource describes the event source for Bitbucket

func (*BitbucketEventSource) DeepCopy added in v1.6.0

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

func (*BitbucketEventSource) DeepCopyInto added in v1.6.0

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 added in v1.6.0

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

func (BitbucketEventSource) HasBitbucketBasicAuth added in v1.6.0

func (b BitbucketEventSource) HasBitbucketBasicAuth() bool

func (BitbucketEventSource) HasBitbucketOAuthToken added in v1.6.0

func (b BitbucketEventSource) HasBitbucketOAuthToken() bool

func (BitbucketEventSource) HasConfiguredWebhook added in v1.6.0

func (b BitbucketEventSource) HasConfiguredWebhook() bool

func (*BitbucketEventSource) Marshal added in v1.6.0

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

func (*BitbucketEventSource) MarshalTo added in v1.6.0

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

func (*BitbucketEventSource) MarshalToSizedBuffer added in v1.6.0

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

func (*BitbucketEventSource) ProtoMessage added in v1.6.0

func (*BitbucketEventSource) ProtoMessage()

func (*BitbucketEventSource) Reset added in v1.6.0

func (m *BitbucketEventSource) Reset()

func (BitbucketEventSource) ShouldCreateWebhook added in v1.6.0

func (b BitbucketEventSource) ShouldCreateWebhook() bool

func (*BitbucketEventSource) Size added in v1.6.0

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

func (*BitbucketEventSource) String added in v1.6.0

func (this *BitbucketEventSource) String() string

func (*BitbucketEventSource) Unmarshal added in v1.6.0

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

func (*BitbucketEventSource) XXX_DiscardUnknown added in v1.6.0

func (m *BitbucketEventSource) XXX_DiscardUnknown()

func (*BitbucketEventSource) XXX_Marshal added in v1.6.0

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

func (*BitbucketEventSource) XXX_Merge added in v1.6.0

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

func (*BitbucketEventSource) XXX_Size added in v1.6.0

func (m *BitbucketEventSource) XXX_Size() int

func (*BitbucketEventSource) XXX_Unmarshal added in v1.6.0

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

type BitbucketServerEventSource added in v1.5.0

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 setup
	// 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 setup
	// Deprecated: use Repositories instead. Will be unsupported in v1.8
	// +optional
	DeprecatedRepositorySlug string `json:"repositorySlug,omitempty" protobuf:"bytes,3,opt,name=repositorySlug"`
	// Repositories holds a list of repositories for which integration needs to setup
	// +optional
	Repositories []BitbucketServerRepository `json:"repositories,omitempty" protobuf:"bytes,4,rep,name=repositories"`
	// Events are bitbucket event to listen to.
	// Refer https://confluence.atlassian.com/bitbucketserver/event-payload-938025882.html
	Events []string `json:"events" protobuf:"bytes,5,opt,name=events"`
	// AccessToken is reference to K8s secret which holds the bitbucket api access information
	AccessToken *corev1.SecretKeySelector `json:"accessToken,omitempty" protobuf:"bytes,6,opt,name=accessToken"`
	// WebhookSecret is reference to K8s secret which holds the bitbucket webhook secret (for HMAC validation)
	WebhookSecret *corev1.SecretKeySelector `json:"webhookSecret,omitempty" protobuf:"bytes,7,opt,name=webhookSecret"`
	// BitbucketServerBaseURL is the base URL for API requests to a custom endpoint
	BitbucketServerBaseURL string `json:"bitbucketserverBaseURL" protobuf:"bytes,8,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,9,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,10,rep,name=metadata"`
	// Filter
	// +optional
	Filter *EventSourceFilter `json:"filter,omitempty" protobuf:"bytes,11,opt,name=filter"`
}

BitbucketServerEventSource refers to event-source related to Bitbucket Server events

func (*BitbucketServerEventSource) DeepCopy added in v1.5.0

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

func (*BitbucketServerEventSource) DeepCopyInto added in v1.5.0

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

func (*BitbucketServerEventSource) Descriptor added in v1.5.0

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

func (BitbucketServerEventSource) GetBitbucketServerRepositories added in v1.6.0

func (b BitbucketServerEventSource) GetBitbucketServerRepositories() []BitbucketServerRepository

func (*BitbucketServerEventSource) Marshal added in v1.5.0

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

func (*BitbucketServerEventSource) MarshalTo added in v1.5.0

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

func (*BitbucketServerEventSource) MarshalToSizedBuffer added in v1.5.0

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

func (*BitbucketServerEventSource) ProtoMessage added in v1.5.0

func (*BitbucketServerEventSource) ProtoMessage()

func (*BitbucketServerEventSource) Reset added in v1.5.0

func (m *BitbucketServerEventSource) Reset()

func (BitbucketServerEventSource) ShouldCreateWebhooks added in v1.7.1

func (b BitbucketServerEventSource) ShouldCreateWebhooks() bool

func (*BitbucketServerEventSource) Size added in v1.5.0

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

func (*BitbucketServerEventSource) String added in v1.5.0

func (this *BitbucketServerEventSource) String() string

func (*BitbucketServerEventSource) Unmarshal added in v1.5.0

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

func (*BitbucketServerEventSource) XXX_DiscardUnknown added in v1.5.0

func (m *BitbucketServerEventSource) XXX_DiscardUnknown()

func (*BitbucketServerEventSource) XXX_Marshal added in v1.5.0

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

func (*BitbucketServerEventSource) XXX_Merge added in v1.5.0

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

func (*BitbucketServerEventSource) XXX_Size added in v1.5.0

func (m *BitbucketServerEventSource) XXX_Size() int

func (*BitbucketServerEventSource) XXX_Unmarshal added in v1.5.0

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

type BitbucketServerRepository added in v1.6.0

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

func (*BitbucketServerRepository) DeepCopy added in v1.6.0

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

func (*BitbucketServerRepository) DeepCopyInto added in v1.6.0

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

func (*BitbucketServerRepository) Descriptor added in v1.6.0

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

func (*BitbucketServerRepository) Marshal added in v1.6.0

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

func (*BitbucketServerRepository) MarshalTo added in v1.6.0

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

func (*BitbucketServerRepository) MarshalToSizedBuffer added in v1.6.0

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

func (*BitbucketServerRepository) ProtoMessage added in v1.6.0

func (*BitbucketServerRepository) ProtoMessage()

func (*BitbucketServerRepository) Reset added in v1.6.0

func (m *BitbucketServerRepository) Reset()

func (*BitbucketServerRepository) Size added in v1.6.0

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

func (*BitbucketServerRepository) String added in v1.6.0

func (this *BitbucketServerRepository) String() string

func (*BitbucketServerRepository) Unmarshal added in v1.6.0

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

func (*BitbucketServerRepository) XXX_DiscardUnknown added in v1.6.0

func (m *BitbucketServerRepository) XXX_DiscardUnknown()

func (*BitbucketServerRepository) XXX_Marshal added in v1.6.0

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

func (*BitbucketServerRepository) XXX_Merge added in v1.6.0

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

func (*BitbucketServerRepository) XXX_Size added in v1.6.0

func (m *BitbucketServerRepository) XXX_Size() int

func (*BitbucketServerRepository) XXX_Unmarshal added in v1.6.0

func (m *BitbucketServerRepository) 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 added in v0.17.0

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

func (*CalendarEventSource) Marshal added in v0.17.0

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

func (*CalendarEventSource) MarshalTo added in v0.17.0

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

func (*CalendarEventSource) MarshalToSizedBuffer added in v0.17.0

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

func (*CalendarEventSource) ProtoMessage added in v0.17.0

func (*CalendarEventSource) ProtoMessage()

func (*CalendarEventSource) Reset added in v0.17.0

func (m *CalendarEventSource) Reset()

func (*CalendarEventSource) Size added in v0.17.0

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

func (*CalendarEventSource) String added in v0.17.0

func (this *CalendarEventSource) String() string

func (*CalendarEventSource) Unmarshal added in v0.17.0

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

func (*CalendarEventSource) XXX_DiscardUnknown added in v0.17.0

func (m *CalendarEventSource) XXX_DiscardUnknown()

func (*CalendarEventSource) XXX_Marshal added in v0.17.0

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

func (*CalendarEventSource) XXX_Merge added in v0.17.0

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

func (*CalendarEventSource) XXX_Size added in v0.17.0

func (m *CalendarEventSource) XXX_Size() int

func (*CalendarEventSource) XXX_Unmarshal added in v0.17.0

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

type CatchupConfiguration added in v1.1.0

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 added in v1.1.0

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

func (*CatchupConfiguration) DeepCopyInto added in v1.1.0

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 added in v1.1.0

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

func (*CatchupConfiguration) Marshal added in v1.1.0

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

func (*CatchupConfiguration) MarshalTo added in v1.1.0

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

func (*CatchupConfiguration) MarshalToSizedBuffer added in v1.1.0

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

func (*CatchupConfiguration) ProtoMessage added in v1.1.0

func (*CatchupConfiguration) ProtoMessage()

func (*CatchupConfiguration) Reset added in v1.1.0

func (m *CatchupConfiguration) Reset()

func (*CatchupConfiguration) Size added in v1.1.0

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

func (*CatchupConfiguration) String added in v1.1.0

func (this *CatchupConfiguration) String() string

func (*CatchupConfiguration) Unmarshal added in v1.1.0

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

func (*CatchupConfiguration) XXX_DiscardUnknown added in v1.1.0

func (m *CatchupConfiguration) XXX_DiscardUnknown()

func (*CatchupConfiguration) XXX_Marshal added in v1.1.0

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

func (*CatchupConfiguration) XXX_Merge added in v1.1.0

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

func (*CatchupConfiguration) XXX_Size added in v1.1.0

func (m *CatchupConfiguration) XXX_Size() int

func (*CatchupConfiguration) XXX_Unmarshal added in v1.1.0

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

type ConfigMapPersistence added in v1.1.0

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 added in v1.1.0

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

func (*ConfigMapPersistence) DeepCopyInto added in v1.1.0

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 added in v1.1.0

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

func (*ConfigMapPersistence) Marshal added in v1.1.0

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

func (*ConfigMapPersistence) MarshalTo added in v1.1.0

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

func (*ConfigMapPersistence) MarshalToSizedBuffer added in v1.1.0

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

func (*ConfigMapPersistence) ProtoMessage added in v1.1.0

func (*ConfigMapPersistence) ProtoMessage()

func (*ConfigMapPersistence) Reset added in v1.1.0

func (m *ConfigMapPersistence) Reset()

func (*ConfigMapPersistence) Size added in v1.1.0

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

func (*ConfigMapPersistence) String added in v1.1.0

func (this *ConfigMapPersistence) String() string

func (*ConfigMapPersistence) Unmarshal added in v1.1.0

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

func (*ConfigMapPersistence) XXX_DiscardUnknown added in v1.1.0

func (m *ConfigMapPersistence) XXX_DiscardUnknown()

func (*ConfigMapPersistence) XXX_Marshal added in v1.1.0

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

func (*ConfigMapPersistence) XXX_Merge added in v1.1.0

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

func (*ConfigMapPersistence) XXX_Size added in v1.1.0

func (m *ConfigMapPersistence) XXX_Size() int

func (*ConfigMapPersistence) XXX_Unmarshal added in v1.1.0

func (m *ConfigMapPersistence) 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 *apicommon.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 *apicommon.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 added in v0.17.0

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

func (*EmitterEventSource) Marshal added in v0.17.0

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

func (*EmitterEventSource) MarshalTo added in v0.17.0

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

func (*EmitterEventSource) MarshalToSizedBuffer added in v0.17.0

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

func (*EmitterEventSource) ProtoMessage added in v0.17.0

func (*EmitterEventSource) ProtoMessage()

func (*EmitterEventSource) Reset added in v0.17.0

func (m *EmitterEventSource) Reset()

func (*EmitterEventSource) Size added in v0.17.0

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

func (*EmitterEventSource) String added in v0.17.0

func (this *EmitterEventSource) String() string

func (*EmitterEventSource) Unmarshal added in v0.17.0

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

func (*EmitterEventSource) XXX_DiscardUnknown added in v0.17.0

func (m *EmitterEventSource) XXX_DiscardUnknown()

func (*EmitterEventSource) XXX_Marshal added in v0.17.0

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

func (*EmitterEventSource) XXX_Merge added in v0.17.0

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

func (*EmitterEventSource) XXX_Size added in v0.17.0

func (m *EmitterEventSource) XXX_Size() int

func (*EmitterEventSource) XXX_Unmarshal added in v0.17.0

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

type EventPersistence added in v1.1.0

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 added in v1.1.0

func (in *EventPersistence) DeepCopy() *EventPersistence

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

func (*EventPersistence) DeepCopyInto added in v1.1.0

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 added in v1.1.0

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

func (*EventPersistence) IsCatchUpEnabled added in v1.1.0

func (ep *EventPersistence) IsCatchUpEnabled() bool

func (*EventPersistence) Marshal added in v1.1.0

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

func (*EventPersistence) MarshalTo added in v1.1.0

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

func (*EventPersistence) MarshalToSizedBuffer added in v1.1.0

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

func (*EventPersistence) ProtoMessage added in v1.1.0

func (*EventPersistence) ProtoMessage()

func (*EventPersistence) Reset added in v1.1.0

func (m *EventPersistence) Reset()

func (*EventPersistence) Size added in v1.1.0

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

func (*EventPersistence) String added in v1.1.0

func (this *EventPersistence) String() string

func (*EventPersistence) Unmarshal added in v1.1.0

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

func (*EventPersistence) XXX_DiscardUnknown added in v1.1.0

func (m *EventPersistence) XXX_DiscardUnknown()

func (*EventPersistence) XXX_Marshal added in v1.1.0

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

func (*EventPersistence) XXX_Merge added in v1.1.0

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

func (*EventPersistence) XXX_Size added in v1.1.0

func (m *EventPersistence) XXX_Size() int

func (*EventPersistence) XXX_Unmarshal added in v1.1.0

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 added in v0.17.0

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

func (*EventSource) Marshal added in v0.17.0

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

func (*EventSource) MarshalTo added in v0.17.0

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

func (*EventSource) MarshalToSizedBuffer added in v0.17.0

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

func (*EventSource) ProtoMessage added in v0.17.0

func (*EventSource) ProtoMessage()

func (*EventSource) Reset added in v0.17.0

func (m *EventSource) Reset()

func (*EventSource) Size added in v0.17.0

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

func (*EventSource) String added in v0.17.0

func (this *EventSource) String() string

func (*EventSource) Unmarshal added in v0.17.0

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

func (*EventSource) XXX_DiscardUnknown added in v0.17.0

func (m *EventSource) XXX_DiscardUnknown()

func (*EventSource) XXX_Marshal added in v0.17.0

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

func (*EventSource) XXX_Merge added in v0.17.0

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

func (*EventSource) XXX_Size added in v0.17.0

func (m *EventSource) XXX_Size() int

func (*EventSource) XXX_Unmarshal added in v0.17.0

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

type EventSourceFilter added in v1.6.0

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

func (*EventSourceFilter) DeepCopy added in v1.6.0

func (in *EventSourceFilter) DeepCopy() *EventSourceFilter

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

func (*EventSourceFilter) DeepCopyInto added in v1.6.0

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 added in v1.6.0

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

func (*EventSourceFilter) Marshal added in v1.6.0

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

func (*EventSourceFilter) MarshalTo added in v1.6.0

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

func (*EventSourceFilter) MarshalToSizedBuffer added in v1.6.0

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

func (*EventSourceFilter) ProtoMessage added in v1.6.0

func (*EventSourceFilter) ProtoMessage()

func (*EventSourceFilter) Reset added in v1.6.0

func (m *EventSourceFilter) Reset()

func (*EventSourceFilter) Size added in v1.6.0

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

func (*EventSourceFilter) String added in v1.6.0

func (this *EventSourceFilter) String() string

func (*EventSourceFilter) Unmarshal added in v1.6.0

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

func (*EventSourceFilter) XXX_DiscardUnknown added in v1.6.0

func (m *EventSourceFilter) XXX_DiscardUnknown()

func (*EventSourceFilter) XXX_Marshal added in v1.6.0

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

func (*EventSourceFilter) XXX_Merge added in v1.6.0

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

func (*EventSourceFilter) XXX_Size added in v1.6.0

func (m *EventSourceFilter) XXX_Size() int

func (*EventSourceFilter) XXX_Unmarshal added in v1.6.0

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 added in v0.17.0

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

func (*EventSourceList) Marshal added in v0.17.0

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

func (*EventSourceList) MarshalTo added in v0.17.0

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

func (*EventSourceList) MarshalToSizedBuffer added in v0.17.0

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

func (*EventSourceList) ProtoMessage added in v0.17.0

func (*EventSourceList) ProtoMessage()

func (*EventSourceList) Reset added in v0.17.0

func (m *EventSourceList) Reset()

func (*EventSourceList) Size added in v0.17.0

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

func (*EventSourceList) String added in v0.17.0

func (this *EventSourceList) String() string

func (*EventSourceList) Unmarshal added in v0.17.0

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

func (*EventSourceList) XXX_DiscardUnknown added in v0.17.0

func (m *EventSourceList) XXX_DiscardUnknown()

func (*EventSourceList) XXX_Marshal added in v0.17.0

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

func (*EventSourceList) XXX_Merge added in v0.17.0

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

func (*EventSourceList) XXX_Size added in v0.17.0

func (m *EventSourceList) XXX_Size() int

func (*EventSourceList) XXX_Unmarshal added in v0.17.0

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]apicommon.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]WebhookContext `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"`
}

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 added in v0.17.0

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

func (EventSourceSpec) GetReplicas added in v1.3.0

func (e EventSourceSpec) GetReplicas() int32

func (*EventSourceSpec) Marshal added in v0.17.0

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

func (*EventSourceSpec) MarshalTo added in v0.17.0

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

func (*EventSourceSpec) MarshalToSizedBuffer added in v0.17.0

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

func (*EventSourceSpec) ProtoMessage added in v0.17.0

func (*EventSourceSpec) ProtoMessage()

func (*EventSourceSpec) Reset added in v0.17.0

func (m *EventSourceSpec) Reset()

func (*EventSourceSpec) Size added in v0.17.0

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

func (*EventSourceSpec) String added in v0.17.0

func (this *EventSourceSpec) String() string

func (*EventSourceSpec) Unmarshal added in v0.17.0

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

func (*EventSourceSpec) XXX_DiscardUnknown added in v0.17.0

func (m *EventSourceSpec) XXX_DiscardUnknown()

func (*EventSourceSpec) XXX_Marshal added in v0.17.0

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

func (*EventSourceSpec) XXX_Merge added in v0.17.0

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

func (*EventSourceSpec) XXX_Size added in v0.17.0

func (m *EventSourceSpec) XXX_Size() int

func (*EventSourceSpec) XXX_Unmarshal added in v0.17.0

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

type EventSourceStatus

type EventSourceStatus struct {
	apicommon.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 added in v0.17.0

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

func (*EventSourceStatus) InitConditions added in v0.17.0

func (es *EventSourceStatus) InitConditions()

InitConditions sets conditions to Unknown state.

func (*EventSourceStatus) MarkDeployFailed added in v0.17.0

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

MarkDeployFailed set the eventsource deploy failed

func (*EventSourceStatus) MarkDeployed added in v0.17.0

func (es *EventSourceStatus) MarkDeployed()

MarkDeployed set the eventsource has been deployed.

func (*EventSourceStatus) MarkSourcesNotProvided added in v0.17.0

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

MarkSourcesNotProvided the eventsource has invalid sources spec provided.

func (*EventSourceStatus) MarkSourcesProvided added in v0.17.0

func (es *EventSourceStatus) MarkSourcesProvided()

MarkSourcesProvided set the eventsource has valid sources spec provided.

func (*EventSourceStatus) Marshal added in v0.17.0

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

func (*EventSourceStatus) MarshalTo added in v0.17.0

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

func (*EventSourceStatus) MarshalToSizedBuffer added in v0.17.0

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

func (*EventSourceStatus) ProtoMessage added in v0.17.0

func (*EventSourceStatus) ProtoMessage()

func (*EventSourceStatus) Reset added in v0.17.0

func (m *EventSourceStatus) Reset()

func (*EventSourceStatus) Size added in v0.17.0

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

func (*EventSourceStatus) String added in v0.17.0

func (this *EventSourceStatus) String() string

func (*EventSourceStatus) Unmarshal added in v0.17.0

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

func (*EventSourceStatus) XXX_DiscardUnknown added in v0.17.0

func (m *EventSourceStatus) XXX_DiscardUnknown()

func (*EventSourceStatus) XXX_Marshal added in v0.17.0

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

func (*EventSourceStatus) XXX_Merge added in v0.17.0

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

func (*EventSourceStatus) XXX_Size added in v0.17.0

func (m *EventSourceStatus) XXX_Size() int

func (*EventSourceStatus) XXX_Unmarshal added in v0.17.0

func (m *EventSourceStatus) 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 added in v0.17.0

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

func (*FileEventSource) Marshal added in v0.17.0

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

func (*FileEventSource) MarshalTo added in v0.17.0

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

func (*FileEventSource) MarshalToSizedBuffer added in v0.17.0

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

func (*FileEventSource) ProtoMessage added in v0.17.0

func (*FileEventSource) ProtoMessage()

func (*FileEventSource) Reset added in v0.17.0

func (m *FileEventSource) Reset()

func (*FileEventSource) Size added in v0.17.0

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

func (*FileEventSource) String added in v0.17.0

func (this *FileEventSource) String() string

func (*FileEventSource) Unmarshal added in v0.17.0

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

func (*FileEventSource) XXX_DiscardUnknown added in v0.17.0

func (m *FileEventSource) XXX_DiscardUnknown()

func (*FileEventSource) XXX_Marshal added in v0.17.0

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

func (*FileEventSource) XXX_Merge added in v0.17.0

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

func (*FileEventSource) XXX_Size added in v0.17.0

func (m *FileEventSource) XXX_Size() int

func (*FileEventSource) XXX_Unmarshal added in v0.17.0

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 added in v0.17.0

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

func (*GenericEventSource) Marshal added in v0.17.0

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

func (*GenericEventSource) MarshalTo added in v0.17.0

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

func (*GenericEventSource) MarshalToSizedBuffer added in v0.17.0

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

func (*GenericEventSource) ProtoMessage added in v0.17.0

func (*GenericEventSource) ProtoMessage()

func (*GenericEventSource) Reset added in v0.17.0

func (m *GenericEventSource) Reset()

func (*GenericEventSource) Size added in v0.17.0

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

func (*GenericEventSource) String added in v0.17.0

func (this *GenericEventSource) String() string

func (*GenericEventSource) Unmarshal added in v0.17.0

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

func (*GenericEventSource) XXX_DiscardUnknown added in v0.17.0

func (m *GenericEventSource) XXX_DiscardUnknown()

func (*GenericEventSource) XXX_Marshal added in v0.17.0

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

func (*GenericEventSource) XXX_Merge added in v0.17.0

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

func (*GenericEventSource) XXX_Size added in v0.17.0

func (m *GenericEventSource) XXX_Size() int

func (*GenericEventSource) XXX_Unmarshal added in v0.17.0

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

type GithubAppCreds added in v1.5.6

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 added in v1.5.6

func (in *GithubAppCreds) DeepCopy() *GithubAppCreds

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

func (*GithubAppCreds) DeepCopyInto added in v1.5.6

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 added in v1.5.6

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

func (*GithubAppCreds) Marshal added in v1.5.6

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

func (*GithubAppCreds) MarshalTo added in v1.5.6

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

func (*GithubAppCreds) MarshalToSizedBuffer added in v1.5.6

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

func (*GithubAppCreds) ProtoMessage added in v1.5.6

func (*GithubAppCreds) ProtoMessage()

func (*GithubAppCreds) Reset added in v1.5.6

func (m *GithubAppCreds) Reset()

func (*GithubAppCreds) Size added in v1.5.6

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

func (*GithubAppCreds) String added in v1.5.6

func (this *GithubAppCreds) String() string

func (*GithubAppCreds) Unmarshal added in v1.5.6

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

func (*GithubAppCreds) XXX_DiscardUnknown added in v1.5.6

func (m *GithubAppCreds) XXX_DiscardUnknown()

func (*GithubAppCreds) XXX_Marshal added in v1.5.6

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

func (*GithubAppCreds) XXX_Merge added in v1.5.6

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

func (*GithubAppCreds) XXX_Size added in v1.5.6

func (m *GithubAppCreds) XXX_Size() int

func (*GithubAppCreds) XXX_Unmarshal added in v1.5.6

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 added in v0.17.0

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

func (GithubEventSource) GetOwnedRepositories added in v1.3.1

func (g GithubEventSource) GetOwnedRepositories() []OwnedRepositories

func (GithubEventSource) HasConfiguredWebhook added in v1.5.6

func (g GithubEventSource) HasConfiguredWebhook() bool

func (GithubEventSource) HasGithubAPIToken added in v1.5.6

func (g GithubEventSource) HasGithubAPIToken() bool

func (GithubEventSource) HasGithubAppCreds added in v1.5.6

func (g GithubEventSource) HasGithubAppCreds() bool

func (*GithubEventSource) Marshal added in v0.17.0

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

func (*GithubEventSource) MarshalTo added in v0.17.0

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

func (*GithubEventSource) MarshalToSizedBuffer added in v0.17.0

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

func (GithubEventSource) NeedToCreateHooks added in v1.3.1

func (g GithubEventSource) NeedToCreateHooks() bool

func (*GithubEventSource) ProtoMessage added in v0.17.0

func (*GithubEventSource) ProtoMessage()

func (*GithubEventSource) Reset added in v0.17.0

func (m *GithubEventSource) Reset()

func (*GithubEventSource) Size added in v0.17.0

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

func (*GithubEventSource) String added in v0.17.0

func (this *GithubEventSource) String() string

func (*GithubEventSource) Unmarshal added in v0.17.0

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

func (*GithubEventSource) XXX_DiscardUnknown added in v0.17.0

func (m *GithubEventSource) XXX_DiscardUnknown()

func (*GithubEventSource) XXX_Marshal added in v0.17.0

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

func (*GithubEventSource) XXX_Merge added in v0.17.0

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

func (*GithubEventSource) XXX_Size added in v0.17.0

func (m *GithubEventSource) XXX_Size() int

func (*GithubEventSource) XXX_Unmarshal added in v0.17.0

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 []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"`
}

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 added in v0.17.0

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

func (GitlabEventSource) GetProjects added in v1.5.0

func (g GitlabEventSource) GetProjects() []string

func (*GitlabEventSource) Marshal added in v0.17.0

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

func (*GitlabEventSource) MarshalTo added in v0.17.0

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

func (*GitlabEventSource) MarshalToSizedBuffer added in v0.17.0

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

func (GitlabEventSource) NeedToCreateHooks added in v1.5.0

func (g GitlabEventSource) NeedToCreateHooks() bool

func (*GitlabEventSource) ProtoMessage added in v0.17.0

func (*GitlabEventSource) ProtoMessage()

func (*GitlabEventSource) Reset added in v0.17.0

func (m *GitlabEventSource) Reset()

func (*GitlabEventSource) Size added in v0.17.0

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

func (*GitlabEventSource) String added in v0.17.0

func (this *GitlabEventSource) String() string

func (*GitlabEventSource) Unmarshal added in v0.17.0

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

func (*GitlabEventSource) XXX_DiscardUnknown added in v0.17.0

func (m *GitlabEventSource) XXX_DiscardUnknown()

func (*GitlabEventSource) XXX_Marshal added in v0.17.0

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

func (*GitlabEventSource) XXX_Merge added in v0.17.0

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

func (*GitlabEventSource) XXX_Size added in v0.17.0

func (m *GitlabEventSource) XXX_Size() int

func (*GitlabEventSource) XXX_Unmarshal added in v0.17.0

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 added in v0.17.0

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

func (*HDFSEventSource) Marshal added in v0.17.0

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

func (*HDFSEventSource) MarshalTo added in v0.17.0

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

func (*HDFSEventSource) MarshalToSizedBuffer added in v0.17.0

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

func (*HDFSEventSource) ProtoMessage added in v0.17.0

func (*HDFSEventSource) ProtoMessage()

func (*HDFSEventSource) Reset added in v0.17.0

func (m *HDFSEventSource) Reset()

func (*HDFSEventSource) Size added in v0.17.0

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

func (*HDFSEventSource) String added in v0.17.0

func (this *HDFSEventSource) String() string

func (*HDFSEventSource) Unmarshal added in v0.17.0

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

func (*HDFSEventSource) XXX_DiscardUnknown added in v0.17.0

func (m *HDFSEventSource) XXX_DiscardUnknown()

func (*HDFSEventSource) XXX_Marshal added in v0.17.0

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

func (*HDFSEventSource) XXX_Merge added in v0.17.0

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

func (*HDFSEventSource) XXX_Size added in v0.17.0

func (m *HDFSEventSource) XXX_Size() int

func (*HDFSEventSource) XXX_Unmarshal added in v0.17.0

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

type KafkaConsumerGroup added in v1.0.0

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 added in v1.0.0

func (in *KafkaConsumerGroup) DeepCopy() *KafkaConsumerGroup

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

func (*KafkaConsumerGroup) DeepCopyInto added in v1.0.0

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 added in v1.0.0

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

func (*KafkaConsumerGroup) Marshal added in v1.0.0

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

func (*KafkaConsumerGroup) MarshalTo added in v1.0.0

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

func (*KafkaConsumerGroup) MarshalToSizedBuffer added in v1.0.0

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

func (*KafkaConsumerGroup) ProtoMessage added in v1.0.0

func (*KafkaConsumerGroup) ProtoMessage()

func (*KafkaConsumerGroup) Reset added in v1.0.0

func (m *KafkaConsumerGroup) Reset()

func (*KafkaConsumerGroup) Size added in v1.0.0

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

func (*KafkaConsumerGroup) String added in v1.0.0

func (this *KafkaConsumerGroup) String() string

func (*KafkaConsumerGroup) Unmarshal added in v1.0.0

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

func (*KafkaConsumerGroup) XXX_DiscardUnknown added in v1.0.0

func (m *KafkaConsumerGroup) XXX_DiscardUnknown()

func (*KafkaConsumerGroup) XXX_Marshal added in v1.0.0

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

func (*KafkaConsumerGroup) XXX_Merge added in v1.0.0

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

func (*KafkaConsumerGroup) XXX_Size added in v1.0.0

func (m *KafkaConsumerGroup) XXX_Size() int

func (*KafkaConsumerGroup) XXX_Unmarshal added in v1.0.0

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
	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 *apicommon.Backoff `json:"connectionBackoff,omitempty" protobuf:"bytes,4,opt,name=connectionBackoff"`
	// TLS configuration for the kafka client.
	// +optional
	TLS *apicommon.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 *apicommon.SASLConfig `json:"sasl,omitempty" protobuf:"bytes,11,opt,name=sasl"`

	// Filter
	// +optional
	Filter *EventSourceFilter `json:"filter,omitempty" protobuf:"bytes,12,opt,name=filter"`
}

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 added in v0.17.0

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

func (*KafkaEventSource) Marshal added in v0.17.0

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

func (*KafkaEventSource) MarshalTo added in v0.17.0

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

func (*KafkaEventSource) MarshalToSizedBuffer added in v0.17.0

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

func (*KafkaEventSource) ProtoMessage added in v0.17.0

func (*KafkaEventSource) ProtoMessage()

func (*KafkaEventSource) Reset added in v0.17.0

func (m *KafkaEventSource) Reset()

func (*KafkaEventSource) Size added in v0.17.0

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

func (*KafkaEventSource) String added in v0.17.0

func (this *KafkaEventSource) String() string

func (*KafkaEventSource) Unmarshal added in v0.17.0

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

func (*KafkaEventSource) XXX_DiscardUnknown added in v0.17.0

func (m *KafkaEventSource) XXX_DiscardUnknown()

func (*KafkaEventSource) XXX_Marshal added in v0.17.0

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

func (*KafkaEventSource) XXX_Merge added in v0.17.0

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

func (*KafkaEventSource) XXX_Size added in v0.17.0

func (m *KafkaEventSource) XXX_Size() int

func (*KafkaEventSource) XXX_Unmarshal added in v0.17.0

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

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 *apicommon.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 *apicommon.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"`
}

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 added in v0.17.0

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

func (*MQTTEventSource) Marshal added in v0.17.0

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

func (*MQTTEventSource) MarshalTo added in v0.17.0

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

func (*MQTTEventSource) MarshalToSizedBuffer added in v0.17.0

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

func (*MQTTEventSource) ProtoMessage added in v0.17.0

func (*MQTTEventSource) ProtoMessage()

func (*MQTTEventSource) Reset added in v0.17.0

func (m *MQTTEventSource) Reset()

func (*MQTTEventSource) Size added in v0.17.0

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

func (*MQTTEventSource) String added in v0.17.0

func (this *MQTTEventSource) String() string

func (*MQTTEventSource) Unmarshal added in v0.17.0

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

func (*MQTTEventSource) XXX_DiscardUnknown added in v0.17.0

func (m *MQTTEventSource) XXX_DiscardUnknown()

func (*MQTTEventSource) XXX_Marshal added in v0.17.0

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

func (*MQTTEventSource) XXX_Merge added in v0.17.0

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

func (*MQTTEventSource) XXX_Size added in v0.17.0

func (m *MQTTEventSource) XXX_Size() int

func (*MQTTEventSource) XXX_Unmarshal added in v0.17.0

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

type NATSAuth added in v1.3.0

type NATSAuth struct {
	// Baisc auth with username and password
	// +optional
	Basic *apicommon.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 added in v1.3.0

func (in *NATSAuth) DeepCopy() *NATSAuth

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

func (*NATSAuth) DeepCopyInto added in v1.3.0

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 added in v1.3.0

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

func (*NATSAuth) Marshal added in v1.3.0

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

func (*NATSAuth) MarshalTo added in v1.3.0

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

func (*NATSAuth) MarshalToSizedBuffer added in v1.3.0

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

func (*NATSAuth) ProtoMessage added in v1.3.0

func (*NATSAuth) ProtoMessage()

func (*NATSAuth) Reset added in v1.3.0

func (m *NATSAuth) Reset()

func (*NATSAuth) Size added in v1.3.0

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

func (*NATSAuth) String added in v1.3.0

func (this *NATSAuth) String() string

func (*NATSAuth) Unmarshal added in v1.3.0

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

func (*NATSAuth) XXX_DiscardUnknown added in v1.3.0

func (m *NATSAuth) XXX_DiscardUnknown()

func (*NATSAuth) XXX_Marshal added in v1.3.0

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

func (*NATSAuth) XXX_Merge added in v1.3.0

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

func (*NATSAuth) XXX_Size added in v1.3.0

func (m *NATSAuth) XXX_Size() int

func (*NATSAuth) XXX_Unmarshal added in v1.3.0

func (m *NATSAuth) 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 *apicommon.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 *apicommon.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"`
}

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 added in v0.17.0

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

func (*NATSEventsSource) Marshal added in v0.17.0

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

func (*NATSEventsSource) MarshalTo added in v0.17.0

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

func (*NATSEventsSource) MarshalToSizedBuffer added in v0.17.0

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

func (*NATSEventsSource) ProtoMessage added in v0.17.0

func (*NATSEventsSource) ProtoMessage()

func (*NATSEventsSource) Reset added in v0.17.0

func (m *NATSEventsSource) Reset()

func (*NATSEventsSource) Size added in v0.17.0

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

func (*NATSEventsSource) String added in v0.17.0

func (this *NATSEventsSource) String() string

func (*NATSEventsSource) Unmarshal added in v0.17.0

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

func (*NATSEventsSource) XXX_DiscardUnknown added in v0.17.0

func (m *NATSEventsSource) XXX_DiscardUnknown()

func (*NATSEventsSource) XXX_Marshal added in v0.17.0

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

func (*NATSEventsSource) XXX_Merge added in v0.17.0

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

func (*NATSEventsSource) XXX_Size added in v0.17.0

func (m *NATSEventsSource) XXX_Size() int

func (*NATSEventsSource) XXX_Unmarshal added in v0.17.0

func (m *NATSEventsSource) 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 *apicommon.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 *apicommon.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 added in v0.17.0

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

func (*NSQEventSource) Marshal added in v0.17.0

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

func (*NSQEventSource) MarshalTo added in v0.17.0

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

func (*NSQEventSource) MarshalToSizedBuffer added in v0.17.0

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

func (*NSQEventSource) ProtoMessage added in v0.17.0

func (*NSQEventSource) ProtoMessage()

func (*NSQEventSource) Reset added in v0.17.0

func (m *NSQEventSource) Reset()

func (*NSQEventSource) Size added in v0.17.0

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

func (*NSQEventSource) String added in v0.17.0

func (this *NSQEventSource) String() string

func (*NSQEventSource) Unmarshal added in v0.17.0

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

func (*NSQEventSource) XXX_DiscardUnknown added in v0.17.0

func (m *NSQEventSource) XXX_DiscardUnknown()

func (*NSQEventSource) XXX_Marshal added in v0.17.0

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

func (*NSQEventSource) XXX_Merge added in v0.17.0

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

func (*NSQEventSource) XXX_Size added in v0.17.0

func (m *NSQEventSource) XXX_Size() int

func (*NSQEventSource) XXX_Unmarshal added in v0.17.0

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

type OwnedRepositories added in v1.3.1

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 added in v1.3.1

func (in *OwnedRepositories) DeepCopy() *OwnedRepositories

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

func (*OwnedRepositories) DeepCopyInto added in v1.3.1

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 added in v1.3.1

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

func (*OwnedRepositories) Marshal added in v1.3.1

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

func (*OwnedRepositories) MarshalTo added in v1.3.1

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

func (*OwnedRepositories) MarshalToSizedBuffer added in v1.3.1

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

func (*OwnedRepositories) ProtoMessage added in v1.3.1

func (*OwnedRepositories) ProtoMessage()

func (*OwnedRepositories) Reset added in v1.3.1

func (m *OwnedRepositories) Reset()

func (*OwnedRepositories) Size added in v1.3.1

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

func (*OwnedRepositories) String added in v1.3.1

func (this *OwnedRepositories) String() string

func (*OwnedRepositories) Unmarshal added in v1.3.1

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

func (*OwnedRepositories) XXX_DiscardUnknown added in v1.3.1

func (m *OwnedRepositories) XXX_DiscardUnknown()

func (*OwnedRepositories) XXX_Marshal added in v1.3.1

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

func (*OwnedRepositories) XXX_Merge added in v1.3.1

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

func (*OwnedRepositories) XXX_Size added in v1.3.1

func (m *OwnedRepositories) XXX_Size() int

func (*OwnedRepositories) XXX_Unmarshal added in v1.3.1

func (m *OwnedRepositories) 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 added in v0.17.0

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

func (*PubSubEventSource) Marshal added in v0.17.0

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

func (*PubSubEventSource) MarshalTo added in v0.17.0

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

func (*PubSubEventSource) MarshalToSizedBuffer added in v0.17.0

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

func (*PubSubEventSource) ProtoMessage added in v0.17.0

func (*PubSubEventSource) ProtoMessage()

func (*PubSubEventSource) Reset added in v0.17.0

func (m *PubSubEventSource) Reset()

func (*PubSubEventSource) Size added in v0.17.0

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

func (*PubSubEventSource) String added in v0.17.0

func (this *PubSubEventSource) String() string

func (*PubSubEventSource) Unmarshal added in v0.17.0

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

func (*PubSubEventSource) XXX_DiscardUnknown added in v0.17.0

func (m *PubSubEventSource) XXX_DiscardUnknown()

func (*PubSubEventSource) XXX_Marshal added in v0.17.0

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

func (*PubSubEventSource) XXX_Merge added in v0.17.0

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

func (*PubSubEventSource) XXX_Size added in v0.17.0

func (m *PubSubEventSource) XXX_Size() int

func (*PubSubEventSource) XXX_Unmarshal added in v0.17.0

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

type PulsarEventSource added in v1.0.0

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 *apicommon.TLSConfig `json:"tls,omitempty" protobuf:"bytes,7,opt,name=tls"`
	// Backoff holds parameters applied to connection.
	// +optional
	ConnectionBackoff *apicommon.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.
	// +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"`
}

PulsarEventSource describes the event source for Apache Pulsar

func (*PulsarEventSource) DeepCopy added in v1.0.0

func (in *PulsarEventSource) DeepCopy() *PulsarEventSource

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

func (*PulsarEventSource) DeepCopyInto added in v1.0.0

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 added in v1.0.0

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

func (*PulsarEventSource) Marshal added in v1.0.0

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

func (*PulsarEventSource) MarshalTo added in v1.0.0

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

func (*PulsarEventSource) MarshalToSizedBuffer added in v1.0.0

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

func (*PulsarEventSource) ProtoMessage added in v1.0.0

func (*PulsarEventSource) ProtoMessage()

func (*PulsarEventSource) Reset added in v1.0.0

func (m *PulsarEventSource) Reset()

func (*PulsarEventSource) Size added in v1.0.0

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

func (*PulsarEventSource) String added in v1.0.0

func (this *PulsarEventSource) String() string

func (*PulsarEventSource) Unmarshal added in v1.0.0

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

func (*PulsarEventSource) XXX_DiscardUnknown added in v1.0.0

func (m *PulsarEventSource) XXX_DiscardUnknown()

func (*PulsarEventSource) XXX_Marshal added in v1.0.0

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

func (*PulsarEventSource) XXX_Merge added in v1.0.0

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

func (*PulsarEventSource) XXX_Size added in v1.0.0

func (m *PulsarEventSource) XXX_Size() int

func (*PulsarEventSource) XXX_Unmarshal added in v1.0.0

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

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 *apicommon.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 added in v0.17.0

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

func (*RedisEventSource) Marshal added in v0.17.0

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

func (*RedisEventSource) MarshalTo added in v0.17.0

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

func (*RedisEventSource) MarshalToSizedBuffer added in v0.17.0

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

func (*RedisEventSource) ProtoMessage added in v0.17.0

func (*RedisEventSource) ProtoMessage()

func (*RedisEventSource) Reset added in v0.17.0

func (m *RedisEventSource) Reset()

func (*RedisEventSource) Size added in v0.17.0

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

func (*RedisEventSource) String added in v0.17.0

func (this *RedisEventSource) String() string

func (*RedisEventSource) Unmarshal added in v0.17.0

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

func (*RedisEventSource) XXX_DiscardUnknown added in v0.17.0

func (m *RedisEventSource) XXX_DiscardUnknown()

func (*RedisEventSource) XXX_Marshal added in v0.17.0

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

func (*RedisEventSource) XXX_Merge added in v0.17.0

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

func (*RedisEventSource) XXX_Size added in v0.17.0

func (m *RedisEventSource) XXX_Size() int

func (*RedisEventSource) XXX_Unmarshal added in v0.17.0

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

type RedisStreamEventSource added in v1.7.0

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"`