v1alpha1

package
v0.1.17 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the targets/v1alpha1 API group. +k8s:deepcopy-gen=package +groupName=targets.typhoon.zeiss.com

Index

Constants

View Source
const (
	EventTypeDatadogMetric = "com.zeiss.datadog.metric.submit"
	EventTypeDatadogEvent  = "com.zeiss.datadog.event.post"
	EventTypeDatadogLog    = "com.zeiss.datadog.log.send"

	EventTypeDatadogResponse = "com.zeiss.datadog.response"
)

Managed event types

View Source
const (
	EventTypeJiraIssueCreate = "com.zeiss.typhoon.jira.issue.create"
	EventTypeJiraIssueGet    = "com.zeiss.typhoon.jira.issue.get"
	EventTypeJiraCustom      = "com.zeiss.typhoon.jira.custom"

	EventTypeJiraIssue          = "com.zeiss.typhoon.jira.issue"
	EventTypeJiraCustomResponse = "com.zeiss.typhoon.jira.custom.response"
)

Managed event types

View Source
const (
	// Instrument Kinds
	InstrumentKindHistogram     InstrumentKind = "Histogram"
	InstrumentKindCounter       InstrumentKind = "Counter"
	InstrumentKindUpDownCounter InstrumentKind = "UpDownCounter"

	// Number Kinds
	NumberKindInt64   NumberKind = "Int64"
	NumberKindFloat64 NumberKind = "Float64"
)
View Source
const (
	EventTypeSalesforceAPICall         = "com.zeiss.typhoon.salesforce.apicall"
	EventTypeSalesforceAPICallResponse = "com.zeiss.typhoon.salesforce.apicall.response"
)

Managed event types

View Source
const EventTypeHTTPTargetRequest = "com.zeiss.http.request"

EventTypeHTTPTargetRequest is the event type for HTTP target request.

View Source
const (
	EventTypeLogzShipResponse = "com.zeiss.logz.ship.response"
)

Managed event types

View Source
const (
	EventTypeOpenTelemetryMetricsPush = "com.zeiss.opentelemetry.metrics.push"
)

Managed event types

View Source
const (
	// EventTypeResponse is the event type of a generic response returned by a target.
	EventTypeResponse = "com.zeiss.targets.response"
)

Returned event types

View Source
const (
	// EventTypeWildcard represents events of any type.
	EventTypeWildcard = "*"
)

Accepted event types

Variables

View Source
var (
	// SchemeGroupVersion contains the group and version used to register types for this custom API.
	SchemeGroupVersion = schema.GroupVersion{Group: targets.GroupName, Version: "v1alpha1"}
	// SchemeBuilder creates a Scheme builder that is used to register types for this custom API.
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme registers the types stored in SchemeBuilder.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var AllTypes = []v1alpha1.GroupObject{
	{Single: &CloudEventsTarget{}, List: &CloudEventsTargetList{}},
	{Single: &HTTPTarget{}, List: &HTTPTargetList{}},
	{Single: &KafkaTarget{}, List: &KafkaTargetList{}},
	{Single: &LogzMetricsTarget{}, List: &LogzMetricsTargetList{}},
	{Single: &LogzTarget{}, List: &LogzTargetList{}},
	{Single: &SalesforceTarget{}, List: &SalesforceTargetList{}},
}

AllTypes is a list of all the types defined in this package.

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 an unqualified resource and returns a Group qualified GroupResource.

Types

type CloudEventsCredentials

type CloudEventsCredentials struct {
	BasicAuth HTTPBasicAuth `json:"basicAuth,omitempty"`
}

CloudEventsCredentials to be used when sending requests.

func (*CloudEventsCredentials) DeepCopy

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

func (*CloudEventsCredentials) DeepCopyInto

func (in *CloudEventsCredentials) DeepCopyInto(out *CloudEventsCredentials)

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

type CloudEventsTarget

type CloudEventsTarget struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   CloudEventsTargetSpec `json:"spec,omitempty"`
	Status v1alpha1.Status       `json:"status,omitempty"`
}

CloudEventsTarget is a gateway that produces received CloudEvents to a destination.

func (*CloudEventsTarget) DeepCopy

func (in *CloudEventsTarget) DeepCopy() *CloudEventsTarget

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

func (*CloudEventsTarget) DeepCopyInto

func (in *CloudEventsTarget) DeepCopyInto(out *CloudEventsTarget)

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

func (*CloudEventsTarget) DeepCopyObject

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

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

func (*CloudEventsTarget) GetAdapterOverrides

func (t *CloudEventsTarget) GetAdapterOverrides() *v1alpha1.AdapterOverrides

GetAdapterOverrides implements AdapterConfigurable.

func (*CloudEventsTarget) GetConditionSet

func (*CloudEventsTarget) GetConditionSet() apis.ConditionSet

GetConditionSet implements duckv1.KRShaped.

func (*CloudEventsTarget) GetGroupVersionKind

func (*CloudEventsTarget) GetGroupVersionKind() schema.GroupVersionKind

GetGroupVersionKind implements kmeta.OwnerRefable.

func (*CloudEventsTarget) GetStatus

func (t *CloudEventsTarget) GetStatus() *duckv1.Status

GetStatus implements duckv1.KRShaped.

func (*CloudEventsTarget) GetStatusManager

func (t *CloudEventsTarget) GetStatusManager() *v1alpha1.StatusManager

GetStatusManager implements Reconcilable.

func (*CloudEventsTarget) SetDefaults

func (t *CloudEventsTarget) SetDefaults(ctx context.Context)

SetDefaults implements apis.Defaultable

func (*CloudEventsTarget) Validate

func (t *CloudEventsTarget) Validate(ctx context.Context) *apis.FieldError

Validate implements apis.Validatable

type CloudEventsTargetList

type CloudEventsTargetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []CloudEventsTarget `json:"items"`
}

CloudEventsTargetList is a list of event target instances.

func (*CloudEventsTargetList) DeepCopy

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

func (*CloudEventsTargetList) DeepCopyInto

func (in *CloudEventsTargetList) DeepCopyInto(out *CloudEventsTargetList)

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

func (*CloudEventsTargetList) DeepCopyObject

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

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

type CloudEventsTargetSpec

type CloudEventsTargetSpec struct {
	// Credentials to connect to the remote endpoint.
	// +optional
	Credentials *CloudEventsCredentials `json:"credentials,omitempty"`

	// Path at the remote endpoint under which requests are accepted.
	// +optional
	Path *string `json:"path,omitempty"`

	// Endpoint that accept CloudEvents.
	Endpoint apis.URL `json:"endpoint"`

	// AdapterOverrides sets runtime parameters to the adapter instance.
	// +optional
	AdapterOverrides *v1alpha1.AdapterOverrides `json:"adapterOverrides,omitempty"`
}

CloudEventsTargetSpec defines the desired state of the event target.

func (*CloudEventsTargetSpec) DeepCopy

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

func (*CloudEventsTargetSpec) DeepCopyInto

func (in *CloudEventsTargetSpec) DeepCopyInto(out *CloudEventsTargetSpec)

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

type DatadogTarget

type DatadogTarget struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   DatadogTargetSpec `json:"spec"`
	Status v1alpha1.Status   `json:"status,omitempty"`
}

DatadogTarget is the Schema for an HTTP Target.

func (*DatadogTarget) AcceptedEventTypes

func (*DatadogTarget) AcceptedEventTypes() []string

AcceptedEventTypes implements IntegrationTarget.

func (*DatadogTarget) AsEventSource

func (t *DatadogTarget) AsEventSource() string

AsEventSource implements EventSource.

func (*DatadogTarget) DeepCopy

func (in *DatadogTarget) DeepCopy() *DatadogTarget

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

func (*DatadogTarget) DeepCopyInto

func (in *DatadogTarget) DeepCopyInto(out *DatadogTarget)

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

func (*DatadogTarget) DeepCopyObject

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

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

func (*DatadogTarget) GetAdapterOverrides

func (t *DatadogTarget) GetAdapterOverrides() *v1alpha1.AdapterOverrides

GetAdapterOverrides implements AdapterConfigurable.

func (*DatadogTarget) GetConditionSet

func (*DatadogTarget) GetConditionSet() apis.ConditionSet

GetConditionSet implements duckv1.KRShaped.

func (*DatadogTarget) GetEventTypes

func (*DatadogTarget) GetEventTypes() []string

GetEventTypes implements EventSource.

func (*DatadogTarget) GetGroupVersionKind

func (*DatadogTarget) GetGroupVersionKind() schema.GroupVersionKind

GetGroupVersionKind implements kmeta.OwnerRefable.

func (*DatadogTarget) GetStatus

func (t *DatadogTarget) GetStatus() *duckv1.Status

GetStatus implements duckv1.KRShaped.

func (*DatadogTarget) GetStatusManager

func (t *DatadogTarget) GetStatusManager() *v1alpha1.StatusManager

GetStatusManager implements Reconcilable.

func (*DatadogTarget) SetDefaults

func (t *DatadogTarget) SetDefaults(ctx context.Context)

SetDefaults implements apis.Defaultable

func (*DatadogTarget) Validate

func (t *DatadogTarget) Validate(ctx context.Context) *apis.FieldError

Validate implements apis.Validatable

type DatadogTargetList

type DatadogTargetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []DatadogTarget `json:"items"`
}

DatadogTargetList is a list of event target instances.

func (*DatadogTargetList) DeepCopy

func (in *DatadogTargetList) DeepCopy() *DatadogTargetList

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

func (*DatadogTargetList) DeepCopyInto

func (in *DatadogTargetList) DeepCopyInto(out *DatadogTargetList)

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

func (*DatadogTargetList) DeepCopyObject

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

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

type DatadogTargetSpec

type DatadogTargetSpec struct {
	// DatadogApiKey represents how Datadog credentials should be provided in the secret
	DatadogAPIKey SecretValueFromSource `json:"apiKey"`

	// DatadogSite controls the site of the Datadog intake API, defaults to `datadoghq.com`
	// +optional
	DatadogSite *string `json:"site,omitempty"`

	// MetricPrefix is prepended to the name of the associated metrics.
	// +optional
	MetricPrefix *string `json:"metricPrefix"`

	// EventOptions for targets
	EventOptions *EventOptions `json:"eventOptions,omitempty"`

	// Adapter spec overrides parameters.
	// +optional
	AdapterOverrides *v1alpha1.AdapterOverrides `json:"adapterOverrides,omitempty"`
}

DatadogTargetSpec defines the desired state of the event target.

func (*DatadogTargetSpec) DeepCopy

func (in *DatadogTargetSpec) DeepCopy() *DatadogTargetSpec

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

func (*DatadogTargetSpec) DeepCopyInto

func (in *DatadogTargetSpec) DeepCopyInto(out *DatadogTargetSpec)

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

type EventOptions

type EventOptions struct {
	// PayloadPolicy indicates if replies from the target should include
	// a payload if available. Possible values are:
	//
	// - always: will return a with the reply payload if available.
	// - errors: will only reply with payload in case of an error.
	// - never: will not reply with payload.
	//
	// +optional
	PayloadPolicy *cloudevents.PayloadPolicy `json:"payloadPolicy,omitempty"`
}

EventOptions modifies CloudEvents management at Targets.

func (*EventOptions) DeepCopy

func (in *EventOptions) DeepCopy() *EventOptions

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

func (*EventOptions) DeepCopyInto

func (in *EventOptions) DeepCopyInto(out *EventOptions)

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

type HTTPBasicAuth

type HTTPBasicAuth struct {
	Username string                  `json:"username"`
	Password v1alpha1.ValueFromField `json:"password"`
}

HTTPBasicAuth credentials.

func (*HTTPBasicAuth) DeepCopy

func (in *HTTPBasicAuth) DeepCopy() *HTTPBasicAuth

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

func (*HTTPBasicAuth) DeepCopyInto

func (in *HTTPBasicAuth) DeepCopyInto(out *HTTPBasicAuth)

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

type HTTPEventResponse

type HTTPEventResponse struct {
	// EventType for the reply.
	EventType string `json:"eventType"`

	// EventSource for the reply.
	EventSource string `json:"eventSource"`
}

HTTPEventResponse for reply events context.

func (*HTTPEventResponse) DeepCopy

func (in *HTTPEventResponse) DeepCopy() *HTTPEventResponse

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

func (*HTTPEventResponse) DeepCopyInto

func (in *HTTPEventResponse) DeepCopyInto(out *HTTPEventResponse)

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

type HTTPTarget

type HTTPTarget struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   HTTPTargetSpec  `json:"spec"`
	Status v1alpha1.Status `json:"status,omitempty"`
}

HTTPTarget is the Schema for an HTTP Target.

func (*HTTPTarget) AcceptedEventTypes

func (*HTTPTarget) AcceptedEventTypes() []string

AcceptedEventTypes implements IntegrationTarget.

func (*HTTPTarget) AsEventSource

func (t *HTTPTarget) AsEventSource() string

AsEventSource implements EventSource.

func (*HTTPTarget) DeepCopy

func (in *HTTPTarget) DeepCopy() *HTTPTarget

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

func (*HTTPTarget) DeepCopyInto

func (in *HTTPTarget) DeepCopyInto(out *HTTPTarget)

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

func (*HTTPTarget) DeepCopyObject

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

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

func (*HTTPTarget) GetAdapterOverrides

func (t *HTTPTarget) GetAdapterOverrides() *v1alpha1.AdapterOverrides

GetAdapterOverrides implements AdapterConfigurable.

func (*HTTPTarget) GetConditionSet

func (*HTTPTarget) GetConditionSet() apis.ConditionSet

GetConditionSet implements duckv1.KRShaped.

func (*HTTPTarget) GetEventTypes

func (t *HTTPTarget) GetEventTypes() []string

GetEventTypes implements EventSource.

func (*HTTPTarget) GetGroupVersionKind

func (*HTTPTarget) GetGroupVersionKind() schema.GroupVersionKind

GetGroupVersionKind implements kmeta.OwnerRefable.

func (*HTTPTarget) GetStatus

func (t *HTTPTarget) GetStatus() *duckv1.Status

GetStatus implements duckv1.KRShaped.

func (*HTTPTarget) GetStatusManager

func (t *HTTPTarget) GetStatusManager() *v1alpha1.StatusManager

GetStatusManager implements Reconcilable.

func (*HTTPTarget) SetDefaults

func (t *HTTPTarget) SetDefaults(ctx context.Context)

SetDefaults implements apis.Defaultable

func (*HTTPTarget) Validate

func (t *HTTPTarget) Validate(ctx context.Context) *apis.FieldError

Validate implements apis.Validatable

type HTTPTargetList

type HTTPTargetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []HTTPTarget `json:"items"`
}

HTTPTargetList is a list of event target instances.

func (*HTTPTargetList) DeepCopy

func (in *HTTPTargetList) DeepCopy() *HTTPTargetList

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

func (*HTTPTargetList) DeepCopyInto

func (in *HTTPTargetList) DeepCopyInto(out *HTTPTargetList)

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

func (*HTTPTargetList) DeepCopyObject

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

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

type HTTPTargetSpec

type HTTPTargetSpec struct {
	// Response data to be used at replies.
	Response HTTPEventResponse `json:"response"`

	// Endpoint to connect to.
	Endpoint apis.URL `json:"endpoint"`

	// Method to use at requests.
	Method string `json:"method"`

	// Headers to be included at HTTP requests
	// +optional
	Headers map[string]string `json:"headers,omitempty"`

	// SkipVerify disables server certificate validation.
	// +optional
	SkipVerify *bool `json:"skipVerify"`

	// CACertificate uses the CA certificate to verify the remote server certificate.
	// +optional
	CACertificate *string `json:"caCertificate"`

	// BasicAuthUsername used for basic authentication.
	// +optional
	BasicAuthUsername *string `json:"basicAuthUsername,omitempty"`

	// BasicAuthPassword used for basic authentication.
	// +optional
	BasicAuthPassword SecretValueFromSource `json:"basicAuthPassword,omitempty"`

	// OAuthClientID used for OAuth2 authentication.
	// +optional
	OAuthClientID *string `json:"oauthClientID,omitempty"`

	// OAuthClientSecret used for OAuth2 authentication.
	// +optional
	OAuthClientSecret SecretValueFromSource `json:"oauthClientSecret,omitempty"`

	// OAuthTokenURL used for OAuth2 authentication.
	// +optional
	OAuthTokenURL *string `json:"oauthTokenURL,omitempty"`

	// OAuthScopes used for OAuth2 authentication.
	// +optional
	OAuthScopes *[]string `json:"oauthScopes,omitempty"`

	// Adapter spec overrides parameters.
	// +optional
	AdapterOverrides *v1alpha1.AdapterOverrides `json:"adapterOverrides,omitempty"`
}

HTTPTargetSpec defines the desired state of the event target.

func (*HTTPTargetSpec) DeepCopy

func (in *HTTPTargetSpec) DeepCopy() *HTTPTargetSpec

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

func (*HTTPTargetSpec) DeepCopyInto

func (in *HTTPTargetSpec) DeepCopyInto(out *HTTPTargetSpec)

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

type Instrument

type Instrument struct {
	// Name for the Instrument.
	Name string `json:"name"`

	// Description for the Instrument
	// +optional
	Description *string `json:"description,omitempty"`

	// Instrument Kind as defined by OpenTelemetry. Supported values are:
	//
	// - Histogram: for absolute values that can be aggregated.
	// - Counter: for delta values that increase monotonically.
	// - UpDownCounter: for delta values that can increase and decrease.
	Instrument InstrumentKind `json:"instrument"`

	// Number Kind as defined by OpenTelemetry, defines the measure data type
	// accepted by the Instrument. Supported values are:
	//
	// - Int64.
	// - Float64.
	Number NumberKind `json:"number"`
}

Instrument push metrics for.

func (*Instrument) DeepCopy

func (in *Instrument) DeepCopy() *Instrument

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

func (*Instrument) DeepCopyInto

func (in *Instrument) DeepCopyInto(out *Instrument)

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

type InstrumentKind

type InstrumentKind string

InstrumentKind as defined by OpenTelemetry.

type JiraAuth added in v0.1.17

type JiraAuth struct {
	// Jira username to connect to the instance as.
	User string `json:"user"`
	// Jira API token bound to the user.
	Token SecretValueFromSource `json:"token"`
}

JiraAuth contains Jira credentials.

func (*JiraAuth) DeepCopy added in v0.1.17

func (in *JiraAuth) DeepCopy() *JiraAuth

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

func (*JiraAuth) DeepCopyInto added in v0.1.17

func (in *JiraAuth) DeepCopyInto(out *JiraAuth)

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

type JiraTarget added in v0.1.17

type JiraTarget struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   JiraTargetSpec  `json:"spec"`
	Status v1alpha1.Status `json:"status,omitempty"`
}

JiraTarget is the Schema for the Jira Target.

func (*JiraTarget) AcceptedEventTypes added in v0.1.17

func (*JiraTarget) AcceptedEventTypes() []string

AcceptedEventTypes implements IntegrationTarget.

func (*JiraTarget) AsEventSource added in v0.1.17

func (t *JiraTarget) AsEventSource() string

AsEventSource implements EventSource.

func (*JiraTarget) DeepCopy added in v0.1.17

func (in *JiraTarget) DeepCopy() *JiraTarget

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

func (*JiraTarget) DeepCopyInto added in v0.1.17

func (in *JiraTarget) DeepCopyInto(out *JiraTarget)

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

func (*JiraTarget) DeepCopyObject added in v0.1.17

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

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

func (*JiraTarget) GetAdapterOverrides added in v0.1.17

func (t *JiraTarget) GetAdapterOverrides() *v1alpha1.AdapterOverrides

GetAdapterOverrides implements AdapterConfigurable.

func (*JiraTarget) GetConditionSet added in v0.1.17

func (*JiraTarget) GetConditionSet() apis.ConditionSet

GetConditionSet implements duckv1.KRShaped.

func (*JiraTarget) GetEventTypes added in v0.1.17

func (*JiraTarget) GetEventTypes() []string

GetEventTypes implements EventSource.

func (*JiraTarget) GetGroupVersionKind added in v0.1.17

func (*JiraTarget) GetGroupVersionKind() schema.GroupVersionKind

GetGroupVersionKind implements kmeta.OwnerRefable.

func (*JiraTarget) GetStatus added in v0.1.17

func (t *JiraTarget) GetStatus() *duckv1.Status

GetStatus implements duckv1.KRShaped.

func (*JiraTarget) GetStatusManager added in v0.1.17

func (t *JiraTarget) GetStatusManager() *v1alpha1.StatusManager

GetStatusManager implements Reconcilable.

func (*JiraTarget) SetDefaults added in v0.1.17

func (t *JiraTarget) SetDefaults(ctx context.Context)

SetDefaults implements apis.Defaultable

func (*JiraTarget) Validate added in v0.1.17

func (t *JiraTarget) Validate(ctx context.Context) *apis.FieldError

Validate implements apis.Validatable

type JiraTargetList added in v0.1.17

type JiraTargetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []JiraTarget `json:"items"`
}

JiraTargetList is a list of event target instances.

func (*JiraTargetList) DeepCopy added in v0.1.17

func (in *JiraTargetList) DeepCopy() *JiraTargetList

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

func (*JiraTargetList) DeepCopyInto added in v0.1.17

func (in *JiraTargetList) DeepCopyInto(out *JiraTargetList)

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

func (*JiraTargetList) DeepCopyObject added in v0.1.17

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

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

type JiraTargetSpec added in v0.1.17

type JiraTargetSpec struct {
	// Authentication to interact with the JIRA REST API.
	Auth JiraAuth `json:"auth"`

	// URL for Jira service.
	URL string `json:"url"`

	// Adapter spec overrides parameters.
	// +optional
	AdapterOverrides *v1alpha1.AdapterOverrides `json:"adapterOverrides,omitempty"`
}

JiraTargetSpec defines the desired state of the event target.

func (*JiraTargetSpec) DeepCopy added in v0.1.17

func (in *JiraTargetSpec) DeepCopy() *JiraTargetSpec

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

func (*JiraTargetSpec) DeepCopyInto added in v0.1.17

func (in *JiraTargetSpec) DeepCopyInto(out *JiraTargetSpec)

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

type KafkaTarget

type KafkaTarget struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   KafkaTargetSpec `json:"spec"`
	Status v1alpha1.Status `json:"status,omitempty"`
}

KafkaTarget is the Schema for an KafkaTarget.

func (*KafkaTarget) DeepCopy

func (in *KafkaTarget) DeepCopy() *KafkaTarget

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

func (*KafkaTarget) DeepCopyInto

func (in *KafkaTarget) DeepCopyInto(out *KafkaTarget)

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

func (*KafkaTarget) DeepCopyObject

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

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

func (*KafkaTarget) GetAdapterOverrides

func (t *KafkaTarget) GetAdapterOverrides() *v1alpha1.AdapterOverrides

GetAdapterOverrides implements AdapterConfigurable.

func (*KafkaTarget) GetConditionSet

func (*KafkaTarget) GetConditionSet() apis.ConditionSet

GetConditionSet implements duckv1.KRShaped.

func (*KafkaTarget) GetGroupVersionKind

func (*KafkaTarget) GetGroupVersionKind() schema.GroupVersionKind

GetGroupVersionKind implements kmeta.OwnerRefable.

func (*KafkaTarget) GetStatus

func (t *KafkaTarget) GetStatus() *duckv1.Status

GetStatus implements duckv1.KRShaped.

func (*KafkaTarget) GetStatusManager

func (t *KafkaTarget) GetStatusManager() *v1alpha1.StatusManager

GetStatusManager implements Reconcilable.

func (*KafkaTarget) SetDefaults

func (t *KafkaTarget) SetDefaults(ctx context.Context)

SetDefaults implements apis.Defaultable

func (*KafkaTarget) Validate

func (t *KafkaTarget) Validate(ctx context.Context) *apis.FieldError

Validate implements apis.Validatable

type KafkaTargetAuth

type KafkaTargetAuth struct {
	Kerberos *KafkaTargetKerberos `json:"kerberos,omitempty"`
	TLS      *KafkaTargetTLSAuth  `json:"tls,omitempty"`

	// SASL Enable
	SASLEnable bool `json:"saslEnable"`

	// TLS Enable
	// +optional
	TLSEnable *bool `json:"tlsEnable,omitempty"`

	// SecurityMechanisms holds the assignment of the specific SASL mechanisms.
	// +optional
	SecurityMechanisms *string `json:"securityMechanism,omitempty"`

	// Username Kafka account User
	// +optional
	Username *string `json:"username,omitempty"`

	// Password Kafka account Password
	// +optional
	Password *v1alpha1.ValueFromField `json:"password,omitempty"`
}

KafkaTargetAuth contains Authentication method used to interact with Kafka.

func (*KafkaTargetAuth) DeepCopy

func (in *KafkaTargetAuth) DeepCopy() *KafkaTargetAuth

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

func (*KafkaTargetAuth) DeepCopyInto

func (in *KafkaTargetAuth) DeepCopyInto(out *KafkaTargetAuth)

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

type KafkaTargetKerberos

type KafkaTargetKerberos struct {
	Username    *string                  `json:"username,omitempty"`
	Password    *v1alpha1.ValueFromField `json:"password,omitempty"`
	ServiceName *string                  `json:"serviceName,omitempty"`
	ConfigPath  *string                  `json:"configPath,omitempty"`
	KeytabPath  *string                  `json:"keytabPath,omitempty"`
	Config      *v1alpha1.ValueFromField `json:"config,omitempty"`
	Keytab      *v1alpha1.ValueFromField `json:"keytab,omitempty"`
	Realm       *string                  `json:"realm,omitempty"`
}

KafkaTargetKerberos contains kerberos credentials.

func (*KafkaTargetKerberos) DeepCopy

func (in *KafkaTargetKerberos) DeepCopy() *KafkaTargetKerberos

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

func (*KafkaTargetKerberos) DeepCopyInto

func (in *KafkaTargetKerberos) DeepCopyInto(out *KafkaTargetKerberos)

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

type KafkaTargetList

type KafkaTargetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []KafkaTarget `json:"items"`
}

KafkaTargetList is a list of event target instances.

func (*KafkaTargetList) DeepCopy

func (in *KafkaTargetList) DeepCopy() *KafkaTargetList

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

func (*KafkaTargetList) DeepCopyInto

func (in *KafkaTargetList) DeepCopyInto(out *KafkaTargetList)

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

func (*KafkaTargetList) DeepCopyObject

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

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

type KafkaTargetSpec

type KafkaTargetSpec struct {
	// Topic where messages are produced.
	Topic string `json:"topic"`

	// TopicReplicationFactor is the number of replicas for the topic.
	// +optional
	TopicReplicationFactor *int16 `json:"topicReplicationFactor,omitempty"`

	// TopicPartitions is the number of partitions for the topic.
	// +optional
	TopicPartitions *int32 `json:"topicPartitions,omitempty"`

	// BootstrapServers holds the name of the Kafka Bootstrap server.
	BootstrapServers []string `json:"bootstrapServers"`

	// Auth contains Authentication method used to interact with Kafka.
	// +optional
	Auth *KafkaTargetAuth `json:"auth"`

	// Whether to omit CloudEvent context attributes in messages sent to Kafka.
	// When this property is false (default), the entire CloudEvent payload is included.
	// When this property is true, only the CloudEvent data is included.
	DiscardCEContext bool `json:"discardCloudEventContext"`

	// Adapter spec overrides parameters.
	// +optional
	AdapterOverrides *v1alpha1.AdapterOverrides `json:"adapterOverrides,omitempty"`
}

KafkaTargetSpec defines the desired state of the event target.

func (*KafkaTargetSpec) DeepCopy

func (in *KafkaTargetSpec) DeepCopy() *KafkaTargetSpec

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

func (*KafkaTargetSpec) DeepCopyInto

func (in *KafkaTargetSpec) DeepCopyInto(out *KafkaTargetSpec)

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

type KafkaTargetTLSAuth

type KafkaTargetTLSAuth struct {
	CA         *v1alpha1.ValueFromField `json:"ca,omitempty"`
	ClientCert *v1alpha1.ValueFromField `json:"clientCert,omitempty"`
	ClientKey  *v1alpha1.ValueFromField `json:"clientKey,omitempty"`
	SkipVerify *bool                    `json:"skipVerify,omitempty"`
}

KafkaTargetTLSAuth contains kerberos credentials.

func (*KafkaTargetTLSAuth) DeepCopy

func (in *KafkaTargetTLSAuth) DeepCopy() *KafkaTargetTLSAuth

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

func (*KafkaTargetTLSAuth) DeepCopyInto

func (in *KafkaTargetTLSAuth) DeepCopyInto(out *KafkaTargetTLSAuth)

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

type LogzMetricsConnection

type LogzMetricsConnection struct {
	// Token for connecting to Logz metrics listener.
	Token SecretValueFromSource `json:"token"`

	// ListenerURL for pushing metrics.
	ListenerURL string `json:"listenerURL"`
}

LogzMetricsConnection contains the information to connect to a Logz tenant to push metrics.

func (*LogzMetricsConnection) DeepCopy

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

func (*LogzMetricsConnection) DeepCopyInto

func (in *LogzMetricsConnection) DeepCopyInto(out *LogzMetricsConnection)

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

type LogzMetricsTarget

type LogzMetricsTarget struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   LogzMetricsTargetSpec `json:"spec"`
	Status v1alpha1.Status       `json:"status,omitempty"`
}

LogzMetricsTarget ...

func (*LogzMetricsTarget) AcceptedEventTypes

func (*LogzMetricsTarget) AcceptedEventTypes() []string

AcceptedEventTypes implements IntegrationTarget.

func (*LogzMetricsTarget) DeepCopy

func (in *LogzMetricsTarget) DeepCopy() *LogzMetricsTarget

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

func (*LogzMetricsTarget) DeepCopyInto

func (in *LogzMetricsTarget) DeepCopyInto(out *LogzMetricsTarget)

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

func (*LogzMetricsTarget) DeepCopyObject

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

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

func (*LogzMetricsTarget) GetAdapterOverrides

func (t *LogzMetricsTarget) GetAdapterOverrides() *v1alpha1.AdapterOverrides

GetAdapterOverrides implements AdapterConfigurable.

func (*LogzMetricsTarget) GetConditionSet

func (*LogzMetricsTarget) GetConditionSet() apis.ConditionSet

GetConditionSet implements duckv1.KRShaped.

func (*LogzMetricsTarget) GetGroupVersionKind

func (*LogzMetricsTarget) GetGroupVersionKind() schema.GroupVersionKind

GetGroupVersionKind implements kmeta.OwnerRefable.

func (*LogzMetricsTarget) GetStatus

func (t *LogzMetricsTarget) GetStatus() *duckv1.Status

GetStatus implements duckv1.KRShaped.

func (*LogzMetricsTarget) GetStatusManager

func (t *LogzMetricsTarget) GetStatusManager() *v1alpha1.StatusManager

GetStatusManager implements Reconcilable.

func (*LogzMetricsTarget) SetDefaults

func (t *LogzMetricsTarget) SetDefaults(ctx context.Context)

SetDefaults implements apis.Defaultable

func (*LogzMetricsTarget) Validate

func (t *LogzMetricsTarget) Validate(ctx context.Context) *apis.FieldError

Validate implements apis.Validatable

type LogzMetricsTargetList

type LogzMetricsTargetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []LogzMetricsTarget `json:"items"`
}

LogzMetricsTargetList is a list of event target instances.

func (*LogzMetricsTargetList) DeepCopy

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

func (*LogzMetricsTargetList) DeepCopyInto

func (in *LogzMetricsTargetList) DeepCopyInto(out *LogzMetricsTargetList)

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

func (*LogzMetricsTargetList) DeepCopyObject

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

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

type LogzMetricsTargetSpec

type LogzMetricsTargetSpec struct {
	// Connection information for LogzMetrics.
	Connection LogzMetricsConnection `json:"connection"`

	// Instruments configured for pushing metrics. It is mandatory that all metrics
	// pushed by using this target are pre-registered using this list.
	Instruments []Instrument `json:"instruments"`

	// EventOptions for targets
	// +optional
	EventOptions *EventOptions `json:"eventOptions,omitempty"`

	// Adapter spec overrides parameters.
	// +optional
	AdapterOverrides *v1alpha1.AdapterOverrides `json:"adapterOverrides,omitempty"`
}

LogzMetricsTargetSpec defines the desired state of the event target.

func (*LogzMetricsTargetSpec) DeepCopy

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

func (*LogzMetricsTargetSpec) DeepCopyInto

func (in *LogzMetricsTargetSpec) DeepCopyInto(out *LogzMetricsTargetSpec)

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

type LogzTarget

type LogzTarget struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   LogzTargetSpec  `json:"spec"`
	Status v1alpha1.Status `json:"status,omitempty"`
}

LogzTarget is the Schema for the Logz Target.

func (*LogzTarget) AsEventSource

func (t *LogzTarget) AsEventSource() string

AsEventSource implements EventSource.

func (*LogzTarget) DeepCopy

func (in *LogzTarget) DeepCopy() *LogzTarget

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

func (*LogzTarget) DeepCopyInto

func (in *LogzTarget) DeepCopyInto(out *LogzTarget)

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

func (*LogzTarget) DeepCopyObject

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

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

func (*LogzTarget) GetAdapterOverrides

func (t *LogzTarget) GetAdapterOverrides() *v1alpha1.AdapterOverrides

GetAdapterOverrides implements AdapterConfigurable.

func (*LogzTarget) GetConditionSet

func (*LogzTarget) GetConditionSet() apis.ConditionSet

GetConditionSet implements duckv1.KRShaped.

func (*LogzTarget) GetEventTypes

func (*LogzTarget) GetEventTypes() []string

GetEventTypes implements EventSource.

func (*LogzTarget) GetGroupVersionKind

func (*LogzTarget) GetGroupVersionKind() schema.GroupVersionKind

GetGroupVersionKind implements kmeta.OwnerRefable.

func (*LogzTarget) GetStatus

func (t *LogzTarget) GetStatus() *duckv1.Status

GetStatus implements duckv1.KRShaped.

func (*LogzTarget) GetStatusManager

func (t *LogzTarget) GetStatusManager() *v1alpha1.StatusManager

GetStatusManager implements Reconcilable.

func (*LogzTarget) SetDefaults

func (t *LogzTarget) SetDefaults(ctx context.Context)

SetDefaults implements apis.Defaultable

func (*LogzTarget) Validate

func (t *LogzTarget) Validate(ctx context.Context) *apis.FieldError

Validate implements apis.Validatable

type LogzTargetList

type LogzTargetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []LogzTarget `json:"items"`
}

LogzTargetList is a list of event target instances.

func (*LogzTargetList) DeepCopy

func (in *LogzTargetList) DeepCopy() *LogzTargetList

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

func (*LogzTargetList) DeepCopyInto

func (in *LogzTargetList) DeepCopyInto(out *LogzTargetList)

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

func (*LogzTargetList) DeepCopyObject

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

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

type LogzTargetSpec

type LogzTargetSpec struct {
	// ShippingToken defines the API token.
	ShippingToken SecretValueFromSource `json:"shippingToken"`

	// LogsListenerURL Defines the Log listener URL
	LogsListenerURL string `json:"logsListenerURL"`

	// EventOptions for targets
	EventOptions *EventOptions `json:"eventOptions,omitempty"`

	// Adapter spec overrides parameters.
	// +optional
	AdapterOverrides *v1alpha1.AdapterOverrides `json:"adapterOverrides,omitempty"`
}

LogzTargetSpec defines the desired state of the event target.

func (*LogzTargetSpec) DeepCopy

func (in *LogzTargetSpec) DeepCopy() *LogzTargetSpec

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

func (*LogzTargetSpec) DeepCopyInto

func (in *LogzTargetSpec) DeepCopyInto(out *LogzTargetSpec)

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

type NatsTarget

type NatsTarget struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   NatsTargetSpec  `json:"spec"`
	Status v1alpha1.Status `json:"status,omitempty"`
}

NatsTarget is the Schema for an NatsTarget.

func (*NatsTarget) DeepCopy

func (in *NatsTarget) DeepCopy() *NatsTarget

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

func (*NatsTarget) DeepCopyInto

func (in *NatsTarget) DeepCopyInto(out *NatsTarget)

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

func (*NatsTarget) DeepCopyObject

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

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

func (*NatsTarget) GetAdapterOverrides

func (t *NatsTarget) GetAdapterOverrides() *v1alpha1.AdapterOverrides

GetAdapterOverrides implements AdapterConfigurable.

func (*NatsTarget) GetConditionSet

func (*NatsTarget) GetConditionSet() apis.ConditionSet

GetConditionSet implements duckv1.KRShaped.

func (*NatsTarget) GetGroupVersionKind

func (*NatsTarget) GetGroupVersionKind() schema.GroupVersionKind

GetGroupVersionKind implements kmeta.OwnerRefable.

func (*NatsTarget) GetStatus

func (t *NatsTarget) GetStatus() *duckv1.Status

GetStatus implements duckv1.KRShaped.

func (*NatsTarget) GetStatusManager

func (t *NatsTarget) GetStatusManager() *v1alpha1.StatusManager

GetStatusManager implements Reconcilable.

func (*NatsTarget) SetDefaults

func (t *NatsTarget) SetDefaults(ctx context.Context)

SetDefaults implements apis.Defaultable

func (*NatsTarget) Validate

func (t *NatsTarget) Validate(ctx context.Context) *apis.FieldError

Validate implements apis.Validatable

type NatsTargetList

type NatsTargetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []NatsTarget `json:"items"`
}

NatsTargetList is a list of event target instances.

func (*NatsTargetList) DeepCopy

func (in *NatsTargetList) DeepCopy() *NatsTargetList

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

func (*NatsTargetList) DeepCopyInto

func (in *NatsTargetList) DeepCopyInto(out *NatsTargetList)

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

func (*NatsTargetList) DeepCopyObject

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

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

type NatsTargetSpec

type NatsTargetSpec struct {
	// Subject where messages are produced.
	Subject string `json:"subject"`

	// URL of the Nats server.
	URL string `json:"url"`

	// Adapter spec overrides parameters.
	// +optional
	AdapterOverrides *v1alpha1.AdapterOverrides `json:"adapterOverrides,omitempty"`
}

NatsTargetSpec defines the desired state of the event target.

func (*NatsTargetSpec) DeepCopy

func (in *NatsTargetSpec) DeepCopy() *NatsTargetSpec

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

func (*NatsTargetSpec) DeepCopyInto

func (in *NatsTargetSpec) DeepCopyInto(out *NatsTargetSpec)

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

type NumberKind

type NumberKind string

NumberKind as defined by OpenTelemetry.

type SalesforceAuth added in v0.1.14

type SalesforceAuth struct {
	// ClientID for the Salesforce connected app.
	ClientID string `json:"clientID"`
	// Server points to the authorization URL.
	Server string `json:"server"`
	// User configuring the connected app.
	User string `json:"user"`
	// CertKey is the private key used to sign requests from the target.
	CertKey SecretValueFromSource `json:"certKey"`
}

SalesforceAuth contains OAuth JWT information to interact with the Salesforce API. See: https://help.salesforce.com/s/articleView?id=sf.remoteaccess_oauth_jwt_flow.htm

func (*SalesforceAuth) DeepCopy added in v0.1.14

func (in *SalesforceAuth) DeepCopy() *SalesforceAuth

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

func (*SalesforceAuth) DeepCopyInto added in v0.1.14

func (in *SalesforceAuth) DeepCopyInto(out *SalesforceAuth)

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

type SalesforceTarget added in v0.1.14

type SalesforceTarget struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SalesforceTargetSpec `json:"spec"`
	Status v1alpha1.Status      `json:"status,omitempty"`
}

SalesforceTarget ...

func (*SalesforceTarget) AcceptedEventTypes added in v0.1.14

func (*SalesforceTarget) AcceptedEventTypes() []string

AcceptedEventTypes implements IntegrationTarget.

func (*SalesforceTarget) AsEventSource added in v0.1.14

func (t *SalesforceTarget) AsEventSource() string

AsEventSource implements EventSource.

func (*SalesforceTarget) DeepCopy added in v0.1.14

func (in *SalesforceTarget) DeepCopy() *SalesforceTarget

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

func (*SalesforceTarget) DeepCopyInto added in v0.1.14

func (in *SalesforceTarget) DeepCopyInto(out *SalesforceTarget)

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

func (*SalesforceTarget) DeepCopyObject added in v0.1.14

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

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

func (*SalesforceTarget) GetAdapterOverrides added in v0.1.14

func (t *SalesforceTarget) GetAdapterOverrides() *v1alpha1.AdapterOverrides

GetAdapterOverrides implements AdapterConfigurable.

func (*SalesforceTarget) GetConditionSet added in v0.1.14

func (*SalesforceTarget) GetConditionSet() apis.ConditionSet

GetConditionSet implements duckv1.KRShaped.

func (*SalesforceTarget) GetEventTypes added in v0.1.14

func (*SalesforceTarget) GetEventTypes() []string

GetEventTypes implements EventSource.

func (*SalesforceTarget) GetGroupVersionKind added in v0.1.14

func (*SalesforceTarget) GetGroupVersionKind() schema.GroupVersionKind

GetGroupVersionKind implements kmeta.OwnerRefable.

func (*SalesforceTarget) GetStatus added in v0.1.14

func (t *SalesforceTarget) GetStatus() *duckv1.Status

GetStatus implements duckv1.KRShaped.

func (*SalesforceTarget) GetStatusManager added in v0.1.14

func (t *SalesforceTarget) GetStatusManager() *v1alpha1.StatusManager

GetStatusManager implements Reconcilable.

func (*SalesforceTarget) SetDefaults added in v0.1.14

func (t *SalesforceTarget) SetDefaults(ctx context.Context)

SetDefaults implements apis.Defaultable

func (*SalesforceTarget) Validate added in v0.1.14

func (t *SalesforceTarget) Validate(ctx context.Context) *apis.FieldError

Validate implements apis.Validatable

type SalesforceTargetList added in v0.1.14

type SalesforceTargetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []SalesforceTarget `json:"items"`
}

SalesforceTargetList is a list of event target instances.

func (*SalesforceTargetList) DeepCopy added in v0.1.14

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

func (*SalesforceTargetList) DeepCopyInto added in v0.1.14

func (in *SalesforceTargetList) DeepCopyInto(out *SalesforceTargetList)

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

func (*SalesforceTargetList) DeepCopyObject added in v0.1.14

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

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

type SalesforceTargetSpec added in v0.1.14

type SalesforceTargetSpec struct {
	// Authentication information to interact with the Salesforce API.
	Auth SalesforceAuth `json:"auth"`

	// APIVersion at Salesforce. If not set the latest version will be used.
	// +optional
	APIVersion *string `json:"apiVersion"`

	// EventOptions for targets
	// +optional
	EventOptions *EventOptions `json:"eventOptions,omitempty"`

	// Adapter spec overrides parameters.
	// +optional
	AdapterOverrides *v1alpha1.AdapterOverrides `json:"adapterOverrides,omitempty"`
}

SalesforceTargetSpec defines the desired state of the event target.

func (*SalesforceTargetSpec) DeepCopy added in v0.1.14

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

func (*SalesforceTargetSpec) DeepCopyInto added in v0.1.14

func (in *SalesforceTargetSpec) DeepCopyInto(out *SalesforceTargetSpec)

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

type SecretValueFromSource

type SecretValueFromSource struct {
	// The Secret key to select from.
	SecretKeyRef *corev1.SecretKeySelector `json:"secretKeyRef,omitempty"`
}

SecretValueFromSource represents the source of a secret value

func (*SecretValueFromSource) DeepCopy

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

func (*SecretValueFromSource) DeepCopyInto

func (in *SecretValueFromSource) DeepCopyInto(out *SecretValueFromSource)

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

type ServiceNowAuth added in v0.1.17

type ServiceNowAuth struct {
	// User is the username used to authenticate with the ServiceNow API.
	User string `json:"user"`
	// Password is the password used to authenticate with the ServiceNow API.
	Password string `json:"password"`
}

ServiceNowAuth contains the authentication information for the ServiceNow API.

func (*ServiceNowAuth) DeepCopy added in v0.1.17

func (in *ServiceNowAuth) DeepCopy() *ServiceNowAuth

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

func (*ServiceNowAuth) DeepCopyInto added in v0.1.17

func (in *ServiceNowAuth) DeepCopyInto(out *ServiceNowAuth)

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

type ServiceNowTarget added in v0.1.17

type ServiceNowTarget struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ServiceNowTargetSpec `json:"spec"`
	Status v1alpha1.Status      `json:"status,omitempty"`
}

ServiceNowTarget ...

func (*ServiceNowTarget) DeepCopy added in v0.1.17

func (in *ServiceNowTarget) DeepCopy() *ServiceNowTarget

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

func (*ServiceNowTarget) DeepCopyInto added in v0.1.17

func (in *ServiceNowTarget) DeepCopyInto(out *ServiceNowTarget)

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

func (*ServiceNowTarget) DeepCopyObject added in v0.1.17

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

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

func (*ServiceNowTarget) GetAdapterOverrides added in v0.1.17

func (t *ServiceNowTarget) GetAdapterOverrides() *v1alpha1.AdapterOverrides

GetAdapterOverrides implements AdapterConfigurable.

func (*ServiceNowTarget) GetConditionSet added in v0.1.17

func (*ServiceNowTarget) GetConditionSet() apis.ConditionSet

GetConditionSet implements duckv1.KRShaped.

func (*ServiceNowTarget) GetGroupVersionKind added in v0.1.17

func (*ServiceNowTarget) GetGroupVersionKind() schema.GroupVersionKind

GetGroupVersionKind implements kmeta.OwnerRefable.

func (*ServiceNowTarget) GetStatus added in v0.1.17

func (t *ServiceNowTarget) GetStatus() *duckv1.Status

GetStatus implements duckv1.KRShaped.

func (*ServiceNowTarget) GetStatusManager added in v0.1.17

func (t *ServiceNowTarget) GetStatusManager() *v1alpha1.StatusManager

GetStatusManager implements Reconcilable.

func (*ServiceNowTarget) SetDefaults added in v0.1.17

func (t *ServiceNowTarget) SetDefaults(ctx context.Context)

SetDefaults implements apis.Defaultable

func (*ServiceNowTarget) Validate added in v0.1.17

func (t *ServiceNowTarget) Validate(ctx context.Context) *apis.FieldError

Validate implements apis.Validatable

type ServiceNowTargetList added in v0.1.17

type ServiceNowTargetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []SalesforceTarget `json:"items"`
}

ServiceNowTargetList is a list of event target instances.

func (*ServiceNowTargetList) DeepCopy added in v0.1.17

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

func (*ServiceNowTargetList) DeepCopyInto added in v0.1.17

func (in *ServiceNowTargetList) DeepCopyInto(out *ServiceNowTargetList)

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

func (*ServiceNowTargetList) DeepCopyObject added in v0.1.17

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

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

type ServiceNowTargetSpec added in v0.1.17

type ServiceNowTargetSpec struct {
	// Authentication information to interact with the Salesforce API.
	Auth SalesforceAuth `json:"auth"`

	// Instance is the ServiceNow instance to connect to.
	Instance string `json:"instance"`

	// Source is the source of the event.
	Source string `json:"source"`

	// EventOptions for targets
	// +optional
	EventOptions *EventOptions `json:"eventOptions,omitempty"`

	// Adapter spec overrides parameters.
	// +optional
	AdapterOverrides *v1alpha1.AdapterOverrides `json:"adapterOverrides,omitempty"`
}

ServiceNowTargetSpec defines the desired state of the event target.

func (*ServiceNowTargetSpec) DeepCopy added in v0.1.17

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

func (*ServiceNowTargetSpec) DeepCopyInto added in v0.1.17

func (in *ServiceNowTargetSpec) DeepCopyInto(out *ServiceNowTargetSpec)

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

type SplunkTarget

type SplunkTarget struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SplunkTargetSpec `json:"spec,omitempty"`
	Status v1alpha1.Status  `json:"status,omitempty"`
}

SplunkTarget is the Schema for the event target.

func (*SplunkTarget) DeepCopy

func (in *SplunkTarget) DeepCopy() *SplunkTarget

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

func (*SplunkTarget) DeepCopyInto

func (in *SplunkTarget) DeepCopyInto(out *SplunkTarget)

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

func (*SplunkTarget) DeepCopyObject

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

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

func (*SplunkTarget) GetAdapterOverrides

func (t *SplunkTarget) GetAdapterOverrides() *v1alpha1.AdapterOverrides

GetAdapterOverrides implements AdapterConfigurable.

func (*SplunkTarget) GetConditionSet

func (*SplunkTarget) GetConditionSet() apis.ConditionSet

GetConditionSet implements duckv1.KRShaped.

func (*SplunkTarget) GetGroupVersionKind

func (*SplunkTarget) GetGroupVersionKind() schema.GroupVersionKind

GetGroupVersionKind implements kmeta.OwnerRefable.

func (*SplunkTarget) GetStatus

func (t *SplunkTarget) GetStatus() *duckv1.Status

GetStatus implements duckv1.KRShaped.

func (*SplunkTarget) GetStatusManager

func (t *SplunkTarget) GetStatusManager() *v1alpha1.StatusManager

GetStatusManager implements Reconcilable.

func (*SplunkTarget) SetDefaults

func (t *SplunkTarget) SetDefaults(ctx context.Context)

SetDefaults implements apis.Defaultable

func (*SplunkTarget) Validate

func (t *SplunkTarget) Validate(ctx context.Context) *apis.FieldError

Validate implements apis.Validatable

type SplunkTargetList

type SplunkTargetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []SplunkTarget `json:"items"`
}

SplunkTargetList is a list of event target instances.

func (*SplunkTargetList) DeepCopy

func (in *SplunkTargetList) DeepCopy() *SplunkTargetList

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

func (*SplunkTargetList) DeepCopyInto

func (in *SplunkTargetList) DeepCopyInto(out *SplunkTargetList)

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

func (*SplunkTargetList) DeepCopyObject

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

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

type SplunkTargetSpec

type SplunkTargetSpec struct {
	// URL of the HTTP Event Collector (HEC).
	// Only the scheme, hostname, and port (optionally) are evaluated, the URL path is trimmed if present.
	// see https://docs.splunk.com/Documentation/Splunk/latest/Data/UsetheHTTPEventCollector#Enable_HTTP_Event_Collector
	Endpoint apis.URL `json:"endpoint"`
	// Token for authenticating requests against the HEC.
	// see https://docs.splunk.com/Documentation/Splunk/latest/Data/UsetheHTTPEventCollector#About_Event_Collector_tokens
	Token v1alpha1.ValueFromField `json:"token"`
	// Name of the index to send events to.
	// When undefined, events are sent to the default index defined in the HEC token's configuration.
	// +optional
	Index *string `json:"index,omitempty"`

	// Controls whether the Splunk client verifies the server's certificate
	// chain and host name when communicating over TLS.
	// +optional
	SkipTLSVerify *bool `json:"skipTLSVerify,omitempty"`

	// Adapter spec overrides parameters.
	// +optional
	AdapterOverrides *v1alpha1.AdapterOverrides `json:"adapterOverrides,omitempty"`

	// Whether to omit CloudEvent context attributes in messages sent to Splunk.
	// When this property is false (default), the entire CloudEvent payload is included.
	// When this property is true, only the CloudEvent data is included.
	DiscardCEContext bool `json:"discardCloudEventContext"`
}

SplunkTargetSpec defines the desired state of the event target.

func (*SplunkTargetSpec) DeepCopy

func (in *SplunkTargetSpec) DeepCopy() *SplunkTargetSpec

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

func (*SplunkTargetSpec) DeepCopyInto

func (in *SplunkTargetSpec) DeepCopyInto(out *SplunkTargetSpec)

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

Jump to

Keyboard shortcuts

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