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.newrelic.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 AlertCondition

type AlertCondition struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AlertConditionSpec   `json:"spec,omitempty"`
	Status            AlertConditionStatus `json:"status,omitempty"`
}

func (*AlertCondition) DeepCopy

func (in *AlertCondition) DeepCopy() *AlertCondition

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

func (*AlertCondition) DeepCopyInto

func (in *AlertCondition) DeepCopyInto(out *AlertCondition)

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

func (*AlertCondition) DeepCopyObject

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

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

func (*AlertCondition) SetupWebhookWithManager

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

func (*AlertCondition) ValidateCreate

func (r *AlertCondition) ValidateCreate() error

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

func (*AlertCondition) ValidateDelete

func (r *AlertCondition) ValidateDelete() error

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

func (*AlertCondition) ValidateUpdate

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

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

type AlertConditionList

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

AlertConditionList is a list of AlertConditions

func (*AlertConditionList) DeepCopy

func (in *AlertConditionList) DeepCopy() *AlertConditionList

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

func (*AlertConditionList) DeepCopyInto

func (in *AlertConditionList) DeepCopyInto(out *AlertConditionList)

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

func (*AlertConditionList) DeepCopyObject

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

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

type AlertConditionSpec

type AlertConditionSpec struct {
	State *AlertConditionSpecResource `json:"state,omitempty" tf:"-"`

	Resource AlertConditionSpecResource `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 (*AlertConditionSpec) DeepCopy

func (in *AlertConditionSpec) DeepCopy() *AlertConditionSpec

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

func (*AlertConditionSpec) DeepCopyInto

func (in *AlertConditionSpec) DeepCopyInto(out *AlertConditionSpec)

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

type AlertConditionSpecResource

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

	// Set whether to enable the alert condition. Defaults to true.
	// +optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled"`
	// The ID of the Synthetics monitor to be referenced in the alert condition.
	MonitorID *string `json:"monitorID" tf:"monitor_id"`
	// The title of this condition.
	Name *string `json:"name" tf:"name"`
	// The ID of the policy where this condition should be used.
	PolicyID *int64 `json:"policyID" tf:"policy_id"`
	// Runbook URL to display in notifications.
	// +optional
	RunbookURL *string `json:"runbookURL,omitempty" tf:"runbook_url"`
}

func (*AlertConditionSpecResource) DeepCopy

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

func (*AlertConditionSpecResource) DeepCopyInto

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

type AlertConditionStatus

type AlertConditionStatus 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 (*AlertConditionStatus) DeepCopy

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

func (*AlertConditionStatus) DeepCopyInto

func (in *AlertConditionStatus) DeepCopyInto(out *AlertConditionStatus)

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

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

func (in *Monitor) DeepCopy() *Monitor

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

func (*Monitor) DeepCopyInto

func (in *Monitor) DeepCopyInto(out *Monitor)

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

func (*Monitor) DeepCopyObject

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

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

func (*Monitor) SetupWebhookWithManager

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

func (*Monitor) ValidateCreate

func (r *Monitor) ValidateCreate() error

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

func (*Monitor) ValidateDelete

func (r *Monitor) ValidateDelete() error

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

func (*Monitor) ValidateUpdate

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

ValidateUpdate 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 MonitorScript

type MonitorScript struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MonitorScriptSpec   `json:"spec,omitempty"`
	Status            MonitorScriptStatus `json:"status,omitempty"`
}

func (*MonitorScript) DeepCopy

func (in *MonitorScript) DeepCopy() *MonitorScript

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

func (*MonitorScript) DeepCopyInto

func (in *MonitorScript) DeepCopyInto(out *MonitorScript)

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

func (*MonitorScript) DeepCopyObject

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

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

func (*MonitorScript) SetupWebhookWithManager

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

func (*MonitorScript) ValidateCreate

func (r *MonitorScript) ValidateCreate() error

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

func (*MonitorScript) ValidateDelete

func (r *MonitorScript) ValidateDelete() error

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

func (*MonitorScript) ValidateUpdate

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

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

type MonitorScriptList

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

MonitorScriptList is a list of MonitorScripts

func (*MonitorScriptList) DeepCopy

func (in *MonitorScriptList) DeepCopy() *MonitorScriptList

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

func (*MonitorScriptList) DeepCopyInto

func (in *MonitorScriptList) DeepCopyInto(out *MonitorScriptList)

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

func (*MonitorScriptList) DeepCopyObject

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

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

type MonitorScriptSpec

type MonitorScriptSpec struct {
	State *MonitorScriptSpecResource `json:"state,omitempty" tf:"-"`

	Resource MonitorScriptSpecResource `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 (*MonitorScriptSpec) DeepCopy

func (in *MonitorScriptSpec) DeepCopy() *MonitorScriptSpec

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

func (*MonitorScriptSpec) DeepCopyInto

func (in *MonitorScriptSpec) DeepCopyInto(out *MonitorScriptSpec)

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

type MonitorScriptSpecLocation

type MonitorScriptSpecLocation struct {
	// The HMAC for the monitor script location. Use only one of `hmac` or `vse_password.`
	// +optional
	Hmac *string `json:"hmac,omitempty" tf:"hmac"`
	// The monitor script location name
	Name *string `json:"name" tf:"name"`
	// The password for the monitor script location used to calculate HMAC. Use only one of `vse_password` or `hmac.`
	// +optional
	VsePassword *string `json:"-" sensitive:"true" tf:"vse_password"`
}

func (*MonitorScriptSpecLocation) DeepCopy

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

func (*MonitorScriptSpecLocation) DeepCopyInto

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

type MonitorScriptSpecResource

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

	// A list of locations for a monitor script.
	// +optional
	Location []MonitorScriptSpecLocation `json:"location,omitempty" tf:"location"`
	// The ID of the monitor to attach the script to.
	MonitorID *string `json:"monitorID" tf:"monitor_id"`
	// The plaintext representing the monitor script.
	Text *string `json:"text" tf:"text"`
}

func (*MonitorScriptSpecResource) DeepCopy

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

func (*MonitorScriptSpecResource) DeepCopyInto

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

type MonitorScriptStatus

type MonitorScriptStatus 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 (*MonitorScriptStatus) DeepCopy

func (in *MonitorScriptStatus) DeepCopy() *MonitorScriptStatus

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

func (*MonitorScriptStatus) DeepCopyInto

func (in *MonitorScriptStatus) DeepCopyInto(out *MonitorScriptStatus)

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

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 MonitorSpecResource

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

	// Bypass HEAD request.
	// +optional
	BypassHeadRequest *bool `json:"bypassHeadRequest,omitempty" tf:"bypass_head_request"`
	// The interval (in minutes) at which this monitor should run. Valid values are 1, 5, 10, 15, 30, 60, 360, 720, or 1440.
	Frequency *int64 `json:"frequency" tf:"frequency"`
	// The locations in which this monitor should be run.
	// +kubebuilder:validation:MinItems=1
	Locations []string `json:"locations" tf:"locations"`
	// The title of this monitor.
	Name *string `json:"name" tf:"name"`
	// The base threshold (in seconds) to calculate the apdex score for use in the SLA report. (Default 7 seconds)
	// +optional
	SlaThreshold *float64 `json:"slaThreshold,omitempty" tf:"sla_threshold"`
	// The monitor status (i.e. ENABLED, MUTED, DISABLED).
	Status *string `json:"status" tf:"status"`
	// Fail the monitor check if redirected.
	// +optional
	TreatRedirectAsFailure *bool `json:"treatRedirectAsFailure,omitempty" tf:"treat_redirect_as_failure"`
	// The monitor type. Valid values are SIMPLE, BROWSER, SCRIPT_BROWSER, and SCRIPT_API.
	Type *string `json:"type" tf:"type"`
	// The URI for the monitor to hit.
	// +optional
	Uri *string `json:"uri,omitempty" tf:"uri"`
	// The string to validate against in the response.
	// +optional
	ValidationString *string `json:"validationString,omitempty" tf:"validation_string"`
	// Verify SSL.
	// +optional
	VerifySsl *bool `json:"verifySsl,omitempty" tf:"verify_ssl"`
}

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 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.

type MultilocationAlertCondition

type MultilocationAlertCondition struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MultilocationAlertConditionSpec   `json:"spec,omitempty"`
	Status            MultilocationAlertConditionStatus `json:"status,omitempty"`
}

func (*MultilocationAlertCondition) DeepCopy

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

func (*MultilocationAlertCondition) DeepCopyInto

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

func (*MultilocationAlertCondition) DeepCopyObject

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

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

func (*MultilocationAlertCondition) SetupWebhookWithManager

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

func (*MultilocationAlertCondition) ValidateCreate

func (r *MultilocationAlertCondition) ValidateCreate() error

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

func (*MultilocationAlertCondition) ValidateDelete

func (r *MultilocationAlertCondition) ValidateDelete() error

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

func (*MultilocationAlertCondition) ValidateUpdate

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

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

type MultilocationAlertConditionList

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

MultilocationAlertConditionList is a list of MultilocationAlertConditions

func (*MultilocationAlertConditionList) DeepCopy

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

func (*MultilocationAlertConditionList) DeepCopyInto

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

func (*MultilocationAlertConditionList) DeepCopyObject

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

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

type MultilocationAlertConditionSpec

type MultilocationAlertConditionSpec struct {
	State *MultilocationAlertConditionSpecResource `json:"state,omitempty" tf:"-"`

	Resource MultilocationAlertConditionSpecResource `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 (*MultilocationAlertConditionSpec) DeepCopy

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

func (*MultilocationAlertConditionSpec) DeepCopyInto

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

type MultilocationAlertConditionSpecCritical

type MultilocationAlertConditionSpecCritical struct {
	// The minimum number of monitor locations that must be concurrently failing before a violation is opened.
	Threshold *int64 `json:"threshold" tf:"threshold"`
}

func (*MultilocationAlertConditionSpecCritical) DeepCopy

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

func (*MultilocationAlertConditionSpecCritical) DeepCopyInto

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

type MultilocationAlertConditionSpecCriticalCodec

type MultilocationAlertConditionSpecCriticalCodec struct {
}

+k8s:deepcopy-gen=false

func (MultilocationAlertConditionSpecCriticalCodec) Decode

func (MultilocationAlertConditionSpecCriticalCodec) Encode

func (MultilocationAlertConditionSpecCriticalCodec) IsEmpty

type MultilocationAlertConditionSpecResource

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

	// A condition term with priority set to critical.
	Critical *MultilocationAlertConditionSpecCritical `json:"critical" tf:"critical"`
	// Set whether to enable the alert condition. Defaults to true.
	// +optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled"`
	// The GUIDs of the Synthetics monitors to alert on.
	// +kubebuilder:validation:MinItems=1
	Entities []string `json:"entities" tf:"entities"`
	// The title of this condition.
	Name *string `json:"name" tf:"name"`
	// The ID of the policy where this condition will be used.
	PolicyID *int64 `json:"policyID" tf:"policy_id"`
	// Runbook URL to display in notifications.
	// +optional
	RunbookURL *string `json:"runbookURL,omitempty" tf:"runbook_url"`
	// The maximum number of seconds a violation can remain open before being closed by the system.  Must be one of: 0, 3600, 7200, 14400, 28800, 43200, 86400
	ViolationTimeLimitSeconds *int64 `json:"violationTimeLimitSeconds" tf:"violation_time_limit_seconds"`
	// A condition term with priority set to warning.
	// +optional
	Warning *MultilocationAlertConditionSpecWarning `json:"warning,omitempty" tf:"warning"`
}

func (*MultilocationAlertConditionSpecResource) DeepCopy

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

func (*MultilocationAlertConditionSpecResource) DeepCopyInto

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

type MultilocationAlertConditionSpecWarning

type MultilocationAlertConditionSpecWarning struct {
	// The minimum number of monitor locations that must be concurrently failing before a violation is opened.
	Threshold *int64 `json:"threshold" tf:"threshold"`
}

func (*MultilocationAlertConditionSpecWarning) DeepCopy

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

func (*MultilocationAlertConditionSpecWarning) DeepCopyInto

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

type MultilocationAlertConditionSpecWarningCodec

type MultilocationAlertConditionSpecWarningCodec struct {
}

+k8s:deepcopy-gen=false

func (MultilocationAlertConditionSpecWarningCodec) Decode

func (MultilocationAlertConditionSpecWarningCodec) Encode

func (MultilocationAlertConditionSpecWarningCodec) IsEmpty

type MultilocationAlertConditionStatus

type MultilocationAlertConditionStatus 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 (*MultilocationAlertConditionStatus) DeepCopy

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

func (*MultilocationAlertConditionStatus) DeepCopyInto

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

type SecureCredential

type SecureCredential struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SecureCredentialSpec   `json:"spec,omitempty"`
	Status            SecureCredentialStatus `json:"status,omitempty"`
}

func (*SecureCredential) DeepCopy

func (in *SecureCredential) DeepCopy() *SecureCredential

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

func (*SecureCredential) DeepCopyInto

func (in *SecureCredential) DeepCopyInto(out *SecureCredential)

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

func (*SecureCredential) DeepCopyObject

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

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

func (*SecureCredential) SetupWebhookWithManager

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

func (*SecureCredential) ValidateCreate

func (r *SecureCredential) ValidateCreate() error

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

func (*SecureCredential) ValidateDelete

func (r *SecureCredential) ValidateDelete() error

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

func (*SecureCredential) ValidateUpdate

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

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

type SecureCredentialList

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

SecureCredentialList is a list of SecureCredentials

func (*SecureCredentialList) DeepCopy

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

func (*SecureCredentialList) DeepCopyInto

func (in *SecureCredentialList) DeepCopyInto(out *SecureCredentialList)

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

func (*SecureCredentialList) DeepCopyObject

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

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

type SecureCredentialSpec

type SecureCredentialSpec struct {
	State *SecureCredentialSpecResource `json:"state,omitempty" tf:"-"`

	Resource SecureCredentialSpecResource `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 (*SecureCredentialSpec) DeepCopy

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

func (*SecureCredentialSpec) DeepCopyInto

func (in *SecureCredentialSpec) DeepCopyInto(out *SecureCredentialSpec)

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

type SecureCredentialSpecResource

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

	// The time the secure credential was created.
	// +optional
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at"`
	// The secure credential's description.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
	Key *string `json:"key" tf:"key"`
	// The time the secure credential was last updated.
	// +optional
	LastUpdated *string `json:"lastUpdated,omitempty" tf:"last_updated"`
	// The secure credential's value.
	Value *string `json:"-" sensitive:"true" tf:"value"`
}

func (*SecureCredentialSpecResource) DeepCopy

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

func (*SecureCredentialSpecResource) DeepCopyInto

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

type SecureCredentialStatus

type SecureCredentialStatus 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 (*SecureCredentialStatus) DeepCopy

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

func (*SecureCredentialStatus) DeepCopyInto

func (in *SecureCredentialStatus) DeepCopyInto(out *SecureCredentialStatus)

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