targets

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "targets.triggermesh.io"

GroupName is the name of the API group this package's resources belong to.

Variables

View Source
var (
	// AlibabaOSSTargetResource respresents an event target for Alibaba OSS.
	AlibabaOSSTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "alibabaosstargets",
	}
	// AWSComprehendTargetResource respresents an event target for AWS Comprehend.
	AWSComprehendTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "awscomprehendtargets",
	}
	// AWSDynamodbTargetResource respresents an event target for AWS DynamoDB.
	AWSDynamoDBTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "awsdynamodbtargets",
	}
	// AWSEventbridgeTargetResource respresents an event target for AWS Event Bridge.
	AWSEventBridgeTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "awseventbridgetargets",
	}
	// AWSKinesisTargetResource respresents an event target for AWS Kinesis.
	AWSKinesisTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "awskinesistargets",
	}
	// AWSLambdaTargetResource respresents an event target for AWS Lambda.
	AWSLambdaTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "awslambdatargets",
	}
	// AWSS3TargetResource respresents an event target for AWS S3.
	AWSS3TargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "awss3targets",
	}
	// AWSSNSTargetResource respresents an event target for AWS SNS.
	AWSSNSTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "awssnstargets",
	}
	// AWSSQSTargetResource respresents an event target for AWS SQS.
	AWSSQSTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "awssqstargets",
	}
	// AzureEventHubsTargetResource respresents an event target for Azure EventHubs.
	AzureEventHubsTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "azureeventhubstargets",
	}
	// ConfluentTargetResource respresents an event target for Confluent.
	ConfluentTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "confluenttargets",
	}
	// DatadogTargetResource respresents an event target for Datadog.
	DatadogTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "datadogtargets",
	}
	// ElasticsearchTargetResource respresents an event target for Elasticsearch.
	ElasticsearchTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "elasticsearchtargets",
	}
	// GoogleCloudFirestoreTargetResource respresents an event target for Google Firestore.
	GoogleCloudFirestoreTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "googlecloudfirestoretargets",
	}
	// GoogleCloudStorageTargetResource respresents an event target for Google Storage.
	GoogleCloudStorageTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "googlecloudstoragetargets",
	}
	// GoogleCloudWorkflowsTargetResource respresents an event target for Google Workflows.
	GoogleCloudWorkflowsTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "googlecloudworkflowstargets",
	}
	// GoogleSheetTargetResource respresents an event target for Google Sheet.
	GoogleSheetTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "googlesheettargets",
	}
	// HasuraTargetResource respresents an event target for Hasura.
	HasuraTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "hasuratargets",
	}
	// HTTPTargetResource respresents an event target for HTTP endpoint.
	HTTPTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "httptargets",
	}
	// IBMMQTargetResource respresents an event target for IBM MQ.
	IBMMQTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "ibmmqtargets",
	}
	// InfraTargetResource respresents Infra event target.
	InfraTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "infratargets",
	}
	// JiraTargetResource respresents an event target for Jira.
	JiraTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "jiratargets",
	}
	// LogzTargetResource respresents an event target for Logz.
	LogzTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "logztargets",
	}
	// LogzMetricsTargetResource respresents an event target for Logz Metrics.
	LogzMetricsTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "logzmetricstargets",
	}
	// OracleTargetResource respresents an event target for Oracle.
	OracleTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "oracletargets",
	}
	// SalesforceTargetResource respresents an event target for Salesforce.
	SalesforceTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "salesforcetargets",
	}
	// SendgridTargetResource respresents an event target for Sendgrid.
	SendgridTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "sendgridtargets",
	}
	// SlackTargetResource respresents an event target for Slack.
	SlackTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "slacktargets",
	}
	// SplunkTargetResource respresents an event target for Splunk.
	SplunkTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "splunktargets",
	}
	// TektonTargetResource respresents an event target for Tekton.
	TektonTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "tektontargets",
	}
	// TwilioTargetResource respresents an event target for Twilio.
	TwilioTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "twiliotargets",
	}
	// UiPathTargetResource respresents an event target for UiPath.
	UiPathTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "uipathtargets",
	}
	// ZendeskTargetResource respresents an event target for Zendesk.
	ZendeskTargetResource = schema.GroupResource{
		Group:    GroupName,
		Resource: "zendesktargets",
	}
)

Functions

This section is empty.

Types

type EventSource

type EventSource interface {
	// GetEventTypes returns the event types generated by the component.
	GetEventTypes() []string
	// AsEventSource returns a unique reference to the component suitable
	// for use as a CloudEvent 'source' attribute.
	AsEventSource() string
}

EventSource is implemented by types that emit events.

type IntegrationTarget

type IntegrationTarget interface {
	// AcceptedEventTypes returns the event types accepted by the target.
	AcceptedEventTypes() []string
}

IntegrationTarget is implemented by types which are integration targets.

An integration target: * processes tasks derived from events, not direct events produced by sources. * expects data to be in certain format (writing differentiated code for every possible event type isn't possible). * turns data into synchronous API calls which result in an immediate success or failure.

Directories

Path Synopsis
Package v1alpha1 contains API Schema definitions for the targets/v1alpha1 API group.
Package v1alpha1 contains API Schema definitions for the targets/v1alpha1 API group.

Jump to

Keyboard shortcuts

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