v1alpha1

package
v0.10.17 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=k8s.kevingomez.fr

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "k8s.kevingomez.fr", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

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

Functions

This section is empty.

Types

type APIKey

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

	Spec   APIKeySpec   `json:"spec,omitempty"`
	Status APIKeyStatus `json:"status,omitempty"`
}

APIKey is the Schema for the apikeys API

func (*APIKey) DeepCopy

func (in *APIKey) DeepCopy() *APIKey

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

func (*APIKey) DeepCopyInto

func (in *APIKey) DeepCopyInto(out *APIKey)

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

func (*APIKey) DeepCopyObject

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

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

type APIKeyList

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

APIKeyList contains a list of APIKey

func (*APIKeyList) DeepCopy

func (in *APIKeyList) DeepCopy() *APIKeyList

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

func (*APIKeyList) DeepCopyInto

func (in *APIKeyList) DeepCopyInto(out *APIKeyList)

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

func (*APIKeyList) DeepCopyObject

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

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

type APIKeySpec

type APIKeySpec struct {
	// +kubebuilder:validation:Enum=admin;editor;viewer
	// +kubebuilder:validation:Required
	Role string `json:"role"`
}

APIKeySpec defines the desired state of APIKey

func (*APIKeySpec) DeepCopy

func (in *APIKeySpec) DeepCopy() *APIKeySpec

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

func (*APIKeySpec) DeepCopyInto

func (in *APIKeySpec) DeepCopyInto(out *APIKeySpec)

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

type APIKeyStatus

type APIKeyStatus struct {
	Status  string `json:"status"`
	Message string `json:"message"`
}

APIKeyStatus defines the observed state of APIKey

func (*APIKeyStatus) DeepCopy

func (in *APIKeyStatus) DeepCopy() *APIKeyStatus

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

func (*APIKeyStatus) DeepCopyInto

func (in *APIKeyStatus) DeepCopyInto(out *APIKeyStatus)

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

type AlertManager

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

	Spec   AlertManagerSpec   `json:"spec,omitempty"`
	Status AlertManagerStatus `json:"status,omitempty"`
}

AlertManager is the Schema for the alertmanagers API

func (*AlertManager) DeepCopy

func (in *AlertManager) DeepCopy() *AlertManager

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

func (*AlertManager) DeepCopyInto

func (in *AlertManager) DeepCopyInto(out *AlertManager)

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

func (*AlertManager) DeepCopyObject

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

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

type AlertManagerList

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

AlertManagerList contains a list of AlertManager

func (*AlertManagerList) DeepCopy

func (in *AlertManagerList) DeepCopy() *AlertManagerList

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

func (*AlertManagerList) DeepCopyInto

func (in *AlertManagerList) DeepCopyInto(out *AlertManagerList)

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

func (*AlertManagerList) DeepCopyObject

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

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

type AlertManagerSpec

type AlertManagerSpec struct {
	// +kubebuilder:validation:Required
	DefaultContactPoint string `json:"default_contact_point,omitempty"`

	// DefaultGroupBy is the default list of labels to group alerts by.
	DefaultGroupBy []string `json:"default_group_by,omitempty"`

	ContactPoints    []ContactPoint    `json:"contact_points,omitempty"`
	Routing          []RoutingPolicy   `json:"routing,omitempty"`
	MessageTemplates map[string]string `json:"message_templates,omitempty"`
}

AlertManagerSpec defines the desired state of AlertManager

func (*AlertManagerSpec) DeepCopy

func (in *AlertManagerSpec) DeepCopy() *AlertManagerSpec

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

func (*AlertManagerSpec) DeepCopyInto

func (in *AlertManagerSpec) DeepCopyInto(out *AlertManagerSpec)

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

type AlertManagerStatus

type AlertManagerStatus struct {
	Status  string `json:"status"`
	Message string `json:"message"`
}

AlertManagerStatus defines the observed state of AlertManager

func (*AlertManagerStatus) DeepCopy

func (in *AlertManagerStatus) DeepCopy() *AlertManagerStatus

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

func (*AlertManagerStatus) DeepCopyInto

func (in *AlertManagerStatus) DeepCopyInto(out *AlertManagerStatus)

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

type BasicAuth

type BasicAuth struct {
	Username ValueOrRef `json:"username"`
	Password ValueOrRef `json:"password"`
}

func (*BasicAuth) DeepCopy

func (in *BasicAuth) DeepCopy() *BasicAuth

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

func (*BasicAuth) DeepCopyInto

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

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

type CloudWatchAuth added in v0.10.14

type CloudWatchAuth struct {
	Keys *CloudWatchAuthKeys `json:"keys,omitempty"`
}

func (*CloudWatchAuth) DeepCopy added in v0.10.14

func (in *CloudWatchAuth) DeepCopy() *CloudWatchAuth

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

func (*CloudWatchAuth) DeepCopyInto added in v0.10.14

func (in *CloudWatchAuth) DeepCopyInto(out *CloudWatchAuth)

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

type CloudWatchAuthKeys added in v0.10.14

type CloudWatchAuthKeys struct {
	Access string      `json:"access"`
	Secret *ValueOrRef `json:"secret"`
}

func (*CloudWatchAuthKeys) DeepCopy added in v0.10.14

func (in *CloudWatchAuthKeys) DeepCopy() *CloudWatchAuthKeys

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

func (*CloudWatchAuthKeys) DeepCopyInto added in v0.10.14

func (in *CloudWatchAuthKeys) DeepCopyInto(out *CloudWatchAuthKeys)

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

type CloudWatchDatasource added in v0.10.14

type CloudWatchDatasource struct {
	Default *bool `json:"default,omitempty"`

	Auth *CloudWatchAuth `json:"auth,omitempty"`

	// Endpoint specifies a custom endpoint for the CloudWatch service.
	Endpoint string `json:"endpoint,omitempty"`

	// DefaultRegion sets the default region to use.
	DefaultRegion string `json:"default_region,omitempty"`

	// AssumeRoleARN specifies the ARN of a role to assume.
	// Format: arn:aws:iam:*
	AssumeRoleARN string `json:"assume_role_arn,omitempty"`

	// ExternalID specifies the external identifier of a role to assume in another account.
	ExternalID string `json:"external_id,omitempty"`

	// CustomMetricsNamespaces specifies a list of namespaces for custom metrics.
	CustomMetricsNamespaces []string `json:"custom_metrics_namespaces,omitempty"`
}

func (*CloudWatchDatasource) DeepCopy added in v0.10.14

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

func (*CloudWatchDatasource) DeepCopyInto added in v0.10.14

func (in *CloudWatchDatasource) DeepCopyInto(out *CloudWatchDatasource)

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

type ContactPoint

type ContactPoint struct {
	// +kubebuilder:validation:Required
	Name     string             `json:"name"`
	Contacts []ContactPointType `json:"contacts"`
}

func (*ContactPoint) DeepCopy

func (in *ContactPoint) DeepCopy() *ContactPoint

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

func (*ContactPoint) DeepCopyInto

func (in *ContactPoint) DeepCopyInto(out *ContactPoint)

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

type ContactPointType

type ContactPointType struct {
	Email    *EmailContactType    `json:"email,omitempty"`
	Slack    *SlackContactType    `json:"slack,omitempty"`
	Opsgenie *OpsgenieContactType `json:"opsgenie,omitempty"`
	Discord  *DiscordContactType  `json:"discord,omitempty"`
}

func (*ContactPointType) DeepCopy

func (in *ContactPointType) DeepCopy() *ContactPointType

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

func (*ContactPointType) DeepCopyInto

func (in *ContactPointType) DeepCopyInto(out *ContactPointType)

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

type Datasource

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

	Spec   DatasourceSpec   `json:"spec"`
	Status DatasourceStatus `json:"status,omitempty"`
}

Datasource is the Schema for the datasources API

func (*Datasource) DeepCopy

func (in *Datasource) DeepCopy() *Datasource

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

func (*Datasource) DeepCopyInto

func (in *Datasource) DeepCopyInto(out *Datasource)

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

func (*Datasource) DeepCopyObject

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

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

type DatasourceList

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

DatasourceList contains a list of Datasource

func (*DatasourceList) DeepCopy

func (in *DatasourceList) DeepCopy() *DatasourceList

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

func (*DatasourceList) DeepCopyInto

func (in *DatasourceList) DeepCopyInto(out *DatasourceList)

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

func (*DatasourceList) DeepCopyObject

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

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

type DatasourceSpec

type DatasourceSpec struct {
	Prometheus  *PrometheusDatasource  `json:"prometheus,omitempty"`
	Stackdriver *StackdriverDatasource `json:"stackdriver,omitempty"`
	Jaeger      *JaegerDatasource      `json:"jaeger,omitempty"`
	Loki        *LokiDatasource        `json:"loki,omitempty"`
	Tempo       *TempoDatasource       `json:"tempo,omitempty"`
	CloudWatch  *CloudWatchDatasource  `json:"cloudwatch,omitempty"`
}

func (*DatasourceSpec) DeepCopy

func (in *DatasourceSpec) DeepCopy() *DatasourceSpec

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

func (*DatasourceSpec) DeepCopyInto

func (in *DatasourceSpec) DeepCopyInto(out *DatasourceSpec)

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

type DatasourceStatus

type DatasourceStatus struct {
	Status  string `json:"status"`
	Message string `json:"message"`
}

DatasourceStatus defines the observed state of Datasource

func (*DatasourceStatus) DeepCopy

func (in *DatasourceStatus) DeepCopy() *DatasourceStatus

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

func (*DatasourceStatus) DeepCopyInto

func (in *DatasourceStatus) DeepCopyInto(out *DatasourceStatus)

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

type DiscordContactType added in v0.10.5

type DiscordContactType struct {
	Webhook            ValueOrRef `json:"webhook,omitempty"`
	UseDiscordUsername bool       `json:"use_discord_username,omitempty"`
}

func (*DiscordContactType) DeepCopy added in v0.10.14

func (in *DiscordContactType) DeepCopy() *DiscordContactType

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

func (*DiscordContactType) DeepCopyInto added in v0.10.14

func (in *DiscordContactType) DeepCopyInto(out *DiscordContactType)

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

type EmailContactType

type EmailContactType struct {
	To      []string `json:"to"`
	Single  bool     `json:"single,omitempty"`
	Message string   `json:"message,omitempty"`
}

func (*EmailContactType) DeepCopy

func (in *EmailContactType) DeepCopy() *EmailContactType

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

func (*EmailContactType) DeepCopyInto

func (in *EmailContactType) DeepCopyInto(out *EmailContactType)

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

type JaegerDatasource

type JaegerDatasource struct {
	// +kubebuilder:validation:Required
	URL     string `json:"url"`
	Default *bool  `json:"default,omitempty"`

	ForwardOauth       *bool       `json:"forward_oauth,omitempty"`
	ForwardCredentials *bool       `json:"forward_credentials,omitempty"`
	SkipTLSVerify      *bool       `json:"skip_tls_verify,omitempty"`
	ForwardCookies     []string    `json:"forward_cookies,omitempty"`
	Timeout            string      `json:"timeout,omitempty"`
	BasicAuth          *BasicAuth  `json:"basic_auth,omitempty"`
	CACertificate      *ValueOrRef `json:"ca_certificate,omitempty"`

	NodeGraph *bool `json:"node_graph,omitempty"`

	TraceToLogs *TraceToLogs `json:"trace_to_logs,omitempty"`
}

func (*JaegerDatasource) DeepCopy

func (in *JaegerDatasource) DeepCopy() *JaegerDatasource

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

func (*JaegerDatasource) DeepCopyInto

func (in *JaegerDatasource) DeepCopyInto(out *JaegerDatasource)

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

type LabelsMatchingRule

type LabelsMatchingRule struct {
	Eq         map[string]string `json:"eq,omitempty"`
	Neq        map[string]string `json:"neq,omitempty"`
	Matches    map[string]string `json:"matches,omitempty"`
	NotMatches map[string]string `json:"not_matches,omitempty"`
}

func (*LabelsMatchingRule) DeepCopy

func (in *LabelsMatchingRule) DeepCopy() *LabelsMatchingRule

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

func (*LabelsMatchingRule) DeepCopyInto

func (in *LabelsMatchingRule) DeepCopyInto(out *LabelsMatchingRule)

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

type LokiDatasource

type LokiDatasource struct {
	// +kubebuilder:validation:Required
	URL     string `json:"url"`
	Default *bool  `json:"default,omitempty"`

	ForwardOauth       *bool       `json:"forward_oauth,omitempty"`
	ForwardCredentials *bool       `json:"forward_credentials,omitempty"`
	SkipTLSVerify      *bool       `json:"skip_tls_verify,omitempty"`
	ForwardCookies     []string    `json:"forward_cookies,omitempty"`
	Timeout            string      `json:"timeout,omitempty"`
	BasicAuth          *BasicAuth  `json:"basic_auth,omitempty"`
	CACertificate      *ValueOrRef `json:"ca_certificate,omitempty"`

	MaximumLines  *int               `json:"maximum_lines,omitempty"`
	DerivedFields []LokiDerivedField `json:"derived_fields,omitempty"`
}

func (*LokiDatasource) DeepCopy

func (in *LokiDatasource) DeepCopy() *LokiDatasource

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

func (*LokiDatasource) DeepCopyInto

func (in *LokiDatasource) DeepCopyInto(out *LokiDatasource)

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

type LokiDerivedField

type LokiDerivedField struct {
	// +kubebuilder:validation:Required
	Name string `json:"name"`
	// +kubebuilder:validation:Required
	URL string `json:"url"`
	// Used to parse and capture some part of the log message. You can use the captured groups in the template.
	// +kubebuilder:validation:Required
	Regex string `json:"regex"`
	// Used to override the button label when this derived field is found in a log.
	// Optional.
	URLDisplayLabel string `json:"url_label,omitempty"`
	// For internal links
	// Optional.
	Datasource *ValueOrDatasourceRef `json:"datasource,omitempty"`
}

func (*LokiDerivedField) DeepCopy

func (in *LokiDerivedField) DeepCopy() *LokiDerivedField

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

func (*LokiDerivedField) DeepCopyInto

func (in *LokiDerivedField) DeepCopyInto(out *LokiDerivedField)

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

type OpsgenieContactType

type OpsgenieContactType struct {
	APIURL           string     `json:"api_url,omitempty"`
	APIKey           ValueOrRef `json:"api_key,omitempty"`
	AutoClose        bool       `json:"auto_close,omitempty"`
	OverridePriority bool       `json:"override_priority,omitempty"`
}

func (*OpsgenieContactType) DeepCopy

func (in *OpsgenieContactType) DeepCopy() *OpsgenieContactType

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

func (*OpsgenieContactType) DeepCopyInto

func (in *OpsgenieContactType) DeepCopyInto(out *OpsgenieContactType)

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

type PrometheusDatasource

type PrometheusDatasource struct {
	// +kubebuilder:validation:Required
	URL                string   `json:"url"`
	Default            *bool    `json:"default,omitempty"`
	ForwardOauth       *bool    `json:"forward_oauth,omitempty"`
	ForwardCredentials *bool    `json:"forward_credentials,omitempty"`
	SkipTLSVerify      *bool    `json:"skip_tls_verify,omitempty"`
	ForwardCookies     []string `json:"forward_cookies,omitempty"`
	ScrapeInterval     string   `json:"scrape_interval,omitempty"`
	QueryTimeout       string   `json:"query_timeout,omitempty"`
	// +kubebuilder:validation:Enum=POST;GET
	HTTPMethod string `json:"http_method,omitempty"`
	// +kubebuilder:validation:Enum=proxy;direct
	AccessMode    string               `json:"access_mode,omitempty"`
	BasicAuth     *BasicAuth           `json:"basic_auth,omitempty"`
	CACertificate *ValueOrRef          `json:"ca_certificate,omitempty"`
	Exemplars     []PrometheusExemplar `json:"exemplars,omitempty"`
}

func (*PrometheusDatasource) DeepCopy

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

func (*PrometheusDatasource) DeepCopyInto

func (in *PrometheusDatasource) DeepCopyInto(out *PrometheusDatasource)

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

type PrometheusExemplar

type PrometheusExemplar struct {
	LabelName string `json:"label_name"`

	// The data source the exemplar is going to navigate to.
	// Set this value for internal exemplar links.
	Datasource *ValueOrDatasourceRef `json:"datasource,omitempty"`

	// The URL of the trace backend the user would go to see its trace.
	// Set this value for external exemplar links.
	URL string `json:"url,omitempty"`
}

func (*PrometheusExemplar) DeepCopy

func (in *PrometheusExemplar) DeepCopy() *PrometheusExemplar

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

func (*PrometheusExemplar) DeepCopyInto

func (in *PrometheusExemplar) DeepCopyInto(out *PrometheusExemplar)

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

type RoutingPolicy

type RoutingPolicy struct {
	// +kubebuilder:validation:Required
	ContactPoint string               `json:"to"`
	Rules        []LabelsMatchingRule `json:"if_labels,omitempty"`
}

func (*RoutingPolicy) DeepCopy

func (in *RoutingPolicy) DeepCopy() *RoutingPolicy

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

func (*RoutingPolicy) DeepCopyInto

func (in *RoutingPolicy) DeepCopyInto(out *RoutingPolicy)

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

type SlackContactType

type SlackContactType struct {
	Webhook ValueOrRef `json:"webhook,omitempty"`
	Title   string     `json:"title,omitempty"`
	Body    string     `json:"body,omitempty"`
}

func (*SlackContactType) DeepCopy

func (in *SlackContactType) DeepCopy() *SlackContactType

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

func (*SlackContactType) DeepCopyInto

func (in *SlackContactType) DeepCopyInto(out *SlackContactType)

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

type StackdriverDatasource

type StackdriverDatasource struct {
	Default           *bool       `json:"default,omitempty"`
	JWTAuthentication *ValueOrRef `json:"jwt_authentication,omitempty"`
}

func (*StackdriverDatasource) DeepCopy

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

func (*StackdriverDatasource) DeepCopyInto

func (in *StackdriverDatasource) DeepCopyInto(out *StackdriverDatasource)

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

type TempoDatasource

type TempoDatasource struct {
	// +kubebuilder:validation:Required
	URL     string `json:"url"`
	Default *bool  `json:"default,omitempty"`

	ForwardOauth       *bool       `json:"forward_oauth,omitempty"`
	ForwardCredentials *bool       `json:"forward_credentials,omitempty"`
	SkipTLSVerify      *bool       `json:"skip_tls_verify,omitempty"`
	ForwardCookies     []string    `json:"forward_cookies,omitempty"`
	Timeout            string      `json:"timeout,omitempty"`
	BasicAuth          *BasicAuth  `json:"basic_auth,omitempty"`
	CACertificate      *ValueOrRef `json:"ca_certificate,omitempty"`

	NodeGraph *bool `json:"node_graph,omitempty"`

	TraceToLogs *TraceToLogs `json:"trace_to_logs,omitempty"`
}

func (*TempoDatasource) DeepCopy

func (in *TempoDatasource) DeepCopy() *TempoDatasource

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

func (*TempoDatasource) DeepCopyInto

func (in *TempoDatasource) DeepCopyInto(out *TempoDatasource)

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

type TraceToLogs

type TraceToLogs struct {
	Datasource     ValueOrDatasourceRef `json:"datasource"`
	Tags           []string             `json:"tags,omitempty"`
	SpanStartShift string               `json:"span_start_shift,omitempty"`
	SpanEndShift   string               `json:"span_end_shift,omitempty"`
	FilterByTrace  *bool                `json:"filter_by_trace,omitempty"`
	FilterBySpan   *bool                `json:"filter_by_span,omitempty"`
}

func (*TraceToLogs) DeepCopy

func (in *TraceToLogs) DeepCopy() *TraceToLogs

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

func (*TraceToLogs) DeepCopyInto

func (in *TraceToLogs) DeepCopyInto(out *TraceToLogs)

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

type ValueOrDatasourceRef

type ValueOrDatasourceRef struct {
	// Only one of the following may be specified.
	UID  string `json:"uid,omitempty"`
	Name string `json:"name,omitempty"`
}

func (*ValueOrDatasourceRef) DeepCopy

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

func (*ValueOrDatasourceRef) DeepCopyInto

func (in *ValueOrDatasourceRef) DeepCopyInto(out *ValueOrDatasourceRef)

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

type ValueOrRef

type ValueOrRef struct {
	// Only one of the following may be specified.
	Value    string    `json:"value,omitempty"`
	ValueRef *ValueRef `json:"valueFrom,omitempty"`
}

func (*ValueOrRef) DeepCopy

func (in *ValueOrRef) DeepCopy() *ValueOrRef

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

func (*ValueOrRef) DeepCopyInto

func (in *ValueOrRef) DeepCopyInto(out *ValueOrRef)

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

type ValueRef

type ValueRef struct {
	SecretKeyRef *v1.SecretKeySelector `json:"secretKeyRef,omitempty" protobuf:"bytes,4,opt,name=secretKeyRef"`
}

func (*ValueRef) DeepCopy

func (in *ValueRef) DeepCopy() *ValueRef

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

func (*ValueRef) DeepCopyInto

func (in *ValueRef) DeepCopyInto(out *ValueRef)

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