v1alpha1

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=incident.pagerduty.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "incident.pagerduty.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	CustomField_Kind             = "CustomField"
	CustomField_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CustomField_Kind}.String()
	CustomField_KindAPIVersion   = CustomField_Kind + "." + CRDGroupVersion.String()
	CustomField_GroupVersionKind = CRDGroupVersion.WithKind(CustomField_Kind)
)

Repository type metadata.

View Source
var (
	CustomFieldOption_Kind             = "CustomFieldOption"
	CustomFieldOption_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CustomFieldOption_Kind}.String()
	CustomFieldOption_KindAPIVersion   = CustomFieldOption_Kind + "." + CRDGroupVersion.String()
	CustomFieldOption_GroupVersionKind = CRDGroupVersion.WithKind(CustomFieldOption_Kind)
)

Repository type metadata.

View Source
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
)
View Source
var (
	Workflow_Kind             = "Workflow"
	Workflow_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Workflow_Kind}.String()
	Workflow_KindAPIVersion   = Workflow_Kind + "." + CRDGroupVersion.String()
	Workflow_GroupVersionKind = CRDGroupVersion.WithKind(Workflow_Kind)
)

Repository type metadata.

View Source
var (
	WorkflowTrigger_Kind             = "WorkflowTrigger"
	WorkflowTrigger_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: WorkflowTrigger_Kind}.String()
	WorkflowTrigger_KindAPIVersion   = WorkflowTrigger_Kind + "." + CRDGroupVersion.String()
	WorkflowTrigger_GroupVersionKind = CRDGroupVersion.WithKind(WorkflowTrigger_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type CustomField

type CustomField 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.dataType) || (has(self.initProvider) && has(self.initProvider.dataType))",message="spec.forProvider.dataType is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.displayName) || (has(self.initProvider) && has(self.initProvider.displayName))",message="spec.forProvider.displayName is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.fieldType) || (has(self.initProvider) && has(self.initProvider.fieldType))",message="spec.forProvider.fieldType is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   CustomFieldSpec   `json:"spec"`
	Status CustomFieldStatus `json:"status,omitempty"`
}

CustomField is the Schema for the CustomFields API. Creates and manages an Incident Custom Field in PagerDuty. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,pagerduty}

func (*CustomField) DeepCopy

func (in *CustomField) DeepCopy() *CustomField

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

func (*CustomField) DeepCopyInto

func (in *CustomField) DeepCopyInto(out *CustomField)

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

func (*CustomField) DeepCopyObject

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

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

func (*CustomField) GetCondition

func (mg *CustomField) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this CustomField.

func (*CustomField) GetConnectionDetailsMapping

func (tr *CustomField) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this CustomField

func (*CustomField) GetDeletionPolicy

func (mg *CustomField) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this CustomField.

func (*CustomField) GetID

func (tr *CustomField) GetID() string

GetID returns ID of underlying Terraform resource of this CustomField

func (*CustomField) GetInitParameters

func (tr *CustomField) GetInitParameters() (map[string]any, error)

GetInitParameters of this CustomField

func (*CustomField) GetManagementPolicies

func (mg *CustomField) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this CustomField.

func (*CustomField) GetMergedParameters

func (tr *CustomField) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this CustomField

func (*CustomField) GetObservation

func (tr *CustomField) GetObservation() (map[string]any, error)

GetObservation of this CustomField

func (*CustomField) GetParameters

func (tr *CustomField) GetParameters() (map[string]any, error)

GetParameters of this CustomField

func (*CustomField) GetProviderConfigReference

func (mg *CustomField) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this CustomField.

func (*CustomField) GetPublishConnectionDetailsTo

func (mg *CustomField) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this CustomField.

func (*CustomField) GetTerraformResourceType

func (mg *CustomField) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CustomField

func (*CustomField) GetTerraformSchemaVersion

func (tr *CustomField) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CustomField) GetWriteConnectionSecretToReference

func (mg *CustomField) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this CustomField.

func (*CustomField) Hub

func (tr *CustomField) Hub()

Hub marks this type as a conversion hub.

func (*CustomField) LateInitialize

func (tr *CustomField) LateInitialize(attrs []byte) (bool, error)

LateInitialize this CustomField using its observed tfState. returns True if there are any spec changes for the resource.

func (*CustomField) SetConditions

func (mg *CustomField) SetConditions(c ...xpv1.Condition)

SetConditions of this CustomField.

func (*CustomField) SetDeletionPolicy

func (mg *CustomField) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this CustomField.

func (*CustomField) SetManagementPolicies

func (mg *CustomField) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this CustomField.

func (*CustomField) SetObservation

func (tr *CustomField) SetObservation(obs map[string]any) error

SetObservation for this CustomField

func (*CustomField) SetParameters

func (tr *CustomField) SetParameters(params map[string]any) error

SetParameters for this CustomField

func (*CustomField) SetProviderConfigReference

func (mg *CustomField) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this CustomField.

func (*CustomField) SetPublishConnectionDetailsTo

func (mg *CustomField) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this CustomField.

func (*CustomField) SetWriteConnectionSecretToReference

func (mg *CustomField) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this CustomField.

type CustomFieldInitParameters

type CustomFieldInitParameters struct {

	// The data type of the field. Must be one of string, integer, float, boolean, datetime, or url.
	DataType *string `json:"dataType,omitempty" tf:"data_type,omitempty"`

	// The default value to set when new incidents are created. Always specified as a string.
	DefaultValue *string `json:"defaultValue,omitempty" tf:"default_value,omitempty"`

	// The description of the field.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The display name of the field.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// The field type of the field. Must be one of single_value, single_value_fixed, multi_value, or multi_value_fixed.
	FieldType *string `json:"fieldType,omitempty" tf:"field_type,omitempty"`

	// The name of the field.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*CustomFieldInitParameters) DeepCopy

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

func (*CustomFieldInitParameters) DeepCopyInto

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

type CustomFieldList

type CustomFieldList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []CustomField `json:"items"`
}

CustomFieldList contains a list of CustomFields

func (*CustomFieldList) DeepCopy

func (in *CustomFieldList) DeepCopy() *CustomFieldList

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

func (*CustomFieldList) DeepCopyInto

func (in *CustomFieldList) DeepCopyInto(out *CustomFieldList)

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

func (*CustomFieldList) DeepCopyObject

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

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

func (*CustomFieldList) GetItems

func (l *CustomFieldList) GetItems() []resource.Managed

GetItems of this CustomFieldList.

type CustomFieldObservation

type CustomFieldObservation struct {

	// The data type of the field. Must be one of string, integer, float, boolean, datetime, or url.
	DataType *string `json:"dataType,omitempty" tf:"data_type,omitempty"`

	// The default value to set when new incidents are created. Always specified as a string.
	DefaultValue *string `json:"defaultValue,omitempty" tf:"default_value,omitempty"`

	// The description of the field.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The display name of the field.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// The field type of the field. Must be one of single_value, single_value_fixed, multi_value, or multi_value_fixed.
	FieldType *string `json:"fieldType,omitempty" tf:"field_type,omitempty"`

	// The ID of the field.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The name of the field.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*CustomFieldObservation) DeepCopy

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

func (*CustomFieldObservation) DeepCopyInto

func (in *CustomFieldObservation) DeepCopyInto(out *CustomFieldObservation)

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

type CustomFieldOption

type CustomFieldOption 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.dataType) || (has(self.initProvider) && has(self.initProvider.dataType))",message="spec.forProvider.dataType is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.field) || (has(self.initProvider) && has(self.initProvider.field))",message="spec.forProvider.field is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.value) || (has(self.initProvider) && has(self.initProvider.value))",message="spec.forProvider.value is a required parameter"
	Spec   CustomFieldOptionSpec   `json:"spec"`
	Status CustomFieldOptionStatus `json:"status,omitempty"`
}

CustomFieldOption is the Schema for the CustomFieldOptions API. Creates and manages an field option for an Incident Custom Field in PagerDuty. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,pagerduty}

func (*CustomFieldOption) DeepCopy

func (in *CustomFieldOption) DeepCopy() *CustomFieldOption

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

func (*CustomFieldOption) DeepCopyInto

func (in *CustomFieldOption) DeepCopyInto(out *CustomFieldOption)

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

func (*CustomFieldOption) DeepCopyObject

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

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

func (*CustomFieldOption) GetCondition

func (mg *CustomFieldOption) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this CustomFieldOption.

func (*CustomFieldOption) GetConnectionDetailsMapping

func (tr *CustomFieldOption) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this CustomFieldOption

func (*CustomFieldOption) GetDeletionPolicy

func (mg *CustomFieldOption) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this CustomFieldOption.

func (*CustomFieldOption) GetID

func (tr *CustomFieldOption) GetID() string

GetID returns ID of underlying Terraform resource of this CustomFieldOption

func (*CustomFieldOption) GetInitParameters

func (tr *CustomFieldOption) GetInitParameters() (map[string]any, error)

GetInitParameters of this CustomFieldOption

func (*CustomFieldOption) GetManagementPolicies

func (mg *CustomFieldOption) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this CustomFieldOption.

func (*CustomFieldOption) GetMergedParameters

func (tr *CustomFieldOption) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this CustomFieldOption

func (*CustomFieldOption) GetObservation

func (tr *CustomFieldOption) GetObservation() (map[string]any, error)

GetObservation of this CustomFieldOption

func (*CustomFieldOption) GetParameters

func (tr *CustomFieldOption) GetParameters() (map[string]any, error)

GetParameters of this CustomFieldOption

func (*CustomFieldOption) GetProviderConfigReference

func (mg *CustomFieldOption) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this CustomFieldOption.

func (*CustomFieldOption) GetPublishConnectionDetailsTo

func (mg *CustomFieldOption) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this CustomFieldOption.

func (*CustomFieldOption) GetTerraformResourceType

func (mg *CustomFieldOption) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CustomFieldOption

func (*CustomFieldOption) GetTerraformSchemaVersion

func (tr *CustomFieldOption) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CustomFieldOption) GetWriteConnectionSecretToReference

func (mg *CustomFieldOption) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this CustomFieldOption.

func (*CustomFieldOption) Hub

func (tr *CustomFieldOption) Hub()

Hub marks this type as a conversion hub.

func (*CustomFieldOption) LateInitialize

func (tr *CustomFieldOption) LateInitialize(attrs []byte) (bool, error)

LateInitialize this CustomFieldOption using its observed tfState. returns True if there are any spec changes for the resource.

func (*CustomFieldOption) SetConditions

func (mg *CustomFieldOption) SetConditions(c ...xpv1.Condition)

SetConditions of this CustomFieldOption.

func (*CustomFieldOption) SetDeletionPolicy

func (mg *CustomFieldOption) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this CustomFieldOption.

func (*CustomFieldOption) SetManagementPolicies

func (mg *CustomFieldOption) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this CustomFieldOption.

func (*CustomFieldOption) SetObservation

func (tr *CustomFieldOption) SetObservation(obs map[string]any) error

SetObservation for this CustomFieldOption

func (*CustomFieldOption) SetParameters

func (tr *CustomFieldOption) SetParameters(params map[string]any) error

SetParameters for this CustomFieldOption

func (*CustomFieldOption) SetProviderConfigReference

func (mg *CustomFieldOption) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this CustomFieldOption.

func (*CustomFieldOption) SetPublishConnectionDetailsTo

func (mg *CustomFieldOption) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this CustomFieldOption.

func (*CustomFieldOption) SetWriteConnectionSecretToReference

func (mg *CustomFieldOption) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this CustomFieldOption.

type CustomFieldOptionInitParameters

type CustomFieldOptionInitParameters struct {

	// The datatype of the field option. Only string is allowed here at present.
	DataType *string `json:"dataType,omitempty" tf:"data_type,omitempty"`

	// The ID of the field.
	Field *string `json:"field,omitempty" tf:"field,omitempty"`

	// The allowed value.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*CustomFieldOptionInitParameters) DeepCopy

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

func (*CustomFieldOptionInitParameters) DeepCopyInto

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

type CustomFieldOptionList

type CustomFieldOptionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []CustomFieldOption `json:"items"`
}

CustomFieldOptionList contains a list of CustomFieldOptions

func (*CustomFieldOptionList) DeepCopy

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

func (*CustomFieldOptionList) DeepCopyInto

func (in *CustomFieldOptionList) DeepCopyInto(out *CustomFieldOptionList)

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

func (*CustomFieldOptionList) DeepCopyObject

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

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

func (*CustomFieldOptionList) GetItems

func (l *CustomFieldOptionList) GetItems() []resource.Managed

GetItems of this CustomFieldOptionList.

type CustomFieldOptionObservation

type CustomFieldOptionObservation struct {

	// The datatype of the field option. Only string is allowed here at present.
	DataType *string `json:"dataType,omitempty" tf:"data_type,omitempty"`

	// The ID of the field.
	Field *string `json:"field,omitempty" tf:"field,omitempty"`

	// The ID of the field option.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The allowed value.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*CustomFieldOptionObservation) DeepCopy

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

func (*CustomFieldOptionObservation) DeepCopyInto

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

type CustomFieldOptionParameters

type CustomFieldOptionParameters struct {

	// The datatype of the field option. Only string is allowed here at present.
	// +kubebuilder:validation:Optional
	DataType *string `json:"dataType,omitempty" tf:"data_type,omitempty"`

	// The ID of the field.
	// +kubebuilder:validation:Optional
	Field *string `json:"field,omitempty" tf:"field,omitempty"`

	// The allowed value.
	// +kubebuilder:validation:Optional
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*CustomFieldOptionParameters) DeepCopy

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

func (*CustomFieldOptionParameters) DeepCopyInto

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

type CustomFieldOptionSpec

type CustomFieldOptionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     CustomFieldOptionParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// 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 CustomFieldOptionInitParameters `json:"initProvider,omitempty"`
}

CustomFieldOptionSpec defines the desired state of CustomFieldOption

func (*CustomFieldOptionSpec) DeepCopy

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

func (*CustomFieldOptionSpec) DeepCopyInto

func (in *CustomFieldOptionSpec) DeepCopyInto(out *CustomFieldOptionSpec)

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

type CustomFieldOptionStatus

type CustomFieldOptionStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        CustomFieldOptionObservation `json:"atProvider,omitempty"`
}

CustomFieldOptionStatus defines the observed state of CustomFieldOption.

func (*CustomFieldOptionStatus) DeepCopy

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

func (*CustomFieldOptionStatus) DeepCopyInto

func (in *CustomFieldOptionStatus) DeepCopyInto(out *CustomFieldOptionStatus)

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

type CustomFieldParameters

type CustomFieldParameters struct {

	// The data type of the field. Must be one of string, integer, float, boolean, datetime, or url.
	// +kubebuilder:validation:Optional
	DataType *string `json:"dataType,omitempty" tf:"data_type,omitempty"`

	// The default value to set when new incidents are created. Always specified as a string.
	// +kubebuilder:validation:Optional
	DefaultValue *string `json:"defaultValue,omitempty" tf:"default_value,omitempty"`

	// The description of the field.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The display name of the field.
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// The field type of the field. Must be one of single_value, single_value_fixed, multi_value, or multi_value_fixed.
	// +kubebuilder:validation:Optional
	FieldType *string `json:"fieldType,omitempty" tf:"field_type,omitempty"`

	// The name of the field.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*CustomFieldParameters) DeepCopy

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

func (*CustomFieldParameters) DeepCopyInto

func (in *CustomFieldParameters) DeepCopyInto(out *CustomFieldParameters)

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

type CustomFieldSpec

type CustomFieldSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     CustomFieldParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// 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 CustomFieldInitParameters `json:"initProvider,omitempty"`
}

CustomFieldSpec defines the desired state of CustomField

func (*CustomFieldSpec) DeepCopy

func (in *CustomFieldSpec) DeepCopy() *CustomFieldSpec

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

func (*CustomFieldSpec) DeepCopyInto

func (in *CustomFieldSpec) DeepCopyInto(out *CustomFieldSpec)

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

type CustomFieldStatus

type CustomFieldStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        CustomFieldObservation `json:"atProvider,omitempty"`
}

CustomFieldStatus defines the observed state of CustomField.

func (*CustomFieldStatus) DeepCopy

func (in *CustomFieldStatus) DeepCopy() *CustomFieldStatus

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

func (*CustomFieldStatus) DeepCopyInto

func (in *CustomFieldStatus) DeepCopyInto(out *CustomFieldStatus)

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

type InlineStepsInputInitParameters

type InlineStepsInputInitParameters struct {

	// The name of the workflow.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The steps in the workflow.
	Step []InlineStepsInputStepInitParameters `json:"step,omitempty" tf:"step,omitempty"`
}

func (*InlineStepsInputInitParameters) DeepCopy

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

func (*InlineStepsInputInitParameters) DeepCopyInto

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

type InlineStepsInputObservation

type InlineStepsInputObservation struct {

	// The name of the workflow.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The steps in the workflow.
	Step []InlineStepsInputStepObservation `json:"step,omitempty" tf:"step,omitempty"`
}

func (*InlineStepsInputObservation) DeepCopy

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

func (*InlineStepsInputObservation) DeepCopyInto

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

type InlineStepsInputParameters

type InlineStepsInputParameters struct {

	// The name of the workflow.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`

	// The steps in the workflow.
	// +kubebuilder:validation:Optional
	Step []InlineStepsInputStepParameters `json:"step,omitempty" tf:"step,omitempty"`
}

func (*InlineStepsInputParameters) DeepCopy

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

func (*InlineStepsInputParameters) DeepCopyInto

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

type InlineStepsInputStepInitParameters

type InlineStepsInputStepInitParameters struct {

	// The action id for the workflow step, including the version. A list of actions available can be retrieved using the PagerDuty API.
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// The list of standard inputs for the workflow action.
	Input []InputInitParameters `json:"input,omitempty" tf:"input,omitempty"`

	// The name of the workflow.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*InlineStepsInputStepInitParameters) DeepCopy

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

func (*InlineStepsInputStepInitParameters) DeepCopyInto

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

type InlineStepsInputStepObservation

type InlineStepsInputStepObservation struct {

	// The action id for the workflow step, including the version. A list of actions available can be retrieved using the PagerDuty API.
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// The list of standard inputs for the workflow action.
	Input []InputObservation `json:"input,omitempty" tf:"input,omitempty"`

	// The name of the workflow.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*InlineStepsInputStepObservation) DeepCopy

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

func (*InlineStepsInputStepObservation) DeepCopyInto

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

type InlineStepsInputStepParameters

type InlineStepsInputStepParameters struct {

	// The action id for the workflow step, including the version. A list of actions available can be retrieved using the PagerDuty API.
	// +kubebuilder:validation:Optional
	Action *string `json:"action" tf:"action,omitempty"`

	// The list of standard inputs for the workflow action.
	// +kubebuilder:validation:Optional
	Input []InputParameters `json:"input,omitempty" tf:"input,omitempty"`

	// The name of the workflow.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`
}

func (*InlineStepsInputStepParameters) DeepCopy

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

func (*InlineStepsInputStepParameters) DeepCopyInto

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

type InputInitParameters

type InputInitParameters struct {

	// The name of the workflow.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The value of the input.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*InputInitParameters) DeepCopy

func (in *InputInitParameters) DeepCopy() *InputInitParameters

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

func (*InputInitParameters) DeepCopyInto

func (in *InputInitParameters) DeepCopyInto(out *InputInitParameters)

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

type InputObservation

type InputObservation struct {
	Generated *bool `json:"generated,omitempty" tf:"generated,omitempty"`

	// The name of the workflow.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The value of the input.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*InputObservation) DeepCopy

func (in *InputObservation) DeepCopy() *InputObservation

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

func (*InputObservation) DeepCopyInto

func (in *InputObservation) DeepCopyInto(out *InputObservation)

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

type InputParameters

type InputParameters struct {

	// The name of the workflow.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`

	// The value of the input.
	// +kubebuilder:validation:Optional
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*InputParameters) DeepCopy

func (in *InputParameters) DeepCopy() *InputParameters

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

func (*InputParameters) DeepCopyInto

func (in *InputParameters) DeepCopyInto(out *InputParameters)

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

type PermissionsInitParameters

type PermissionsInitParameters struct {

	// If true, indicates that the Trigger can only be started by authorized Users. If false (default), any user can start this Trigger. Applicable only to manual-type triggers.
	Restricted *bool `json:"restricted,omitempty" tf:"restricted,omitempty"`

	// The ID of the Team whose members can manually start this Trigger. Required and allowed only if restricted is true.
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`
}

func (*PermissionsInitParameters) DeepCopy

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

func (*PermissionsInitParameters) DeepCopyInto

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

type PermissionsObservation

type PermissionsObservation struct {

	// If true, indicates that the Trigger can only be started by authorized Users. If false (default), any user can start this Trigger. Applicable only to manual-type triggers.
	Restricted *bool `json:"restricted,omitempty" tf:"restricted,omitempty"`

	// The ID of the Team whose members can manually start this Trigger. Required and allowed only if restricted is true.
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`
}

func (*PermissionsObservation) DeepCopy

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

func (*PermissionsObservation) DeepCopyInto

func (in *PermissionsObservation) DeepCopyInto(out *PermissionsObservation)

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

type PermissionsParameters

type PermissionsParameters struct {

	// If true, indicates that the Trigger can only be started by authorized Users. If false (default), any user can start this Trigger. Applicable only to manual-type triggers.
	// +kubebuilder:validation:Optional
	Restricted *bool `json:"restricted,omitempty" tf:"restricted,omitempty"`

	// The ID of the Team whose members can manually start this Trigger. Required and allowed only if restricted is true.
	// +kubebuilder:validation:Optional
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`
}

func (*PermissionsParameters) DeepCopy

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

func (*PermissionsParameters) DeepCopyInto

func (in *PermissionsParameters) DeepCopyInto(out *PermissionsParameters)

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

type StepInitParameters

type StepInitParameters struct {

	// The action id for the workflow step, including the version. A list of actions available can be retrieved using the PagerDuty API.
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// The list of inputs that contain a series of inline steps for the workflow action.
	InlineStepsInput []InlineStepsInputInitParameters `json:"inlineStepsInput,omitempty" tf:"inline_steps_input,omitempty"`

	// The list of standard inputs for the workflow action.
	Input []StepInputInitParameters `json:"input,omitempty" tf:"input,omitempty"`

	// The name of the workflow.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*StepInitParameters) DeepCopy

func (in *StepInitParameters) DeepCopy() *StepInitParameters

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

func (*StepInitParameters) DeepCopyInto

func (in *StepInitParameters) DeepCopyInto(out *StepInitParameters)

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

type StepInputInitParameters

type StepInputInitParameters struct {

	// The name of the workflow.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The value of the input.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*StepInputInitParameters) DeepCopy

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

func (*StepInputInitParameters) DeepCopyInto

func (in *StepInputInitParameters) DeepCopyInto(out *StepInputInitParameters)

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

type StepInputObservation

type StepInputObservation struct {
	Generated *bool `json:"generated,omitempty" tf:"generated,omitempty"`

	// The name of the workflow.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The value of the input.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*StepInputObservation) DeepCopy

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

func (*StepInputObservation) DeepCopyInto

func (in *StepInputObservation) DeepCopyInto(out *StepInputObservation)

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

type StepInputParameters

type StepInputParameters struct {

	// The name of the workflow.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`

	// The value of the input.
	// +kubebuilder:validation:Optional
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*StepInputParameters) DeepCopy

func (in *StepInputParameters) DeepCopy() *StepInputParameters

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

func (*StepInputParameters) DeepCopyInto

func (in *StepInputParameters) DeepCopyInto(out *StepInputParameters)

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

type StepObservation

type StepObservation struct {

	// The action id for the workflow step, including the version. A list of actions available can be retrieved using the PagerDuty API.
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// The ID of the incident workflow.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The list of inputs that contain a series of inline steps for the workflow action.
	InlineStepsInput []InlineStepsInputObservation `json:"inlineStepsInput,omitempty" tf:"inline_steps_input,omitempty"`

	// The list of standard inputs for the workflow action.
	Input []StepInputObservation `json:"input,omitempty" tf:"input,omitempty"`

	// The name of the workflow.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*StepObservation) DeepCopy

func (in *StepObservation) DeepCopy() *StepObservation

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

func (*StepObservation) DeepCopyInto

func (in *StepObservation) DeepCopyInto(out *StepObservation)

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

type StepParameters

type StepParameters struct {

	// The action id for the workflow step, including the version. A list of actions available can be retrieved using the PagerDuty API.
	// +kubebuilder:validation:Optional
	Action *string `json:"action" tf:"action,omitempty"`

	// The list of inputs that contain a series of inline steps for the workflow action.
	// +kubebuilder:validation:Optional
	InlineStepsInput []InlineStepsInputParameters `json:"inlineStepsInput,omitempty" tf:"inline_steps_input,omitempty"`

	// The list of standard inputs for the workflow action.
	// +kubebuilder:validation:Optional
	Input []StepInputParameters `json:"input,omitempty" tf:"input,omitempty"`

	// The name of the workflow.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`
}

func (*StepParameters) DeepCopy

func (in *StepParameters) DeepCopy() *StepParameters

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

func (*StepParameters) DeepCopyInto

func (in *StepParameters) DeepCopyInto(out *StepParameters)

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

type Workflow

type Workflow 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) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   WorkflowSpec   `json:"spec"`
	Status WorkflowStatus `json:"status,omitempty"`
}

Workflow is the Schema for the Workflows API. Creates and manages an incident workflow in PagerDuty. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,pagerduty}

func (*Workflow) DeepCopy

func (in *Workflow) DeepCopy() *Workflow

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

func (*Workflow) DeepCopyInto

func (in *Workflow) DeepCopyInto(out *Workflow)

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

func (*Workflow) DeepCopyObject

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

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

func (*Workflow) GetCondition

func (mg *Workflow) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Workflow.

func (*Workflow) GetConnectionDetailsMapping

func (tr *Workflow) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Workflow

func (*Workflow) GetDeletionPolicy

func (mg *Workflow) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Workflow.

func (*Workflow) GetID

func (tr *Workflow) GetID() string

GetID returns ID of underlying Terraform resource of this Workflow

func (*Workflow) GetInitParameters

func (tr *Workflow) GetInitParameters() (map[string]any, error)

GetInitParameters of this Workflow

func (*Workflow) GetManagementPolicies

func (mg *Workflow) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Workflow.

func (*Workflow) GetMergedParameters

func (tr *Workflow) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Workflow

func (*Workflow) GetObservation

func (tr *Workflow) GetObservation() (map[string]any, error)

GetObservation of this Workflow

func (*Workflow) GetParameters

func (tr *Workflow) GetParameters() (map[string]any, error)

GetParameters of this Workflow

func (*Workflow) GetProviderConfigReference

func (mg *Workflow) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Workflow.

func (*Workflow) GetPublishConnectionDetailsTo

func (mg *Workflow) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Workflow.

func (*Workflow) GetTerraformResourceType

func (mg *Workflow) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Workflow

func (*Workflow) GetTerraformSchemaVersion

func (tr *Workflow) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Workflow) GetWriteConnectionSecretToReference

func (mg *Workflow) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Workflow.

func (*Workflow) Hub

func (tr *Workflow) Hub()

Hub marks this type as a conversion hub.

func (*Workflow) LateInitialize

func (tr *Workflow) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Workflow using its observed tfState. returns True if there are any spec changes for the resource.

func (*Workflow) SetConditions

func (mg *Workflow) SetConditions(c ...xpv1.Condition)

SetConditions of this Workflow.

func (*Workflow) SetDeletionPolicy

func (mg *Workflow) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Workflow.

func (*Workflow) SetManagementPolicies

func (mg *Workflow) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Workflow.

func (*Workflow) SetObservation

func (tr *Workflow) SetObservation(obs map[string]any) error

SetObservation for this Workflow

func (*Workflow) SetParameters

func (tr *Workflow) SetParameters(params map[string]any) error

SetParameters for this Workflow

func (*Workflow) SetProviderConfigReference

func (mg *Workflow) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Workflow.

func (*Workflow) SetPublishConnectionDetailsTo

func (mg *Workflow) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Workflow.

func (*Workflow) SetWriteConnectionSecretToReference

func (mg *Workflow) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Workflow.

type WorkflowInitParameters

type WorkflowInitParameters struct {

	// The description of the workflow.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The name of the workflow.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The steps in the workflow.
	Step []StepInitParameters `json:"step,omitempty" tf:"step,omitempty"`

	// A team ID. If specified then workflow edit permissions will be scoped to members of this team.
	Team *string `json:"team,omitempty" tf:"team,omitempty"`
}

func (*WorkflowInitParameters) DeepCopy

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

func (*WorkflowInitParameters) DeepCopyInto

func (in *WorkflowInitParameters) DeepCopyInto(out *WorkflowInitParameters)

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

type WorkflowList

type WorkflowList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Workflow `json:"items"`
}

WorkflowList contains a list of Workflows

func (*WorkflowList) DeepCopy

func (in *WorkflowList) DeepCopy() *WorkflowList

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

func (*WorkflowList) DeepCopyInto

func (in *WorkflowList) DeepCopyInto(out *WorkflowList)

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

func (*WorkflowList) DeepCopyObject

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

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

func (*WorkflowList) GetItems

func (l *WorkflowList) GetItems() []resource.Managed

GetItems of this WorkflowList.

type WorkflowObservation

type WorkflowObservation struct {

	// The description of the workflow.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The ID of the incident workflow.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The name of the workflow.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The steps in the workflow.
	Step []StepObservation `json:"step,omitempty" tf:"step,omitempty"`

	// A team ID. If specified then workflow edit permissions will be scoped to members of this team.
	Team *string `json:"team,omitempty" tf:"team,omitempty"`
}

func (*WorkflowObservation) DeepCopy

func (in *WorkflowObservation) DeepCopy() *WorkflowObservation

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

func (*WorkflowObservation) DeepCopyInto

func (in *WorkflowObservation) DeepCopyInto(out *WorkflowObservation)

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

type WorkflowParameters

type WorkflowParameters struct {

	// The description of the workflow.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The name of the workflow.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The steps in the workflow.
	// +kubebuilder:validation:Optional
	Step []StepParameters `json:"step,omitempty" tf:"step,omitempty"`

	// A team ID. If specified then workflow edit permissions will be scoped to members of this team.
	// +kubebuilder:validation:Optional
	Team *string `json:"team,omitempty" tf:"team,omitempty"`
}

func (*WorkflowParameters) DeepCopy

func (in *WorkflowParameters) DeepCopy() *WorkflowParameters

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

func (*WorkflowParameters) DeepCopyInto

func (in *WorkflowParameters) DeepCopyInto(out *WorkflowParameters)

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

type WorkflowSpec

type WorkflowSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     WorkflowParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// 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 WorkflowInitParameters `json:"initProvider,omitempty"`
}

WorkflowSpec defines the desired state of Workflow

func (*WorkflowSpec) DeepCopy

func (in *WorkflowSpec) DeepCopy() *WorkflowSpec

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

func (*WorkflowSpec) DeepCopyInto

func (in *WorkflowSpec) DeepCopyInto(out *WorkflowSpec)

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

type WorkflowStatus

type WorkflowStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        WorkflowObservation `json:"atProvider,omitempty"`
}

WorkflowStatus defines the observed state of Workflow.

func (*WorkflowStatus) DeepCopy

func (in *WorkflowStatus) DeepCopy() *WorkflowStatus

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

func (*WorkflowStatus) DeepCopyInto

func (in *WorkflowStatus) DeepCopyInto(out *WorkflowStatus)

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

type WorkflowTrigger

type WorkflowTrigger 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.subscribedToAllServices) || (has(self.initProvider) && has(self.initProvider.subscribedToAllServices))",message="spec.forProvider.subscribedToAllServices is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.workflow) || (has(self.initProvider) && has(self.initProvider.workflow))",message="spec.forProvider.workflow is a required parameter"
	Spec   WorkflowTriggerSpec   `json:"spec"`
	Status WorkflowTriggerStatus `json:"status,omitempty"`
}

WorkflowTrigger is the Schema for the WorkflowTriggers API. Creates and manages an incident workflow trigger in PagerDuty. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,pagerduty}

func (*WorkflowTrigger) DeepCopy

func (in *WorkflowTrigger) DeepCopy() *WorkflowTrigger

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

func (*WorkflowTrigger) DeepCopyInto

func (in *WorkflowTrigger) DeepCopyInto(out *WorkflowTrigger)

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

func (*WorkflowTrigger) DeepCopyObject

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

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

func (*WorkflowTrigger) GetCondition

func (mg *WorkflowTrigger) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this WorkflowTrigger.

func (*WorkflowTrigger) GetConnectionDetailsMapping

func (tr *WorkflowTrigger) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this WorkflowTrigger

func (*WorkflowTrigger) GetDeletionPolicy

func (mg *WorkflowTrigger) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this WorkflowTrigger.

func (*WorkflowTrigger) GetID

func (tr *WorkflowTrigger) GetID() string

GetID returns ID of underlying Terraform resource of this WorkflowTrigger

func (*WorkflowTrigger) GetInitParameters

func (tr *WorkflowTrigger) GetInitParameters() (map[string]any, error)

GetInitParameters of this WorkflowTrigger

func (*WorkflowTrigger) GetManagementPolicies

func (mg *WorkflowTrigger) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this WorkflowTrigger.

func (*WorkflowTrigger) GetMergedParameters

func (tr *WorkflowTrigger) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this WorkflowTrigger

func (*WorkflowTrigger) GetObservation

func (tr *WorkflowTrigger) GetObservation() (map[string]any, error)

GetObservation of this WorkflowTrigger

func (*WorkflowTrigger) GetParameters

func (tr *WorkflowTrigger) GetParameters() (map[string]any, error)

GetParameters of this WorkflowTrigger

func (*WorkflowTrigger) GetProviderConfigReference

func (mg *WorkflowTrigger) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this WorkflowTrigger.

func (*WorkflowTrigger) GetPublishConnectionDetailsTo

func (mg *WorkflowTrigger) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this WorkflowTrigger.

func (*WorkflowTrigger) GetTerraformResourceType

func (mg *WorkflowTrigger) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this WorkflowTrigger

func (*WorkflowTrigger) GetTerraformSchemaVersion

func (tr *WorkflowTrigger) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*WorkflowTrigger) GetWriteConnectionSecretToReference

func (mg *WorkflowTrigger) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this WorkflowTrigger.

func (*WorkflowTrigger) Hub

func (tr *WorkflowTrigger) Hub()

Hub marks this type as a conversion hub.

func (*WorkflowTrigger) LateInitialize

func (tr *WorkflowTrigger) LateInitialize(attrs []byte) (bool, error)

LateInitialize this WorkflowTrigger using its observed tfState. returns True if there are any spec changes for the resource.

func (*WorkflowTrigger) SetConditions

func (mg *WorkflowTrigger) SetConditions(c ...xpv1.Condition)

SetConditions of this WorkflowTrigger.

func (*WorkflowTrigger) SetDeletionPolicy

func (mg *WorkflowTrigger) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this WorkflowTrigger.

func (*WorkflowTrigger) SetManagementPolicies

func (mg *WorkflowTrigger) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this WorkflowTrigger.

func (*WorkflowTrigger) SetObservation

func (tr *WorkflowTrigger) SetObservation(obs map[string]any) error

SetObservation for this WorkflowTrigger

func (*WorkflowTrigger) SetParameters

func (tr *WorkflowTrigger) SetParameters(params map[string]any) error

SetParameters for this WorkflowTrigger

func (*WorkflowTrigger) SetProviderConfigReference

func (mg *WorkflowTrigger) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this WorkflowTrigger.

func (*WorkflowTrigger) SetPublishConnectionDetailsTo

func (mg *WorkflowTrigger) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this WorkflowTrigger.

func (*WorkflowTrigger) SetWriteConnectionSecretToReference

func (mg *WorkflowTrigger) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this WorkflowTrigger.

type WorkflowTriggerInitParameters

type WorkflowTriggerInitParameters struct {

	// A PCL condition string which must be satisfied for the trigger to fire.
	Condition *string `json:"condition,omitempty" tf:"condition,omitempty"`

	// Indicates who can start this Trigger. Applicable only to manual-type triggers.
	Permissions []PermissionsInitParameters `json:"permissions,omitempty" tf:"permissions,omitempty"`

	// A list of service IDs. Incidents in any of the listed services are eligible to fire this trigger.
	Services []*string `json:"services,omitempty" tf:"services,omitempty"`

	// Set to true if the trigger should be eligible for firing on all services. Only allowed to be true if the services list is not defined or empty.
	SubscribedToAllServices *bool `json:"subscribedToAllServices,omitempty" tf:"subscribed_to_all_services,omitempty"`

	// [Updating causes resource replacement] May be either manual or conditional.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// The workflow ID for the workflow to trigger.
	Workflow *string `json:"workflow,omitempty" tf:"workflow,omitempty"`
}

func (*WorkflowTriggerInitParameters) DeepCopy

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

func (*WorkflowTriggerInitParameters) DeepCopyInto

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

type WorkflowTriggerList

type WorkflowTriggerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []WorkflowTrigger `json:"items"`
}

WorkflowTriggerList contains a list of WorkflowTriggers

func (*WorkflowTriggerList) DeepCopy

func (in *WorkflowTriggerList) DeepCopy() *WorkflowTriggerList

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

func (*WorkflowTriggerList) DeepCopyInto

func (in *WorkflowTriggerList) DeepCopyInto(out *WorkflowTriggerList)

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

func (*WorkflowTriggerList) DeepCopyObject

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

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

func (*WorkflowTriggerList) GetItems

func (l *WorkflowTriggerList) GetItems() []resource.Managed

GetItems of this WorkflowTriggerList.

type WorkflowTriggerObservation

type WorkflowTriggerObservation struct {

	// A PCL condition string which must be satisfied for the trigger to fire.
	Condition *string `json:"condition,omitempty" tf:"condition,omitempty"`

	// The ID of the incident workflow.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Indicates who can start this Trigger. Applicable only to manual-type triggers.
	Permissions []PermissionsObservation `json:"permissions,omitempty" tf:"permissions,omitempty"`

	// A list of service IDs. Incidents in any of the listed services are eligible to fire this trigger.
	Services []*string `json:"services,omitempty" tf:"services,omitempty"`

	// Set to true if the trigger should be eligible for firing on all services. Only allowed to be true if the services list is not defined or empty.
	SubscribedToAllServices *bool `json:"subscribedToAllServices,omitempty" tf:"subscribed_to_all_services,omitempty"`

	// [Updating causes resource replacement] May be either manual or conditional.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// The workflow ID for the workflow to trigger.
	Workflow *string `json:"workflow,omitempty" tf:"workflow,omitempty"`
}

func (*WorkflowTriggerObservation) DeepCopy

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

func (*WorkflowTriggerObservation) DeepCopyInto

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

type WorkflowTriggerParameters

type WorkflowTriggerParameters struct {

	// A PCL condition string which must be satisfied for the trigger to fire.
	// +kubebuilder:validation:Optional
	Condition *string `json:"condition,omitempty" tf:"condition,omitempty"`

	// Indicates who can start this Trigger. Applicable only to manual-type triggers.
	// +kubebuilder:validation:Optional
	Permissions []PermissionsParameters `json:"permissions,omitempty" tf:"permissions,omitempty"`

	// A list of service IDs. Incidents in any of the listed services are eligible to fire this trigger.
	// +kubebuilder:validation:Optional
	Services []*string `json:"services,omitempty" tf:"services,omitempty"`

	// Set to true if the trigger should be eligible for firing on all services. Only allowed to be true if the services list is not defined or empty.
	// +kubebuilder:validation:Optional
	SubscribedToAllServices *bool `json:"subscribedToAllServices,omitempty" tf:"subscribed_to_all_services,omitempty"`

	// [Updating causes resource replacement] May be either manual or conditional.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// The workflow ID for the workflow to trigger.
	// +kubebuilder:validation:Optional
	Workflow *string `json:"workflow,omitempty" tf:"workflow,omitempty"`
}

func (*WorkflowTriggerParameters) DeepCopy

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

func (*WorkflowTriggerParameters) DeepCopyInto

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

type WorkflowTriggerSpec

type WorkflowTriggerSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     WorkflowTriggerParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// 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 WorkflowTriggerInitParameters `json:"initProvider,omitempty"`
}

WorkflowTriggerSpec defines the desired state of WorkflowTrigger

func (*WorkflowTriggerSpec) DeepCopy

func (in *WorkflowTriggerSpec) DeepCopy() *WorkflowTriggerSpec

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

func (*WorkflowTriggerSpec) DeepCopyInto

func (in *WorkflowTriggerSpec) DeepCopyInto(out *WorkflowTriggerSpec)

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

type WorkflowTriggerStatus

type WorkflowTriggerStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        WorkflowTriggerObservation `json:"atProvider,omitempty"`
}

WorkflowTriggerStatus defines the observed state of WorkflowTrigger.

func (*WorkflowTriggerStatus) DeepCopy

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

func (*WorkflowTriggerStatus) DeepCopyInto

func (in *WorkflowTriggerStatus) DeepCopyInto(out *WorkflowTriggerStatus)

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