v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

+groupName=synthetics.datadog.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: synthetics.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns 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 GlobalVariable

type GlobalVariable struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              GlobalVariableSpec   `json:"spec,omitempty"`
	Status            GlobalVariableStatus `json:"status,omitempty"`
}

func (*GlobalVariable) DeepCopy

func (in *GlobalVariable) DeepCopy() *GlobalVariable

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

func (*GlobalVariable) DeepCopyInto

func (in *GlobalVariable) DeepCopyInto(out *GlobalVariable)

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

func (*GlobalVariable) DeepCopyObject

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

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

func (*GlobalVariable) SetupWebhookWithManager

func (r *GlobalVariable) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*GlobalVariable) ValidateCreate

func (r *GlobalVariable) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*GlobalVariable) ValidateDelete

func (r *GlobalVariable) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*GlobalVariable) ValidateUpdate

func (r *GlobalVariable) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type GlobalVariableList

type GlobalVariableList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of GlobalVariable CRD objects
	Items []GlobalVariable `json:"items,omitempty"`
}

GlobalVariableList is a list of GlobalVariables

func (*GlobalVariableList) DeepCopy

func (in *GlobalVariableList) DeepCopy() *GlobalVariableList

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

func (*GlobalVariableList) DeepCopyInto

func (in *GlobalVariableList) DeepCopyInto(out *GlobalVariableList)

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

func (*GlobalVariableList) DeepCopyObject

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

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

type GlobalVariableSpec

type GlobalVariableSpec struct {
	State *GlobalVariableSpecResource `json:"state,omitempty" tf:"-"`

	Resource GlobalVariableSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*GlobalVariableSpec) DeepCopy

func (in *GlobalVariableSpec) DeepCopy() *GlobalVariableSpec

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

func (*GlobalVariableSpec) DeepCopyInto

func (in *GlobalVariableSpec) DeepCopyInto(out *GlobalVariableSpec)

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

type GlobalVariableSpecParseTestOptions

type GlobalVariableSpecParseTestOptions struct {
	// Required when type = `http_header`. Defines the header to use to extract the value
	// +optional
	Field  *string                                   `json:"field,omitempty" tf:"field"`
	Parser *GlobalVariableSpecParseTestOptionsParser `json:"parser" tf:"parser"`
	// Defines the source to use to extract the value.
	Type *string `json:"type" tf:"type"`
}

func (*GlobalVariableSpecParseTestOptions) DeepCopy

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

func (*GlobalVariableSpecParseTestOptions) DeepCopyInto

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

type GlobalVariableSpecParseTestOptionsCodec

type GlobalVariableSpecParseTestOptionsCodec struct {
}

+k8s:deepcopy-gen=false

func (GlobalVariableSpecParseTestOptionsCodec) Decode

func (GlobalVariableSpecParseTestOptionsCodec) Encode

func (GlobalVariableSpecParseTestOptionsCodec) IsEmpty

type GlobalVariableSpecParseTestOptionsParser

type GlobalVariableSpecParseTestOptionsParser struct {
	// Type of parser to extract the value.
	Type *string `json:"type" tf:"type"`
	// Value for the parser to use, required for type `json_path` or `regex`.
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*GlobalVariableSpecParseTestOptionsParser) DeepCopy

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

func (*GlobalVariableSpecParseTestOptionsParser) DeepCopyInto

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

type GlobalVariableSpecParseTestOptionsParserCodec

type GlobalVariableSpecParseTestOptionsParserCodec struct {
}

+k8s:deepcopy-gen=false

func (GlobalVariableSpecParseTestOptionsParserCodec) Decode

func (GlobalVariableSpecParseTestOptionsParserCodec) Encode

func (GlobalVariableSpecParseTestOptionsParserCodec) IsEmpty

type GlobalVariableSpecResource

type GlobalVariableSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// Description of the global variable.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// Synthetics global variable name.
	Name *string `json:"name" tf:"name"`
	// Id of the Synthetics test to use for a variable from test.
	// +optional
	ParseTestID *string `json:"parseTestID,omitempty" tf:"parse_test_id"`
	// ID of the Synthetics test to use a source of the global variable value.
	// +optional
	ParseTestOptions *GlobalVariableSpecParseTestOptions `json:"parseTestOptions,omitempty" tf:"parse_test_options"`
	// A list of role identifiers to associate with the Synthetics global variable.
	// +optional
	RestrictedRoles []string `json:"restrictedRoles,omitempty" tf:"restricted_roles"`
	// If set to true, the value of the global variable is hidden. Defaults to `false`.
	// +optional
	Secure *bool `json:"secure,omitempty" tf:"secure"`
	// A list of tags to associate with your synthetics global variable.
	// +optional
	Tags []string `json:"tags,omitempty" tf:"tags"`
	// The value of the global variable.
	Value *string `json:"-" sensitive:"true" tf:"value"`
}

func (*GlobalVariableSpecResource) DeepCopy

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

func (*GlobalVariableSpecResource) DeepCopyInto

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

type GlobalVariableStatus

type GlobalVariableStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*GlobalVariableStatus) DeepCopy

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

func (*GlobalVariableStatus) DeepCopyInto

func (in *GlobalVariableStatus) DeepCopyInto(out *GlobalVariableStatus)

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

type PrivateLocation

type PrivateLocation struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PrivateLocationSpec   `json:"spec,omitempty"`
	Status            PrivateLocationStatus `json:"status,omitempty"`
}

func (*PrivateLocation) DeepCopy

func (in *PrivateLocation) DeepCopy() *PrivateLocation

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

func (*PrivateLocation) DeepCopyInto

func (in *PrivateLocation) DeepCopyInto(out *PrivateLocation)

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

func (*PrivateLocation) DeepCopyObject

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

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

func (*PrivateLocation) SetupWebhookWithManager

func (r *PrivateLocation) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*PrivateLocation) ValidateCreate

func (r *PrivateLocation) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*PrivateLocation) ValidateDelete

func (r *PrivateLocation) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*PrivateLocation) ValidateUpdate

func (r *PrivateLocation) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type PrivateLocationList

type PrivateLocationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of PrivateLocation CRD objects
	Items []PrivateLocation `json:"items,omitempty"`
}

PrivateLocationList is a list of PrivateLocations

func (*PrivateLocationList) DeepCopy

func (in *PrivateLocationList) DeepCopy() *PrivateLocationList

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

func (*PrivateLocationList) DeepCopyInto

func (in *PrivateLocationList) DeepCopyInto(out *PrivateLocationList)

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

func (*PrivateLocationList) DeepCopyObject

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

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

type PrivateLocationSpec

type PrivateLocationSpec struct {
	State *PrivateLocationSpecResource `json:"state,omitempty" tf:"-"`

	Resource PrivateLocationSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*PrivateLocationSpec) DeepCopy

func (in *PrivateLocationSpec) DeepCopy() *PrivateLocationSpec

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

func (*PrivateLocationSpec) DeepCopyInto

func (in *PrivateLocationSpec) DeepCopyInto(out *PrivateLocationSpec)

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

type PrivateLocationSpecResource

type PrivateLocationSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// Configuration skeleton for the private location. See installation instructions of the private location on how to use this configuration.
	// +optional
	Config *string `json:"-" sensitive:"true" tf:"config"`
	// Description of the private location.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// Synthetics private location name.
	Name *string `json:"name" tf:"name"`
	// A list of tags to associate with your synthetics private location.
	// +optional
	Tags []string `json:"tags,omitempty" tf:"tags"`
}

func (*PrivateLocationSpecResource) DeepCopy

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

func (*PrivateLocationSpecResource) DeepCopyInto

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

type PrivateLocationStatus

type PrivateLocationStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*PrivateLocationStatus) DeepCopy

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

func (*PrivateLocationStatus) DeepCopyInto

func (in *PrivateLocationStatus) DeepCopyInto(out *PrivateLocationStatus)

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

type Syntheticstest added in v0.4.0

type Syntheticstest struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SyntheticstestSpec   `json:"spec,omitempty"`
	Status            SyntheticstestStatus `json:"status,omitempty"`
}

func (*Syntheticstest) DeepCopy added in v0.4.0

func (in *Syntheticstest) DeepCopy() *Syntheticstest

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

func (*Syntheticstest) DeepCopyInto added in v0.4.0

func (in *Syntheticstest) DeepCopyInto(out *Syntheticstest)

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

func (*Syntheticstest) DeepCopyObject added in v0.4.0

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

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

func (*Syntheticstest) SetupWebhookWithManager added in v0.4.0

func (r *Syntheticstest) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Syntheticstest) ValidateCreate added in v0.4.0

func (r *Syntheticstest) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Syntheticstest) ValidateDelete added in v0.4.0

func (r *Syntheticstest) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Syntheticstest) ValidateUpdate added in v0.4.0

func (r *Syntheticstest) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type SyntheticstestList added in v0.4.0

type SyntheticstestList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Syntheticstest CRD objects
	Items []Syntheticstest `json:"items,omitempty"`
}

SyntheticstestList is a list of Syntheticstests

func (*SyntheticstestList) DeepCopy added in v0.4.0

func (in *SyntheticstestList) DeepCopy() *SyntheticstestList

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

func (*SyntheticstestList) DeepCopyInto added in v0.4.0

func (in *SyntheticstestList) DeepCopyInto(out *SyntheticstestList)

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

func (*SyntheticstestList) DeepCopyObject added in v0.4.0

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

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

type SyntheticstestSpec added in v0.4.0

type SyntheticstestSpec struct {
	State *SyntheticstestSpecResource `json:"state,omitempty" tf:"-"`

	Resource SyntheticstestSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*SyntheticstestSpec) DeepCopy added in v0.4.0

func (in *SyntheticstestSpec) DeepCopy() *SyntheticstestSpec

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

func (*SyntheticstestSpec) DeepCopyInto added in v0.4.0

func (in *SyntheticstestSpec) DeepCopyInto(out *SyntheticstestSpec)

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

type SyntheticstestSpecApiStep added in v0.4.0

type SyntheticstestSpecApiStep struct {
	// Determines whether or not to continue with test if this step fails.
	// +optional
	AllowFailure *bool `json:"allowFailure,omitempty" tf:"allow_failure"`
	// Assertions used for the test. Multiple `assertion` blocks are allowed with the structure below.
	// +optional
	Assertion []SyntheticstestSpecApiStepAssertion `json:"assertion,omitempty" tf:"assertion"`
	// Values to parse and save as variables from the response.
	// +optional
	ExtractedValue []SyntheticstestSpecApiStepExtractedValue `json:"extractedValue,omitempty" tf:"extracted_value"`
	// Determines whether or not to consider the entire test as failed if this step fails. Can be used only if `allow_failure` is `true`.
	// +optional
	IsCritical *bool `json:"isCritical,omitempty" tf:"is_critical"`
	// The name of the step.
	Name *string `json:"name" tf:"name"`
	// The HTTP basic authentication credentials. Exactly one nested block is allowed with the structure below.
	// +optional
	RequestBasicauth *SyntheticstestSpecApiStepRequestBasicauth `json:"requestBasicauth,omitempty" tf:"request_basicauth"`
	// Client certificate to use when performing the test request. Exactly one nested block is allowed with the structure below.
	// +optional
	RequestClientCertificate *SyntheticstestSpecApiStepRequestClientCertificate `json:"requestClientCertificate,omitempty" tf:"request_client_certificate"`
	// The request for the api step.
	// +optional
	RequestDefinition *SyntheticstestSpecApiStepRequestDefinition `json:"requestDefinition,omitempty" tf:"request_definition"`
	// Header name and value map.
	// +optional
	RequestHeaders map[string]string `json:"requestHeaders,omitempty" tf:"request_headers"`
	// Query arguments name and value map.
	// +optional
	RequestQuery map[string]string `json:"requestQuery,omitempty" tf:"request_query"`
	// +optional
	Retry *SyntheticstestSpecApiStepRetry `json:"retry,omitempty" tf:"retry"`
	// The subtype of the Synthetic multistep API test step.
	// +optional
	Subtype *string `json:"subtype,omitempty" tf:"subtype"`
}

func (*SyntheticstestSpecApiStep) DeepCopy added in v0.4.0

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

func (*SyntheticstestSpecApiStep) DeepCopyInto added in v0.4.0

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

type SyntheticstestSpecApiStepAssertion added in v0.4.0

type SyntheticstestSpecApiStepAssertion struct {
	// Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)).
	Operator *string `json:"operator" tf:"operator"`
	// If assertion type is `header`, this is the header name.
	// +optional
	Property *string `json:"property,omitempty" tf:"property"`
	// Expected value. Depends on the assertion type, refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test) for details.
	// +optional
	Target *string `json:"target,omitempty" tf:"target"`
	// Expected structure if `operator` is `validatesJSONPath`. Exactly one nested block is allowed with the structure below.
	// +optional
	Targetjsonpath *SyntheticstestSpecApiStepAssertionTargetjsonpath `json:"targetjsonpath,omitempty" tf:"targetjsonpath"`
	// Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)).
	Type *string `json:"type" tf:"type"`
}

func (*SyntheticstestSpecApiStepAssertion) DeepCopy added in v0.4.0

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

func (*SyntheticstestSpecApiStepAssertion) DeepCopyInto added in v0.4.0

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

type SyntheticstestSpecApiStepAssertionTargetjsonpath added in v0.4.0

type SyntheticstestSpecApiStepAssertionTargetjsonpath struct {
	// The JSON path to assert.
	Jsonpath *string `json:"jsonpath" tf:"jsonpath"`
	// The specific operator to use on the path.
	Operator *string `json:"operator" tf:"operator"`
	// Expected matching value.
	Targetvalue *string `json:"targetvalue" tf:"targetvalue"`
}

func (*SyntheticstestSpecApiStepAssertionTargetjsonpath) DeepCopy added in v0.4.0

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

func (*SyntheticstestSpecApiStepAssertionTargetjsonpath) DeepCopyInto added in v0.4.0

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

type SyntheticstestSpecApiStepAssertionTargetjsonpathCodec added in v0.4.0

type SyntheticstestSpecApiStepAssertionTargetjsonpathCodec struct {
}

+k8s:deepcopy-gen=false

func (SyntheticstestSpecApiStepAssertionTargetjsonpathCodec) Decode added in v0.4.0

func (SyntheticstestSpecApiStepAssertionTargetjsonpathCodec) Encode added in v0.4.0

func (SyntheticstestSpecApiStepAssertionTargetjsonpathCodec) IsEmpty added in v0.4.0

type SyntheticstestSpecApiStepExtractedValue added in v0.4.0

type SyntheticstestSpecApiStepExtractedValue struct {
	// When type is `http_header`, name of the header to use to extract the value.
	// +optional
	Field  *string                                        `json:"field,omitempty" tf:"field"`
	Name   *string                                        `json:"name" tf:"name"`
	Parser *SyntheticstestSpecApiStepExtractedValueParser `json:"parser" tf:"parser"`
	// Property of the Synthetics Test Response to use for the variable.
	Type *string `json:"type" tf:"type"`
}

func (*SyntheticstestSpecApiStepExtractedValue) DeepCopy added in v0.4.0

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

func (*SyntheticstestSpecApiStepExtractedValue) DeepCopyInto added in v0.4.0

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

type SyntheticstestSpecApiStepExtractedValueParser added in v0.4.0

type SyntheticstestSpecApiStepExtractedValueParser struct {
	// Type of parser for a Synthetics global variable from a synthetics test.
	Type *string `json:"type" tf:"type"`
	// Regex or JSON path used for the parser. Not used with type `raw`.
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*SyntheticstestSpecApiStepExtractedValueParser) DeepCopy added in v0.4.0

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

func (*SyntheticstestSpecApiStepExtractedValueParser) DeepCopyInto added in v0.4.0

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

type SyntheticstestSpecApiStepExtractedValueParserCodec added in v0.4.0

type SyntheticstestSpecApiStepExtractedValueParserCodec struct {
}

+k8s:deepcopy-gen=false

func (SyntheticstestSpecApiStepExtractedValueParserCodec) Decode added in v0.4.0

func (SyntheticstestSpecApiStepExtractedValueParserCodec) Encode added in v0.4.0

func (SyntheticstestSpecApiStepExtractedValueParserCodec) IsEmpty added in v0.4.0

type SyntheticstestSpecApiStepRequestBasicauth added in v0.4.0

type SyntheticstestSpecApiStepRequestBasicauth struct {
	// Password for authentication.
	Password *string `json:"-" sensitive:"true" tf:"password"`
	// Username for authentication.
	Username *string `json:"username" tf:"username"`
}

func (*SyntheticstestSpecApiStepRequestBasicauth) DeepCopy added in v0.4.0

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

func (*SyntheticstestSpecApiStepRequestBasicauth) DeepCopyInto added in v0.4.0

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

type SyntheticstestSpecApiStepRequestBasicauthCodec added in v0.4.0

type SyntheticstestSpecApiStepRequestBasicauthCodec struct {
}

+k8s:deepcopy-gen=false

func (SyntheticstestSpecApiStepRequestBasicauthCodec) Decode added in v0.4.0

func (SyntheticstestSpecApiStepRequestBasicauthCodec) Encode added in v0.4.0

func (SyntheticstestSpecApiStepRequestBasicauthCodec) IsEmpty added in v0.4.0

type SyntheticstestSpecApiStepRequestClientCertificate added in v0.4.0

type SyntheticstestSpecApiStepRequestClientCertificate struct {
	Cert *SyntheticstestSpecApiStepRequestClientCertificateCert `json:"cert" tf:"cert"`
	Key  *SyntheticstestSpecApiStepRequestClientCertificateKey  `json:"key" tf:"key"`
}

func (*SyntheticstestSpecApiStepRequestClientCertificate) DeepCopy added in v0.4.0

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

func (*SyntheticstestSpecApiStepRequestClientCertificate) DeepCopyInto added in v0.4.0

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

type SyntheticstestSpecApiStepRequestClientCertificateCert added in v0.4.0

type SyntheticstestSpecApiStepRequestClientCertificateCert struct {
	// Content of the certificate.
	Content *string `json:"-" sensitive:"true" tf:"content"`
	// File name for the certificate.
	// +optional
	Filename *string `json:"filename,omitempty" tf:"filename"`
}

func (*SyntheticstestSpecApiStepRequestClientCertificateCert) DeepCopy added in v0.4.0

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

func (*SyntheticstestSpecApiStepRequestClientCertificateCert) DeepCopyInto added in v0.4.0

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

type SyntheticstestSpecApiStepRequestClientCertificateCertCodec added in v0.4.0

type SyntheticstestSpecApiStepRequestClientCertificateCertCodec struct {
}

+k8s:deepcopy-gen=false

func (SyntheticstestSpecApiStepRequestClientCertificateCertCodec) Decode added in v0.4.0

func (SyntheticstestSpecApiStepRequestClientCertificateCertCodec) Encode added in v0.4.0

func (SyntheticstestSpecApiStepRequestClientCertificateCertCodec) IsEmpty added in v0.4.0

type SyntheticstestSpecApiStepRequestClientCertificateCodec added in v0.4.0

type SyntheticstestSpecApiStepRequestClientCertificateCodec struct {
}

+k8s:deepcopy-gen=false

func (SyntheticstestSpecApiStepRequestClientCertificateCodec) Decode added in v0.4.0

func (SyntheticstestSpecApiStepRequestClientCertificateCodec) Encode added in v0.4.0

func (SyntheticstestSpecApiStepRequestClientCertificateCodec) IsEmpty added in v0.4.0

type SyntheticstestSpecApiStepRequestClientCertificateKey added in v0.4.0

type SyntheticstestSpecApiStepRequestClientCertificateKey struct {
	// Content of the certificate.
	Content *string `json:"-" sensitive:"true" tf:"content"`
	// File name for the certificate.
	// +optional
	Filename *string `json:"filename,omitempty" tf:"filename"`
}

func (*SyntheticstestSpecApiStepRequestClientCertificateKey) DeepCopy added in v0.4.0

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

func (*SyntheticstestSpecApiStepRequestClientCertificateKey) DeepCopyInto added in v0.4.0

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

type SyntheticstestSpecApiStepRequestClientCertificateKeyCodec added in v0.4.0

type SyntheticstestSpecApiStepRequestClientCertificateKeyCodec struct {
}

+k8s:deepcopy-gen=false

func (SyntheticstestSpecApiStepRequestClientCertificateKeyCodec) Decode added in v0.4.0

func (SyntheticstestSpecApiStepRequestClientCertificateKeyCodec) Encode added in v0.4.0

func (SyntheticstestSpecApiStepRequestClientCertificateKeyCodec) IsEmpty added in v0.4.0

type SyntheticstestSpecApiStepRequestDefinition added in v0.4.0

type SyntheticstestSpecApiStepRequestDefinition struct {
	// Allows loading insecure content for an HTTP test.
	// +optional
	AllowInsecure *bool `json:"allowInsecure,omitempty" tf:"allow_insecure"`
	// The request body.
	// +optional
	Body *string `json:"body,omitempty" tf:"body"`
	// DNS server to use for DNS tests (`subtype = "dns"`).
	// +optional
	DnsServer *string `json:"dnsServer,omitempty" tf:"dns_server"`
	// DNS server port to use for DNS tests.
	// +optional
	DnsServerPort *int64 `json:"dnsServerPort,omitempty" tf:"dns_server_port"`
	// Determines whether or not the API HTTP test should follow redirects.
	// +optional
	FollowRedirects *bool `json:"followRedirects,omitempty" tf:"follow_redirects"`
	// Host name to perform the test with.
	// +optional
	Host *string `json:"host,omitempty" tf:"host"`
	// For UDP and websocket tests, message to send with the request.
	// +optional
	Message *string `json:"message,omitempty" tf:"message"`
	// The HTTP method.
	// +optional
	Method *string `json:"method,omitempty" tf:"method"`
	// Determines whether or not to save the response body.
	// +optional
	NoSavingResponseBody *bool `json:"noSavingResponseBody,omitempty" tf:"no_saving_response_body"`
	// Number of pings to use per test for ICMP tests (`subtype = "icmp"`) between 0 and 10.
	// +optional
	NumberOfPackets *int64 `json:"numberOfPackets,omitempty" tf:"number_of_packets"`
	// Port to use when performing the test.
	// +optional
	Port *int64 `json:"port,omitempty" tf:"port"`
	// For SSL tests, it specifies on which server you want to initiate the TLS handshake, allowing the server to present one of multiple possible certificates on the same IP address and TCP port number.
	// +optional
	Servername *string `json:"servername,omitempty" tf:"servername"`
	// This will turn on a traceroute probe to discover all gateways along the path to the host destination. For ICMP tests (`subtype = "icmp"`).
	// +optional
	ShouldTrackHops *bool `json:"shouldTrackHops,omitempty" tf:"should_track_hops"`
	// Timeout in seconds for the test. Defaults to `60`.
	// +optional
	Timeout *int64 `json:"timeout,omitempty" tf:"timeout"`
	// The URL to send the request to.
	// +optional
	Url *string `json:"url,omitempty" tf:"url"`
}

func (*SyntheticstestSpecApiStepRequestDefinition) DeepCopy added in v0.4.0

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

func (*SyntheticstestSpecApiStepRequestDefinition) DeepCopyInto added in v0.4.0

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

type SyntheticstestSpecApiStepRequestDefinitionCodec added in v0.4.0

type SyntheticstestSpecApiStepRequestDefinitionCodec struct {
}

+k8s:deepcopy-gen=false

func (SyntheticstestSpecApiStepRequestDefinitionCodec) Decode added in v0.4.0

func (SyntheticstestSpecApiStepRequestDefinitionCodec) Encode added in v0.4.0

func (SyntheticstestSpecApiStepRequestDefinitionCodec) IsEmpty added in v0.4.0

type SyntheticstestSpecApiStepRetry added in v0.5.0

type SyntheticstestSpecApiStepRetry struct {
	// Number of retries needed to consider a location as failed before sending a notification alert.
	// +optional
	Count *int64 `json:"count,omitempty" tf:"count"`
	// Interval between a failed test and the next retry in milliseconds.
	// +optional
	Interval *int64 `json:"interval,omitempty" tf:"interval"`
}

func (*SyntheticstestSpecApiStepRetry) DeepCopy added in v0.5.0

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

func (*SyntheticstestSpecApiStepRetry) DeepCopyInto added in v0.5.0

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

type SyntheticstestSpecApiStepRetryCodec added in v0.5.0

type SyntheticstestSpecApiStepRetryCodec struct {
}

+k8s:deepcopy-gen=false

func (SyntheticstestSpecApiStepRetryCodec) Decode added in v0.5.0

func (SyntheticstestSpecApiStepRetryCodec) Encode added in v0.5.0

func (SyntheticstestSpecApiStepRetryCodec) IsEmpty added in v0.5.0

type SyntheticstestSpecAssertion added in v0.4.0

type SyntheticstestSpecAssertion struct {
	// Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)).
	Operator *string `json:"operator" tf:"operator"`
	// If assertion type is `header`, this is the header name.
	// +optional
	Property *string `json:"property,omitempty" tf:"property"`
	// Expected value. Depends on the assertion type, refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test) for details.
	// +optional
	Target *string `json:"target,omitempty" tf:"target"`
	// Expected structure if `operator` is `validatesJSONPath`. Exactly one nested block is allowed with the structure below.
	// +optional
	Targetjsonpath *SyntheticstestSpecAssertionTargetjsonpath `json:"targetjsonpath,omitempty" tf:"targetjsonpath"`
	// Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)).
	Type *string `json:"type" tf:"type"`
}

func (*SyntheticstestSpecAssertion) DeepCopy added in v0.4.0

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

func (*SyntheticstestSpecAssertion) DeepCopyInto added in v0.4.0

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

type SyntheticstestSpecAssertionTargetjsonpath added in v0.4.0

type SyntheticstestSpecAssertionTargetjsonpath struct {
	// The JSON path to assert.
	Jsonpath *string `json:"jsonpath" tf:"jsonpath"`
	// The specific operator to use on the path.
	Operator *string `json:"operator" tf:"operator"`
	// Expected matching value.
	Targetvalue *string `json:"targetvalue" tf:"targetvalue"`
}

func (*SyntheticstestSpecAssertionTargetjsonpath) DeepCopy added in v0.4.0

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

func (*SyntheticstestSpecAssertionTargetjsonpath) DeepCopyInto added in v0.4.0

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

type SyntheticstestSpecAssertionTargetjsonpathCodec added in v0.4.0

type SyntheticstestSpecAssertionTargetjsonpathCodec struct {
}

+k8s:deepcopy-gen=false

func (SyntheticstestSpecAssertionTargetjsonpathCodec) Decode added in v0.4.0

func (SyntheticstestSpecAssertionTargetjsonpathCodec) Encode added in v0.4.0

func (SyntheticstestSpecAssertionTargetjsonpathCodec) IsEmpty added in v0.4.0

type SyntheticstestSpecBrowserStep added in v0.4.0

type SyntheticstestSpecBrowserStep struct {
	// Determines if the step should be allowed to fail.
	// +optional
	AllowFailure *bool `json:"allowFailure,omitempty" tf:"allow_failure"`
	// Force update of the "element" parameter for the step
	// +optional
	ForceElementUpdate *bool `json:"forceElementUpdate,omitempty" tf:"force_element_update"`
	// Name of the step.
	Name *string `json:"name" tf:"name"`
	// Parameters for the step.
	Params *SyntheticstestSpecBrowserStepParams `json:"params" tf:"params"`
	// Used to override the default timeout of a step.
	// +optional
	Timeout *int64 `json:"timeout,omitempty" tf:"timeout"`
	// Type of the step.
	Type *string `json:"type" tf:"type"`
}

func (*SyntheticstestSpecBrowserStep) DeepCopy added in v0.4.0

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

func (*SyntheticstestSpecBrowserStep) DeepCopyInto added in v0.4.0

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

type SyntheticstestSpecBrowserStepParams added in v0.4.0

type SyntheticstestSpecBrowserStepParams struct {
	// Name of the attribute to use for an "assert attribute" step.
	// +optional
	Attribute *string `json:"attribute,omitempty" tf:"attribute"`
	// Check type to use for an assertion step.
	// +optional
	Check *string `json:"check,omitempty" tf:"check"`
	// Type of click to use for a "click" step.
	// +optional
	ClickType *string `json:"clickType,omitempty" tf:"click_type"`
	// Javascript code to use for the step.
	// +optional
	Code *string `json:"code,omitempty" tf:"code"`
	// Delay between each key stroke for a "type test" step.
	// +optional
	Delay *int64 `json:"delay,omitempty" tf:"delay"`
	// Element to use for the step, json encoded string.
	// +optional
	Element *string `json:"element,omitempty" tf:"element"`
	// Details of the email for an "assert email" step.
	// +optional
	Email *string `json:"email,omitempty" tf:"email"`
	// For an "assert download" step.
	// +optional
	File *string `json:"file,omitempty" tf:"file"`
	// Details of the files for an "upload files" step, json encoded string.
	// +optional
	Files *string `json:"files,omitempty" tf:"files"`
	// Modifier to use for a "press key" step.
	// +optional
	Modifiers []string `json:"modifiers,omitempty" tf:"modifiers"`
	// ID of the tab to play the subtest.
	// +optional
	PlayingTabID *string `json:"playingTabID,omitempty" tf:"playing_tab_id"`
	// Request for an API step.
	// +optional
	Request *string `json:"request,omitempty" tf:"request"`
	// ID of the Synthetics test to use as subtest.
	// +optional
	SubtestPublicID *string `json:"subtestPublicID,omitempty" tf:"subtest_public_id"`
	// Value of the step.
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
	// Details of the variable to extract.
	// +optional
	Variable *SyntheticstestSpecBrowserStepParamsVariable `json:"variable,omitempty" tf:"variable"`
	// For "file upload" steps.
	// +optional
	WithClick *bool `json:"withClick,omitempty" tf:"with_click"`
	// X coordinates for a "scroll step".
	// +optional
	X *int64 `json:"x,omitempty" tf:"x"`
	// Y coordinates for a "scroll step".
	// +optional
	Y *int64 `json:"y,omitempty" tf:"y"`
}

func (*SyntheticstestSpecBrowserStepParams) DeepCopy added in v0.4.0

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

func (*SyntheticstestSpecBrowserStepParams) DeepCopyInto added in v0.4.0

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

type SyntheticstestSpecBrowserStepParamsCodec added in v0.4.0

type SyntheticstestSpecBrowserStepParamsCodec struct {
}

+k8s:deepcopy-gen=false

func (SyntheticstestSpecBrowserStepParamsCodec) Decode added in v0.4.0

func (SyntheticstestSpecBrowserStepParamsCodec) Encode added in v0.4.0

func (SyntheticstestSpecBrowserStepParamsCodec) IsEmpty added in v0.4.0

type SyntheticstestSpecBrowserStepParamsVariable added in v0.4.0

type SyntheticstestSpecBrowserStepParamsVariable struct {
	// Example of the extracted variable.
	// +optional
	Example *string `json:"example,omitempty" tf:"example"`
	// Name of the extracted variable.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
}

func (*SyntheticstestSpecBrowserStepParamsVariable) DeepCopy added in v0.4.0

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

func (*SyntheticstestSpecBrowserStepParamsVariable) DeepCopyInto added in v0.4.0

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

type SyntheticstestSpecBrowserStepParamsVariableCodec added in v0.4.0

type SyntheticstestSpecBrowserStepParamsVariableCodec struct {
}

+k8s:deepcopy-gen=false

func (SyntheticstestSpecBrowserStepParamsVariableCodec) Decode added in v0.4.0

func (SyntheticstestSpecBrowserStepParamsVariableCodec) Encode added in v0.4.0

func (SyntheticstestSpecBrowserStepParamsVariableCodec) IsEmpty added in v0.4.0

type SyntheticstestSpecBrowserVariable added in v0.4.0

type SyntheticstestSpecBrowserVariable struct {
	// Example for the variable.
	// +optional
	Example *string `json:"example,omitempty" tf:"example"`
	// ID of the global variable to use. This is actually only used (and required) in the case of using a variable of type `global`.
	// +optional
	ID *string `json:"ID,omitempty" tf:"id"`
	// Name of the variable.
	Name *string `json:"name" tf:"name"`
	// Pattern of the variable.
	// +optional
	Pattern *string `json:"pattern,omitempty" tf:"pattern"`
	// Type of browser test variable.
	Type *string `json:"type" tf:"type"`
}

func (*SyntheticstestSpecBrowserVariable) DeepCopy added in v0.4.0

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

func (*SyntheticstestSpecBrowserVariable) DeepCopyInto added in v0.4.0

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

type SyntheticstestSpecConfigVariable added in v0.4.0

type SyntheticstestSpecConfigVariable struct {
	// Example for the variable.
	// +optional
	Example *string `json:"example,omitempty" tf:"example"`
	// When type = `global`, ID of the global variable to use.
	// +optional
	ID *string `json:"ID,omitempty" tf:"id"`
	// Name of the variable.
	Name *string `json:"name" tf:"name"`
	// Pattern of the variable.
	// +optional
	Pattern *string `json:"pattern,omitempty" tf:"pattern"`
	// Type of test configuration variable.
	Type *string `json:"type" tf:"type"`
}

func (*SyntheticstestSpecConfigVariable) DeepCopy added in v0.4.0

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

func (*SyntheticstestSpecConfigVariable) DeepCopyInto added in v0.4.0

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

type SyntheticstestSpecOptionsList added in v0.4.0

type SyntheticstestSpecOptionsList struct {
	// For SSL test, whether or not the test should allow self signed certificates.
	// +optional
	AcceptSelfSigned *bool `json:"acceptSelfSigned,omitempty" tf:"accept_self_signed"`
	// Allows loading insecure content for an HTTP test.
	// +optional
	AllowInsecure *bool `json:"allowInsecure,omitempty" tf:"allow_insecure"`
	// Determines whether or not the API HTTP test should follow redirects.
	// +optional
	FollowRedirects *bool `json:"followRedirects,omitempty" tf:"follow_redirects"`
	// Minimum amount of time in failure required to trigger an alert. Default is `0`.
	// +optional
	MinFailureDuration *int64 `json:"minFailureDuration,omitempty" tf:"min_failure_duration"`
	// Minimum number of locations in failure required to trigger an alert. Default is `1`.
	// +optional
	MinLocationFailed *int64 `json:"minLocationFailed,omitempty" tf:"min_location_failed"`
	// The monitor name is used for the alert title as well as for all monitor dashboard widgets and SLOs.
	// +optional
	MonitorName *string `json:"monitorName,omitempty" tf:"monitor_name"`
	// +optional
	MonitorOptions *SyntheticstestSpecOptionsListMonitorOptions `json:"monitorOptions,omitempty" tf:"monitor_options"`
	// +optional
	MonitorPriority *int64 `json:"monitorPriority,omitempty" tf:"monitor_priority"`
	// Prevents saving screenshots of the steps.
	// +optional
	NoScreenshot *bool `json:"noScreenshot,omitempty" tf:"no_screenshot"`
	// +optional
	Retry *SyntheticstestSpecOptionsListRetry `json:"retry,omitempty" tf:"retry"`
	// How often the test should run (in seconds).
	TickEvery *int64 `json:"tickEvery" tf:"tick_every"`
}

func (*SyntheticstestSpecOptionsList) DeepCopy added in v0.4.0

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

func (*SyntheticstestSpecOptionsList) DeepCopyInto added in v0.4.0

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

type SyntheticstestSpecOptionsListCodec added in v0.4.0

type SyntheticstestSpecOptionsListCodec struct {
}

+k8s:deepcopy-gen=false

func (SyntheticstestSpecOptionsListCodec) Decode added in v0.4.0

func (SyntheticstestSpecOptionsListCodec) Encode added in v0.4.0

func (SyntheticstestSpecOptionsListCodec) IsEmpty added in v0.4.0

type SyntheticstestSpecOptionsListMonitorOptions added in v0.4.0

type SyntheticstestSpecOptionsListMonitorOptions struct {
	// Specify a renotification frequency.
	// +optional
	RenotifyInterval *int64 `json:"renotifyInterval,omitempty" tf:"renotify_interval"`
}

func (*SyntheticstestSpecOptionsListMonitorOptions) DeepCopy added in v0.4.0

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

func (*SyntheticstestSpecOptionsListMonitorOptions) DeepCopyInto added in v0.4.0

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

type SyntheticstestSpecOptionsListMonitorOptionsCodec added in v0.4.0

type SyntheticstestSpecOptionsListMonitorOptionsCodec struct {
}

+k8s:deepcopy-gen=false

func (SyntheticstestSpecOptionsListMonitorOptionsCodec) Decode added in v0.4.0

func (SyntheticstestSpecOptionsListMonitorOptionsCodec) Encode added in v0.4.0

func (SyntheticstestSpecOptionsListMonitorOptionsCodec) IsEmpty added in v0.4.0

type SyntheticstestSpecOptionsListRetry added in v0.4.0

type SyntheticstestSpecOptionsListRetry struct {
	// Number of retries needed to consider a location as failed before sending a notification alert.
	// +optional
	Count *int64 `json:"count,omitempty" tf:"count"`
	// Interval between a failed test and the next retry in milliseconds.
	// +optional
	Interval *int64 `json:"interval,omitempty" tf:"interval"`
}

func (*SyntheticstestSpecOptionsListRetry) DeepCopy added in v0.4.0

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

func (*SyntheticstestSpecOptionsListRetry) DeepCopyInto added in v0.4.0

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

type SyntheticstestSpecOptionsListRetryCodec added in v0.4.0

type SyntheticstestSpecOptionsListRetryCodec struct {
}

+k8s:deepcopy-gen=false

func (SyntheticstestSpecOptionsListRetryCodec) Decode added in v0.4.0

func (SyntheticstestSpecOptionsListRetryCodec) Encode added in v0.4.0

func (SyntheticstestSpecOptionsListRetryCodec) IsEmpty added in v0.4.0

type SyntheticstestSpecRequestBasicauth added in v0.4.0

type SyntheticstestSpecRequestBasicauth struct {
	// Password for authentication.
	Password *string `json:"-" sensitive:"true" tf:"password"`
	// Username for authentication.
	Username *string `json:"username" tf:"username"`
}

func (*SyntheticstestSpecRequestBasicauth) DeepCopy added in v0.4.0

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

func (*SyntheticstestSpecRequestBasicauth) DeepCopyInto added in v0.4.0

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

type SyntheticstestSpecRequestBasicauthCodec added in v0.4.0

type SyntheticstestSpecRequestBasicauthCodec struct {
}

+k8s:deepcopy-gen=false

func (SyntheticstestSpecRequestBasicauthCodec) Decode added in v0.4.0

func (SyntheticstestSpecRequestBasicauthCodec) Encode added in v0.4.0

func (SyntheticstestSpecRequestBasicauthCodec) IsEmpty added in v0.4.0

type SyntheticstestSpecRequestClientCertificate added in v0.4.0

type SyntheticstestSpecRequestClientCertificate struct {
	Cert *SyntheticstestSpecRequestClientCertificateCert `json:"cert" tf:"cert"`
	Key  *SyntheticstestSpecRequestClientCertificateKey  `json:"key" tf:"key"`
}

func (*SyntheticstestSpecRequestClientCertificate) DeepCopy added in v0.4.0

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

func (*SyntheticstestSpecRequestClientCertificate) DeepCopyInto added in v0.4.0

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

type SyntheticstestSpecRequestClientCertificateCert added in v0.4.0

type SyntheticstestSpecRequestClientCertificateCert struct {
	// Content of the certificate.
	Content *string `json:"-" sensitive:"true" tf:"content"`
	// File name for the certificate.
	// +optional
	Filename *string `json:"filename,omitempty" tf:"filename"`
}

func (*SyntheticstestSpecRequestClientCertificateCert) DeepCopy added in v0.4.0

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

func (*SyntheticstestSpecRequestClientCertificateCert) DeepCopyInto added in v0.4.0

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

type SyntheticstestSpecRequestClientCertificateCertCodec added in v0.4.0

type SyntheticstestSpecRequestClientCertificateCertCodec struct {
}

+k8s:deepcopy-gen=false

func (SyntheticstestSpecRequestClientCertificateCertCodec) Decode added in v0.4.0

func (SyntheticstestSpecRequestClientCertificateCertCodec) Encode added in v0.4.0

func (SyntheticstestSpecRequestClientCertificateCertCodec) IsEmpty added in v0.4.0

type SyntheticstestSpecRequestClientCertificateCodec added in v0.4.0

type SyntheticstestSpecRequestClientCertificateCodec struct {
}

+k8s:deepcopy-gen=false

func (SyntheticstestSpecRequestClientCertificateCodec) Decode added in v0.4.0

func (SyntheticstestSpecRequestClientCertificateCodec) Encode added in v0.4.0

func (SyntheticstestSpecRequestClientCertificateCodec) IsEmpty added in v0.4.0

type SyntheticstestSpecRequestClientCertificateKey added in v0.4.0

type SyntheticstestSpecRequestClientCertificateKey struct {
	// Content of the certificate.
	Content *string `json:"-" sensitive:"true" tf:"content"`
	// File name for the certificate.
	// +optional
	Filename *string `json:"filename,omitempty" tf:"filename"`
}

func (*SyntheticstestSpecRequestClientCertificateKey) DeepCopy added in v0.4.0

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

func (*SyntheticstestSpecRequestClientCertificateKey) DeepCopyInto added in v0.4.0

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

type SyntheticstestSpecRequestClientCertificateKeyCodec added in v0.4.0

type SyntheticstestSpecRequestClientCertificateKeyCodec struct {
}

+k8s:deepcopy-gen=false

func (SyntheticstestSpecRequestClientCertificateKeyCodec) Decode added in v0.4.0

func (SyntheticstestSpecRequestClientCertificateKeyCodec) Encode added in v0.4.0

func (SyntheticstestSpecRequestClientCertificateKeyCodec) IsEmpty added in v0.4.0

type SyntheticstestSpecRequestDefinition added in v0.4.0

type SyntheticstestSpecRequestDefinition struct {
	// The request body.
	// +optional
	Body *string `json:"body,omitempty" tf:"body"`
	// DNS server to use for DNS tests (`subtype = "dns"`).
	// +optional
	DnsServer *string `json:"dnsServer,omitempty" tf:"dns_server"`
	// DNS server port to use for DNS tests.
	// +optional
	DnsServerPort *int64 `json:"dnsServerPort,omitempty" tf:"dns_server_port"`
	// Host name to perform the test with.
	// +optional
	Host *string `json:"host,omitempty" tf:"host"`
	// For UDP and websocket tests, message to send with the request.
	// +optional
	Message *string `json:"message,omitempty" tf:"message"`
	// The HTTP method.
	// +optional
	Method *string `json:"method,omitempty" tf:"method"`
	// Determines whether or not to save the response body.
	// +optional
	NoSavingResponseBody *bool `json:"noSavingResponseBody,omitempty" tf:"no_saving_response_body"`
	// Number of pings to use per test for ICMP tests (`subtype = "icmp"`) between 0 and 10.
	// +optional
	NumberOfPackets *int64 `json:"numberOfPackets,omitempty" tf:"number_of_packets"`
	// Port to use when performing the test.
	// +optional
	Port *int64 `json:"port,omitempty" tf:"port"`
	// For SSL tests, it specifies on which server you want to initiate the TLS handshake, allowing the server to present one of multiple possible certificates on the same IP address and TCP port number.
	// +optional
	Servername *string `json:"servername,omitempty" tf:"servername"`
	// This will turn on a traceroute probe to discover all gateways along the path to the host destination. For ICMP tests (`subtype = "icmp"`).
	// +optional
	ShouldTrackHops *bool `json:"shouldTrackHops,omitempty" tf:"should_track_hops"`
	// Timeout in seconds for the test. Defaults to `60`.
	// +optional
	Timeout *int64 `json:"timeout,omitempty" tf:"timeout"`
	// The URL to send the request to.
	// +optional
	Url *string `json:"url,omitempty" tf:"url"`
}

func (*SyntheticstestSpecRequestDefinition) DeepCopy added in v0.4.0

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

func (*SyntheticstestSpecRequestDefinition) DeepCopyInto added in v0.4.0

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

type SyntheticstestSpecRequestDefinitionCodec added in v0.4.0

type SyntheticstestSpecRequestDefinitionCodec struct {
}

+k8s:deepcopy-gen=false

func (SyntheticstestSpecRequestDefinitionCodec) Decode added in v0.4.0

func (SyntheticstestSpecRequestDefinitionCodec) Encode added in v0.4.0

func (SyntheticstestSpecRequestDefinitionCodec) IsEmpty added in v0.4.0

type SyntheticstestSpecResource added in v0.4.0

type SyntheticstestSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// Steps for multistep api tests
	// +optional
	ApiStep []SyntheticstestSpecApiStep `json:"apiStep,omitempty" tf:"api_step"`
	// Assertions used for the test. Multiple `assertion` blocks are allowed with the structure below.
	// +optional
	Assertion []SyntheticstestSpecAssertion `json:"assertion,omitempty" tf:"assertion"`
	// Steps for browser tests.
	// +optional
	BrowserStep []SyntheticstestSpecBrowserStep `json:"browserStep,omitempty" tf:"browser_step"`
	// Variables used for a browser test steps. Multiple `variable` blocks are allowed with the structure below.
	// +optional
	BrowserVariable []SyntheticstestSpecBrowserVariable `json:"browserVariable,omitempty" tf:"browser_variable"`
	// Variables used for the test configuration. Multiple `config_variable` blocks are allowed with the structure below.
	// +optional
	ConfigVariable []SyntheticstestSpecConfigVariable `json:"configVariable,omitempty" tf:"config_variable"`
	// Required if `type = "browser"`. Array with the different device IDs used to run the test.
	// +optional
	DeviceIDS []string `json:"deviceIDS,omitempty" tf:"device_ids"`
	// Array of locations used to run the test. Refer to [Datadog documentation](https://docs.datadoghq.com/synthetics/api_test/#request) for available locations (e.g. `aws:eu-central-1`).
	Locations []string `json:"locations" tf:"locations"`
	// A message to include with notifications for this synthetics test. Email notifications can be sent to specific users by using the same `@username` notation as events.
	// +optional
	Message *string `json:"message,omitempty" tf:"message"`
	// ID of the monitor associated with the Datadog synthetics test.
	// +optional
	MonitorID *int64 `json:"monitorID,omitempty" tf:"monitor_id"`
	// Name of Datadog synthetics test.
	Name *string `json:"name" tf:"name"`
	// +optional
	OptionsList *SyntheticstestSpecOptionsList `json:"optionsList,omitempty" tf:"options_list"`
	// The HTTP basic authentication credentials. Exactly one nested block is allowed with the structure below.
	// +optional
	RequestBasicauth *SyntheticstestSpecRequestBasicauth `json:"requestBasicauth,omitempty" tf:"request_basicauth"`
	// Client certificate to use when performing the test request. Exactly one nested block is allowed with the structure below.
	// +optional
	RequestClientCertificate *SyntheticstestSpecRequestClientCertificate `json:"requestClientCertificate,omitempty" tf:"request_client_certificate"`
	// Required if `type = "api"`. The synthetics test request.
	// +optional
	RequestDefinition *SyntheticstestSpecRequestDefinition `json:"requestDefinition,omitempty" tf:"request_definition"`
	// Header name and value map.
	// +optional
	RequestHeaders map[string]string `json:"requestHeaders,omitempty" tf:"request_headers"`
	// Query arguments name and value map.
	// +optional
	RequestQuery map[string]string `json:"requestQuery,omitempty" tf:"request_query"`
	// Cookies to be used for a browser test request, using the [Set-Cookie](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie) syntax.
	// +optional
	SetCookie *string `json:"setCookie,omitempty" tf:"set_cookie"`
	// Define whether you want to start (`live`) or pause (`paused`) a Synthetic test.
	Status *string `json:"status" tf:"status"`
	// The subtype of the Synthetic API test. Defaults to `http`.
	// +optional
	Subtype *string `json:"subtype,omitempty" tf:"subtype"`
	// A list of tags to associate with your synthetics test. This can help you categorize and filter tests in the manage synthetics page of the UI. Default is an empty list (`[]`).
	// +optional
	Tags []string `json:"tags,omitempty" tf:"tags"`
	// Synthetics test type.
	Type *string `json:"type" tf:"type"`
}

func (*SyntheticstestSpecResource) DeepCopy added in v0.4.0

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

func (*SyntheticstestSpecResource) DeepCopyInto added in v0.4.0

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

type SyntheticstestStatus added in v0.4.0

type SyntheticstestStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*SyntheticstestStatus) DeepCopy added in v0.4.0

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

func (*SyntheticstestStatus) DeepCopyInto added in v0.4.0

func (in *SyntheticstestStatus) DeepCopyInto(out *SyntheticstestStatus)

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