Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=response.pagerduty.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type EscalationRuleObservation
- type EscalationRuleParameters
- type Play
- func (in *Play) DeepCopy() *Play
- func (in *Play) DeepCopyInto(out *Play)
- func (in *Play) DeepCopyObject() runtime.Object
- func (mg *Play) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Play) GetConnectionDetailsMapping() map[string]string
- func (mg *Play) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Play) GetID() string
- func (mg *Play) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *Play) GetObservation() (map[string]any, error)
- func (tr *Play) GetParameters() (map[string]any, error)
- func (mg *Play) GetProviderConfigReference() *xpv1.Reference
- func (mg *Play) GetProviderReference() *xpv1.Reference
- func (mg *Play) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Play) GetTerraformResourceType() string
- func (tr *Play) GetTerraformSchemaVersion() int
- func (mg *Play) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Play) LateInitialize(attrs []byte) (bool, error)
- func (mg *Play) SetConditions(c ...xpv1.Condition)
- func (mg *Play) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Play) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *Play) SetObservation(obs map[string]any) error
- func (tr *Play) SetParameters(params map[string]any) error
- func (mg *Play) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Play) SetProviderReference(r *xpv1.Reference)
- func (mg *Play) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Play) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type PlayList
- type PlayObservation
- type PlayParameters
- type PlaySpec
- type PlayStatus
- type ResponderObservation
- type ResponderParameters
- type ServiceObservation
- type ServiceParameters
- type SubscriberObservation
- type SubscriberParameters
- type TargetObservation
- type TargetParameters
- type TeamObservation
- type TeamParameters
Constants ¶
const ( CRDGroup = "response.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 ( Play_Kind = "Play" Play_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Play_Kind}.String() Play_KindAPIVersion = Play_Kind + "." + CRDGroupVersion.String() Play_GroupVersionKind = CRDGroupVersion.WithKind(Play_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type EscalationRuleObservation ¶
type EscalationRuleObservation struct { // The number of minutes before an unacknowledged incident escalates away from this rule. EscalationDelayInMinutes *float64 `json:"escalationDelayInMinutes,omitempty" tf:"escalation_delay_in_minutes,omitempty"` // ID of the user defined as the responder ID *string `json:"id,omitempty" tf:"id,omitempty"` // The targets an incident should be assigned to upon reaching this rule. Target []TargetObservation `json:"target,omitempty" tf:"target,omitempty"` }
func (*EscalationRuleObservation) DeepCopy ¶
func (in *EscalationRuleObservation) DeepCopy() *EscalationRuleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EscalationRuleObservation.
func (*EscalationRuleObservation) DeepCopyInto ¶
func (in *EscalationRuleObservation) DeepCopyInto(out *EscalationRuleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EscalationRuleParameters ¶
type EscalationRuleParameters struct { }
func (*EscalationRuleParameters) DeepCopy ¶
func (in *EscalationRuleParameters) DeepCopy() *EscalationRuleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EscalationRuleParameters.
func (*EscalationRuleParameters) DeepCopyInto ¶
func (in *EscalationRuleParameters) DeepCopyInto(out *EscalationRuleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Play ¶
type Play struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.from)",message="from is a required parameter" // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name)",message="name is a required parameter" Spec PlaySpec `json:"spec"` Status PlayStatus `json:"status,omitempty"` }
Play is the Schema for the Plays API. Creates and manages a response play 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 (*Play) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Play.
func (*Play) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Play) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Play) GetCondition ¶
func (mg *Play) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Play.
func (*Play) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Play
func (*Play) GetDeletionPolicy ¶
func (mg *Play) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Play.
func (*Play) GetManagementPolicy ¶ added in v0.4.0
func (mg *Play) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this Play.
func (*Play) GetObservation ¶
GetObservation of this Play
func (*Play) GetParameters ¶
GetParameters of this Play
func (*Play) GetProviderConfigReference ¶
GetProviderConfigReference of this Play.
func (*Play) GetProviderReference ¶
GetProviderReference of this Play. Deprecated: Use GetProviderConfigReference.
func (*Play) GetPublishConnectionDetailsTo ¶
func (mg *Play) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Play.
func (*Play) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Play
func (*Play) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Play) GetWriteConnectionSecretToReference ¶
func (mg *Play) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Play.
func (*Play) LateInitialize ¶
LateInitialize this Play using its observed tfState. returns True if there are any spec changes for the resource.
func (*Play) SetConditions ¶
SetConditions of this Play.
func (*Play) SetDeletionPolicy ¶
func (mg *Play) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Play.
func (*Play) SetManagementPolicy ¶ added in v0.4.0
func (mg *Play) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this Play.
func (*Play) SetObservation ¶
SetObservation for this Play
func (*Play) SetParameters ¶
SetParameters for this Play
func (*Play) SetProviderConfigReference ¶
SetProviderConfigReference of this Play.
func (*Play) SetProviderReference ¶
SetProviderReference of this Play. Deprecated: Use SetProviderConfigReference.
func (*Play) SetPublishConnectionDetailsTo ¶
func (mg *Play) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Play.
func (*Play) SetWriteConnectionSecretToReference ¶
func (mg *Play) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Play.
type PlayList ¶
type PlayList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Play `json:"items"` }
PlayList contains a list of Plays
func (*PlayList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlayList.
func (*PlayList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PlayList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PlayObservation ¶
type PlayObservation struct { // The telephone number that will be set as the conference number for any incident on which this response play is run. ConferenceNumber *string `json:"conferenceNumber,omitempty" tf:"conference_number,omitempty"` // The URL that will be set as the conference URL for any incident on which this response play is run. ConferenceURL *string `json:"conferenceUrl,omitempty" tf:"conference_url,omitempty"` // A human-friendly description of the response play. Description *string `json:"description,omitempty" tf:"description,omitempty"` // The email of the user attributed to the request. Needs to be a valid email address of a user in the PagerDuty account. From *string `json:"from,omitempty" tf:"from,omitempty"` // ID of the user defined as the responder ID *string `json:"id,omitempty" tf:"id,omitempty"` // The name of the response play. Name *string `json:"name,omitempty" tf:"name,omitempty"` // A user and/or escalation policy to be requested as a responder to any incident on which this response play is run. There can be multiple responders defined on a single response play. Responder []ResponderObservation `json:"responder,omitempty" tf:"responder,omitempty"` // The message body of the notification that will be sent to this response play's set of responders. If empty, a default response request notification will be sent. RespondersMessage *string `json:"respondersMessage,omitempty" tf:"responders_message,omitempty"` // String representing how this response play is allowed to be run. Valid options are: Runnability *string `json:"runnability,omitempty" tf:"runnability,omitempty"` // A user and/or team to be added as a subscriber to any incident on which this response play is run. There can be multiple subscribers defined on a single response play. Subscriber []SubscriberObservation `json:"subscriber,omitempty" tf:"subscriber,omitempty"` // The content of the notification that will be sent to all incident subscribers upon the running of this response play. Note that this includes any users who may have already been subscribed to the incident prior to the running of this response play. If empty, no notifications will be sent. SubscribersMessage *string `json:"subscribersMessage,omitempty" tf:"subscribers_message,omitempty"` // The ID of the team associated with the response play. Team *string `json:"team,omitempty" tf:"team,omitempty"` // A string that determines the schema of the object. If not set, the default value is "response_play". Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*PlayObservation) DeepCopy ¶
func (in *PlayObservation) DeepCopy() *PlayObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlayObservation.
func (*PlayObservation) DeepCopyInto ¶
func (in *PlayObservation) DeepCopyInto(out *PlayObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlayParameters ¶
type PlayParameters struct { // The telephone number that will be set as the conference number for any incident on which this response play is run. // +kubebuilder:validation:Optional ConferenceNumber *string `json:"conferenceNumber,omitempty" tf:"conference_number,omitempty"` // The URL that will be set as the conference URL for any incident on which this response play is run. // +kubebuilder:validation:Optional ConferenceURL *string `json:"conferenceUrl,omitempty" tf:"conference_url,omitempty"` // A human-friendly description of the response play. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // The email of the user attributed to the request. Needs to be a valid email address of a user in the PagerDuty account. // +kubebuilder:validation:Optional From *string `json:"from,omitempty" tf:"from,omitempty"` // The name of the response play. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // A user and/or escalation policy to be requested as a responder to any incident on which this response play is run. There can be multiple responders defined on a single response play. // +kubebuilder:validation:Optional Responder []ResponderParameters `json:"responder,omitempty" tf:"responder,omitempty"` // The message body of the notification that will be sent to this response play's set of responders. If empty, a default response request notification will be sent. // +kubebuilder:validation:Optional RespondersMessage *string `json:"respondersMessage,omitempty" tf:"responders_message,omitempty"` // String representing how this response play is allowed to be run. Valid options are: // +kubebuilder:validation:Optional Runnability *string `json:"runnability,omitempty" tf:"runnability,omitempty"` // A user and/or team to be added as a subscriber to any incident on which this response play is run. There can be multiple subscribers defined on a single response play. // +kubebuilder:validation:Optional Subscriber []SubscriberParameters `json:"subscriber,omitempty" tf:"subscriber,omitempty"` // The content of the notification that will be sent to all incident subscribers upon the running of this response play. Note that this includes any users who may have already been subscribed to the incident prior to the running of this response play. If empty, no notifications will be sent. // +kubebuilder:validation:Optional SubscribersMessage *string `json:"subscribersMessage,omitempty" tf:"subscribers_message,omitempty"` // The ID of the team associated with the response play. // +kubebuilder:validation:Optional Team *string `json:"team,omitempty" tf:"team,omitempty"` // A string that determines the schema of the object. If not set, the default value is "response_play". // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*PlayParameters) DeepCopy ¶
func (in *PlayParameters) DeepCopy() *PlayParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlayParameters.
func (*PlayParameters) DeepCopyInto ¶
func (in *PlayParameters) DeepCopyInto(out *PlayParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlaySpec ¶
type PlaySpec struct { v1.ResourceSpec `json:",inline"` ForProvider PlayParameters `json:"forProvider"` }
PlaySpec defines the desired state of Play
func (*PlaySpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlaySpec.
func (*PlaySpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlayStatus ¶
type PlayStatus struct { v1.ResourceStatus `json:",inline"` AtProvider PlayObservation `json:"atProvider,omitempty"` }
PlayStatus defines the observed state of Play.
func (*PlayStatus) DeepCopy ¶
func (in *PlayStatus) DeepCopy() *PlayStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlayStatus.
func (*PlayStatus) DeepCopyInto ¶
func (in *PlayStatus) DeepCopyInto(out *PlayStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResponderObservation ¶
type ResponderObservation struct { // A human-friendly description of the response play. Description *string `json:"description,omitempty" tf:"description,omitempty"` // The escalation rules EscalationRule []EscalationRuleObservation `json:"escalationRule,omitempty" tf:"escalation_rule,omitempty"` // ID of the user defined as the responder ID *string `json:"id,omitempty" tf:"id,omitempty"` // The name of the response play. Name *string `json:"name,omitempty" tf:"name,omitempty"` // The number of times the escalation policy will repeat after reaching the end of its escalation. NumLoops *float64 `json:"numLoops,omitempty" tf:"num_loops,omitempty"` // Determines how on call handoff notifications will be sent for users on the escalation policy. Defaults to "if_has_services". Could be "if_has_services", "always OnCallHandoffNotifications *string `json:"onCallHandoffNotifications,omitempty" tf:"on_call_handoff_notifications,omitempty"` // There can be multiple services associated with a policy. Service []ServiceObservation `json:"service,omitempty" tf:"service,omitempty"` // The ID of the team associated with the response play. Team []TeamObservation `json:"team,omitempty" tf:"team,omitempty"` // A string that determines the schema of the object. If not set, the default value is "response_play". Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*ResponderObservation) DeepCopy ¶
func (in *ResponderObservation) DeepCopy() *ResponderObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResponderObservation.
func (*ResponderObservation) DeepCopyInto ¶
func (in *ResponderObservation) DeepCopyInto(out *ResponderObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResponderParameters ¶
type ResponderParameters struct { // A human-friendly description of the response play. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // ID of the user defined as the responder // +kubebuilder:validation:Optional ID *string `json:"id,omitempty" tf:"id,omitempty"` // The name of the response play. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // A string that determines the schema of the object. If not set, the default value is "response_play". // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*ResponderParameters) DeepCopy ¶
func (in *ResponderParameters) DeepCopy() *ResponderParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResponderParameters.
func (*ResponderParameters) DeepCopyInto ¶
func (in *ResponderParameters) DeepCopyInto(out *ResponderParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceObservation ¶
type ServiceObservation struct { // ID of the user defined as the responder ID *string `json:"id,omitempty" tf:"id,omitempty"` // A string that determines the schema of the object. If not set, the default value is "response_play". Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*ServiceObservation) DeepCopy ¶
func (in *ServiceObservation) DeepCopy() *ServiceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceObservation.
func (*ServiceObservation) DeepCopyInto ¶
func (in *ServiceObservation) DeepCopyInto(out *ServiceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceParameters ¶
type ServiceParameters struct { }
func (*ServiceParameters) DeepCopy ¶
func (in *ServiceParameters) DeepCopy() *ServiceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceParameters.
func (*ServiceParameters) DeepCopyInto ¶
func (in *ServiceParameters) DeepCopyInto(out *ServiceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubscriberObservation ¶
type SubscriberObservation struct { // ID of the user defined as the responder ID *string `json:"id,omitempty" tf:"id,omitempty"` // A string that determines the schema of the object. If not set, the default value is "response_play". Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*SubscriberObservation) DeepCopy ¶
func (in *SubscriberObservation) DeepCopy() *SubscriberObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriberObservation.
func (*SubscriberObservation) DeepCopyInto ¶
func (in *SubscriberObservation) DeepCopyInto(out *SubscriberObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubscriberParameters ¶
type SubscriberParameters struct { // ID of the user defined as the responder // +kubebuilder:validation:Optional ID *string `json:"id,omitempty" tf:"id,omitempty"` // A string that determines the schema of the object. If not set, the default value is "response_play". // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*SubscriberParameters) DeepCopy ¶
func (in *SubscriberParameters) DeepCopy() *SubscriberParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriberParameters.
func (*SubscriberParameters) DeepCopyInto ¶
func (in *SubscriberParameters) DeepCopyInto(out *SubscriberParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetObservation ¶
type TargetObservation struct { // ID of the user defined as the responder ID *string `json:"id,omitempty" tf:"id,omitempty"` // A string that determines the schema of the object. If not set, the default value is "response_play". Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*TargetObservation) DeepCopy ¶
func (in *TargetObservation) DeepCopy() *TargetObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetObservation.
func (*TargetObservation) DeepCopyInto ¶
func (in *TargetObservation) DeepCopyInto(out *TargetObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetParameters ¶
type TargetParameters struct { }
func (*TargetParameters) DeepCopy ¶
func (in *TargetParameters) DeepCopy() *TargetParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetParameters.
func (*TargetParameters) DeepCopyInto ¶
func (in *TargetParameters) DeepCopyInto(out *TargetParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TeamObservation ¶
type TeamObservation struct { // ID of the user defined as the responder ID *string `json:"id,omitempty" tf:"id,omitempty"` // A string that determines the schema of the object. If not set, the default value is "response_play". Type *string `json:"type,omitempty" tf:"type,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 { }
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.