Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=ruleset.pagerduty.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type ActionsInitParameters
- type ActionsObservation
- type ActionsParameters
- type ActiveBetweenInitParameters
- type ActiveBetweenObservation
- type ActiveBetweenParameters
- type AnnotateInitParameters
- type AnnotateObservation
- type AnnotateParameters
- type ConditionsInitParameters
- type ConditionsObservation
- type ConditionsParameters
- type EventActionInitParameters
- type EventActionObservation
- type EventActionParameters
- type ExtractionsInitParameters
- type ExtractionsObservation
- type ExtractionsParameters
- type ParameterInitParameters
- type ParameterObservation
- type ParameterParameters
- type ParametersInitParameters
- type ParametersObservation
- type ParametersParameters
- type PriorityInitParameters
- type PriorityObservation
- type PriorityParameters
- type RouteInitParameters
- type RouteObservation
- type RouteParameters
- type Rule
- func (in *Rule) DeepCopy() *Rule
- func (in *Rule) DeepCopyInto(out *Rule)
- func (in *Rule) DeepCopyObject() runtime.Object
- func (mg *Rule) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Rule) GetConnectionDetailsMapping() map[string]string
- func (mg *Rule) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Rule) GetID() string
- func (tr *Rule) GetInitParameters() (map[string]any, error)
- func (mg *Rule) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Rule) GetObservation() (map[string]any, error)
- func (tr *Rule) GetParameters() (map[string]any, error)
- func (mg *Rule) GetProviderConfigReference() *xpv1.Reference
- func (mg *Rule) GetProviderReference() *xpv1.Reference
- func (mg *Rule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Rule) GetTerraformResourceType() string
- func (tr *Rule) GetTerraformSchemaVersion() int
- func (mg *Rule) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Rule) LateInitialize(attrs []byte) (bool, error)
- func (mg *Rule) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Rule) SetConditions(c ...xpv1.Condition)
- func (mg *Rule) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Rule) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Rule) SetObservation(obs map[string]any) error
- func (tr *Rule) SetParameters(params map[string]any) error
- func (mg *Rule) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Rule) SetProviderReference(r *xpv1.Reference)
- func (mg *Rule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Rule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type RuleInitParameters
- type RuleList
- type RuleObservation
- type RuleParameters
- type RuleSpec
- type RuleStatus
- type Ruleset
- func (in *Ruleset) DeepCopy() *Ruleset
- func (in *Ruleset) DeepCopyInto(out *Ruleset)
- func (in *Ruleset) DeepCopyObject() runtime.Object
- func (mg *Ruleset) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Ruleset) GetConnectionDetailsMapping() map[string]string
- func (mg *Ruleset) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Ruleset) GetID() string
- func (tr *Ruleset) GetInitParameters() (map[string]any, error)
- func (mg *Ruleset) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Ruleset) GetObservation() (map[string]any, error)
- func (tr *Ruleset) GetParameters() (map[string]any, error)
- func (mg *Ruleset) GetProviderConfigReference() *xpv1.Reference
- func (mg *Ruleset) GetProviderReference() *xpv1.Reference
- func (mg *Ruleset) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Ruleset) GetTerraformResourceType() string
- func (tr *Ruleset) GetTerraformSchemaVersion() int
- func (mg *Ruleset) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Ruleset) LateInitialize(attrs []byte) (bool, error)
- func (mg *Ruleset) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Ruleset) SetConditions(c ...xpv1.Condition)
- func (mg *Ruleset) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Ruleset) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Ruleset) SetObservation(obs map[string]any) error
- func (tr *Ruleset) SetParameters(params map[string]any) error
- func (mg *Ruleset) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Ruleset) SetProviderReference(r *xpv1.Reference)
- func (mg *Ruleset) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Ruleset) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type RulesetInitParameters
- type RulesetList
- type RulesetObservation
- type RulesetParameters
- type RulesetSpec
- type RulesetStatus
- type ScheduledWeeklyInitParameters
- type ScheduledWeeklyObservation
- type ScheduledWeeklyParameters
- type SeverityInitParameters
- type SeverityObservation
- type SeverityParameters
- type SubconditionsInitParameters
- type SubconditionsObservation
- type SubconditionsParameters
- type SuppressInitParameters
- type SuppressObservation
- type SuppressParameters
- type SuspendInitParameters
- type SuspendObservation
- type SuspendParameters
- type TeamInitParameters
- type TeamObservation
- type TeamParameters
- type TimeFrameInitParameters
- type TimeFrameObservation
- type TimeFrameParameters
- type VariableInitParameters
- type VariableObservation
- type VariableParameters
Constants ¶
const ( CRDGroup = "ruleset.pagerduty.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( Rule_Kind = "Rule" Rule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Rule_Kind}.String() Rule_KindAPIVersion = Rule_Kind + "." + CRDGroupVersion.String() Rule_GroupVersionKind = CRDGroupVersion.WithKind(Rule_Kind) )
Repository type metadata.
var ( Ruleset_Kind = "Ruleset" Ruleset_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Ruleset_Kind}.String() Ruleset_KindAPIVersion = Ruleset_Kind + "." + CRDGroupVersion.String() Ruleset_GroupVersionKind = CRDGroupVersion.WithKind(Ruleset_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type ActionsInitParameters ¶ added in v0.5.0
type ActionsInitParameters struct { // Note added to the event. Annotate []AnnotateInitParameters `json:"annotate,omitempty" tf:"annotate,omitempty"` // An object with a single value field. The value sets whether the resulting alert status is trigger or resolve. EventAction []EventActionInitParameters `json:"eventAction,omitempty" tf:"event_action,omitempty"` // Allows you to copy important data from one event field to another. Extraction objects may use either of the following field structures: Extractions []ExtractionsInitParameters `json:"extractions,omitempty" tf:"extractions,omitempty"` // The ID of the priority applied to the event. Priority []PriorityInitParameters `json:"priority,omitempty" tf:"priority,omitempty"` // The ID of the service where the event will be routed. Route []RouteInitParameters `json:"route,omitempty" tf:"route,omitempty"` // The severity level of the event. Can be either info,warning,error, or critical. Severity []SeverityInitParameters `json:"severity,omitempty" tf:"severity,omitempty"` // Controls whether an alert is suppressed (does not create an incident). Note: If a threshold is set, the rule must also have a route action. Suppress []SuppressInitParameters `json:"suppress,omitempty" tf:"suppress,omitempty"` // An object with a single value field. The value sets the length of time to suspend the resulting alert before triggering. Note: A rule with a suspend action must also have a route action. Suspend []SuspendInitParameters `json:"suspend,omitempty" tf:"suspend,omitempty"` }
func (*ActionsInitParameters) DeepCopy ¶ added in v0.5.0
func (in *ActionsInitParameters) DeepCopy() *ActionsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionsInitParameters.
func (*ActionsInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *ActionsInitParameters) DeepCopyInto(out *ActionsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ActionsObservation ¶
type ActionsObservation struct { // Note added to the event. Annotate []AnnotateObservation `json:"annotate,omitempty" tf:"annotate,omitempty"` // An object with a single value field. The value sets whether the resulting alert status is trigger or resolve. EventAction []EventActionObservation `json:"eventAction,omitempty" tf:"event_action,omitempty"` // Allows you to copy important data from one event field to another. Extraction objects may use either of the following field structures: Extractions []ExtractionsObservation `json:"extractions,omitempty" tf:"extractions,omitempty"` // The ID of the priority applied to the event. Priority []PriorityObservation `json:"priority,omitempty" tf:"priority,omitempty"` // The ID of the service where the event will be routed. Route []RouteObservation `json:"route,omitempty" tf:"route,omitempty"` // The severity level of the event. Can be either info,warning,error, or critical. Severity []SeverityObservation `json:"severity,omitempty" tf:"severity,omitempty"` // Controls whether an alert is suppressed (does not create an incident). Note: If a threshold is set, the rule must also have a route action. Suppress []SuppressObservation `json:"suppress,omitempty" tf:"suppress,omitempty"` // An object with a single value field. The value sets the length of time to suspend the resulting alert before triggering. Note: A rule with a suspend action must also have a route action. Suspend []SuspendObservation `json:"suspend,omitempty" tf:"suspend,omitempty"` }
func (*ActionsObservation) DeepCopy ¶
func (in *ActionsObservation) DeepCopy() *ActionsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionsObservation.
func (*ActionsObservation) DeepCopyInto ¶
func (in *ActionsObservation) DeepCopyInto(out *ActionsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ActionsParameters ¶
type ActionsParameters struct { // Note added to the event. // +kubebuilder:validation:Optional Annotate []AnnotateParameters `json:"annotate,omitempty" tf:"annotate,omitempty"` // An object with a single value field. The value sets whether the resulting alert status is trigger or resolve. // +kubebuilder:validation:Optional EventAction []EventActionParameters `json:"eventAction,omitempty" tf:"event_action,omitempty"` // Allows you to copy important data from one event field to another. Extraction objects may use either of the following field structures: // +kubebuilder:validation:Optional Extractions []ExtractionsParameters `json:"extractions,omitempty" tf:"extractions,omitempty"` // The ID of the priority applied to the event. // +kubebuilder:validation:Optional Priority []PriorityParameters `json:"priority,omitempty" tf:"priority,omitempty"` // The ID of the service where the event will be routed. // +kubebuilder:validation:Optional Route []RouteParameters `json:"route,omitempty" tf:"route,omitempty"` // The severity level of the event. Can be either info,warning,error, or critical. // +kubebuilder:validation:Optional Severity []SeverityParameters `json:"severity,omitempty" tf:"severity,omitempty"` // Controls whether an alert is suppressed (does not create an incident). Note: If a threshold is set, the rule must also have a route action. // +kubebuilder:validation:Optional Suppress []SuppressParameters `json:"suppress,omitempty" tf:"suppress,omitempty"` // An object with a single value field. The value sets the length of time to suspend the resulting alert before triggering. Note: A rule with a suspend action must also have a route action. // +kubebuilder:validation:Optional Suspend []SuspendParameters `json:"suspend,omitempty" tf:"suspend,omitempty"` }
func (*ActionsParameters) DeepCopy ¶
func (in *ActionsParameters) DeepCopy() *ActionsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionsParameters.
func (*ActionsParameters) DeepCopyInto ¶
func (in *ActionsParameters) DeepCopyInto(out *ActionsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ActiveBetweenInitParameters ¶ added in v0.5.0
type ActiveBetweenInitParameters struct { EndTime *float64 `json:"endTime,omitempty" tf:"end_time,omitempty"` // A Unix timestamp in milliseconds which is combined with the timezone to determine the time this rule will start on each specified weekday. Note that the date of the timestamp you specify does not matter, except that it lets you determine whether daylight saving time is in effect so that you use the correct UTC offset for the timezone you specify. In practice, you may want to use the to generate this value, as demonstrated in the resource.pagerduty_ruleset_rule.foo code example at the top of this page. To generate this timestamp manually, if you want your rule to apply starting at 9:30am in the America/New_York timezone, use your programing language of choice to determine a Unix timestamp that represents 9:30am in that timezone, like 1554989400000. StartTime *float64 `json:"startTime,omitempty" tf:"start_time,omitempty"` }
func (*ActiveBetweenInitParameters) DeepCopy ¶ added in v0.5.0
func (in *ActiveBetweenInitParameters) DeepCopy() *ActiveBetweenInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveBetweenInitParameters.
func (*ActiveBetweenInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *ActiveBetweenInitParameters) DeepCopyInto(out *ActiveBetweenInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ActiveBetweenObservation ¶
type ActiveBetweenObservation struct { EndTime *float64 `json:"endTime,omitempty" tf:"end_time,omitempty"` // A Unix timestamp in milliseconds which is combined with the timezone to determine the time this rule will start on each specified weekday. Note that the date of the timestamp you specify does not matter, except that it lets you determine whether daylight saving time is in effect so that you use the correct UTC offset for the timezone you specify. In practice, you may want to use the to generate this value, as demonstrated in the resource.pagerduty_ruleset_rule.foo code example at the top of this page. To generate this timestamp manually, if you want your rule to apply starting at 9:30am in the America/New_York timezone, use your programing language of choice to determine a Unix timestamp that represents 9:30am in that timezone, like 1554989400000. StartTime *float64 `json:"startTime,omitempty" tf:"start_time,omitempty"` }
func (*ActiveBetweenObservation) DeepCopy ¶
func (in *ActiveBetweenObservation) DeepCopy() *ActiveBetweenObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveBetweenObservation.
func (*ActiveBetweenObservation) DeepCopyInto ¶
func (in *ActiveBetweenObservation) DeepCopyInto(out *ActiveBetweenObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ActiveBetweenParameters ¶
type ActiveBetweenParameters struct { // +kubebuilder:validation:Optional EndTime *float64 `json:"endTime,omitempty" tf:"end_time,omitempty"` // A Unix timestamp in milliseconds which is combined with the timezone to determine the time this rule will start on each specified weekday. Note that the date of the timestamp you specify does not matter, except that it lets you determine whether daylight saving time is in effect so that you use the correct UTC offset for the timezone you specify. In practice, you may want to use the to generate this value, as demonstrated in the resource.pagerduty_ruleset_rule.foo code example at the top of this page. To generate this timestamp manually, if you want your rule to apply starting at 9:30am in the America/New_York timezone, use your programing language of choice to determine a Unix timestamp that represents 9:30am in that timezone, like 1554989400000. // +kubebuilder:validation:Optional StartTime *float64 `json:"startTime,omitempty" tf:"start_time,omitempty"` }
func (*ActiveBetweenParameters) DeepCopy ¶
func (in *ActiveBetweenParameters) DeepCopy() *ActiveBetweenParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveBetweenParameters.
func (*ActiveBetweenParameters) DeepCopyInto ¶
func (in *ActiveBetweenParameters) DeepCopyInto(out *ActiveBetweenParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AnnotateInitParameters ¶ added in v0.5.0
type AnnotateInitParameters struct { // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*AnnotateInitParameters) DeepCopy ¶ added in v0.5.0
func (in *AnnotateInitParameters) DeepCopy() *AnnotateInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnnotateInitParameters.
func (*AnnotateInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *AnnotateInitParameters) DeepCopyInto(out *AnnotateInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AnnotateObservation ¶
type AnnotateObservation struct { // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*AnnotateObservation) DeepCopy ¶
func (in *AnnotateObservation) DeepCopy() *AnnotateObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnnotateObservation.
func (*AnnotateObservation) DeepCopyInto ¶
func (in *AnnotateObservation) DeepCopyInto(out *AnnotateObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AnnotateParameters ¶
type AnnotateParameters struct { // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. // +kubebuilder:validation:Optional Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*AnnotateParameters) DeepCopy ¶
func (in *AnnotateParameters) DeepCopy() *AnnotateParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnnotateParameters.
func (*AnnotateParameters) DeepCopyInto ¶
func (in *AnnotateParameters) DeepCopyInto(out *AnnotateParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionsInitParameters ¶ added in v0.5.0
type ConditionsInitParameters struct { // Operator to combine sub-conditions. Can be and or or. Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` // List of sub-conditions that define the condition. Subconditions []SubconditionsInitParameters `json:"subconditions,omitempty" tf:"subconditions,omitempty"` }
func (*ConditionsInitParameters) DeepCopy ¶ added in v0.5.0
func (in *ConditionsInitParameters) DeepCopy() *ConditionsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionsInitParameters.
func (*ConditionsInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *ConditionsInitParameters) DeepCopyInto(out *ConditionsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionsObservation ¶
type ConditionsObservation struct { // Operator to combine sub-conditions. Can be and or or. Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` // List of sub-conditions that define the condition. Subconditions []SubconditionsObservation `json:"subconditions,omitempty" tf:"subconditions,omitempty"` }
func (*ConditionsObservation) DeepCopy ¶
func (in *ConditionsObservation) DeepCopy() *ConditionsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionsObservation.
func (*ConditionsObservation) DeepCopyInto ¶
func (in *ConditionsObservation) DeepCopyInto(out *ConditionsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionsParameters ¶
type ConditionsParameters struct { // Operator to combine sub-conditions. Can be and or or. // +kubebuilder:validation:Optional Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` // List of sub-conditions that define the condition. // +kubebuilder:validation:Optional Subconditions []SubconditionsParameters `json:"subconditions,omitempty" tf:"subconditions,omitempty"` }
func (*ConditionsParameters) DeepCopy ¶
func (in *ConditionsParameters) DeepCopy() *ConditionsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionsParameters.
func (*ConditionsParameters) DeepCopyInto ¶
func (in *ConditionsParameters) DeepCopyInto(out *ConditionsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventActionInitParameters ¶ added in v0.5.0
type EventActionInitParameters struct { // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*EventActionInitParameters) DeepCopy ¶ added in v0.5.0
func (in *EventActionInitParameters) DeepCopy() *EventActionInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventActionInitParameters.
func (*EventActionInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *EventActionInitParameters) DeepCopyInto(out *EventActionInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventActionObservation ¶
type EventActionObservation struct { // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*EventActionObservation) DeepCopy ¶
func (in *EventActionObservation) DeepCopy() *EventActionObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventActionObservation.
func (*EventActionObservation) DeepCopyInto ¶
func (in *EventActionObservation) DeepCopyInto(out *EventActionObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventActionParameters ¶
type EventActionParameters struct { // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. // +kubebuilder:validation:Optional Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*EventActionParameters) DeepCopy ¶
func (in *EventActionParameters) DeepCopy() *EventActionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventActionParameters.
func (*EventActionParameters) DeepCopyInto ¶
func (in *EventActionParameters) DeepCopyInto(out *EventActionParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExtractionsInitParameters ¶ added in v0.5.0
type ExtractionsInitParameters struct { // The conditions that need to be met for the extraction to happen. Must use valid RE2 regular expression syntax. Regex *string `json:"regex,omitempty" tf:"regex,omitempty"` // Field where the data is being copied from. Must be a PagerDuty Common Event Format (PD-CEF) field. Source *string `json:"source,omitempty" tf:"source,omitempty"` // Field where the data is being copied to. Must be a PagerDuty Common Event Format (PD-CEF) field. Target *string `json:"target,omitempty" tf:"target,omitempty"` // A customized field message. This can also include variables extracted from the payload by using string interpolation. Template *string `json:"template,omitempty" tf:"template,omitempty"` }
func (*ExtractionsInitParameters) DeepCopy ¶ added in v0.5.0
func (in *ExtractionsInitParameters) DeepCopy() *ExtractionsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtractionsInitParameters.
func (*ExtractionsInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *ExtractionsInitParameters) DeepCopyInto(out *ExtractionsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExtractionsObservation ¶
type ExtractionsObservation struct { // The conditions that need to be met for the extraction to happen. Must use valid RE2 regular expression syntax. Regex *string `json:"regex,omitempty" tf:"regex,omitempty"` // Field where the data is being copied from. Must be a PagerDuty Common Event Format (PD-CEF) field. Source *string `json:"source,omitempty" tf:"source,omitempty"` // Field where the data is being copied to. Must be a PagerDuty Common Event Format (PD-CEF) field. Target *string `json:"target,omitempty" tf:"target,omitempty"` // A customized field message. This can also include variables extracted from the payload by using string interpolation. Template *string `json:"template,omitempty" tf:"template,omitempty"` }
func (*ExtractionsObservation) DeepCopy ¶
func (in *ExtractionsObservation) DeepCopy() *ExtractionsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtractionsObservation.
func (*ExtractionsObservation) DeepCopyInto ¶
func (in *ExtractionsObservation) DeepCopyInto(out *ExtractionsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExtractionsParameters ¶
type ExtractionsParameters struct { // The conditions that need to be met for the extraction to happen. Must use valid RE2 regular expression syntax. // +kubebuilder:validation:Optional Regex *string `json:"regex,omitempty" tf:"regex,omitempty"` // Field where the data is being copied from. Must be a PagerDuty Common Event Format (PD-CEF) field. // +kubebuilder:validation:Optional Source *string `json:"source,omitempty" tf:"source,omitempty"` // Field where the data is being copied to. Must be a PagerDuty Common Event Format (PD-CEF) field. // +kubebuilder:validation:Optional Target *string `json:"target,omitempty" tf:"target,omitempty"` // A customized field message. This can also include variables extracted from the payload by using string interpolation. // +kubebuilder:validation:Optional Template *string `json:"template,omitempty" tf:"template,omitempty"` }
func (*ExtractionsParameters) DeepCopy ¶
func (in *ExtractionsParameters) DeepCopy() *ExtractionsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtractionsParameters.
func (*ExtractionsParameters) DeepCopyInto ¶
func (in *ExtractionsParameters) DeepCopyInto(out *ExtractionsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ParameterInitParameters ¶ added in v0.5.0
type ParameterInitParameters struct { Path *string `json:"path,omitempty" tf:"path,omitempty"` // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*ParameterInitParameters) DeepCopy ¶ added in v0.5.0
func (in *ParameterInitParameters) DeepCopy() *ParameterInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParameterInitParameters.
func (*ParameterInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *ParameterInitParameters) DeepCopyInto(out *ParameterInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ParameterObservation ¶
type ParameterObservation struct { Path *string `json:"path,omitempty" tf:"path,omitempty"` // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*ParameterObservation) DeepCopy ¶
func (in *ParameterObservation) DeepCopy() *ParameterObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParameterObservation.
func (*ParameterObservation) DeepCopyInto ¶
func (in *ParameterObservation) DeepCopyInto(out *ParameterObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ParameterParameters ¶
type ParameterParameters struct { // +kubebuilder:validation:Optional Path *string `json:"path,omitempty" tf:"path,omitempty"` // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. // +kubebuilder:validation:Optional Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*ParameterParameters) DeepCopy ¶
func (in *ParameterParameters) DeepCopy() *ParameterParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParameterParameters.
func (*ParameterParameters) DeepCopyInto ¶
func (in *ParameterParameters) DeepCopyInto(out *ParameterParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ParametersInitParameters ¶ added in v0.5.0
type ParametersInitParameters struct { Path *string `json:"path,omitempty" tf:"path,omitempty"` // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*ParametersInitParameters) DeepCopy ¶ added in v0.5.0
func (in *ParametersInitParameters) DeepCopy() *ParametersInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParametersInitParameters.
func (*ParametersInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *ParametersInitParameters) DeepCopyInto(out *ParametersInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ParametersObservation ¶
type ParametersObservation struct { Path *string `json:"path,omitempty" tf:"path,omitempty"` // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*ParametersObservation) DeepCopy ¶
func (in *ParametersObservation) DeepCopy() *ParametersObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParametersObservation.
func (*ParametersObservation) DeepCopyInto ¶
func (in *ParametersObservation) DeepCopyInto(out *ParametersObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ParametersParameters ¶
type ParametersParameters struct { // +kubebuilder:validation:Optional Path *string `json:"path,omitempty" tf:"path,omitempty"` // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. // +kubebuilder:validation:Optional Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*ParametersParameters) DeepCopy ¶
func (in *ParametersParameters) DeepCopy() *ParametersParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParametersParameters.
func (*ParametersParameters) DeepCopyInto ¶
func (in *ParametersParameters) DeepCopyInto(out *ParametersParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PriorityInitParameters ¶ added in v0.5.0
type PriorityInitParameters struct { // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*PriorityInitParameters) DeepCopy ¶ added in v0.5.0
func (in *PriorityInitParameters) DeepCopy() *PriorityInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityInitParameters.
func (*PriorityInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *PriorityInitParameters) DeepCopyInto(out *PriorityInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PriorityObservation ¶
type PriorityObservation struct { // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*PriorityObservation) DeepCopy ¶
func (in *PriorityObservation) DeepCopy() *PriorityObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityObservation.
func (*PriorityObservation) DeepCopyInto ¶
func (in *PriorityObservation) DeepCopyInto(out *PriorityObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PriorityParameters ¶
type PriorityParameters struct { // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. // +kubebuilder:validation:Optional Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*PriorityParameters) DeepCopy ¶
func (in *PriorityParameters) DeepCopy() *PriorityParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityParameters.
func (*PriorityParameters) DeepCopyInto ¶
func (in *PriorityParameters) DeepCopyInto(out *PriorityParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteInitParameters ¶ added in v0.5.0
type RouteInitParameters struct { // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*RouteInitParameters) DeepCopy ¶ added in v0.5.0
func (in *RouteInitParameters) DeepCopy() *RouteInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteInitParameters.
func (*RouteInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *RouteInitParameters) DeepCopyInto(out *RouteInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteObservation ¶
type RouteObservation struct { // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*RouteObservation) DeepCopy ¶
func (in *RouteObservation) DeepCopy() *RouteObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteObservation.
func (*RouteObservation) DeepCopyInto ¶
func (in *RouteObservation) DeepCopyInto(out *RouteObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteParameters ¶
type RouteParameters struct { // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. // +kubebuilder:validation:Optional Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*RouteParameters) DeepCopy ¶
func (in *RouteParameters) DeepCopy() *RouteParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteParameters.
func (*RouteParameters) DeepCopyInto ¶
func (in *RouteParameters) DeepCopyInto(out *RouteParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Rule ¶
type Rule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RuleSpec `json:"spec"` Status RuleStatus `json:"status,omitempty"` }
Rule is the Schema for the Rules API. Creates and manages a ruleset rule in PagerDuty. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,pagerduty}
func (*Rule) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rule.
func (*Rule) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Rule) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Rule) GetCondition ¶
func (mg *Rule) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Rule.
func (*Rule) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Rule
func (*Rule) GetDeletionPolicy ¶
func (mg *Rule) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Rule.
func (*Rule) GetInitParameters ¶ added in v0.5.0
GetInitParameters of this Rule
func (*Rule) GetManagementPolicies ¶ added in v0.5.0
func (mg *Rule) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Rule.
func (*Rule) GetObservation ¶
GetObservation of this Rule
func (*Rule) GetParameters ¶
GetParameters of this Rule
func (*Rule) GetProviderConfigReference ¶
GetProviderConfigReference of this Rule.
func (*Rule) GetProviderReference ¶
GetProviderReference of this Rule. Deprecated: Use GetProviderConfigReference.
func (*Rule) GetPublishConnectionDetailsTo ¶
func (mg *Rule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Rule.
func (*Rule) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Rule
func (*Rule) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Rule) GetWriteConnectionSecretToReference ¶
func (mg *Rule) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Rule.
func (*Rule) LateInitialize ¶
LateInitialize this Rule using its observed tfState. returns True if there are any spec changes for the resource.
func (*Rule) ResolveReferences ¶
ResolveReferences of this Rule.
func (*Rule) SetConditions ¶
SetConditions of this Rule.
func (*Rule) SetDeletionPolicy ¶
func (mg *Rule) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Rule.
func (*Rule) SetManagementPolicies ¶ added in v0.5.0
func (mg *Rule) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Rule.
func (*Rule) SetObservation ¶
SetObservation for this Rule
func (*Rule) SetParameters ¶
SetParameters for this Rule
func (*Rule) SetProviderConfigReference ¶
SetProviderConfigReference of this Rule.
func (*Rule) SetProviderReference ¶
SetProviderReference of this Rule. Deprecated: Use SetProviderConfigReference.
func (*Rule) SetPublishConnectionDetailsTo ¶
func (mg *Rule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Rule.
func (*Rule) SetWriteConnectionSecretToReference ¶
func (mg *Rule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Rule.
type RuleInitParameters ¶ added in v0.5.0
type RuleInitParameters struct { // Actions to apply to an event if the conditions match. Actions []ActionsInitParameters `json:"actions,omitempty" tf:"actions,omitempty"` // Indicates whether the Event Rule is the last Event Rule of the Ruleset that serves as a catch-all. It has limited functionality compared to other rules and always matches. CatchAll *bool `json:"catchAll,omitempty" tf:"catch_all,omitempty"` // Conditions evaluated to check if an event matches this event rule. Is always empty for the catch-all rule, though. Conditions []ConditionsInitParameters `json:"conditions,omitempty" tf:"conditions,omitempty"` // Indicates whether the rule is disabled and would therefore not be evaluated. Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"` // Position/index of the rule within the ruleset. Position *float64 `json:"position,omitempty" tf:"position,omitempty"` // Settings for scheduling the rule. TimeFrame []TimeFrameInitParameters `json:"timeFrame,omitempty" tf:"time_frame,omitempty"` // Populate variables from event payloads and use those variables in other event actions. NOTE: A rule can have multiple Variable []VariableInitParameters `json:"variable,omitempty" tf:"variable,omitempty"` }
func (*RuleInitParameters) DeepCopy ¶ added in v0.5.0
func (in *RuleInitParameters) DeepCopy() *RuleInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleInitParameters.
func (*RuleInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *RuleInitParameters) DeepCopyInto(out *RuleInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuleList ¶
type RuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Rule `json:"items"` }
RuleList contains a list of Rules
func (*RuleList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleList.
func (*RuleList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RuleList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RuleObservation ¶
type RuleObservation struct { // Actions to apply to an event if the conditions match. Actions []ActionsObservation `json:"actions,omitempty" tf:"actions,omitempty"` // Indicates whether the Event Rule is the last Event Rule of the Ruleset that serves as a catch-all. It has limited functionality compared to other rules and always matches. CatchAll *bool `json:"catchAll,omitempty" tf:"catch_all,omitempty"` // Conditions evaluated to check if an event matches this event rule. Is always empty for the catch-all rule, though. Conditions []ConditionsObservation `json:"conditions,omitempty" tf:"conditions,omitempty"` // Indicates whether the rule is disabled and would therefore not be evaluated. Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"` // The ID of the rule. ID *string `json:"id,omitempty" tf:"id,omitempty"` // Position/index of the rule within the ruleset. Position *float64 `json:"position,omitempty" tf:"position,omitempty"` // The ID of the ruleset that the rule belongs to. Ruleset *string `json:"ruleset,omitempty" tf:"ruleset,omitempty"` // Settings for scheduling the rule. TimeFrame []TimeFrameObservation `json:"timeFrame,omitempty" tf:"time_frame,omitempty"` // Populate variables from event payloads and use those variables in other event actions. NOTE: A rule can have multiple Variable []VariableObservation `json:"variable,omitempty" tf:"variable,omitempty"` }
func (*RuleObservation) DeepCopy ¶
func (in *RuleObservation) DeepCopy() *RuleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleObservation.
func (*RuleObservation) DeepCopyInto ¶
func (in *RuleObservation) DeepCopyInto(out *RuleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuleParameters ¶
type RuleParameters struct { // Actions to apply to an event if the conditions match. // +kubebuilder:validation:Optional Actions []ActionsParameters `json:"actions,omitempty" tf:"actions,omitempty"` // Indicates whether the Event Rule is the last Event Rule of the Ruleset that serves as a catch-all. It has limited functionality compared to other rules and always matches. // +kubebuilder:validation:Optional CatchAll *bool `json:"catchAll,omitempty" tf:"catch_all,omitempty"` // Conditions evaluated to check if an event matches this event rule. Is always empty for the catch-all rule, though. // +kubebuilder:validation:Optional Conditions []ConditionsParameters `json:"conditions,omitempty" tf:"conditions,omitempty"` // Indicates whether the rule is disabled and would therefore not be evaluated. // +kubebuilder:validation:Optional Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"` // Position/index of the rule within the ruleset. // +kubebuilder:validation:Optional Position *float64 `json:"position,omitempty" tf:"position,omitempty"` // The ID of the ruleset that the rule belongs to. // +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-pagerduty/apis/ruleset/v1alpha1.Ruleset // +kubebuilder:validation:Optional Ruleset *string `json:"ruleset,omitempty" tf:"ruleset,omitempty"` // Reference to a Ruleset in ruleset to populate ruleset. // +kubebuilder:validation:Optional RulesetRef *v1.Reference `json:"rulesetRef,omitempty" tf:"-"` // Selector for a Ruleset in ruleset to populate ruleset. // +kubebuilder:validation:Optional RulesetSelector *v1.Selector `json:"rulesetSelector,omitempty" tf:"-"` // Settings for scheduling the rule. // +kubebuilder:validation:Optional TimeFrame []TimeFrameParameters `json:"timeFrame,omitempty" tf:"time_frame,omitempty"` // Populate variables from event payloads and use those variables in other event actions. NOTE: A rule can have multiple // +kubebuilder:validation:Optional Variable []VariableParameters `json:"variable,omitempty" tf:"variable,omitempty"` }
func (*RuleParameters) DeepCopy ¶
func (in *RuleParameters) DeepCopy() *RuleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleParameters.
func (*RuleParameters) DeepCopyInto ¶
func (in *RuleParameters) DeepCopyInto(out *RuleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuleSpec ¶
type RuleSpec struct { v1.ResourceSpec `json:",inline"` ForProvider RuleParameters `json:"forProvider"` // THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored // unless the relevant Crossplane feature flag is enabled, and may be // changed or removed without notice. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider RuleInitParameters `json:"initProvider,omitempty"` }
RuleSpec defines the desired state of Rule
func (*RuleSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleSpec.
func (*RuleSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuleStatus ¶
type RuleStatus struct { v1.ResourceStatus `json:",inline"` AtProvider RuleObservation `json:"atProvider,omitempty"` }
RuleStatus defines the observed state of Rule.
func (*RuleStatus) DeepCopy ¶
func (in *RuleStatus) DeepCopy() *RuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleStatus.
func (*RuleStatus) DeepCopyInto ¶
func (in *RuleStatus) DeepCopyInto(out *RuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Ruleset ¶
type Ruleset struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" Spec RulesetSpec `json:"spec"` Status RulesetStatus `json:"status,omitempty"` }
Ruleset is the Schema for the Rulesets API. Creates and manages an ruleset in PagerDuty. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,pagerduty}
func (*Ruleset) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ruleset.
func (*Ruleset) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Ruleset) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Ruleset) GetCondition ¶
func (mg *Ruleset) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Ruleset.
func (*Ruleset) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Ruleset
func (*Ruleset) GetDeletionPolicy ¶
func (mg *Ruleset) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Ruleset.
func (*Ruleset) GetInitParameters ¶ added in v0.5.0
GetInitParameters of this Ruleset
func (*Ruleset) GetManagementPolicies ¶ added in v0.5.0
func (mg *Ruleset) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Ruleset.
func (*Ruleset) GetObservation ¶
GetObservation of this Ruleset
func (*Ruleset) GetParameters ¶
GetParameters of this Ruleset
func (*Ruleset) GetProviderConfigReference ¶
GetProviderConfigReference of this Ruleset.
func (*Ruleset) GetProviderReference ¶
GetProviderReference of this Ruleset. Deprecated: Use GetProviderConfigReference.
func (*Ruleset) GetPublishConnectionDetailsTo ¶
func (mg *Ruleset) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Ruleset.
func (*Ruleset) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Ruleset
func (*Ruleset) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Ruleset) GetWriteConnectionSecretToReference ¶
func (mg *Ruleset) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Ruleset.
func (*Ruleset) LateInitialize ¶
LateInitialize this Ruleset using its observed tfState. returns True if there are any spec changes for the resource.
func (*Ruleset) ResolveReferences ¶
ResolveReferences of this Ruleset.
func (*Ruleset) SetConditions ¶
SetConditions of this Ruleset.
func (*Ruleset) SetDeletionPolicy ¶
func (mg *Ruleset) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Ruleset.
func (*Ruleset) SetManagementPolicies ¶ added in v0.5.0
func (mg *Ruleset) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Ruleset.
func (*Ruleset) SetObservation ¶
SetObservation for this Ruleset
func (*Ruleset) SetParameters ¶
SetParameters for this Ruleset
func (*Ruleset) SetProviderConfigReference ¶
SetProviderConfigReference of this Ruleset.
func (*Ruleset) SetProviderReference ¶
SetProviderReference of this Ruleset. Deprecated: Use SetProviderConfigReference.
func (*Ruleset) SetPublishConnectionDetailsTo ¶
func (mg *Ruleset) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Ruleset.
func (*Ruleset) SetWriteConnectionSecretToReference ¶
func (mg *Ruleset) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Ruleset.
type RulesetInitParameters ¶ added in v0.5.0
type RulesetInitParameters struct { // Name of the ruleset. Name *string `json:"name,omitempty" tf:"name,omitempty"` // Reference to the team that owns the ruleset. If none is specified, only admins have access. Team []TeamInitParameters `json:"team,omitempty" tf:"team,omitempty"` }
func (*RulesetInitParameters) DeepCopy ¶ added in v0.5.0
func (in *RulesetInitParameters) DeepCopy() *RulesetInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesetInitParameters.
func (*RulesetInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *RulesetInitParameters) DeepCopyInto(out *RulesetInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RulesetList ¶
type RulesetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Ruleset `json:"items"` }
RulesetList contains a list of Rulesets
func (*RulesetList) DeepCopy ¶
func (in *RulesetList) DeepCopy() *RulesetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesetList.
func (*RulesetList) DeepCopyInto ¶
func (in *RulesetList) DeepCopyInto(out *RulesetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RulesetList) DeepCopyObject ¶
func (in *RulesetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RulesetList) GetItems ¶
func (l *RulesetList) GetItems() []resource.Managed
GetItems of this RulesetList.
type RulesetObservation ¶
type RulesetObservation struct { // The ID of the ruleset. ID *string `json:"id,omitempty" tf:"id,omitempty"` // Name of the ruleset. Name *string `json:"name,omitempty" tf:"name,omitempty"` // Routing keys routed to this ruleset. RoutingKeys []*string `json:"routingKeys,omitempty" tf:"routing_keys,omitempty"` // Reference to the team that owns the ruleset. If none is specified, only admins have access. Team []TeamObservation `json:"team,omitempty" tf:"team,omitempty"` // Type of ruleset. Currently, only sets to global. Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*RulesetObservation) DeepCopy ¶
func (in *RulesetObservation) DeepCopy() *RulesetObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesetObservation.
func (*RulesetObservation) DeepCopyInto ¶
func (in *RulesetObservation) DeepCopyInto(out *RulesetObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RulesetParameters ¶
type RulesetParameters struct { // Name of the ruleset. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // Reference to the team that owns the ruleset. If none is specified, only admins have access. // +kubebuilder:validation:Optional Team []TeamParameters `json:"team,omitempty" tf:"team,omitempty"` }
func (*RulesetParameters) DeepCopy ¶
func (in *RulesetParameters) DeepCopy() *RulesetParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesetParameters.
func (*RulesetParameters) DeepCopyInto ¶
func (in *RulesetParameters) DeepCopyInto(out *RulesetParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RulesetSpec ¶
type RulesetSpec struct { v1.ResourceSpec `json:",inline"` ForProvider RulesetParameters `json:"forProvider"` // THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored // unless the relevant Crossplane feature flag is enabled, and may be // changed or removed without notice. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider RulesetInitParameters `json:"initProvider,omitempty"` }
RulesetSpec defines the desired state of Ruleset
func (*RulesetSpec) DeepCopy ¶
func (in *RulesetSpec) DeepCopy() *RulesetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesetSpec.
func (*RulesetSpec) DeepCopyInto ¶
func (in *RulesetSpec) DeepCopyInto(out *RulesetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RulesetStatus ¶
type RulesetStatus struct { v1.ResourceStatus `json:",inline"` AtProvider RulesetObservation `json:"atProvider,omitempty"` }
RulesetStatus defines the observed state of Ruleset.
func (*RulesetStatus) DeepCopy ¶
func (in *RulesetStatus) DeepCopy() *RulesetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesetStatus.
func (*RulesetStatus) DeepCopyInto ¶
func (in *RulesetStatus) DeepCopyInto(out *RulesetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScheduledWeeklyInitParameters ¶ added in v0.5.0
type ScheduledWeeklyInitParameters struct { // Length of time the schedule will be active in milliseconds. For example duration = 2 * 60 * 60 * 1000 if you want your rule to apply for 2 hours, from the specified start_time. Duration *float64 `json:"duration,omitempty" tf:"duration,omitempty"` // A Unix timestamp in milliseconds which is combined with the timezone to determine the time this rule will start on each specified weekday. Note that the date of the timestamp you specify does not matter, except that it lets you determine whether daylight saving time is in effect so that you use the correct UTC offset for the timezone you specify. In practice, you may want to use the to generate this value, as demonstrated in the resource.pagerduty_ruleset_rule.foo code example at the top of this page. To generate this timestamp manually, if you want your rule to apply starting at 9:30am in the America/New_York timezone, use your programing language of choice to determine a Unix timestamp that represents 9:30am in that timezone, like 1554989400000. StartTime *float64 `json:"startTime,omitempty" tf:"start_time,omitempty"` // The name of the timezone for the given schedule, which will be used to determine UTC offset including adjustment for daylight saving time. For example: timezone = "America/Toronto" Timezone *string `json:"timezone,omitempty" tf:"timezone,omitempty"` // An integer array representing which days during the week the rule executes. For example weekdays = [1,3,7] would execute on Monday, Wednesday and Sunday. Weekdays []*float64 `json:"weekdays,omitempty" tf:"weekdays,omitempty"` }
func (*ScheduledWeeklyInitParameters) DeepCopy ¶ added in v0.5.0
func (in *ScheduledWeeklyInitParameters) DeepCopy() *ScheduledWeeklyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledWeeklyInitParameters.
func (*ScheduledWeeklyInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *ScheduledWeeklyInitParameters) DeepCopyInto(out *ScheduledWeeklyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScheduledWeeklyObservation ¶
type ScheduledWeeklyObservation struct { // Length of time the schedule will be active in milliseconds. For example duration = 2 * 60 * 60 * 1000 if you want your rule to apply for 2 hours, from the specified start_time. Duration *float64 `json:"duration,omitempty" tf:"duration,omitempty"` // A Unix timestamp in milliseconds which is combined with the timezone to determine the time this rule will start on each specified weekday. Note that the date of the timestamp you specify does not matter, except that it lets you determine whether daylight saving time is in effect so that you use the correct UTC offset for the timezone you specify. In practice, you may want to use the to generate this value, as demonstrated in the resource.pagerduty_ruleset_rule.foo code example at the top of this page. To generate this timestamp manually, if you want your rule to apply starting at 9:30am in the America/New_York timezone, use your programing language of choice to determine a Unix timestamp that represents 9:30am in that timezone, like 1554989400000. StartTime *float64 `json:"startTime,omitempty" tf:"start_time,omitempty"` // The name of the timezone for the given schedule, which will be used to determine UTC offset including adjustment for daylight saving time. For example: timezone = "America/Toronto" Timezone *string `json:"timezone,omitempty" tf:"timezone,omitempty"` // An integer array representing which days during the week the rule executes. For example weekdays = [1,3,7] would execute on Monday, Wednesday and Sunday. Weekdays []*float64 `json:"weekdays,omitempty" tf:"weekdays,omitempty"` }
func (*ScheduledWeeklyObservation) DeepCopy ¶
func (in *ScheduledWeeklyObservation) DeepCopy() *ScheduledWeeklyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledWeeklyObservation.
func (*ScheduledWeeklyObservation) DeepCopyInto ¶
func (in *ScheduledWeeklyObservation) DeepCopyInto(out *ScheduledWeeklyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScheduledWeeklyParameters ¶
type ScheduledWeeklyParameters struct { // Length of time the schedule will be active in milliseconds. For example duration = 2 * 60 * 60 * 1000 if you want your rule to apply for 2 hours, from the specified start_time. // +kubebuilder:validation:Optional Duration *float64 `json:"duration,omitempty" tf:"duration,omitempty"` // A Unix timestamp in milliseconds which is combined with the timezone to determine the time this rule will start on each specified weekday. Note that the date of the timestamp you specify does not matter, except that it lets you determine whether daylight saving time is in effect so that you use the correct UTC offset for the timezone you specify. In practice, you may want to use the to generate this value, as demonstrated in the resource.pagerduty_ruleset_rule.foo code example at the top of this page. To generate this timestamp manually, if you want your rule to apply starting at 9:30am in the America/New_York timezone, use your programing language of choice to determine a Unix timestamp that represents 9:30am in that timezone, like 1554989400000. // +kubebuilder:validation:Optional StartTime *float64 `json:"startTime,omitempty" tf:"start_time,omitempty"` // The name of the timezone for the given schedule, which will be used to determine UTC offset including adjustment for daylight saving time. For example: timezone = "America/Toronto" // +kubebuilder:validation:Optional Timezone *string `json:"timezone,omitempty" tf:"timezone,omitempty"` // An integer array representing which days during the week the rule executes. For example weekdays = [1,3,7] would execute on Monday, Wednesday and Sunday. // +kubebuilder:validation:Optional Weekdays []*float64 `json:"weekdays,omitempty" tf:"weekdays,omitempty"` }
func (*ScheduledWeeklyParameters) DeepCopy ¶
func (in *ScheduledWeeklyParameters) DeepCopy() *ScheduledWeeklyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledWeeklyParameters.
func (*ScheduledWeeklyParameters) DeepCopyInto ¶
func (in *ScheduledWeeklyParameters) DeepCopyInto(out *ScheduledWeeklyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SeverityInitParameters ¶ added in v0.5.0
type SeverityInitParameters struct { // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*SeverityInitParameters) DeepCopy ¶ added in v0.5.0
func (in *SeverityInitParameters) DeepCopy() *SeverityInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeverityInitParameters.
func (*SeverityInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *SeverityInitParameters) DeepCopyInto(out *SeverityInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SeverityObservation ¶
type SeverityObservation struct { // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*SeverityObservation) DeepCopy ¶
func (in *SeverityObservation) DeepCopy() *SeverityObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeverityObservation.
func (*SeverityObservation) DeepCopyInto ¶
func (in *SeverityObservation) DeepCopyInto(out *SeverityObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SeverityParameters ¶
type SeverityParameters struct { // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. // +kubebuilder:validation:Optional Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*SeverityParameters) DeepCopy ¶
func (in *SeverityParameters) DeepCopy() *SeverityParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeverityParameters.
func (*SeverityParameters) DeepCopyInto ¶
func (in *SeverityParameters) DeepCopyInto(out *SeverityParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubconditionsInitParameters ¶ added in v0.5.0
type SubconditionsInitParameters struct { // Operator to combine sub-conditions. Can be and or or. Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` // Parameter for the sub-condition. It requires both a path and value to be set. Parameter []ParameterInitParameters `json:"parameter,omitempty" tf:"parameter,omitempty"` }
func (*SubconditionsInitParameters) DeepCopy ¶ added in v0.5.0
func (in *SubconditionsInitParameters) DeepCopy() *SubconditionsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubconditionsInitParameters.
func (*SubconditionsInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *SubconditionsInitParameters) DeepCopyInto(out *SubconditionsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubconditionsObservation ¶
type SubconditionsObservation struct { // Operator to combine sub-conditions. Can be and or or. Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` // Parameter for the sub-condition. It requires both a path and value to be set. Parameter []ParameterObservation `json:"parameter,omitempty" tf:"parameter,omitempty"` }
func (*SubconditionsObservation) DeepCopy ¶
func (in *SubconditionsObservation) DeepCopy() *SubconditionsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubconditionsObservation.
func (*SubconditionsObservation) DeepCopyInto ¶
func (in *SubconditionsObservation) DeepCopyInto(out *SubconditionsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubconditionsParameters ¶
type SubconditionsParameters struct { // Operator to combine sub-conditions. Can be and or or. // +kubebuilder:validation:Optional Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` // Parameter for the sub-condition. It requires both a path and value to be set. // +kubebuilder:validation:Optional Parameter []ParameterParameters `json:"parameter,omitempty" tf:"parameter,omitempty"` }
func (*SubconditionsParameters) DeepCopy ¶
func (in *SubconditionsParameters) DeepCopy() *SubconditionsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubconditionsParameters.
func (*SubconditionsParameters) DeepCopyInto ¶
func (in *SubconditionsParameters) DeepCopyInto(out *SubconditionsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SuppressInitParameters ¶ added in v0.5.0
type SuppressInitParameters struct { // The number value of the threshold_time_unit before an incident is created. Must be greater than 0. ThresholdTimeAmount *float64 `json:"thresholdTimeAmount,omitempty" tf:"threshold_time_amount,omitempty"` // The seconds,minutes, or hours the threshold_time_amount should be measured. ThresholdTimeUnit *string `json:"thresholdTimeUnit,omitempty" tf:"threshold_time_unit,omitempty"` // The number of alerts that should be suppressed. Must be greater than 0. ThresholdValue *float64 `json:"thresholdValue,omitempty" tf:"threshold_value,omitempty"` // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value *bool `json:"value,omitempty" tf:"value,omitempty"` }
func (*SuppressInitParameters) DeepCopy ¶ added in v0.5.0
func (in *SuppressInitParameters) DeepCopy() *SuppressInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SuppressInitParameters.
func (*SuppressInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *SuppressInitParameters) DeepCopyInto(out *SuppressInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SuppressObservation ¶
type SuppressObservation struct { // The number value of the threshold_time_unit before an incident is created. Must be greater than 0. ThresholdTimeAmount *float64 `json:"thresholdTimeAmount,omitempty" tf:"threshold_time_amount,omitempty"` // The seconds,minutes, or hours the threshold_time_amount should be measured. ThresholdTimeUnit *string `json:"thresholdTimeUnit,omitempty" tf:"threshold_time_unit,omitempty"` // The number of alerts that should be suppressed. Must be greater than 0. ThresholdValue *float64 `json:"thresholdValue,omitempty" tf:"threshold_value,omitempty"` // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value *bool `json:"value,omitempty" tf:"value,omitempty"` }
func (*SuppressObservation) DeepCopy ¶
func (in *SuppressObservation) DeepCopy() *SuppressObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SuppressObservation.
func (*SuppressObservation) DeepCopyInto ¶
func (in *SuppressObservation) DeepCopyInto(out *SuppressObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SuppressParameters ¶
type SuppressParameters struct { // The number value of the threshold_time_unit before an incident is created. Must be greater than 0. // +kubebuilder:validation:Optional ThresholdTimeAmount *float64 `json:"thresholdTimeAmount,omitempty" tf:"threshold_time_amount,omitempty"` // The seconds,minutes, or hours the threshold_time_amount should be measured. // +kubebuilder:validation:Optional ThresholdTimeUnit *string `json:"thresholdTimeUnit,omitempty" tf:"threshold_time_unit,omitempty"` // The number of alerts that should be suppressed. Must be greater than 0. // +kubebuilder:validation:Optional ThresholdValue *float64 `json:"thresholdValue,omitempty" tf:"threshold_value,omitempty"` // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. // +kubebuilder:validation:Optional Value *bool `json:"value,omitempty" tf:"value,omitempty"` }
func (*SuppressParameters) DeepCopy ¶
func (in *SuppressParameters) DeepCopy() *SuppressParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SuppressParameters.
func (*SuppressParameters) DeepCopyInto ¶
func (in *SuppressParameters) DeepCopyInto(out *SuppressParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SuspendInitParameters ¶ added in v0.5.0
type SuspendInitParameters struct { // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value *float64 `json:"value,omitempty" tf:"value,omitempty"` }
func (*SuspendInitParameters) DeepCopy ¶ added in v0.5.0
func (in *SuspendInitParameters) DeepCopy() *SuspendInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SuspendInitParameters.
func (*SuspendInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *SuspendInitParameters) DeepCopyInto(out *SuspendInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SuspendObservation ¶
type SuspendObservation struct { // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. Value *float64 `json:"value,omitempty" tf:"value,omitempty"` }
func (*SuspendObservation) DeepCopy ¶
func (in *SuspendObservation) DeepCopy() *SuspendObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SuspendObservation.
func (*SuspendObservation) DeepCopyInto ¶
func (in *SuspendObservation) DeepCopyInto(out *SuspendObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SuspendParameters ¶
type SuspendParameters struct { // Boolean value that indicates if the alert should be suppressed before the indicated threshold values are met. // +kubebuilder:validation:Optional Value *float64 `json:"value,omitempty" tf:"value,omitempty"` }
func (*SuspendParameters) DeepCopy ¶
func (in *SuspendParameters) DeepCopy() *SuspendParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SuspendParameters.
func (*SuspendParameters) DeepCopyInto ¶
func (in *SuspendParameters) DeepCopyInto(out *SuspendParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TeamInitParameters ¶ added in v0.5.0
type TeamInitParameters struct { }
func (*TeamInitParameters) DeepCopy ¶ added in v0.5.0
func (in *TeamInitParameters) DeepCopy() *TeamInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamInitParameters.
func (*TeamInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *TeamInitParameters) DeepCopyInto(out *TeamInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TeamObservation ¶
type TeamObservation struct { // The ID of the ruleset. ID *string `json:"id,omitempty" tf:"id,omitempty"` }
func (*TeamObservation) DeepCopy ¶
func (in *TeamObservation) DeepCopy() *TeamObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamObservation.
func (*TeamObservation) DeepCopyInto ¶
func (in *TeamObservation) DeepCopyInto(out *TeamObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TeamParameters ¶
type TeamParameters struct { // The ID of the ruleset. // +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-pagerduty/apis/team/v1alpha1.Team // +kubebuilder:validation:Optional ID *string `json:"id,omitempty" tf:"id,omitempty"` // Reference to a Team in team to populate id. // +kubebuilder:validation:Optional IDRef *v1.Reference `json:"idRef,omitempty" tf:"-"` // Selector for a Team in team to populate id. // +kubebuilder:validation:Optional IDSelector *v1.Selector `json:"idSelector,omitempty" tf:"-"` }
func (*TeamParameters) DeepCopy ¶
func (in *TeamParameters) DeepCopy() *TeamParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamParameters.
func (*TeamParameters) DeepCopyInto ¶
func (in *TeamParameters) DeepCopyInto(out *TeamParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimeFrameInitParameters ¶ added in v0.5.0
type TimeFrameInitParameters struct { // Values for executing the rule during a specific time period. ActiveBetween []ActiveBetweenInitParameters `json:"activeBetween,omitempty" tf:"active_between,omitempty"` // Values for executing the rule on a recurring schedule. ScheduledWeekly []ScheduledWeeklyInitParameters `json:"scheduledWeekly,omitempty" tf:"scheduled_weekly,omitempty"` }
func (*TimeFrameInitParameters) DeepCopy ¶ added in v0.5.0
func (in *TimeFrameInitParameters) DeepCopy() *TimeFrameInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeFrameInitParameters.
func (*TimeFrameInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *TimeFrameInitParameters) DeepCopyInto(out *TimeFrameInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimeFrameObservation ¶
type TimeFrameObservation struct { // Values for executing the rule during a specific time period. ActiveBetween []ActiveBetweenObservation `json:"activeBetween,omitempty" tf:"active_between,omitempty"` // Values for executing the rule on a recurring schedule. ScheduledWeekly []ScheduledWeeklyObservation `json:"scheduledWeekly,omitempty" tf:"scheduled_weekly,omitempty"` }
func (*TimeFrameObservation) DeepCopy ¶
func (in *TimeFrameObservation) DeepCopy() *TimeFrameObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeFrameObservation.
func (*TimeFrameObservation) DeepCopyInto ¶
func (in *TimeFrameObservation) DeepCopyInto(out *TimeFrameObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimeFrameParameters ¶
type TimeFrameParameters struct { // Values for executing the rule during a specific time period. // +kubebuilder:validation:Optional ActiveBetween []ActiveBetweenParameters `json:"activeBetween,omitempty" tf:"active_between,omitempty"` // Values for executing the rule on a recurring schedule. // +kubebuilder:validation:Optional ScheduledWeekly []ScheduledWeeklyParameters `json:"scheduledWeekly,omitempty" tf:"scheduled_weekly,omitempty"` }
func (*TimeFrameParameters) DeepCopy ¶
func (in *TimeFrameParameters) DeepCopy() *TimeFrameParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeFrameParameters.
func (*TimeFrameParameters) DeepCopyInto ¶
func (in *TimeFrameParameters) DeepCopyInto(out *TimeFrameParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VariableInitParameters ¶ added in v0.5.0
type VariableInitParameters struct { Name *string `json:"name,omitempty" tf:"name,omitempty"` Parameters []ParametersInitParameters `json:"parameters,omitempty" tf:"parameters,omitempty"` Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*VariableInitParameters) DeepCopy ¶ added in v0.5.0
func (in *VariableInitParameters) DeepCopy() *VariableInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableInitParameters.
func (*VariableInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *VariableInitParameters) DeepCopyInto(out *VariableInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VariableObservation ¶
type VariableObservation struct { Name *string `json:"name,omitempty" tf:"name,omitempty"` Parameters []ParametersObservation `json:"parameters,omitempty" tf:"parameters,omitempty"` Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*VariableObservation) DeepCopy ¶
func (in *VariableObservation) DeepCopy() *VariableObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableObservation.
func (*VariableObservation) DeepCopyInto ¶
func (in *VariableObservation) DeepCopyInto(out *VariableObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VariableParameters ¶
type VariableParameters struct { // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // +kubebuilder:validation:Optional Parameters []ParametersParameters `json:"parameters,omitempty" tf:"parameters,omitempty"` // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*VariableParameters) DeepCopy ¶
func (in *VariableParameters) DeepCopy() *VariableParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableParameters.
func (*VariableParameters) DeepCopyInto ¶
func (in *VariableParameters) DeepCopyInto(out *VariableParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.