Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the pagerduty v1alpha1 API group +kubebuilder:object:generate=true +groupName=pagerduty.10gen.io
Index ¶
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- type AlertGroupingParametersConfigSpec
- type AlertGroupingParametersSpec
- type PagerDutyIntegration
- type PagerDutyIntegrationList
- type PagerDutyIntegrationSpec
- type PagerDutyIntegrationStatus
- type ServiceOrchestration
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "pagerduty.10gen.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
Types ¶
type AlertGroupingParametersConfigSpec ¶
type AlertGroupingParametersConfigSpec struct {
Timeout uint `json:"timeout,omitempty"`
}
AlertGroupingParametersConfigSpec defines the specifics for how an alert grouping type should behave
func (*AlertGroupingParametersConfigSpec) DeepCopy ¶
func (in *AlertGroupingParametersConfigSpec) DeepCopy() *AlertGroupingParametersConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertGroupingParametersConfigSpec.
func (*AlertGroupingParametersConfigSpec) DeepCopyInto ¶
func (in *AlertGroupingParametersConfigSpec) DeepCopyInto(out *AlertGroupingParametersConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertGroupingParametersSpec ¶
type AlertGroupingParametersSpec struct { Type string `json:"type,omitempty"` Config *AlertGroupingParametersConfigSpec `json:"config,omitempty"` }
AlertGroupingParametersSpec defines the options used for alert grouping
func (*AlertGroupingParametersSpec) DeepCopy ¶
func (in *AlertGroupingParametersSpec) DeepCopy() *AlertGroupingParametersSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertGroupingParametersSpec.
func (*AlertGroupingParametersSpec) DeepCopyInto ¶
func (in *AlertGroupingParametersSpec) DeepCopyInto(out *AlertGroupingParametersSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PagerDutyIntegration ¶
type PagerDutyIntegration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PagerDutyIntegrationSpec `json:"spec,omitempty"` Status PagerDutyIntegrationStatus `json:"status,omitempty"` }
PagerDutyIntegration is the Schema for the pagerdutyintegrations API
func (*PagerDutyIntegration) DeepCopy ¶
func (in *PagerDutyIntegration) DeepCopy() *PagerDutyIntegration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PagerDutyIntegration.
func (*PagerDutyIntegration) DeepCopyInto ¶
func (in *PagerDutyIntegration) DeepCopyInto(out *PagerDutyIntegration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PagerDutyIntegration) DeepCopyObject ¶
func (in *PagerDutyIntegration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PagerDutyIntegrationList ¶
type PagerDutyIntegrationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PagerDutyIntegration `json:"items"` }
PagerDutyIntegrationList contains a list of PagerDutyIntegration
func (*PagerDutyIntegrationList) DeepCopy ¶
func (in *PagerDutyIntegrationList) DeepCopy() *PagerDutyIntegrationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PagerDutyIntegrationList.
func (*PagerDutyIntegrationList) DeepCopyInto ¶
func (in *PagerDutyIntegrationList) DeepCopyInto(out *PagerDutyIntegrationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PagerDutyIntegrationList) DeepCopyObject ¶
func (in *PagerDutyIntegrationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PagerDutyIntegrationSpec ¶
type PagerDutyIntegrationSpec struct { // Time in seconds that an incident changes to the Triggered State after // being Acknowledged. Value must not be negative. Omitting or setting // this field to 0 will disable the feature. // +kubebuilder:validation:Minimum=0 AcknowledgeTimeout uint `json:"acknowledgeTimeout,omitempty"` // ID of an existing Escalation Policy in PagerDuty. EscalationPolicy string `json:"escalationPolicy"` // Time in seconds that an incident is automatically resolved if left // open for that long. Value must not be negative. Omitting or setting // this field to 0 will disable the feature. // +kubebuilder:validation:Minimum=0 ResolveTimeout uint `json:"resolveTimeout,omitempty"` // Prefix to set on the PagerDuty Service name. ServicePrefix string `json:"servicePrefix"` // Reference to the secret containing PAGERDUTY_API_KEY. PagerdutyApiKeySecretRef corev1.SecretReference `json:"pagerdutyApiKeySecretRef"` // A label selector used to find which clusterdeployment CRs receive a // PD integration based on this configuration. ClusterDeploymentSelector metav1.LabelSelector `json:"clusterDeploymentSelector"` // Name and namespace in the target cluster where the secret is synced. TargetSecretRef corev1.SecretReference `json:"targetSecretRef"` // The status of the serviceOrchestration and the referenced configmap resource ServiceOrchestration ServiceOrchestration `json:"serviceOrchestration,omitempty"` // Configures alert grouping for PD services AlertGroupingParameters *AlertGroupingParametersSpec `json:"alertGroupingParameters,omitempty"` }
PagerDutyIntegrationSpec defines the desired state of PagerDutyIntegration
func (*PagerDutyIntegrationSpec) DeepCopy ¶
func (in *PagerDutyIntegrationSpec) DeepCopy() *PagerDutyIntegrationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PagerDutyIntegrationSpec.
func (*PagerDutyIntegrationSpec) DeepCopyInto ¶
func (in *PagerDutyIntegrationSpec) DeepCopyInto(out *PagerDutyIntegrationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PagerDutyIntegrationStatus ¶
type PagerDutyIntegrationStatus struct{}
PagerDutyIntegrationStatus defines the observed state of PagerDutyIntegration
func (*PagerDutyIntegrationStatus) DeepCopy ¶
func (in *PagerDutyIntegrationStatus) DeepCopy() *PagerDutyIntegrationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PagerDutyIntegrationStatus.
func (*PagerDutyIntegrationStatus) DeepCopyInto ¶
func (in *PagerDutyIntegrationStatus) DeepCopyInto(out *PagerDutyIntegrationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceOrchestration ¶
type ServiceOrchestration struct { Enabled bool `json:"enabled"` RuleConfigConfigMapRef *corev1.ObjectReference `json:"ruleConfigConfigMapRef,omitempty"` }
ServiceOrchestration defines if the service orchestration is enabled and the referenced configmap resource for the rules
func (*ServiceOrchestration) DeepCopy ¶
func (in *ServiceOrchestration) DeepCopy() *ServiceOrchestration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceOrchestration.
func (*ServiceOrchestration) DeepCopyInto ¶
func (in *ServiceOrchestration) DeepCopyInto(out *ServiceOrchestration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.