v1alpha1

package
v0.0.0-...-ee2b259 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 contains the v1alpha1 group Sample resources of the TempoPlane provider. +kubebuilder:object:generate=true +groupName=orchestration.tempoplane.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	Group   = "orchestration.tempoplane.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	EntityWorkflowKind             = reflect.TypeOf(EntityWorkflow{}).Name()
	EntityWorkflowGroupKind        = schema.GroupKind{Group: Group, Kind: EntityWorkflowKind}.String()
	EntityWorkflowKindAPIVersion   = EntityWorkflowKind + "." + SchemeGroupVersion.String()
	EntityWorkflowGroupVersionKind = SchemeGroupVersion.WithKind(EntityWorkflowKind)
)

EntityWorkflow type metadata.

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)

Functions

This section is empty.

Types

type EntityInput

type EntityInput struct {
	// EntityID is the unique identifier for the entity in the workflow.
	EntityID string `json:"entityID"`

	// Kind specifies the kind of entity (e.g., MyType, ResourceType).
	Kind string `json:"kind"`

	// APIVersion specifies the API version of the entity.
	APIVersion string `json:"apiVersion"`

	// Data contains the main payload for the entity.
	Data string `json:"data"`

	// RequesterID identifies the entity's requester.
	RequesterID string `json:"requesterID"`

	// Timestamp is the Unix timestamp of when the request was made.
	Timestamp int64 `json:"timestamp"`

	// CorrelationID is used for tracking and correlating requests across services.
	CorrelationID string `json:"correlationID"`
}

EntityInput represents the input data required for CRUD operations on a MyType.

func (*EntityInput) DeepCopy

func (in *EntityInput) DeepCopy() *EntityInput

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

func (*EntityInput) DeepCopyInto

func (in *EntityInput) DeepCopyInto(out *EntityInput)

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

type EntityWorkflow

type EntityWorkflow struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   EntityWorkflowSpec   `json:"spec"`
	Status EntityWorkflowStatus `json:"status,omitempty"`
}

A EntityWorkflow is an example API type. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="LAST-RUN-ID",type="string",JSONPath=".status.atProvider.runID" +kubebuilder:printcolumn:name="TASK-QUEUE",type="string",JSONPath=".status.atProvider.taskQueue" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tempoplane}

func (*EntityWorkflow) DeepCopy

func (in *EntityWorkflow) DeepCopy() *EntityWorkflow

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

func (*EntityWorkflow) DeepCopyInto

func (in *EntityWorkflow) DeepCopyInto(out *EntityWorkflow)

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

func (*EntityWorkflow) DeepCopyObject

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

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

func (*EntityWorkflow) GetCondition

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

GetCondition of this EntityWorkflow.

func (*EntityWorkflow) GetDeletionPolicy

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

GetDeletionPolicy of this EntityWorkflow.

func (*EntityWorkflow) GetManagementPolicies

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

GetManagementPolicies of this EntityWorkflow.

func (*EntityWorkflow) GetProviderConfigReference

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

GetProviderConfigReference of this EntityWorkflow.

func (*EntityWorkflow) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this EntityWorkflow.

func (*EntityWorkflow) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this EntityWorkflow.

func (*EntityWorkflow) SetConditions

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

SetConditions of this EntityWorkflow.

func (*EntityWorkflow) SetDeletionPolicy

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

SetDeletionPolicy of this EntityWorkflow.

func (*EntityWorkflow) SetManagementPolicies

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

SetManagementPolicies of this EntityWorkflow.

func (*EntityWorkflow) SetProviderConfigReference

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

SetProviderConfigReference of this EntityWorkflow.

func (*EntityWorkflow) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this EntityWorkflow.

func (*EntityWorkflow) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this EntityWorkflow.

type EntityWorkflowList

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

EntityWorkflowList contains a list of EntityWorkflow

func (*EntityWorkflowList) DeepCopy

func (in *EntityWorkflowList) DeepCopy() *EntityWorkflowList

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

func (*EntityWorkflowList) DeepCopyInto

func (in *EntityWorkflowList) DeepCopyInto(out *EntityWorkflowList)

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

func (*EntityWorkflowList) DeepCopyObject

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

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

func (*EntityWorkflowList) GetItems

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

GetItems of this EntityWorkflowList.

type EntityWorkflowObservation

type EntityWorkflowObservation struct {
	// WorkflowID is the unique identifier of the Temporal workflow.
	WorkflowID string `json:"workflowID,omitempty"`

	// RunID is the unique identifier for the last known run of the Temporal workflow.
	RunID string `json:"runID,omitempty"`

	// TaskQueue is the name of the task queue in temporal
	TaskQueue string `json:"taskQueue,omitempty"`

	// Status indicates the current state of the workflow, such as running, completed, or failed.
	Status string `json:"status,omitempty"`

	// Message provides additional details or error messages related to the workflow status.
	Message string `json:"message,omitempty"`

	// LastUpdated is the timestamp of the last status update.
	LastUpdated int64 `json:"lastUpdated,omitempty"`
}

EntityWorkflowObservation represents the observed state of an EntityWorkflow.

func (*EntityWorkflowObservation) DeepCopy

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

func (*EntityWorkflowObservation) DeepCopyInto

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

type EntityWorkflowParameters

type EntityWorkflowParameters struct {
	// EntityInput captures the input data required for CRUD operations.
	EntityInput EntityInput `json:"entityInput"`
}

EntityWorkflowParameters defines the input parameters required for the workflow operations on EntityWorkflow.

func (*EntityWorkflowParameters) DeepCopy

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

func (*EntityWorkflowParameters) DeepCopyInto

func (in *EntityWorkflowParameters) DeepCopyInto(out *EntityWorkflowParameters)

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

type EntityWorkflowSpec

type EntityWorkflowSpec struct {
	// ResourceSpec includes standard resource configuration like provider configuration references.
	xpv1.ResourceSpec `json:",inline"`

	// ForProvider contains the provider-specific input parameters for the workflow.
	ForProvider EntityWorkflowParameters `json:"forProvider"`
}

EntityWorkflowSpec defines the desired state of an EntityWorkflow, including the EntityInput for CRUD operations.

func (*EntityWorkflowSpec) DeepCopy

func (in *EntityWorkflowSpec) DeepCopy() *EntityWorkflowSpec

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

func (*EntityWorkflowSpec) DeepCopyInto

func (in *EntityWorkflowSpec) DeepCopyInto(out *EntityWorkflowSpec)

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

type EntityWorkflowStatus

type EntityWorkflowStatus struct {
	// ResourceStatus includes common fields for tracking the status of external resources.
	xpv1.ResourceStatus `json:",inline"`

	// WorkflowID `json:",inline"`
	WorkflowID string `json:"workflowID,omitempty"`

	// AtProvider contains the provider-specific observed state, such as workflow IDs and status.
	AtProvider EntityWorkflowObservation `json:"atProvider,omitempty"`
}

EntityWorkflowStatus represents the observed state of an EntityWorkflow, including details about the Temporal workflow execution.

func (*EntityWorkflowStatus) DeepCopy

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

func (*EntityWorkflowStatus) DeepCopyInto

func (in *EntityWorkflowStatus) DeepCopyInto(out *EntityWorkflowStatus)

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