Documentation ¶
Overview ¶
+groupName=http.dynatrace.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Monitor
- func (in *Monitor) DeepCopy() *Monitor
- func (in *Monitor) DeepCopyInto(out *Monitor)
- func (in *Monitor) DeepCopyObject() runtime.Object
- func (r *Monitor) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Monitor) ValidateCreate() error
- func (r *Monitor) ValidateDelete() error
- func (r *Monitor) ValidateUpdate(old runtime.Object) error
- type MonitorList
- type MonitorSpec
- type MonitorSpecAnomalyDetection
- type MonitorSpecAnomalyDetectionLoadingTimeThresholds
- type MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholds
- type MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholdsThreshold
- func (in *MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholdsThreshold) DeepCopy() *MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholdsThreshold
- func (in *MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholdsThreshold) DeepCopyInto(out *MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholdsThreshold)
- type MonitorSpecAnomalyDetectionOutageHandling
- type MonitorSpecAnomalyDetectionOutageHandlingLocalOutagePolicy
- type MonitorSpecResource
- type MonitorSpecScript
- type MonitorSpecScriptCodec
- type MonitorSpecScriptRequest
- type MonitorSpecScriptRequestConfiguration
- type MonitorSpecScriptRequestConfigurationCodec
- type MonitorSpecScriptRequestConfigurationHeaders
- type MonitorSpecScriptRequestConfigurationHeadersCodec
- func (MonitorSpecScriptRequestConfigurationHeadersCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
- func (MonitorSpecScriptRequestConfigurationHeadersCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
- func (MonitorSpecScriptRequestConfigurationHeadersCodec) IsEmpty(ptr unsafe.Pointer) bool
- type MonitorSpecScriptRequestConfigurationHeadersHeader
- type MonitorSpecScriptRequestValidation
- type MonitorSpecScriptRequestValidationCodec
- type MonitorSpecScriptRequestValidationRule
- type MonitorSpecTags
- type MonitorSpecTagsTag
- type MonitorStatus
Constants ¶
This section is empty.
Variables ¶
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 )
var SchemeGroupVersion = schema.GroupVersion{Group: http.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Kind ¶
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 Monitor ¶
type Monitor struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MonitorSpec `json:"spec,omitempty"` Status MonitorStatus `json:"status,omitempty"` }
func (*Monitor) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Monitor.
func (*Monitor) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Monitor) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Monitor) SetupWebhookWithManager ¶
func (*Monitor) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Monitor) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type MonitorList ¶
type MonitorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Monitor CRD objects Items []Monitor `json:"items,omitempty"` }
MonitorList is a list of Monitors
func (*MonitorList) DeepCopy ¶
func (in *MonitorList) DeepCopy() *MonitorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorList.
func (*MonitorList) DeepCopyInto ¶
func (in *MonitorList) DeepCopyInto(out *MonitorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MonitorList) DeepCopyObject ¶
func (in *MonitorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MonitorSpec ¶
type MonitorSpec struct { State *MonitorSpecResource `json:"state,omitempty" tf:"-"` Resource MonitorSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*MonitorSpec) DeepCopy ¶
func (in *MonitorSpec) DeepCopy() *MonitorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpec.
func (*MonitorSpec) DeepCopyInto ¶
func (in *MonitorSpec) DeepCopyInto(out *MonitorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitorSpecAnomalyDetection ¶
type MonitorSpecAnomalyDetection struct { // Thresholds for loading times // +optional LoadingTimeThresholds []MonitorSpecAnomalyDetectionLoadingTimeThresholds `json:"loadingTimeThresholds,omitempty" tf:"loading_time_thresholds"` // Outage handling configuration // +optional OutageHandling []MonitorSpecAnomalyDetectionOutageHandling `json:"outageHandling,omitempty" tf:"outage_handling"` }
func (*MonitorSpecAnomalyDetection) DeepCopy ¶
func (in *MonitorSpecAnomalyDetection) DeepCopy() *MonitorSpecAnomalyDetection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecAnomalyDetection.
func (*MonitorSpecAnomalyDetection) DeepCopyInto ¶
func (in *MonitorSpecAnomalyDetection) DeepCopyInto(out *MonitorSpecAnomalyDetection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitorSpecAnomalyDetectionLoadingTimeThresholds ¶
type MonitorSpecAnomalyDetectionLoadingTimeThresholds struct { // Performance threshold is enabled (`true`) or disabled (`false`) // +optional Enabled *bool `json:"enabled,omitempty" tf:"enabled"` // The list of performance threshold rules // +optional Thresholds []MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholds `json:"thresholds,omitempty" tf:"thresholds"` }
func (*MonitorSpecAnomalyDetectionLoadingTimeThresholds) DeepCopy ¶
func (in *MonitorSpecAnomalyDetectionLoadingTimeThresholds) DeepCopy() *MonitorSpecAnomalyDetectionLoadingTimeThresholds
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecAnomalyDetectionLoadingTimeThresholds.
func (*MonitorSpecAnomalyDetectionLoadingTimeThresholds) DeepCopyInto ¶
func (in *MonitorSpecAnomalyDetectionLoadingTimeThresholds) DeepCopyInto(out *MonitorSpecAnomalyDetectionLoadingTimeThresholds)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholds ¶
type MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholds struct { // The list of performance threshold rules // +kubebuilder:validation:MinItems=1 Threshold []MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholdsThreshold `json:"threshold" tf:"threshold"` }
func (*MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholds) DeepCopy ¶
func (in *MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholds) DeepCopy() *MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholds
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholds.
func (*MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholds) DeepCopyInto ¶
func (in *MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholds) DeepCopyInto(out *MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholds)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholdsThreshold ¶
type MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholdsThreshold struct { // Specify the event to which an ACTION threshold applies // +optional EventIndex *int64 `json:"eventIndex,omitempty" tf:"event_index"` // Specify the request to which an ACTION threshold applies // +optional RequestIndex *int64 `json:"requestIndex,omitempty" tf:"request_index"` // The type of the threshold: `TOTAL` (total loading time) or `ACTION` (action loading time) // +optional Type *string `json:"type,omitempty" tf:"type"` // Notify if monitor takes longer than *X* milliseconds to load ValueMs *int64 `json:"valueMs" tf:"value_ms"` }
func (*MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholdsThreshold) DeepCopy ¶
func (in *MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholdsThreshold) DeepCopy() *MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholdsThreshold
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholdsThreshold.
func (*MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholdsThreshold) DeepCopyInto ¶
func (in *MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholdsThreshold) DeepCopyInto(out *MonitorSpecAnomalyDetectionLoadingTimeThresholdsThresholdsThreshold)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitorSpecAnomalyDetectionOutageHandling ¶
type MonitorSpecAnomalyDetectionOutageHandling struct { // When enabled (`true`), generate a problem and send an alert when the monitor is unavailable at all configured locations // +optional GlobalOutage *bool `json:"globalOutage,omitempty" tf:"global_outage"` // When enabled (`true`), generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location // +optional LocalOutage *bool `json:"localOutage,omitempty" tf:"local_outage"` // Local outage handling configuration. // // Alert if **affectedLocations** of locations are unable to access the web application **consecutiveRuns** times consecutively // +optional LocalOutagePolicy []MonitorSpecAnomalyDetectionOutageHandlingLocalOutagePolicy `json:"localOutagePolicy,omitempty" tf:"local_outage_policy"` // Schedule retry if browser monitor execution results in a fail. For HTTP monitors this property is ignored // +optional RetryOnError *bool `json:"retryOnError,omitempty" tf:"retry_on_error"` }
func (*MonitorSpecAnomalyDetectionOutageHandling) DeepCopy ¶
func (in *MonitorSpecAnomalyDetectionOutageHandling) DeepCopy() *MonitorSpecAnomalyDetectionOutageHandling
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecAnomalyDetectionOutageHandling.
func (*MonitorSpecAnomalyDetectionOutageHandling) DeepCopyInto ¶
func (in *MonitorSpecAnomalyDetectionOutageHandling) DeepCopyInto(out *MonitorSpecAnomalyDetectionOutageHandling)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitorSpecAnomalyDetectionOutageHandlingLocalOutagePolicy ¶
type MonitorSpecAnomalyDetectionOutageHandlingLocalOutagePolicy struct { // The number of affected locations to trigger an alert AffectedLocations *int64 `json:"affectedLocations" tf:"affected_locations"` // The number of consecutive fails to trigger an alert ConsecutiveRuns *int64 `json:"consecutiveRuns" tf:"consecutive_runs"` }
func (*MonitorSpecAnomalyDetectionOutageHandlingLocalOutagePolicy) DeepCopy ¶
func (in *MonitorSpecAnomalyDetectionOutageHandlingLocalOutagePolicy) DeepCopy() *MonitorSpecAnomalyDetectionOutageHandlingLocalOutagePolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecAnomalyDetectionOutageHandlingLocalOutagePolicy.
func (*MonitorSpecAnomalyDetectionOutageHandlingLocalOutagePolicy) DeepCopyInto ¶
func (in *MonitorSpecAnomalyDetectionOutageHandlingLocalOutagePolicy) DeepCopyInto(out *MonitorSpecAnomalyDetectionOutageHandlingLocalOutagePolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitorSpecResource ¶
type MonitorSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // The anomaly detection configuration. // +optional AnomalyDetection []MonitorSpecAnomalyDetection `json:"anomalyDetection,omitempty" tf:"anomaly_detection"` // The monitor is enabled (`true`) or disabled (`false`). // +optional Enabled *bool `json:"enabled,omitempty" tf:"enabled"` // The frequency of the monitor, in minutes. // // You can use one of the following values: `5`, `10`, `15`, `30`, and `60`. Frequency *int64 `json:"frequency" tf:"frequency"` // A list of locations from which the monitor is executed. // // To specify a location, use its entity ID. // +optional // +kubebuilder:validation:MinItems=1 Locations []string `json:"locations,omitempty" tf:"locations"` // A set of manually assigned applications. // +optional // +kubebuilder:validation:MinItems=1 ManuallyAssignedApps []string `json:"manuallyAssignedApps,omitempty" tf:"manually_assigned_apps"` // The name of the monitor. Name *string `json:"name" tf:"name"` // The HTTP Script // +optional Script *MonitorSpecScript `json:"script,omitempty" tf:"script"` // A set of tags assigned to the monitor. // // You can specify only the value of the tag here and the `CONTEXTLESS` context and source 'USER' will be added automatically. // +optional Tags []MonitorSpecTags `json:"tags,omitempty" tf:"tags"` }
func (*MonitorSpecResource) DeepCopy ¶
func (in *MonitorSpecResource) DeepCopy() *MonitorSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecResource.
func (*MonitorSpecResource) DeepCopyInto ¶
func (in *MonitorSpecResource) DeepCopyInto(out *MonitorSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitorSpecScript ¶
type MonitorSpecScript struct { // A HTTP request to be performed by the monitor. // +kubebuilder:validation:MinItems=1 Request []MonitorSpecScriptRequest `json:"request" tf:"request"` }
func (*MonitorSpecScript) DeepCopy ¶
func (in *MonitorSpecScript) DeepCopy() *MonitorSpecScript
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScript.
func (*MonitorSpecScript) DeepCopyInto ¶
func (in *MonitorSpecScript) DeepCopyInto(out *MonitorSpecScript)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitorSpecScriptCodec ¶
type MonitorSpecScriptCodec struct { }
+k8s:deepcopy-gen=false
func (MonitorSpecScriptCodec) Decode ¶
func (MonitorSpecScriptCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (MonitorSpecScriptCodec) Encode ¶
func (MonitorSpecScriptCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (MonitorSpecScriptCodec) IsEmpty ¶
func (MonitorSpecScriptCodec) IsEmpty(ptr unsafe.Pointer) bool
type MonitorSpecScriptRequest ¶
type MonitorSpecScriptRequest struct { // The body of the HTTP request. // +optional Body *string `json:"body,omitempty" tf:"body"` // The setup of the monitor // +optional Configuration *MonitorSpecScriptRequestConfiguration `json:"configuration,omitempty" tf:"configuration"` // A short description of the event to appear in the web UI. // +optional Description *string `json:"description,omitempty" tf:"description"` // The HTTP method of the request. Method *string `json:"method" tf:"method"` // Javascript code to execute after sending the request. // +optional PostProcessing *string `json:"postProcessing,omitempty" tf:"post_processing"` // Javascript code to execute before sending the request. // +optional PreProcessing *string `json:"preProcessing,omitempty" tf:"pre_processing"` // The URL to check. Url *string `json:"url" tf:"url"` // Validation helps you verify that your HTTP monitor loads the expected content // +optional Validation *MonitorSpecScriptRequestValidation `json:"validation,omitempty" tf:"validation"` }
func (*MonitorSpecScriptRequest) DeepCopy ¶
func (in *MonitorSpecScriptRequest) DeepCopy() *MonitorSpecScriptRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptRequest.
func (*MonitorSpecScriptRequest) DeepCopyInto ¶
func (in *MonitorSpecScriptRequest) DeepCopyInto(out *MonitorSpecScriptRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitorSpecScriptRequestConfiguration ¶
type MonitorSpecScriptRequestConfiguration struct { // If set to `false`, then the monitor fails with invalid SSL certificates. // // If not set, the `false` option is used // +optional AcceptAnyCertificate *bool `json:"acceptAnyCertificate,omitempty" tf:"accept_any_certificate"` // If set to `false`, redirects are reported as successful requests with response code 3xx. // // If not set, the `false` option is used. // +optional FollowRedirects *bool `json:"followRedirects,omitempty" tf:"follow_redirects"` // The setup of the monitor // +optional Headers *MonitorSpecScriptRequestConfigurationHeaders `json:"headers,omitempty" tf:"headers"` // The User agent of the request // +optional UserAgent *string `json:"userAgent,omitempty" tf:"user_agent"` }
func (*MonitorSpecScriptRequestConfiguration) DeepCopy ¶
func (in *MonitorSpecScriptRequestConfiguration) DeepCopy() *MonitorSpecScriptRequestConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptRequestConfiguration.
func (*MonitorSpecScriptRequestConfiguration) DeepCopyInto ¶
func (in *MonitorSpecScriptRequestConfiguration) DeepCopyInto(out *MonitorSpecScriptRequestConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitorSpecScriptRequestConfigurationCodec ¶
type MonitorSpecScriptRequestConfigurationCodec struct { }
+k8s:deepcopy-gen=false
func (MonitorSpecScriptRequestConfigurationCodec) Decode ¶
func (MonitorSpecScriptRequestConfigurationCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (MonitorSpecScriptRequestConfigurationCodec) Encode ¶
func (MonitorSpecScriptRequestConfigurationCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (MonitorSpecScriptRequestConfigurationCodec) IsEmpty ¶
func (MonitorSpecScriptRequestConfigurationCodec) IsEmpty(ptr unsafe.Pointer) bool
type MonitorSpecScriptRequestConfigurationHeaders ¶
type MonitorSpecScriptRequestConfigurationHeaders struct { // contains an HTTP header of the request // +kubebuilder:validation:MinItems=1 Header []MonitorSpecScriptRequestConfigurationHeadersHeader `json:"header" tf:"header"` }
func (*MonitorSpecScriptRequestConfigurationHeaders) DeepCopy ¶
func (in *MonitorSpecScriptRequestConfigurationHeaders) DeepCopy() *MonitorSpecScriptRequestConfigurationHeaders
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptRequestConfigurationHeaders.
func (*MonitorSpecScriptRequestConfigurationHeaders) DeepCopyInto ¶
func (in *MonitorSpecScriptRequestConfigurationHeaders) DeepCopyInto(out *MonitorSpecScriptRequestConfigurationHeaders)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitorSpecScriptRequestConfigurationHeadersCodec ¶
type MonitorSpecScriptRequestConfigurationHeadersCodec struct { }
+k8s:deepcopy-gen=false
func (MonitorSpecScriptRequestConfigurationHeadersCodec) Decode ¶
func (MonitorSpecScriptRequestConfigurationHeadersCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (MonitorSpecScriptRequestConfigurationHeadersCodec) Encode ¶
func (MonitorSpecScriptRequestConfigurationHeadersCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (MonitorSpecScriptRequestConfigurationHeadersCodec) IsEmpty ¶
func (MonitorSpecScriptRequestConfigurationHeadersCodec) IsEmpty(ptr unsafe.Pointer) bool
type MonitorSpecScriptRequestConfigurationHeadersHeader ¶
type MonitorSpecScriptRequestConfigurationHeadersHeader struct { // The key of the header Name *string `json:"name" tf:"name"` // The value of the header Value *string `json:"value" tf:"value"` }
func (*MonitorSpecScriptRequestConfigurationHeadersHeader) DeepCopy ¶
func (in *MonitorSpecScriptRequestConfigurationHeadersHeader) DeepCopy() *MonitorSpecScriptRequestConfigurationHeadersHeader
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptRequestConfigurationHeadersHeader.
func (*MonitorSpecScriptRequestConfigurationHeadersHeader) DeepCopyInto ¶
func (in *MonitorSpecScriptRequestConfigurationHeadersHeader) DeepCopyInto(out *MonitorSpecScriptRequestConfigurationHeadersHeader)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitorSpecScriptRequestValidation ¶
type MonitorSpecScriptRequestValidation struct { // A list of validation rules // +kubebuilder:validation:MinItems=1 Rule []MonitorSpecScriptRequestValidationRule `json:"rule" tf:"rule"` }
func (*MonitorSpecScriptRequestValidation) DeepCopy ¶
func (in *MonitorSpecScriptRequestValidation) DeepCopy() *MonitorSpecScriptRequestValidation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptRequestValidation.
func (*MonitorSpecScriptRequestValidation) DeepCopyInto ¶
func (in *MonitorSpecScriptRequestValidation) DeepCopyInto(out *MonitorSpecScriptRequestValidation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitorSpecScriptRequestValidationCodec ¶
type MonitorSpecScriptRequestValidationCodec struct { }
+k8s:deepcopy-gen=false
func (MonitorSpecScriptRequestValidationCodec) Decode ¶
func (MonitorSpecScriptRequestValidationCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (MonitorSpecScriptRequestValidationCodec) Encode ¶
func (MonitorSpecScriptRequestValidationCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (MonitorSpecScriptRequestValidationCodec) IsEmpty ¶
func (MonitorSpecScriptRequestValidationCodec) IsEmpty(ptr unsafe.Pointer) bool
type MonitorSpecScriptRequestValidationRule ¶
type MonitorSpecScriptRequestValidationRule struct { // The validation condition. `true` means validation succeeds if the specified content/element is found. `false` means validation fails if the specified content/element is found. Always specify `false` for `certificateExpiryDateConstraint` to fail the monitor if SSL certificate expiry is within the specified number of days // +optional PassIfFound *bool `json:"passIfFound,omitempty" tf:"pass_if_found"` // The type of the rule. Possible values are `patternConstraint`, `regexConstraint`, `httpStatusesList` and `certificateExpiryDateConstraint` Type *string `json:"type" tf:"type"` // The content to look for Value *string `json:"value" tf:"value"` }
func (*MonitorSpecScriptRequestValidationRule) DeepCopy ¶
func (in *MonitorSpecScriptRequestValidationRule) DeepCopy() *MonitorSpecScriptRequestValidationRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecScriptRequestValidationRule.
func (*MonitorSpecScriptRequestValidationRule) DeepCopyInto ¶
func (in *MonitorSpecScriptRequestValidationRule) DeepCopyInto(out *MonitorSpecScriptRequestValidationRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitorSpecTags ¶
type MonitorSpecTags struct { // Tag with source of a Dynatrace entity. // +optional Tag []MonitorSpecTagsTag `json:"tag,omitempty" tf:"tag"` }
func (*MonitorSpecTags) DeepCopy ¶
func (in *MonitorSpecTags) DeepCopy() *MonitorSpecTags
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecTags.
func (*MonitorSpecTags) DeepCopyInto ¶
func (in *MonitorSpecTags) DeepCopyInto(out *MonitorSpecTags)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitorSpecTagsTag ¶
type MonitorSpecTagsTag struct { // The origin of the tag. Supported values are `AWS`, `AWS_GENERIC`, `AZURE`, `CLOUD_FOUNDRY`, `CONTEXTLESS`, `ENVIRONMENT`, `GOOGLE_CLOUD` and `KUBERNETES`. // // Custom tags use the `CONTEXTLESS` value. Context *string `json:"context" tf:"context"` // The key of the tag. // // Custom tags have the tag value here. Key *string `json:"key" tf:"key"` // The source of the tag. Supported values are `USER`, `RULE_BASED` and `AUTO`. // +optional Source *string `json:"source,omitempty" tf:"source"` // The value of the tag. // // Not applicable to custom tags. // +optional Value *string `json:"value,omitempty" tf:"value"` }
func (*MonitorSpecTagsTag) DeepCopy ¶
func (in *MonitorSpecTagsTag) DeepCopy() *MonitorSpecTagsTag
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorSpecTagsTag.
func (*MonitorSpecTagsTag) DeepCopyInto ¶
func (in *MonitorSpecTagsTag) DeepCopyInto(out *MonitorSpecTagsTag)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitorStatus ¶
type MonitorStatus 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 (*MonitorStatus) DeepCopy ¶
func (in *MonitorStatus) DeepCopy() *MonitorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorStatus.
func (*MonitorStatus) DeepCopyInto ¶
func (in *MonitorStatus) DeepCopyInto(out *MonitorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.