Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the nralerts v1 API group +kubebuilder:object:generate=true +groupName=nr.k8s.newrelic.com
Index ¶
- Variables
- func CheckForAPIKeyOrSecret(apiKey string, secret NewRelicAPIKeySecret) error
- func DeepHashObject(hasher hash.Hash, objectToWrite interface{})
- func GetAlertsConditionType(condition AlertsPolicyCondition) string
- func GetConditionType(condition PolicyCondition) string
- func ValidRegion(input string) bool
- type APMSpecificSpec
- type AlertConditionTerm
- type AlertsAPMCondition
- func (r *AlertsAPMCondition) CheckExistingPolicyID() error
- func (r *AlertsAPMCondition) CheckForAPIKeyOrSecret() error
- func (r *AlertsAPMCondition) CheckRequiredFields() error
- func (in *AlertsAPMCondition) DeepCopy() *AlertsAPMCondition
- func (in *AlertsAPMCondition) DeepCopyInto(out *AlertsAPMCondition)
- func (in *AlertsAPMCondition) DeepCopyObject() runtime.Object
- func (r *AlertsAPMCondition) Default()
- func (r *AlertsAPMCondition) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *AlertsAPMCondition) ValidateCreate() error
- func (r *AlertsAPMCondition) ValidateDelete() error
- func (r *AlertsAPMCondition) ValidateMetric() InvalidAttributeSlice
- func (r *AlertsAPMCondition) ValidateTerms() InvalidAttributeSlice
- func (r *AlertsAPMCondition) ValidateType() InvalidAttributeSlice
- func (r *AlertsAPMCondition) ValidateUpdate(old runtime.Object) error
- func (r *AlertsAPMCondition) ValidateUserDefinedValueFunction() InvalidAttributeSlice
- type AlertsAPMConditionList
- type AlertsAPMConditionSpec
- type AlertsAPMConditionStatus
- type AlertsAPMSpecificSpec
- type AlertsBaselineSpecificSpec
- type AlertsChannel
- func (in *AlertsChannel) DeepCopy() *AlertsChannel
- func (in *AlertsChannel) DeepCopyInto(out *AlertsChannel)
- func (in *AlertsChannel) DeepCopyObject() runtime.Object
- func (r *AlertsChannel) Default()
- func (r *AlertsChannel) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *AlertsChannel) ValidateAlertsChannel() error
- func (r *AlertsChannel) ValidateCreate() error
- func (r *AlertsChannel) ValidateDelete() error
- func (r *AlertsChannel) ValidateType() InvalidAttributeSlice
- func (r *AlertsChannel) ValidateUpdate(old runtime.Object) error
- type AlertsChannelConfiguration
- type AlertsChannelList
- type AlertsChannelSpec
- type AlertsChannelStatus
- type AlertsGenericConditionSpec
- type AlertsNrqlCondition
- func (r *AlertsNrqlCondition) CheckExistingPolicyID() error
- func (r *AlertsNrqlCondition) CheckForAPIKeyOrSecret() error
- func (r *AlertsNrqlCondition) CheckRequiredFields() error
- func (in *AlertsNrqlCondition) DeepCopy() *AlertsNrqlCondition
- func (in *AlertsNrqlCondition) DeepCopyInto(out *AlertsNrqlCondition)
- func (in *AlertsNrqlCondition) DeepCopyObject() runtime.Object
- func (r *AlertsNrqlCondition) Default()
- func (r *AlertsNrqlCondition) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *AlertsNrqlCondition) ValidateCreate() error
- func (r *AlertsNrqlCondition) ValidateDelete() error
- func (r *AlertsNrqlCondition) ValidateUpdate(old runtime.Object) error
- type AlertsNrqlConditionExpiration
- type AlertsNrqlConditionList
- type AlertsNrqlConditionSignal
- type AlertsNrqlConditionSpec
- type AlertsNrqlConditionStatus
- type AlertsNrqlConditionTerm
- type AlertsNrqlSpecificSpec
- type AlertsPolicy
- func (r *AlertsPolicy) CheckForAPIKeyOrSecret() error
- func (r *AlertsPolicy) CheckForDuplicateConditions() error
- func (in *AlertsPolicy) DeepCopy() *AlertsPolicy
- func (in *AlertsPolicy) DeepCopyInto(out *AlertsPolicy)
- func (in *AlertsPolicy) DeepCopyObject() runtime.Object
- func (r *AlertsPolicy) Default()
- func (r *AlertsPolicy) DefaultIncidentPreference()
- func (r *AlertsPolicy) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *AlertsPolicy) ValidateCreate() error
- func (r *AlertsPolicy) ValidateDelete() error
- func (r *AlertsPolicy) ValidateIncidentPreference() error
- func (r *AlertsPolicy) ValidateUpdate(old runtime.Object) error
- type AlertsPolicyCondition
- func (in *AlertsPolicyCondition) DeepCopy() *AlertsPolicyCondition
- func (in *AlertsPolicyCondition) DeepCopyInto(out *AlertsPolicyCondition)
- func (p *AlertsPolicyCondition) GenerateSpecFromApmConditionSpec(apmConditionSpec AlertsAPMConditionSpec)
- func (p *AlertsPolicyCondition) GenerateSpecFromNrqlConditionSpec(nrqlConditionSpec AlertsNrqlConditionSpec)
- func (p *AlertsPolicyCondition) GetNamespace() types.NamespacedName
- func (p *AlertsPolicyCondition) ReturnApmConditionSpec() (apmConditionSpec AlertsAPMConditionSpec)
- func (p *AlertsPolicyCondition) ReturnNrqlConditionSpec() (nrqlConditionSpec AlertsNrqlConditionSpec)
- func (p *AlertsPolicyCondition) SpecHash() uint32
- type AlertsPolicyConditionSpec
- type AlertsPolicyList
- type AlertsPolicySpec
- func (in *AlertsPolicySpec) DeepCopy() *AlertsPolicySpec
- func (in *AlertsPolicySpec) DeepCopyInto(out *AlertsPolicySpec)
- func (in AlertsPolicySpec) Equals(policyToCompare AlertsPolicySpec) bool
- func (in AlertsPolicySpec) ToAlertsPolicy() alerts.AlertsPolicy
- func (in AlertsPolicySpec) ToAlertsPolicyInput() alerts.AlertsPolicyInput
- func (in AlertsPolicySpec) ToAlertsPolicyUpdateInput() alerts.AlertsPolicyUpdateInput
- type AlertsPolicyStatus
- type ApmAlertCondition
- func (r *ApmAlertCondition) CheckExistingPolicyID() error
- func (r *ApmAlertCondition) CheckForAPIKeyOrSecret() error
- func (r *ApmAlertCondition) CheckRequiredFields() error
- func (in *ApmAlertCondition) DeepCopy() *ApmAlertCondition
- func (in *ApmAlertCondition) DeepCopyInto(out *ApmAlertCondition)
- func (in *ApmAlertCondition) DeepCopyObject() runtime.Object
- func (r *ApmAlertCondition) Default()
- func (r *ApmAlertCondition) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *ApmAlertCondition) ValidateCreate() error
- func (r *ApmAlertCondition) ValidateDelete() error
- func (r *ApmAlertCondition) ValidateMetric() InvalidAttributeSlice
- func (r *ApmAlertCondition) ValidateTerms() InvalidAttributeSlice
- func (r *ApmAlertCondition) ValidateType() InvalidAttributeSlice
- func (r *ApmAlertCondition) ValidateUpdate(old runtime.Object) error
- func (r *ApmAlertCondition) ValidateUserDefinedValueFunction() InvalidAttributeSlice
- type ApmAlertConditionList
- type ApmAlertConditionSpec
- type ApmAlertConditionStatus
- type ChannelHeader
- type ChannelLinks
- type ConditionSpec
- type GenericConditionSpec
- type InvalidAttributeSlice
- type NewRelicAPIKeySecret
- type NrqlAlertCondition
- func (r *NrqlAlertCondition) CheckExistingPolicyID() error
- func (r *NrqlAlertCondition) CheckForAPIKeyOrSecret() error
- func (r *NrqlAlertCondition) CheckRequiredFields() error
- func (in *NrqlAlertCondition) DeepCopy() *NrqlAlertCondition
- func (in *NrqlAlertCondition) DeepCopyInto(out *NrqlAlertCondition)
- func (in *NrqlAlertCondition) DeepCopyObject() runtime.Object
- func (r *NrqlAlertCondition) Default()
- func (r *NrqlAlertCondition) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *NrqlAlertCondition) ValidateCreate() error
- func (r *NrqlAlertCondition) ValidateDelete() error
- func (r *NrqlAlertCondition) ValidateUpdate(old runtime.Object) error
- type NrqlAlertConditionList
- type NrqlAlertConditionSpec
- type NrqlAlertConditionStatus
- type NrqlQuery
- type NrqlSpecificSpec
- type Policy
- func (r *Policy) CheckForAPIKeyOrSecret() error
- func (r *Policy) CheckForDuplicateConditions() error
- func (in *Policy) DeepCopy() *Policy
- func (in *Policy) DeepCopyInto(out *Policy)
- func (in *Policy) DeepCopyObject() runtime.Object
- func (r *Policy) Default()
- func (r *Policy) DefaultIncidentPreference()
- func (r *Policy) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Policy) ValidateCreate() error
- func (r *Policy) ValidateDelete() error
- func (r *Policy) ValidateIncidentPreference() error
- func (r *Policy) ValidateUpdate(old runtime.Object) error
- type PolicyCondition
- func (in *PolicyCondition) DeepCopy() *PolicyCondition
- func (in *PolicyCondition) DeepCopyInto(out *PolicyCondition)
- func (p *PolicyCondition) GenerateSpecFromApmConditionSpec(apmConditionSpec ApmAlertConditionSpec)
- func (p *PolicyCondition) GenerateSpecFromNrqlConditionSpec(nrqlConditionSpec NrqlAlertConditionSpec)
- func (p *PolicyCondition) GetNamespace() types.NamespacedName
- func (p *PolicyCondition) ReturnApmConditionSpec() (apmAlertConditionSpec ApmAlertConditionSpec)
- func (p *PolicyCondition) ReturnNrqlConditionSpec() (nrqlAlertConditionSpec NrqlAlertConditionSpec)
- func (p *PolicyCondition) SpecHash() uint32
- type PolicyList
- type PolicySpec
- type PolicyStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "nr.k8s.newrelic.com", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var AlertsPolicyLog = logf.Log.WithName("alerts-policy-resource")
AlertsPolicyLog is for emitting logs in this package.
var Log = logf.Log.WithName("policy-resource")
Log is for emitting logs in this package.
Functions ¶
func CheckForAPIKeyOrSecret ¶ added in v0.0.3
func CheckForAPIKeyOrSecret(apiKey string, secret NewRelicAPIKeySecret) error
CheckForAPIKeyOrSecret - returns error if a API KEY or k8 secret is not passed in
func DeepHashObject ¶
DeepHashObject writes specified object to hash using the spew library which follows pointers and prints actual values of the nested objects ensuring the hash does not change when a pointer changes.
func GetAlertsConditionType ¶ added in v0.0.2
func GetAlertsConditionType(condition AlertsPolicyCondition) string
GetAlertsConditionType - returns the string representative of the Condition type
func GetConditionType ¶
func GetConditionType(condition PolicyCondition) string
GetConditionType - returns the string representative of the Condition type
func ValidRegion ¶ added in v0.0.3
ValidRegion - returns true if a valid region is passed
Types ¶
type APMSpecificSpec ¶
type APMSpecificSpec struct { Metric string `json:"metric,omitempty"` UserDefined alerts.ConditionUserDefined `json:"user_defined,omitempty"` Scope string `json:"condition_scope,omitempty"` Entities []string `json:"entities,omitempty"` GCMetric string `json:"gc_metric,omitempty"` ViolationCloseTimer int `json:"violation_close_timer,omitempty"` }
func (*APMSpecificSpec) DeepCopy ¶
func (in *APMSpecificSpec) DeepCopy() *APMSpecificSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APMSpecificSpec.
func (*APMSpecificSpec) DeepCopyInto ¶
func (in *APMSpecificSpec) DeepCopyInto(out *APMSpecificSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertConditionTerm ¶
type AlertConditionTerm struct { Duration string `json:"duration,omitempty"` Operator string `json:"operator,omitempty"` Priority string `json:"priority,omitempty"` Threshold string `json:"threshold"` TimeFunction string `json:"time_function,omitempty"` ViolationCloseTimer int `json:"violation_close_timer,omitempty"` }
AlertConditionTerm represents the terms of a New Relic alert condition.
func (*AlertConditionTerm) DeepCopy ¶
func (in *AlertConditionTerm) DeepCopy() *AlertConditionTerm
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertConditionTerm.
func (*AlertConditionTerm) DeepCopyInto ¶
func (in *AlertConditionTerm) DeepCopyInto(out *AlertConditionTerm)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertsAPMCondition ¶ added in v0.0.2
type AlertsAPMCondition struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AlertsAPMConditionSpec `json:"spec,omitempty"` Status AlertsAPMConditionStatus `json:"status,omitempty"` }
AlertsAPMCondition is the Schema for the alertsapmconditions API
func (*AlertsAPMCondition) CheckExistingPolicyID ¶ added in v0.0.2
func (r *AlertsAPMCondition) CheckExistingPolicyID() error
func (*AlertsAPMCondition) CheckForAPIKeyOrSecret ¶ added in v0.0.2
func (r *AlertsAPMCondition) CheckForAPIKeyOrSecret() error
func (*AlertsAPMCondition) CheckRequiredFields ¶ added in v0.0.2
func (r *AlertsAPMCondition) CheckRequiredFields() error
func (*AlertsAPMCondition) DeepCopy ¶ added in v0.0.2
func (in *AlertsAPMCondition) DeepCopy() *AlertsAPMCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertsAPMCondition.
func (*AlertsAPMCondition) DeepCopyInto ¶ added in v0.0.2
func (in *AlertsAPMCondition) DeepCopyInto(out *AlertsAPMCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AlertsAPMCondition) DeepCopyObject ¶ added in v0.0.2
func (in *AlertsAPMCondition) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AlertsAPMCondition) Default ¶ added in v0.0.2
func (r *AlertsAPMCondition) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*AlertsAPMCondition) SetupWebhookWithManager ¶ added in v0.0.2
func (r *AlertsAPMCondition) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*AlertsAPMCondition) ValidateCreate ¶ added in v0.0.2
func (r *AlertsAPMCondition) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*AlertsAPMCondition) ValidateDelete ¶ added in v0.0.2
func (r *AlertsAPMCondition) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*AlertsAPMCondition) ValidateMetric ¶ added in v0.0.2
func (r *AlertsAPMCondition) ValidateMetric() InvalidAttributeSlice
func (*AlertsAPMCondition) ValidateTerms ¶ added in v0.0.2
func (r *AlertsAPMCondition) ValidateTerms() InvalidAttributeSlice
func (*AlertsAPMCondition) ValidateType ¶ added in v0.0.2
func (r *AlertsAPMCondition) ValidateType() InvalidAttributeSlice
func (*AlertsAPMCondition) ValidateUpdate ¶ added in v0.0.2
func (r *AlertsAPMCondition) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
func (*AlertsAPMCondition) ValidateUserDefinedValueFunction ¶ added in v0.0.2
func (r *AlertsAPMCondition) ValidateUserDefinedValueFunction() InvalidAttributeSlice
type AlertsAPMConditionList ¶ added in v0.0.2
type AlertsAPMConditionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AlertsAPMCondition `json:"items"` }
AlertsAPMConditionList contains a list of AlertsAPMCondition
func (*AlertsAPMConditionList) DeepCopy ¶ added in v0.0.2
func (in *AlertsAPMConditionList) DeepCopy() *AlertsAPMConditionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertsAPMConditionList.
func (*AlertsAPMConditionList) DeepCopyInto ¶ added in v0.0.2
func (in *AlertsAPMConditionList) DeepCopyInto(out *AlertsAPMConditionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AlertsAPMConditionList) DeepCopyObject ¶ added in v0.0.2
func (in *AlertsAPMConditionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AlertsAPMConditionSpec ¶ added in v0.0.2
type AlertsAPMConditionSpec struct { AlertsGenericConditionSpec `json:",inline"` AlertsAPMSpecificSpec `json:",inline"` }
AlertsAPMConditionSpec defines the desired state of AlertsAPMCondition
func (AlertsAPMConditionSpec) APICondition ¶ added in v0.0.2
func (in AlertsAPMConditionSpec) APICondition() alerts.Condition
func (*AlertsAPMConditionSpec) DeepCopy ¶ added in v0.0.2
func (in *AlertsAPMConditionSpec) DeepCopy() *AlertsAPMConditionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertsAPMConditionSpec.
func (*AlertsAPMConditionSpec) DeepCopyInto ¶ added in v0.0.2
func (in *AlertsAPMConditionSpec) DeepCopyInto(out *AlertsAPMConditionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertsAPMConditionStatus ¶ added in v0.0.2
type AlertsAPMConditionStatus struct { AppliedSpec *AlertsAPMConditionSpec `json:"applied_spec"` ConditionID int `json:"condition_id"` }
AlertsAPMConditionStatus defines the observed state of AlertsAPMCondition
func (*AlertsAPMConditionStatus) DeepCopy ¶ added in v0.0.2
func (in *AlertsAPMConditionStatus) DeepCopy() *AlertsAPMConditionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertsAPMConditionStatus.
func (*AlertsAPMConditionStatus) DeepCopyInto ¶ added in v0.0.2
func (in *AlertsAPMConditionStatus) DeepCopyInto(out *AlertsAPMConditionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertsAPMSpecificSpec ¶ added in v0.0.2
type AlertsAPMSpecificSpec struct { Metric string `json:"metric,omitempty"` UserDefined alerts.ConditionUserDefined `json:"user_defined,omitempty"` Scope string `json:"condition_scope,omitempty"` Entities []string `json:"entities,omitempty"` GCMetric string `json:"gc_metric,omitempty"` ViolationCloseTimer int `json:"violation_close_timer,omitempty"` }
func (*AlertsAPMSpecificSpec) DeepCopy ¶ added in v0.0.2
func (in *AlertsAPMSpecificSpec) DeepCopy() *AlertsAPMSpecificSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertsAPMSpecificSpec.
func (*AlertsAPMSpecificSpec) DeepCopyInto ¶ added in v0.0.2
func (in *AlertsAPMSpecificSpec) DeepCopyInto(out *AlertsAPMSpecificSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertsBaselineSpecificSpec ¶ added in v0.0.8
type AlertsBaselineSpecificSpec struct {
BaselineDirection *alerts.NrqlBaselineDirection `json:"baseline_direction,omitempty"`
}
func (*AlertsBaselineSpecificSpec) DeepCopy ¶ added in v0.0.8
func (in *AlertsBaselineSpecificSpec) DeepCopy() *AlertsBaselineSpecificSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertsBaselineSpecificSpec.
func (*AlertsBaselineSpecificSpec) DeepCopyInto ¶ added in v0.0.8
func (in *AlertsBaselineSpecificSpec) DeepCopyInto(out *AlertsBaselineSpecificSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertsChannel ¶ added in v0.0.3
type AlertsChannel struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AlertsChannelSpec `json:"spec,omitempty"` Status AlertsChannelStatus `json:"status,omitempty"` }
AlertsChannel is the Schema for the AlertsChannel API
func (*AlertsChannel) DeepCopy ¶ added in v0.0.3
func (in *AlertsChannel) DeepCopy() *AlertsChannel
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertsChannel.
func (*AlertsChannel) DeepCopyInto ¶ added in v0.0.3
func (in *AlertsChannel) DeepCopyInto(out *AlertsChannel)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AlertsChannel) DeepCopyObject ¶ added in v0.0.3
func (in *AlertsChannel) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AlertsChannel) Default ¶ added in v0.0.3
func (r *AlertsChannel) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*AlertsChannel) SetupWebhookWithManager ¶ added in v0.0.3
func (r *AlertsChannel) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager - instantiates the Webhook
func (*AlertsChannel) ValidateAlertsChannel ¶ added in v0.0.3
func (r *AlertsChannel) ValidateAlertsChannel() error
ValidateAlertsChannel - Validates create/update of AlertsChannel
func (*AlertsChannel) ValidateCreate ¶ added in v0.0.3
func (r *AlertsChannel) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*AlertsChannel) ValidateDelete ¶ added in v0.0.3
func (r *AlertsChannel) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*AlertsChannel) ValidateType ¶ added in v0.0.3
func (r *AlertsChannel) ValidateType() InvalidAttributeSlice
ValidateType - Validates the Type attribute
func (*AlertsChannel) ValidateUpdate ¶ added in v0.0.3
func (r *AlertsChannel) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type AlertsChannelConfiguration ¶ added in v0.0.3
type AlertsChannelConfiguration struct { Recipients string `json:"recipients,omitempty"` IncludeJSONAttachment string `json:"include_json_attachment,omitempty"` AuthToken string `json:"auth_token,omitempty"` APIKey string `json:"api_key,omitempty"` Teams string `json:"teams,omitempty"` Tags string `json:"tags,omitempty"` URL string `json:"url,omitempty"` Channel string `json:"channel,omitempty"` Key string `json:"key,omitempty"` RouteKey string `json:"route_key,omitempty"` ServiceKey string `json:"service_key,omitempty"` BaseURL string `json:"base_url,omitempty"` AuthUsername string `json:"auth_username,omitempty"` AuthPassword string `json:"auth_password,omitempty"` PayloadType string `json:"payload_type,omitempty"` Region string `json:"region,omitempty"` UserID string `json:"user_id,omitempty"` Payload map[string]string `json:"payload,omitempty"` Headers []ChannelHeader `json:"headers,omitempty"` }
AlertsChannelConfiguration - copy of alerts.ChannelConfiguration
func (*AlertsChannelConfiguration) DeepCopy ¶ added in v0.0.3
func (in *AlertsChannelConfiguration) DeepCopy() *AlertsChannelConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertsChannelConfiguration.
func (*AlertsChannelConfiguration) DeepCopyInto ¶ added in v0.0.3
func (in *AlertsChannelConfiguration) DeepCopyInto(out *AlertsChannelConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertsChannelList ¶ added in v0.0.3
type AlertsChannelList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AlertsChannel `json:"items"` }
AlertsChannelList contains a list of AlertsChannel
func (*AlertsChannelList) DeepCopy ¶ added in v0.0.3
func (in *AlertsChannelList) DeepCopy() *AlertsChannelList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertsChannelList.
func (*AlertsChannelList) DeepCopyInto ¶ added in v0.0.3
func (in *AlertsChannelList) DeepCopyInto(out *AlertsChannelList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AlertsChannelList) DeepCopyObject ¶ added in v0.0.3
func (in *AlertsChannelList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AlertsChannelSpec ¶ added in v0.0.3
type AlertsChannelSpec struct { ID int `json:"id,omitempty"` Name string `json:"name"` APIKey string `json:"api_key,omitempty"` APIKeySecret NewRelicAPIKeySecret `json:"api_key_secret,omitempty"` Region string `json:"region,omitempty"` Type string `json:"type,omitempty"` Links ChannelLinks `json:"links,omitempty"` Configuration AlertsChannelConfiguration `json:"configuration,omitempty"` }
AlertsChannelSpec defines the desired state of AlertsChannel
func (AlertsChannelSpec) APIChannel ¶ added in v0.0.3
APIChannel - Converts AlertsChannelSpec object to alerts.Channel
func (*AlertsChannelSpec) DeepCopy ¶ added in v0.0.3
func (in *AlertsChannelSpec) DeepCopy() *AlertsChannelSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertsChannelSpec.
func (*AlertsChannelSpec) DeepCopyInto ¶ added in v0.0.3
func (in *AlertsChannelSpec) DeepCopyInto(out *AlertsChannelSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertsChannelStatus ¶ added in v0.0.3
type AlertsChannelStatus struct { AppliedSpec *AlertsChannelSpec `json:"applied_spec"` ChannelID int `json:"channel_id"` AppliedPolicyIDs []int `json:"appliedPolicyIDs"` }
AlertsChannelStatus defines the observed state of AlertsChannel
func (*AlertsChannelStatus) DeepCopy ¶ added in v0.0.3
func (in *AlertsChannelStatus) DeepCopy() *AlertsChannelStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertsChannelStatus.
func (*AlertsChannelStatus) DeepCopyInto ¶ added in v0.0.3
func (in *AlertsChannelStatus) DeepCopyInto(out *AlertsChannelStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertsGenericConditionSpec ¶ added in v0.0.2
type AlertsGenericConditionSpec struct { Enabled bool `json:"enabled"` APIKey string `json:"api_key,omitempty"` APIKeySecret NewRelicAPIKeySecret `json:"api_key_secret,omitempty"` AccountID int `json:"account_id,omitempty"` ExistingPolicyID string `json:"existing_policy_id,omitempty"` ID int `json:"id,omitempty"` Name string `json:"name,omitempty"` PolicyID int `json:"-"` Region string `json:"region,omitempty"` RunbookURL string `json:"runbook_url,omitempty"` Terms []AlertsNrqlConditionTerm `json:"terms,omitempty"` APMTerms []AlertConditionTerm `json:"apm_terms,omitempty"` Type alerts.NrqlConditionType `json:"type,omitempty"` }
AlertsGenericConditionSpec defines the desired state of AlertsNrqlCondition
func (*AlertsGenericConditionSpec) DeepCopy ¶ added in v0.0.2
func (in *AlertsGenericConditionSpec) DeepCopy() *AlertsGenericConditionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertsGenericConditionSpec.
func (*AlertsGenericConditionSpec) DeepCopyInto ¶ added in v0.0.2
func (in *AlertsGenericConditionSpec) DeepCopyInto(out *AlertsGenericConditionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertsNrqlCondition ¶ added in v0.0.2
type AlertsNrqlCondition struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AlertsNrqlConditionSpec `json:"spec,omitempty"` Status AlertsNrqlConditionStatus `json:"status,omitempty"` }
AlertsNrqlCondition is the Schema for the alertsnrqlconditions API
func (*AlertsNrqlCondition) CheckExistingPolicyID ¶ added in v0.0.2
func (r *AlertsNrqlCondition) CheckExistingPolicyID() error
func (*AlertsNrqlCondition) CheckForAPIKeyOrSecret ¶ added in v0.0.2
func (r *AlertsNrqlCondition) CheckForAPIKeyOrSecret() error
func (*AlertsNrqlCondition) CheckRequiredFields ¶ added in v0.0.2
func (r *AlertsNrqlCondition) CheckRequiredFields() error
func (*AlertsNrqlCondition) DeepCopy ¶ added in v0.0.2
func (in *AlertsNrqlCondition) DeepCopy() *AlertsNrqlCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertsNrqlCondition.
func (*AlertsNrqlCondition) DeepCopyInto ¶ added in v0.0.2
func (in *AlertsNrqlCondition) DeepCopyInto(out *AlertsNrqlCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AlertsNrqlCondition) DeepCopyObject ¶ added in v0.0.2
func (in *AlertsNrqlCondition) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AlertsNrqlCondition) Default ¶ added in v0.0.2
func (r *AlertsNrqlCondition) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*AlertsNrqlCondition) SetupWebhookWithManager ¶ added in v0.0.2
func (r *AlertsNrqlCondition) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*AlertsNrqlCondition) ValidateCreate ¶ added in v0.0.2
func (r *AlertsNrqlCondition) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*AlertsNrqlCondition) ValidateDelete ¶ added in v0.0.2
func (r *AlertsNrqlCondition) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*AlertsNrqlCondition) ValidateUpdate ¶ added in v0.0.2
func (r *AlertsNrqlCondition) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type AlertsNrqlConditionExpiration ¶ added in v0.0.8
type AlertsNrqlConditionExpiration struct { ExpirationDuration *int `json:"expirationDuration,omitempty"` CloseViolationsOnExpiration bool `json:"closeViolationsOnExpiration,omitempty"` OpenViolationOnExpiration bool `json:"openViolationOnExpiration,omitempty"` }
AlertsNrqlConditionExpiration Settings for how violations are opened or closed when a signal expires.
func (*AlertsNrqlConditionExpiration) DeepCopy ¶ added in v0.0.8
func (in *AlertsNrqlConditionExpiration) DeepCopy() *AlertsNrqlConditionExpiration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertsNrqlConditionExpiration.
func (*AlertsNrqlConditionExpiration) DeepCopyInto ¶ added in v0.0.8
func (in *AlertsNrqlConditionExpiration) DeepCopyInto(out *AlertsNrqlConditionExpiration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertsNrqlConditionList ¶ added in v0.0.2
type AlertsNrqlConditionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AlertsNrqlCondition `json:"items"` }
AlertsNrqlConditionList contains a list of AlertsNrqlCondition
func (*AlertsNrqlConditionList) DeepCopy ¶ added in v0.0.2
func (in *AlertsNrqlConditionList) DeepCopy() *AlertsNrqlConditionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertsNrqlConditionList.
func (*AlertsNrqlConditionList) DeepCopyInto ¶ added in v0.0.2
func (in *AlertsNrqlConditionList) DeepCopyInto(out *AlertsNrqlConditionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AlertsNrqlConditionList) DeepCopyObject ¶ added in v0.0.2
func (in *AlertsNrqlConditionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AlertsNrqlConditionSignal ¶ added in v0.0.8
type AlertsNrqlConditionSignal struct { AggregationWindow *int `json:"aggregation_window,omitempty"` EvaluationOffset *int `json:"evaluation_offset,omitempty"` FillOption *alerts.AlertsFillOption `json:"fill_option,omitempty"` FillValue *string `json:"fill_value,omitempty"` }
AlertsNrqlConditionSignal - Configuration that defines the signal that the NRQL condition will use to evaluate.
func (*AlertsNrqlConditionSignal) DeepCopy ¶ added in v0.0.8
func (in *AlertsNrqlConditionSignal) DeepCopy() *AlertsNrqlConditionSignal
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertsNrqlConditionSignal.
func (*AlertsNrqlConditionSignal) DeepCopyInto ¶ added in v0.0.8
func (in *AlertsNrqlConditionSignal) DeepCopyInto(out *AlertsNrqlConditionSignal)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertsNrqlConditionSpec ¶ added in v0.0.2
type AlertsNrqlConditionSpec struct { AlertsGenericConditionSpec `json:",inline"` AlertsNrqlSpecificSpec `json:",inline"` AlertsBaselineSpecificSpec `json:",inline"` }
AlertsNrqlConditionSpec defines the desired state of AlertsNrqlCondition
func (*AlertsNrqlConditionSpec) DeepCopy ¶ added in v0.0.2
func (in *AlertsNrqlConditionSpec) DeepCopy() *AlertsNrqlConditionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertsNrqlConditionSpec.
func (*AlertsNrqlConditionSpec) DeepCopyInto ¶ added in v0.0.2
func (in *AlertsNrqlConditionSpec) DeepCopyInto(out *AlertsNrqlConditionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (AlertsNrqlConditionSpec) ToNrqlConditionInput ¶ added in v0.0.2
func (in AlertsNrqlConditionSpec) ToNrqlConditionInput() alerts.NrqlConditionInput
type AlertsNrqlConditionStatus ¶ added in v0.0.2
type AlertsNrqlConditionStatus struct { AppliedSpec *AlertsNrqlConditionSpec `json:"applied_spec"` ConditionID string `json:"condition_id"` }
AlertsNrqlConditionStatus defines the observed state of AlertsNrqlCondition
func (*AlertsNrqlConditionStatus) DeepCopy ¶ added in v0.0.2
func (in *AlertsNrqlConditionStatus) DeepCopy() *AlertsNrqlConditionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertsNrqlConditionStatus.
func (*AlertsNrqlConditionStatus) DeepCopyInto ¶ added in v0.0.2
func (in *AlertsNrqlConditionStatus) DeepCopyInto(out *AlertsNrqlConditionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertsNrqlConditionTerm ¶ added in v0.0.2
type AlertsNrqlConditionTerm struct { Operator alerts.AlertsNRQLConditionTermsOperator `json:"operator,omitempty"` Priority alerts.NrqlConditionPriority `json:"priority,omitempty"` Threshold string `json:"threshold,omitempty"` ThresholdDuration int `json:"threshold_duration,omitempty"` ThresholdOccurrences alerts.ThresholdOccurrence `json:"threshold_occurrences,omitempty"` }
AlertsNrqlConditionTerm represents the terms of a New Relic alert condition.
func (*AlertsNrqlConditionTerm) DeepCopy ¶ added in v0.0.2
func (in *AlertsNrqlConditionTerm) DeepCopy() *AlertsNrqlConditionTerm
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertsNrqlConditionTerm.
func (*AlertsNrqlConditionTerm) DeepCopyInto ¶ added in v0.0.2
func (in *AlertsNrqlConditionTerm) DeepCopyInto(out *AlertsNrqlConditionTerm)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertsNrqlSpecificSpec ¶ added in v0.0.2
type AlertsNrqlSpecificSpec struct { Description string `json:"description,omitempty"` Nrql alerts.NrqlConditionQuery `json:"nrql,omitempty"` ValueFunction *alerts.NrqlConditionValueFunction `json:"valueFunction,omitempty"` ExpectedGroups int `json:"expected_groups,omitempty"` IgnoreOverlap bool `json:"ignore_overlap,omitempty"` ViolationTimeLimit alerts.NrqlConditionViolationTimeLimit `json:"violationTimeLimit,omitempty"` Expiration *AlertsNrqlConditionExpiration `json:"expiration,omitempty"` Signal *AlertsNrqlConditionSignal `json:"signal,omitempty"` }
func (*AlertsNrqlSpecificSpec) DeepCopy ¶ added in v0.0.2
func (in *AlertsNrqlSpecificSpec) DeepCopy() *AlertsNrqlSpecificSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertsNrqlSpecificSpec.
func (*AlertsNrqlSpecificSpec) DeepCopyInto ¶ added in v0.0.2
func (in *AlertsNrqlSpecificSpec) DeepCopyInto(out *AlertsNrqlSpecificSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertsPolicy ¶
type AlertsPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AlertsPolicySpec `json:"spec,omitempty"` Status AlertsPolicyStatus `json:"status,omitempty"` }
AlertsPolicy is the Schema for the policies API
func (*AlertsPolicy) CheckForAPIKeyOrSecret ¶ added in v0.0.2
func (r *AlertsPolicy) CheckForAPIKeyOrSecret() error
func (*AlertsPolicy) CheckForDuplicateConditions ¶ added in v0.0.2
func (r *AlertsPolicy) CheckForDuplicateConditions() error
func (*AlertsPolicy) DeepCopy ¶
func (in *AlertsPolicy) DeepCopy() *AlertsPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertsPolicy.
func (*AlertsPolicy) DeepCopyInto ¶
func (in *AlertsPolicy) DeepCopyInto(out *AlertsPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AlertsPolicy) DeepCopyObject ¶
func (in *AlertsPolicy) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AlertsPolicy) Default ¶ added in v0.0.2
func (r *AlertsPolicy) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*AlertsPolicy) DefaultIncidentPreference ¶ added in v0.0.2
func (r *AlertsPolicy) DefaultIncidentPreference()
func (*AlertsPolicy) SetupWebhookWithManager ¶ added in v0.0.2
func (r *AlertsPolicy) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*AlertsPolicy) ValidateCreate ¶ added in v0.0.2
func (r *AlertsPolicy) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*AlertsPolicy) ValidateDelete ¶ added in v0.0.2
func (r *AlertsPolicy) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*AlertsPolicy) ValidateIncidentPreference ¶ added in v0.0.2
func (r *AlertsPolicy) ValidateIncidentPreference() error
func (*AlertsPolicy) ValidateUpdate ¶ added in v0.0.2
func (r *AlertsPolicy) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type AlertsPolicyCondition ¶
type AlertsPolicyCondition struct { Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` Spec AlertsPolicyConditionSpec `json:"spec,omitempty"` }
AlertsPolicyCondition defined the conditions contained within an AlertsPolicy
func (*AlertsPolicyCondition) DeepCopy ¶
func (in *AlertsPolicyCondition) DeepCopy() *AlertsPolicyCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertsPolicyCondition.
func (*AlertsPolicyCondition) DeepCopyInto ¶
func (in *AlertsPolicyCondition) DeepCopyInto(out *AlertsPolicyCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AlertsPolicyCondition) GenerateSpecFromApmConditionSpec ¶ added in v0.0.2
func (p *AlertsPolicyCondition) GenerateSpecFromApmConditionSpec(apmConditionSpec AlertsAPMConditionSpec)
func (*AlertsPolicyCondition) GenerateSpecFromNrqlConditionSpec ¶ added in v0.0.2
func (p *AlertsPolicyCondition) GenerateSpecFromNrqlConditionSpec(nrqlConditionSpec AlertsNrqlConditionSpec)
func (*AlertsPolicyCondition) GetNamespace ¶
func (p *AlertsPolicyCondition) GetNamespace() types.NamespacedName
func (*AlertsPolicyCondition) ReturnApmConditionSpec ¶ added in v0.0.2
func (p *AlertsPolicyCondition) ReturnApmConditionSpec() (apmConditionSpec AlertsAPMConditionSpec)
func (*AlertsPolicyCondition) ReturnNrqlConditionSpec ¶ added in v0.0.2
func (p *AlertsPolicyCondition) ReturnNrqlConditionSpec() (nrqlConditionSpec AlertsNrqlConditionSpec)
func (*AlertsPolicyCondition) SpecHash ¶
func (p *AlertsPolicyCondition) SpecHash() uint32
type AlertsPolicyConditionSpec ¶ added in v0.0.2
type AlertsPolicyConditionSpec struct { AlertsGenericConditionSpec `json:",inline"` AlertsNrqlSpecificSpec `json:",inline"` AlertsAPMSpecificSpec `json:",inline"` AlertsBaselineSpecificSpec `json:",inline"` }
func (*AlertsPolicyConditionSpec) DeepCopy ¶ added in v0.0.2
func (in *AlertsPolicyConditionSpec) DeepCopy() *AlertsPolicyConditionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertsPolicyConditionSpec.
func (*AlertsPolicyConditionSpec) DeepCopyInto ¶ added in v0.0.2
func (in *AlertsPolicyConditionSpec) DeepCopyInto(out *AlertsPolicyConditionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertsPolicyList ¶
type AlertsPolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AlertsPolicy `json:"items"` }
AlertsPolicyList contains a list of AlertsPolicy
func (*AlertsPolicyList) DeepCopy ¶
func (in *AlertsPolicyList) DeepCopy() *AlertsPolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertsPolicyList.
func (*AlertsPolicyList) DeepCopyInto ¶
func (in *AlertsPolicyList) DeepCopyInto(out *AlertsPolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AlertsPolicyList) DeepCopyObject ¶
func (in *AlertsPolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AlertsPolicySpec ¶
type AlertsPolicySpec struct { IncidentPreference string `json:"incidentPreference,omitempty"` Name string `json:"name"` Region string `json:"region"` Conditions []AlertsPolicyCondition `json:"conditions,omitempty"` APIKey string `json:"api_key,omitempty"` APIKeySecret NewRelicAPIKeySecret `json:"api_key_secret,omitempty"` AccountID int `json:"account_id,omitempty"` ChannelIDs []int `json:"channel_ids,omitempty"` }
AlertsPolicySpec defines the desired state of AlertsPolicy
func (*AlertsPolicySpec) DeepCopy ¶
func (in *AlertsPolicySpec) DeepCopy() *AlertsPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertsPolicySpec.
func (*AlertsPolicySpec) DeepCopyInto ¶
func (in *AlertsPolicySpec) DeepCopyInto(out *AlertsPolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (AlertsPolicySpec) Equals ¶
func (in AlertsPolicySpec) Equals(policyToCompare AlertsPolicySpec) bool
Equals - comparator function to check for equality
func (AlertsPolicySpec) ToAlertsPolicy ¶ added in v0.0.2
func (in AlertsPolicySpec) ToAlertsPolicy() alerts.AlertsPolicy
func (AlertsPolicySpec) ToAlertsPolicyInput ¶ added in v0.0.2
func (in AlertsPolicySpec) ToAlertsPolicyInput() alerts.AlertsPolicyInput
func (AlertsPolicySpec) ToAlertsPolicyUpdateInput ¶ added in v0.0.2
func (in AlertsPolicySpec) ToAlertsPolicyUpdateInput() alerts.AlertsPolicyUpdateInput
type AlertsPolicyStatus ¶
type AlertsPolicyStatus struct { AppliedSpec *AlertsPolicySpec `json:"applied_spec"` PolicyID string `json:"policy_id"` }
AlertsPolicyStatus defines the observed state of AlertsPolicy
func (*AlertsPolicyStatus) DeepCopy ¶
func (in *AlertsPolicyStatus) DeepCopy() *AlertsPolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertsPolicyStatus.
func (*AlertsPolicyStatus) DeepCopyInto ¶
func (in *AlertsPolicyStatus) DeepCopyInto(out *AlertsPolicyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApmAlertCondition ¶
type ApmAlertCondition struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ApmAlertConditionSpec `json:"spec,omitempty"` Status ApmAlertConditionStatus `json:"status,omitempty"` }
ApmAlertCondition is the Schema for the apmalertconditions API
func (*ApmAlertCondition) CheckExistingPolicyID ¶
func (r *ApmAlertCondition) CheckExistingPolicyID() error
func (*ApmAlertCondition) CheckForAPIKeyOrSecret ¶
func (r *ApmAlertCondition) CheckForAPIKeyOrSecret() error
func (*ApmAlertCondition) CheckRequiredFields ¶
func (r *ApmAlertCondition) CheckRequiredFields() error
func (*ApmAlertCondition) DeepCopy ¶
func (in *ApmAlertCondition) DeepCopy() *ApmAlertCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApmAlertCondition.
func (*ApmAlertCondition) DeepCopyInto ¶
func (in *ApmAlertCondition) DeepCopyInto(out *ApmAlertCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApmAlertCondition) DeepCopyObject ¶
func (in *ApmAlertCondition) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ApmAlertCondition) Default ¶
func (r *ApmAlertCondition) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*ApmAlertCondition) SetupWebhookWithManager ¶
func (r *ApmAlertCondition) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*ApmAlertCondition) ValidateCreate ¶
func (r *ApmAlertCondition) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*ApmAlertCondition) ValidateDelete ¶
func (r *ApmAlertCondition) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*ApmAlertCondition) ValidateMetric ¶
func (r *ApmAlertCondition) ValidateMetric() InvalidAttributeSlice
func (*ApmAlertCondition) ValidateTerms ¶
func (r *ApmAlertCondition) ValidateTerms() InvalidAttributeSlice
func (*ApmAlertCondition) ValidateType ¶
func (r *ApmAlertCondition) ValidateType() InvalidAttributeSlice
func (*ApmAlertCondition) ValidateUpdate ¶
func (r *ApmAlertCondition) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
func (*ApmAlertCondition) ValidateUserDefinedValueFunction ¶
func (r *ApmAlertCondition) ValidateUserDefinedValueFunction() InvalidAttributeSlice
type ApmAlertConditionList ¶
type ApmAlertConditionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ApmAlertCondition `json:"items"` }
ApmAlertConditionList contains a list of ApmAlertCondition
func (*ApmAlertConditionList) DeepCopy ¶
func (in *ApmAlertConditionList) DeepCopy() *ApmAlertConditionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApmAlertConditionList.
func (*ApmAlertConditionList) DeepCopyInto ¶
func (in *ApmAlertConditionList) DeepCopyInto(out *ApmAlertConditionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApmAlertConditionList) DeepCopyObject ¶
func (in *ApmAlertConditionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApmAlertConditionSpec ¶
type ApmAlertConditionSpec struct { GenericConditionSpec `json:",inline"` APMSpecificSpec `json:",inline"` }
ApmAlertConditionSpec defines the desired state of ApmAlertCondition
func (ApmAlertConditionSpec) APICondition ¶
func (in ApmAlertConditionSpec) APICondition() alerts.Condition
func (*ApmAlertConditionSpec) DeepCopy ¶
func (in *ApmAlertConditionSpec) DeepCopy() *ApmAlertConditionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApmAlertConditionSpec.
func (*ApmAlertConditionSpec) DeepCopyInto ¶
func (in *ApmAlertConditionSpec) DeepCopyInto(out *ApmAlertConditionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApmAlertConditionStatus ¶
type ApmAlertConditionStatus struct { AppliedSpec *ApmAlertConditionSpec `json:"applied_spec"` ConditionID int `json:"condition_id"` }
ApmAlertConditionStatus defines the observed state of ApmAlertCondition
func (*ApmAlertConditionStatus) DeepCopy ¶
func (in *ApmAlertConditionStatus) DeepCopy() *ApmAlertConditionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApmAlertConditionStatus.
func (*ApmAlertConditionStatus) DeepCopyInto ¶
func (in *ApmAlertConditionStatus) DeepCopyInto(out *ApmAlertConditionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChannelHeader ¶ added in v0.0.5
type ChannelHeader struct { Name string `json:"name,omitempty"` Value string `json:"value,omitempty"` Secret string `json:"secret,omitempty"` Namespace string `json:"namespace,omitempty"` KeyName string `json:"key_name,omitempty"` }
func (*ChannelHeader) DeepCopy ¶ added in v0.0.5
func (in *ChannelHeader) DeepCopy() *ChannelHeader
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelHeader.
func (*ChannelHeader) DeepCopyInto ¶ added in v0.0.5
func (in *ChannelHeader) DeepCopyInto(out *ChannelHeader)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChannelLinks ¶ added in v0.0.3
type ChannelLinks struct { PolicyIDs []int `json:"policy_ids,omitempty"` PolicyNames []string `json:"policy_names,omitempty"` PolicyKubernetesObjects []metav1.ObjectMeta `json:"policy_kubernetes_objects,omitempty"` }
ChannelLinks - copy of alerts.ChannelLinks
func (*ChannelLinks) DeepCopy ¶ added in v0.0.3
func (in *ChannelLinks) DeepCopy() *ChannelLinks
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelLinks.
func (*ChannelLinks) DeepCopyInto ¶ added in v0.0.3
func (in *ChannelLinks) DeepCopyInto(out *ChannelLinks)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionSpec ¶
type ConditionSpec struct { GenericConditionSpec `json:",inline"` NrqlSpecificSpec `json:",inline"` APMSpecificSpec `json:",inline"` }
ConditionSpec - Merged superset of Condition types
func (*ConditionSpec) DeepCopy ¶
func (in *ConditionSpec) DeepCopy() *ConditionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionSpec.
func (*ConditionSpec) DeepCopyInto ¶
func (in *ConditionSpec) DeepCopyInto(out *ConditionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GenericConditionSpec ¶
type GenericConditionSpec struct { Terms []AlertConditionTerm `json:"terms,omitempty"` Type string `json:"type,omitempty"` Name string `json:"name,omitempty"` RunbookURL string `json:"runbook_url,omitempty"` PolicyID int `json:"-"` ID int `json:"id,omitempty"` Enabled bool `json:"enabled"` ExistingPolicyID int `json:"existing_policy_id,omitempty"` APIKey string `json:"api_key,omitempty"` APIKeySecret NewRelicAPIKeySecret `json:"api_key_secret,omitempty"` Region string `json:"region,omitempty"` }
func (*GenericConditionSpec) DeepCopy ¶
func (in *GenericConditionSpec) DeepCopy() *GenericConditionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericConditionSpec.
func (*GenericConditionSpec) DeepCopyInto ¶
func (in *GenericConditionSpec) DeepCopyInto(out *GenericConditionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InvalidAttributeSlice ¶
type InvalidAttributeSlice []invalidAttribute
func (InvalidAttributeSlice) DeepCopy ¶
func (in InvalidAttributeSlice) DeepCopy() InvalidAttributeSlice
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InvalidAttributeSlice.
func (InvalidAttributeSlice) DeepCopyInto ¶
func (in InvalidAttributeSlice) DeepCopyInto(out *InvalidAttributeSlice)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NewRelicAPIKeySecret ¶
type NewRelicAPIKeySecret struct { Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` KeyName string `json:"key_name,omitempty"` }
func (*NewRelicAPIKeySecret) DeepCopy ¶
func (in *NewRelicAPIKeySecret) DeepCopy() *NewRelicAPIKeySecret
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NewRelicAPIKeySecret.
func (*NewRelicAPIKeySecret) DeepCopyInto ¶
func (in *NewRelicAPIKeySecret) DeepCopyInto(out *NewRelicAPIKeySecret)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NrqlAlertCondition ¶
type NrqlAlertCondition struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NrqlAlertConditionSpec `json:"spec,omitempty"` Status NrqlAlertConditionStatus `json:"status,omitempty"` }
NrqlAlertCondition is the Schema for the nrqlalertconditions API
func (*NrqlAlertCondition) CheckExistingPolicyID ¶
func (r *NrqlAlertCondition) CheckExistingPolicyID() error
func (*NrqlAlertCondition) CheckForAPIKeyOrSecret ¶
func (r *NrqlAlertCondition) CheckForAPIKeyOrSecret() error
func (*NrqlAlertCondition) CheckRequiredFields ¶
func (r *NrqlAlertCondition) CheckRequiredFields() error
func (*NrqlAlertCondition) DeepCopy ¶
func (in *NrqlAlertCondition) DeepCopy() *NrqlAlertCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NrqlAlertCondition.
func (*NrqlAlertCondition) DeepCopyInto ¶
func (in *NrqlAlertCondition) DeepCopyInto(out *NrqlAlertCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NrqlAlertCondition) DeepCopyObject ¶
func (in *NrqlAlertCondition) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*NrqlAlertCondition) Default ¶
func (r *NrqlAlertCondition) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*NrqlAlertCondition) SetupWebhookWithManager ¶
func (r *NrqlAlertCondition) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*NrqlAlertCondition) ValidateCreate ¶
func (r *NrqlAlertCondition) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*NrqlAlertCondition) ValidateDelete ¶
func (r *NrqlAlertCondition) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*NrqlAlertCondition) ValidateUpdate ¶
func (r *NrqlAlertCondition) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type NrqlAlertConditionList ¶
type NrqlAlertConditionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NrqlAlertCondition `json:"items"` }
NrqlAlertConditionList contains a list of NrqlAlertCondition
func (*NrqlAlertConditionList) DeepCopy ¶
func (in *NrqlAlertConditionList) DeepCopy() *NrqlAlertConditionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NrqlAlertConditionList.
func (*NrqlAlertConditionList) DeepCopyInto ¶
func (in *NrqlAlertConditionList) DeepCopyInto(out *NrqlAlertConditionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NrqlAlertConditionList) DeepCopyObject ¶
func (in *NrqlAlertConditionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NrqlAlertConditionSpec ¶
type NrqlAlertConditionSpec struct { GenericConditionSpec `json:",inline"` NrqlSpecificSpec `json:",inline"` }
NrqlAlertConditionSpec defines the desired state of NrqlAlertCondition
func (NrqlAlertConditionSpec) APICondition ¶
func (in NrqlAlertConditionSpec) APICondition() alerts.NrqlCondition
func (*NrqlAlertConditionSpec) DeepCopy ¶
func (in *NrqlAlertConditionSpec) DeepCopy() *NrqlAlertConditionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NrqlAlertConditionSpec.
func (*NrqlAlertConditionSpec) DeepCopyInto ¶
func (in *NrqlAlertConditionSpec) DeepCopyInto(out *NrqlAlertConditionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NrqlAlertConditionStatus ¶
type NrqlAlertConditionStatus struct { AppliedSpec *NrqlAlertConditionSpec `json:"applied_spec"` ConditionID int `json:"condition_id"` }
NrqlAlertConditionStatus defines the observed state of NrqlAlertCondition
func (*NrqlAlertConditionStatus) DeepCopy ¶
func (in *NrqlAlertConditionStatus) DeepCopy() *NrqlAlertConditionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NrqlAlertConditionStatus.
func (*NrqlAlertConditionStatus) DeepCopyInto ¶
func (in *NrqlAlertConditionStatus) DeepCopyInto(out *NrqlAlertConditionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NrqlQuery ¶
type NrqlQuery struct { Query string `json:"query,omitempty"` SinceValue string `json:"since_value,omitempty"` }
NrqlQuery represents a NRQL query to use with a NRQL alert condition
func (*NrqlQuery) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NrqlQuery.
func (*NrqlQuery) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NrqlSpecificSpec ¶
type NrqlSpecificSpec struct { Nrql NrqlQuery `json:"nrql,omitempty"` ValueFunction string `json:"value_function,omitempty"` ExpectedGroups int `json:"expected_groups,omitempty"` IgnoreOverlap bool `json:"ignore_overlap,omitempty"` ViolationCloseTimer int `json:"violation_time_limit_seconds,omitempty"` }
func (*NrqlSpecificSpec) DeepCopy ¶
func (in *NrqlSpecificSpec) DeepCopy() *NrqlSpecificSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NrqlSpecificSpec.
func (*NrqlSpecificSpec) DeepCopyInto ¶
func (in *NrqlSpecificSpec) DeepCopyInto(out *NrqlSpecificSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Policy ¶
type Policy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PolicySpec `json:"spec,omitempty"` Status PolicyStatus `json:"status,omitempty"` }
Policy is the Schema for the policies API
func (*Policy) CheckForAPIKeyOrSecret ¶
func (*Policy) CheckForDuplicateConditions ¶
func (*Policy) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.
func (*Policy) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Policy) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Policy) Default ¶
func (r *Policy) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*Policy) DefaultIncidentPreference ¶
func (r *Policy) DefaultIncidentPreference()
func (*Policy) SetupWebhookWithManager ¶
func (*Policy) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Policy) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*Policy) ValidateIncidentPreference ¶
type PolicyCondition ¶
type PolicyCondition struct { Name string `json:"name"` Namespace string `json:"namespace"` Spec ConditionSpec `json:"spec,omitempty"` }
PolicyCondition defined the conditions contained within a a policy
func (*PolicyCondition) DeepCopy ¶
func (in *PolicyCondition) DeepCopy() *PolicyCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyCondition.
func (*PolicyCondition) DeepCopyInto ¶
func (in *PolicyCondition) DeepCopyInto(out *PolicyCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PolicyCondition) GenerateSpecFromApmConditionSpec ¶
func (p *PolicyCondition) GenerateSpecFromApmConditionSpec(apmConditionSpec ApmAlertConditionSpec)
func (*PolicyCondition) GenerateSpecFromNrqlConditionSpec ¶
func (p *PolicyCondition) GenerateSpecFromNrqlConditionSpec(nrqlConditionSpec NrqlAlertConditionSpec)
func (*PolicyCondition) GetNamespace ¶
func (p *PolicyCondition) GetNamespace() types.NamespacedName
func (*PolicyCondition) ReturnApmConditionSpec ¶
func (p *PolicyCondition) ReturnApmConditionSpec() (apmAlertConditionSpec ApmAlertConditionSpec)
func (*PolicyCondition) ReturnNrqlConditionSpec ¶
func (p *PolicyCondition) ReturnNrqlConditionSpec() (nrqlAlertConditionSpec NrqlAlertConditionSpec)
func (*PolicyCondition) SpecHash ¶
func (p *PolicyCondition) SpecHash() uint32
type PolicyList ¶
type PolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Policy `json:"items"` }
PolicyList contains a list of Policy
func (*PolicyList) DeepCopy ¶
func (in *PolicyList) DeepCopy() *PolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyList.
func (*PolicyList) DeepCopyInto ¶
func (in *PolicyList) DeepCopyInto(out *PolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PolicyList) DeepCopyObject ¶
func (in *PolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PolicySpec ¶
type PolicySpec struct { IncidentPreference string `json:"incident_preference,omitempty"` Name string `json:"name"` APIKey string `json:"api_key,omitempty"` APIKeySecret NewRelicAPIKeySecret `json:"api_key_secret,omitempty"` Region string `json:"region"` Conditions []PolicyCondition `json:"conditions,omitempty"` }
PolicySpec defines the desired state of Policy
func (PolicySpec) APIPolicy ¶
func (in PolicySpec) APIPolicy() alerts.Policy
func (*PolicySpec) DeepCopy ¶
func (in *PolicySpec) DeepCopy() *PolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySpec.
func (*PolicySpec) DeepCopyInto ¶
func (in *PolicySpec) DeepCopyInto(out *PolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (PolicySpec) Equals ¶
func (in PolicySpec) Equals(policyToCompare PolicySpec) bool
Equals - comparator function to check for equality
type PolicyStatus ¶
type PolicyStatus struct { AppliedSpec *PolicySpec `json:"applied_spec"` PolicyID int `json:"policy_id"` }
PolicyStatus defines the observed state of Policy
func (*PolicyStatus) DeepCopy ¶
func (in *PolicyStatus) DeepCopy() *PolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyStatus.
func (*PolicyStatus) DeepCopyInto ¶
func (in *PolicyStatus) DeepCopyInto(out *PolicyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
- alerts_apmcondition_types.go
- alerts_apmcondition_webhook.go
- alerts_nrqlcondition_types.go
- alerts_nrqlcondition_webhook.go
- alerts_policy_types.go
- alerts_policy_webhook.go
- alertschannel_types.go
- alertschannel_webhook.go
- apmalertcondition_types.go
- apmalertcondition_webhook.go
- common.go
- groupversion_info.go
- nrqlalertcondition_types.go
- nrqlalertcondition_webhook.go
- policy_types.go
- policy_webhook.go
- zz_generated.deepcopy.go