Documentation
¶
Index ¶
- Variables
- type InstanceID
- type OrchestrationMetadata
- func (o OrchestrationMetadata) CreatedAt() time.Time
- func (o OrchestrationMetadata) FailureDetails() (*protos.TaskFailureDetails, error)
- func (o OrchestrationMetadata) InstanceID() InstanceID
- func (o OrchestrationMetadata) IsComplete() bool
- func (o OrchestrationMetadata) IsRunning() bool
- func (o OrchestrationMetadata) LastUpdatedAt() time.Time
- func (o OrchestrationMetadata) Name() string
- func (o OrchestrationMetadata) RuntimeStatus() protos.OrchestrationStatus
- func (o OrchestrationMetadata) SerializedCustomStatus() string
- func (o OrchestrationMetadata) SerializedInput() string
- func (o OrchestrationMetadata) SerializedOutput() (string, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type InstanceID ¶
type InstanceID string
InstanceID is a unique identifier for an orchestration instance.
type OrchestrationMetadata ¶
type OrchestrationMetadata struct {
// contains filtered or unexported fields
}
func NewOrchestrationMetadata ¶
func NewOrchestrationMetadata( iid InstanceID, name string, status protos.OrchestrationStatus, createdAt time.Time, lastUpdatedAt time.Time, serializedInput string, serializedOutput string, serializedCustomStatus string, failureDetails *protos.TaskFailureDetails) OrchestrationMetadata
func (OrchestrationMetadata) CreatedAt ¶
func (o OrchestrationMetadata) CreatedAt() time.Time
func (OrchestrationMetadata) FailureDetails ¶
func (o OrchestrationMetadata) FailureDetails() (*protos.TaskFailureDetails, error)
func (OrchestrationMetadata) InstanceID ¶
func (o OrchestrationMetadata) InstanceID() InstanceID
func (OrchestrationMetadata) IsComplete ¶
func (o OrchestrationMetadata) IsComplete() bool
func (OrchestrationMetadata) IsRunning ¶
func (o OrchestrationMetadata) IsRunning() bool
func (OrchestrationMetadata) LastUpdatedAt ¶
func (o OrchestrationMetadata) LastUpdatedAt() time.Time
func (OrchestrationMetadata) Name ¶
func (o OrchestrationMetadata) Name() string
func (OrchestrationMetadata) RuntimeStatus ¶
func (o OrchestrationMetadata) RuntimeStatus() protos.OrchestrationStatus
func (OrchestrationMetadata) SerializedCustomStatus ¶
func (o OrchestrationMetadata) SerializedCustomStatus() string
func (OrchestrationMetadata) SerializedInput ¶
func (o OrchestrationMetadata) SerializedInput() string
func (OrchestrationMetadata) SerializedOutput ¶
func (o OrchestrationMetadata) SerializedOutput() (string, error)
Click to show internal directories.
Click to hide internal directories.