v1alpha1

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

+groupName=service.pagerduty.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: service.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Dependency

type Dependency struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DependencySpec   `json:"spec,omitempty"`
	Status            DependencyStatus `json:"status,omitempty"`
}

func (*Dependency) DeepCopy

func (in *Dependency) DeepCopy() *Dependency

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

func (*Dependency) DeepCopyInto

func (in *Dependency) DeepCopyInto(out *Dependency)

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

func (*Dependency) DeepCopyObject

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

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

func (*Dependency) SetupWebhookWithManager

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

func (*Dependency) ValidateCreate

func (r *Dependency) ValidateCreate() error

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

func (*Dependency) ValidateDelete

func (r *Dependency) ValidateDelete() error

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

func (*Dependency) ValidateUpdate

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

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

type DependencyList

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

DependencyList is a list of Dependencys

func (*DependencyList) DeepCopy

func (in *DependencyList) DeepCopy() *DependencyList

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

func (*DependencyList) DeepCopyInto

func (in *DependencyList) DeepCopyInto(out *DependencyList)

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

func (*DependencyList) DeepCopyObject

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

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

type DependencySpec

type DependencySpec struct {
	State *DependencySpecResource `json:"state,omitempty" tf:"-"`

	Resource DependencySpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*DependencySpec) DeepCopy

func (in *DependencySpec) DeepCopy() *DependencySpec

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

func (*DependencySpec) DeepCopyInto

func (in *DependencySpec) DeepCopyInto(out *DependencySpec)

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

type DependencySpecDependency

type DependencySpecDependency struct {
	DependentService  []DependencySpecDependencyDependentService  `json:"dependentService" tf:"dependent_service"`
	SupportingService []DependencySpecDependencySupportingService `json:"supportingService" tf:"supporting_service"`
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*DependencySpecDependency) DeepCopy

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

func (*DependencySpecDependency) DeepCopyInto

func (in *DependencySpecDependency) DeepCopyInto(out *DependencySpecDependency)

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

type DependencySpecDependencyCodec added in v0.4.0

type DependencySpecDependencyCodec struct {
}

+k8s:deepcopy-gen=false

func (DependencySpecDependencyCodec) Decode added in v0.4.0

func (DependencySpecDependencyCodec) Encode added in v0.4.0

func (DependencySpecDependencyCodec) IsEmpty added in v0.4.0

type DependencySpecDependencyDependentService

type DependencySpecDependencyDependentService struct {
	ID   *string `json:"ID" tf:"id"`
	Type *string `json:"type" tf:"type"`
}

func (*DependencySpecDependencyDependentService) DeepCopy

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

func (*DependencySpecDependencyDependentService) DeepCopyInto

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

type DependencySpecDependencySupportingService

type DependencySpecDependencySupportingService struct {
	ID   *string `json:"ID" tf:"id"`
	Type *string `json:"type" tf:"type"`
}

func (*DependencySpecDependencySupportingService) DeepCopy

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

func (*DependencySpecDependencySupportingService) DeepCopyInto

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

type DependencySpecResource

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

	Dependency *DependencySpecDependency `json:"dependency" tf:"dependency"`
}

func (*DependencySpecResource) DeepCopy

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

func (*DependencySpecResource) DeepCopyInto

func (in *DependencySpecResource) DeepCopyInto(out *DependencySpecResource)

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

type DependencyStatus

type DependencyStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*DependencyStatus) DeepCopy

func (in *DependencyStatus) DeepCopy() *DependencyStatus

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

func (*DependencyStatus) DeepCopyInto

func (in *DependencyStatus) DeepCopyInto(out *DependencyStatus)

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

type EventRule

type EventRule struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              EventRuleSpec   `json:"spec,omitempty"`
	Status            EventRuleStatus `json:"status,omitempty"`
}

func (*EventRule) DeepCopy

func (in *EventRule) DeepCopy() *EventRule

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

func (*EventRule) DeepCopyInto

func (in *EventRule) DeepCopyInto(out *EventRule)

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

func (*EventRule) DeepCopyObject

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

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

func (*EventRule) SetupWebhookWithManager

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

func (*EventRule) ValidateCreate

func (r *EventRule) ValidateCreate() error

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

func (*EventRule) ValidateDelete

func (r *EventRule) ValidateDelete() error

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

func (*EventRule) ValidateUpdate

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

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

type EventRuleList

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

EventRuleList is a list of EventRules

func (*EventRuleList) DeepCopy

func (in *EventRuleList) DeepCopy() *EventRuleList

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

func (*EventRuleList) DeepCopyInto

func (in *EventRuleList) DeepCopyInto(out *EventRuleList)

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

func (*EventRuleList) DeepCopyObject

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

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

type EventRuleSpec

type EventRuleSpec struct {
	State *EventRuleSpecResource `json:"state,omitempty" tf:"-"`

	Resource EventRuleSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*EventRuleSpec) DeepCopy

func (in *EventRuleSpec) DeepCopy() *EventRuleSpec

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

func (*EventRuleSpec) DeepCopyInto

func (in *EventRuleSpec) DeepCopyInto(out *EventRuleSpec)

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

type EventRuleSpecActions

type EventRuleSpecActions struct {
	// +optional
	Annotate []EventRuleSpecActionsAnnotate `json:"annotate,omitempty" tf:"annotate"`
	// +optional
	EventAction []EventRuleSpecActionsEventAction `json:"eventAction,omitempty" tf:"event_action"`
	// +optional
	Extractions []EventRuleSpecActionsExtractions `json:"extractions,omitempty" tf:"extractions"`
	// +optional
	Priority []EventRuleSpecActionsPriority `json:"priority,omitempty" tf:"priority"`
	// +optional
	Severity []EventRuleSpecActionsSeverity `json:"severity,omitempty" tf:"severity"`
	// +optional
	Suppress []EventRuleSpecActionsSuppress `json:"suppress,omitempty" tf:"suppress"`
	// +optional
	Suspend []EventRuleSpecActionsSuspend `json:"suspend,omitempty" tf:"suspend"`
}

func (*EventRuleSpecActions) DeepCopy

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

func (*EventRuleSpecActions) DeepCopyInto

func (in *EventRuleSpecActions) DeepCopyInto(out *EventRuleSpecActions)

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

type EventRuleSpecActionsAnnotate

type EventRuleSpecActionsAnnotate struct {
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*EventRuleSpecActionsAnnotate) DeepCopy

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

func (*EventRuleSpecActionsAnnotate) DeepCopyInto

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

type EventRuleSpecActionsCodec

type EventRuleSpecActionsCodec struct {
}

+k8s:deepcopy-gen=false

func (EventRuleSpecActionsCodec) Decode

func (EventRuleSpecActionsCodec) Encode

func (EventRuleSpecActionsCodec) IsEmpty

type EventRuleSpecActionsEventAction

type EventRuleSpecActionsEventAction struct {
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*EventRuleSpecActionsEventAction) DeepCopy

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

func (*EventRuleSpecActionsEventAction) DeepCopyInto

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

type EventRuleSpecActionsExtractions

type EventRuleSpecActionsExtractions struct {
	// +optional
	Regex *string `json:"regex,omitempty" tf:"regex"`
	// +optional
	Source *string `json:"source,omitempty" tf:"source"`
	// +optional
	Target *string `json:"target,omitempty" tf:"target"`
	// +optional
	Template *string `json:"template,omitempty" tf:"template"`
}

func (*EventRuleSpecActionsExtractions) DeepCopy

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

func (*EventRuleSpecActionsExtractions) DeepCopyInto

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

type EventRuleSpecActionsPriority

type EventRuleSpecActionsPriority struct {
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*EventRuleSpecActionsPriority) DeepCopy

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

func (*EventRuleSpecActionsPriority) DeepCopyInto

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

type EventRuleSpecActionsSeverity

type EventRuleSpecActionsSeverity struct {
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*EventRuleSpecActionsSeverity) DeepCopy

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

func (*EventRuleSpecActionsSeverity) DeepCopyInto

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

type EventRuleSpecActionsSuppress

type EventRuleSpecActionsSuppress struct {
	// +optional
	ThresholdTimeAmount *int64 `json:"thresholdTimeAmount,omitempty" tf:"threshold_time_amount"`
	// +optional
	ThresholdTimeUnit *string `json:"thresholdTimeUnit,omitempty" tf:"threshold_time_unit"`
	// +optional
	ThresholdValue *int64 `json:"thresholdValue,omitempty" tf:"threshold_value"`
	// +optional
	Value *bool `json:"value,omitempty" tf:"value"`
}

func (*EventRuleSpecActionsSuppress) DeepCopy

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

func (*EventRuleSpecActionsSuppress) DeepCopyInto

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

type EventRuleSpecActionsSuspend

type EventRuleSpecActionsSuspend struct {
	// +optional
	Value *int64 `json:"value,omitempty" tf:"value"`
}

func (*EventRuleSpecActionsSuspend) DeepCopy

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

func (*EventRuleSpecActionsSuspend) DeepCopyInto

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

type EventRuleSpecConditions

type EventRuleSpecConditions struct {
	// +optional
	Operator *string `json:"operator,omitempty" tf:"operator"`
	// +optional
	Subconditions []EventRuleSpecConditionsSubconditions `json:"subconditions,omitempty" tf:"subconditions"`
}

func (*EventRuleSpecConditions) DeepCopy

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

func (*EventRuleSpecConditions) DeepCopyInto

func (in *EventRuleSpecConditions) DeepCopyInto(out *EventRuleSpecConditions)

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

type EventRuleSpecConditionsCodec

type EventRuleSpecConditionsCodec struct {
}

+k8s:deepcopy-gen=false

func (EventRuleSpecConditionsCodec) Decode

func (EventRuleSpecConditionsCodec) Encode

func (EventRuleSpecConditionsCodec) IsEmpty

type EventRuleSpecConditionsSubconditions

type EventRuleSpecConditionsSubconditions struct {
	// +optional
	Operator *string `json:"operator,omitempty" tf:"operator"`
	// +optional
	Parameter []EventRuleSpecConditionsSubconditionsParameter `json:"parameter,omitempty" tf:"parameter"`
}

func (*EventRuleSpecConditionsSubconditions) DeepCopy

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

func (*EventRuleSpecConditionsSubconditions) DeepCopyInto

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

type EventRuleSpecConditionsSubconditionsParameter

type EventRuleSpecConditionsSubconditionsParameter struct {
	// +optional
	Path *string `json:"path,omitempty" tf:"path"`
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*EventRuleSpecConditionsSubconditionsParameter) DeepCopy

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

func (*EventRuleSpecConditionsSubconditionsParameter) DeepCopyInto

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

type EventRuleSpecResource

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

	// +optional
	Actions *EventRuleSpecActions `json:"actions,omitempty" tf:"actions"`
	// +optional
	Conditions *EventRuleSpecConditions `json:"conditions,omitempty" tf:"conditions"`
	// +optional
	Disabled *bool `json:"disabled,omitempty" tf:"disabled"`
	// +optional
	Position *int64  `json:"position,omitempty" tf:"position"`
	Service  *string `json:"service" tf:"service"`
	// +optional
	TimeFrame *EventRuleSpecTimeFrame `json:"timeFrame,omitempty" tf:"time_frame"`
	// +optional
	Variable []EventRuleSpecVariable `json:"variable,omitempty" tf:"variable"`
}

func (*EventRuleSpecResource) DeepCopy

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

func (*EventRuleSpecResource) DeepCopyInto

func (in *EventRuleSpecResource) DeepCopyInto(out *EventRuleSpecResource)

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

type EventRuleSpecTimeFrame

type EventRuleSpecTimeFrame struct {
	// +optional
	ActiveBetween []EventRuleSpecTimeFrameActiveBetween `json:"activeBetween,omitempty" tf:"active_between"`
	// +optional
	ScheduledWeekly []EventRuleSpecTimeFrameScheduledWeekly `json:"scheduledWeekly,omitempty" tf:"scheduled_weekly"`
}

func (*EventRuleSpecTimeFrame) DeepCopy

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

func (*EventRuleSpecTimeFrame) DeepCopyInto

func (in *EventRuleSpecTimeFrame) DeepCopyInto(out *EventRuleSpecTimeFrame)

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

type EventRuleSpecTimeFrameActiveBetween

type EventRuleSpecTimeFrameActiveBetween struct {
	// +optional
	EndTime *int64 `json:"endTime,omitempty" tf:"end_time"`
	// +optional
	StartTime *int64 `json:"startTime,omitempty" tf:"start_time"`
}

func (*EventRuleSpecTimeFrameActiveBetween) DeepCopy

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

func (*EventRuleSpecTimeFrameActiveBetween) DeepCopyInto

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

type EventRuleSpecTimeFrameCodec

type EventRuleSpecTimeFrameCodec struct {
}

+k8s:deepcopy-gen=false

func (EventRuleSpecTimeFrameCodec) Decode

func (EventRuleSpecTimeFrameCodec) Encode

func (EventRuleSpecTimeFrameCodec) IsEmpty

type EventRuleSpecTimeFrameScheduledWeekly

type EventRuleSpecTimeFrameScheduledWeekly struct {
	// +optional
	Duration *int64 `json:"duration,omitempty" tf:"duration"`
	// +optional
	StartTime *int64 `json:"startTime,omitempty" tf:"start_time"`
	// +optional
	Timezone *string `json:"timezone,omitempty" tf:"timezone"`
	// +optional
	Weekdays []int64 `json:"weekdays,omitempty" tf:"weekdays"`
}

func (*EventRuleSpecTimeFrameScheduledWeekly) DeepCopy

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

func (*EventRuleSpecTimeFrameScheduledWeekly) DeepCopyInto

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

type EventRuleSpecVariable

type EventRuleSpecVariable struct {
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	Parameters []EventRuleSpecVariableParameters `json:"parameters,omitempty" tf:"parameters"`
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*EventRuleSpecVariable) DeepCopy

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

func (*EventRuleSpecVariable) DeepCopyInto

func (in *EventRuleSpecVariable) DeepCopyInto(out *EventRuleSpecVariable)

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

type EventRuleSpecVariableParameters

type EventRuleSpecVariableParameters struct {
	// +optional
	Path *string `json:"path,omitempty" tf:"path"`
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*EventRuleSpecVariableParameters) DeepCopy

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

func (*EventRuleSpecVariableParameters) DeepCopyInto

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

type EventRuleStatus

type EventRuleStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*EventRuleStatus) DeepCopy

func (in *EventRuleStatus) DeepCopy() *EventRuleStatus

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

func (*EventRuleStatus) DeepCopyInto

func (in *EventRuleStatus) DeepCopyInto(out *EventRuleStatus)

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

type Integration

type Integration struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              IntegrationSpec   `json:"spec,omitempty"`
	Status            IntegrationStatus `json:"status,omitempty"`
}

func (*Integration) DeepCopy

func (in *Integration) DeepCopy() *Integration

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

func (*Integration) DeepCopyInto

func (in *Integration) DeepCopyInto(out *Integration)

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

func (*Integration) DeepCopyObject

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

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

func (*Integration) SetupWebhookWithManager

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

func (*Integration) ValidateCreate

func (r *Integration) ValidateCreate() error

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

func (*Integration) ValidateDelete

func (r *Integration) ValidateDelete() error

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

func (*Integration) ValidateUpdate

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

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

type IntegrationList

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

IntegrationList is a list of Integrations

func (*IntegrationList) DeepCopy

func (in *IntegrationList) DeepCopy() *IntegrationList

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

func (*IntegrationList) DeepCopyInto

func (in *IntegrationList) DeepCopyInto(out *IntegrationList)

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

func (*IntegrationList) DeepCopyObject

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

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

type IntegrationSpec

type IntegrationSpec struct {
	State *IntegrationSpecResource `json:"state,omitempty" tf:"-"`

	Resource IntegrationSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*IntegrationSpec) DeepCopy

func (in *IntegrationSpec) DeepCopy() *IntegrationSpec

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

func (*IntegrationSpec) DeepCopyInto

func (in *IntegrationSpec) DeepCopyInto(out *IntegrationSpec)

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

type IntegrationSpecResource

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

	// +optional
	HtmlURL *string `json:"htmlURL,omitempty" tf:"html_url"`
	// +optional
	IntegrationEmail *string `json:"integrationEmail,omitempty" tf:"integration_email"`
	// +optional
	IntegrationKey *string `json:"integrationKey,omitempty" tf:"integration_key"`
	// +optional
	Name    *string `json:"name,omitempty" tf:"name"`
	Service *string `json:"service" tf:"service"`
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
	// +optional
	Vendor *string `json:"vendor,omitempty" tf:"vendor"`
}

func (*IntegrationSpecResource) DeepCopy

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

func (*IntegrationSpecResource) DeepCopyInto

func (in *IntegrationSpecResource) DeepCopyInto(out *IntegrationSpecResource)

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

type IntegrationStatus

type IntegrationStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*IntegrationStatus) DeepCopy

func (in *IntegrationStatus) DeepCopy() *IntegrationStatus

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

func (*IntegrationStatus) DeepCopyInto

func (in *IntegrationStatus) DeepCopyInto(out *IntegrationStatus)

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

type Service

type Service struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServiceSpec   `json:"spec,omitempty"`
	Status            ServiceStatus `json:"status,omitempty"`
}

func (*Service) DeepCopy

func (in *Service) DeepCopy() *Service

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

func (*Service) DeepCopyInto

func (in *Service) DeepCopyInto(out *Service)

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

func (*Service) DeepCopyObject

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

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

func (*Service) SetupWebhookWithManager

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

func (*Service) ValidateCreate

func (r *Service) ValidateCreate() error

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

func (*Service) ValidateDelete

func (r *Service) ValidateDelete() error

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

func (*Service) ValidateUpdate

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

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

type ServiceList

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

ServiceList is a list of Services

func (*ServiceList) DeepCopy

func (in *ServiceList) DeepCopy() *ServiceList

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

func (*ServiceList) DeepCopyInto

func (in *ServiceList) DeepCopyInto(out *ServiceList)

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

func (*ServiceList) DeepCopyObject

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

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

type ServiceSpec

type ServiceSpec struct {
	State *ServiceSpecResource `json:"state,omitempty" tf:"-"`

	Resource ServiceSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*ServiceSpec) DeepCopy

func (in *ServiceSpec) DeepCopy() *ServiceSpec

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

func (*ServiceSpec) DeepCopyInto

func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec)

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

type ServiceSpecAlertGroupingParameters

type ServiceSpecAlertGroupingParameters struct {
	// +optional
	Config *ServiceSpecAlertGroupingParametersConfig `json:"config,omitempty" tf:"config"`
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*ServiceSpecAlertGroupingParameters) DeepCopy

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

func (*ServiceSpecAlertGroupingParameters) DeepCopyInto

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

type ServiceSpecAlertGroupingParametersCodec

type ServiceSpecAlertGroupingParametersCodec struct {
}

+k8s:deepcopy-gen=false

func (ServiceSpecAlertGroupingParametersCodec) Decode

func (ServiceSpecAlertGroupingParametersCodec) Encode

func (ServiceSpecAlertGroupingParametersCodec) IsEmpty

type ServiceSpecAlertGroupingParametersConfig

type ServiceSpecAlertGroupingParametersConfig struct {
	// +optional
	Aggregate *string `json:"aggregate,omitempty" tf:"aggregate"`
	// +optional
	Fields []string `json:"fields,omitempty" tf:"fields"`
	// +optional
	Timeout *int64 `json:"timeout,omitempty" tf:"timeout"`
}

func (*ServiceSpecAlertGroupingParametersConfig) DeepCopy

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

func (*ServiceSpecAlertGroupingParametersConfig) DeepCopyInto

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

type ServiceSpecAlertGroupingParametersConfigCodec

type ServiceSpecAlertGroupingParametersConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (ServiceSpecAlertGroupingParametersConfigCodec) Decode

func (ServiceSpecAlertGroupingParametersConfigCodec) Encode

func (ServiceSpecAlertGroupingParametersConfigCodec) IsEmpty

type ServiceSpecIncidentUrgencyRule

type ServiceSpecIncidentUrgencyRule struct {
	// +optional
	DuringSupportHours *ServiceSpecIncidentUrgencyRuleDuringSupportHours `json:"duringSupportHours,omitempty" tf:"during_support_hours"`
	// +optional
	OutsideSupportHours *ServiceSpecIncidentUrgencyRuleOutsideSupportHours `json:"outsideSupportHours,omitempty" tf:"outside_support_hours"`
	Type                *string                                            `json:"type" tf:"type"`
	// +optional
	Urgency *string `json:"urgency,omitempty" tf:"urgency"`
}

func (*ServiceSpecIncidentUrgencyRule) DeepCopy

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

func (*ServiceSpecIncidentUrgencyRule) DeepCopyInto

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

type ServiceSpecIncidentUrgencyRuleCodec

type ServiceSpecIncidentUrgencyRuleCodec struct {
}

+k8s:deepcopy-gen=false

func (ServiceSpecIncidentUrgencyRuleCodec) Decode

func (ServiceSpecIncidentUrgencyRuleCodec) Encode

func (ServiceSpecIncidentUrgencyRuleCodec) IsEmpty

type ServiceSpecIncidentUrgencyRuleDuringSupportHours

type ServiceSpecIncidentUrgencyRuleDuringSupportHours struct {
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
	// +optional
	Urgency *string `json:"urgency,omitempty" tf:"urgency"`
}

func (*ServiceSpecIncidentUrgencyRuleDuringSupportHours) DeepCopy

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

func (*ServiceSpecIncidentUrgencyRuleDuringSupportHours) DeepCopyInto

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

type ServiceSpecIncidentUrgencyRuleDuringSupportHoursCodec

type ServiceSpecIncidentUrgencyRuleDuringSupportHoursCodec struct {
}

+k8s:deepcopy-gen=false

func (ServiceSpecIncidentUrgencyRuleDuringSupportHoursCodec) Decode

func (ServiceSpecIncidentUrgencyRuleDuringSupportHoursCodec) Encode

func (ServiceSpecIncidentUrgencyRuleDuringSupportHoursCodec) IsEmpty

type ServiceSpecIncidentUrgencyRuleOutsideSupportHours

type ServiceSpecIncidentUrgencyRuleOutsideSupportHours struct {
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
	// +optional
	Urgency *string `json:"urgency,omitempty" tf:"urgency"`
}

func (*ServiceSpecIncidentUrgencyRuleOutsideSupportHours) DeepCopy

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

func (*ServiceSpecIncidentUrgencyRuleOutsideSupportHours) DeepCopyInto

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

type ServiceSpecIncidentUrgencyRuleOutsideSupportHoursCodec

type ServiceSpecIncidentUrgencyRuleOutsideSupportHoursCodec struct {
}

+k8s:deepcopy-gen=false

func (ServiceSpecIncidentUrgencyRuleOutsideSupportHoursCodec) Decode

func (ServiceSpecIncidentUrgencyRuleOutsideSupportHoursCodec) Encode

func (ServiceSpecIncidentUrgencyRuleOutsideSupportHoursCodec) IsEmpty

type ServiceSpecResource

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

	// +optional
	AcknowledgementTimeout *string `json:"acknowledgementTimeout,omitempty" tf:"acknowledgement_timeout"`
	// +optional
	AlertCreation *string `json:"alertCreation,omitempty" tf:"alert_creation"`
	// +optional
	// Deprecated
	AlertGrouping *string `json:"alertGrouping,omitempty" tf:"alert_grouping"`
	// +optional
	AlertGroupingParameters *ServiceSpecAlertGroupingParameters `json:"alertGroupingParameters,omitempty" tf:"alert_grouping_parameters"`
	// +optional
	// Deprecated
	AlertGroupingTimeout *string `json:"alertGroupingTimeout,omitempty" tf:"alert_grouping_timeout"`
	// +optional
	AutoResolveTimeout *string `json:"autoResolveTimeout,omitempty" tf:"auto_resolve_timeout"`
	// +optional
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at"`
	// +optional
	Description      *string `json:"description,omitempty" tf:"description"`
	EscalationPolicy *string `json:"escalationPolicy" tf:"escalation_policy"`
	// +optional
	HtmlURL *string `json:"htmlURL,omitempty" tf:"html_url"`
	// +optional
	IncidentUrgencyRule *ServiceSpecIncidentUrgencyRule `json:"incidentUrgencyRule,omitempty" tf:"incident_urgency_rule"`
	// +optional
	LastIncidentTimestamp *string `json:"lastIncidentTimestamp,omitempty" tf:"last_incident_timestamp"`
	Name                  *string `json:"name" tf:"name"`
	// +optional
	ScheduledActions []ServiceSpecScheduledActions `json:"scheduledActions,omitempty" tf:"scheduled_actions"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	SupportHours *ServiceSpecSupportHours `json:"supportHours,omitempty" tf:"support_hours"`
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*ServiceSpecResource) DeepCopy

func (in *ServiceSpecResource) DeepCopy() *ServiceSpecResource

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

func (*ServiceSpecResource) DeepCopyInto

func (in *ServiceSpecResource) DeepCopyInto(out *ServiceSpecResource)

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

type ServiceSpecScheduledActions

type ServiceSpecScheduledActions struct {
	// +optional
	At []ServiceSpecScheduledActionsAt `json:"at,omitempty" tf:"at"`
	// +optional
	ToUrgency *string `json:"toUrgency,omitempty" tf:"to_urgency"`
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*ServiceSpecScheduledActions) DeepCopy

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

func (*ServiceSpecScheduledActions) DeepCopyInto

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

type ServiceSpecScheduledActionsAt

type ServiceSpecScheduledActionsAt struct {
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*ServiceSpecScheduledActionsAt) DeepCopy

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

func (*ServiceSpecScheduledActionsAt) DeepCopyInto

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

type ServiceSpecSupportHours

type ServiceSpecSupportHours struct {
	// +optional
	// +kubebuilder:validation:MaxItems=7
	DaysOfWeek []int64 `json:"daysOfWeek,omitempty" tf:"days_of_week"`
	// +optional
	EndTime *string `json:"endTime,omitempty" tf:"end_time"`
	// +optional
	StartTime *string `json:"startTime,omitempty" tf:"start_time"`
	// +optional
	TimeZone *string `json:"timeZone,omitempty" tf:"time_zone"`
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*ServiceSpecSupportHours) DeepCopy

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

func (*ServiceSpecSupportHours) DeepCopyInto

func (in *ServiceSpecSupportHours) DeepCopyInto(out *ServiceSpecSupportHours)

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

type ServiceSpecSupportHoursCodec

type ServiceSpecSupportHoursCodec struct {
}

+k8s:deepcopy-gen=false

func (ServiceSpecSupportHoursCodec) Decode

func (ServiceSpecSupportHoursCodec) Encode

func (ServiceSpecSupportHoursCodec) IsEmpty

type ServiceStatus

type ServiceStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ServiceStatus) DeepCopy

func (in *ServiceStatus) DeepCopy() *ServiceStatus

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

func (*ServiceStatus) DeepCopyInto

func (in *ServiceStatus) DeepCopyInto(out *ServiceStatus)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL