v1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorResponse

type ErrorResponse struct {
	// Human readable stack trace string.
	Context string `pulumi:"context"`
	// Error message and data returned represented as a JSON string.
	Payload string `pulumi:"payload"`
	// Stack trace with detailed information of where error was generated.
	StackTrace StackTraceResponse `pulumi:"stackTrace"`
}

Error describes why the execution was abnormally terminated.

type ErrorResponseArgs

type ErrorResponseArgs struct {
	// Human readable stack trace string.
	Context pulumi.StringInput `pulumi:"context"`
	// Error message and data returned represented as a JSON string.
	Payload pulumi.StringInput `pulumi:"payload"`
	// Stack trace with detailed information of where error was generated.
	StackTrace StackTraceResponseInput `pulumi:"stackTrace"`
}

Error describes why the execution was abnormally terminated.

func (ErrorResponseArgs) ElementType

func (ErrorResponseArgs) ElementType() reflect.Type

func (ErrorResponseArgs) ToErrorResponseOutput

func (i ErrorResponseArgs) ToErrorResponseOutput() ErrorResponseOutput

func (ErrorResponseArgs) ToErrorResponseOutputWithContext

func (i ErrorResponseArgs) ToErrorResponseOutputWithContext(ctx context.Context) ErrorResponseOutput

func (ErrorResponseArgs) ToErrorResponsePtrOutput

func (i ErrorResponseArgs) ToErrorResponsePtrOutput() ErrorResponsePtrOutput

func (ErrorResponseArgs) ToErrorResponsePtrOutputWithContext

func (i ErrorResponseArgs) ToErrorResponsePtrOutputWithContext(ctx context.Context) ErrorResponsePtrOutput

type ErrorResponseInput

type ErrorResponseInput interface {
	pulumi.Input

	ToErrorResponseOutput() ErrorResponseOutput
	ToErrorResponseOutputWithContext(context.Context) ErrorResponseOutput
}

ErrorResponseInput is an input type that accepts ErrorResponseArgs and ErrorResponseOutput values. You can construct a concrete instance of `ErrorResponseInput` via:

ErrorResponseArgs{...}

type ErrorResponseOutput

type ErrorResponseOutput struct{ *pulumi.OutputState }

Error describes why the execution was abnormally terminated.

func (ErrorResponseOutput) Context

Human readable stack trace string.

func (ErrorResponseOutput) ElementType

func (ErrorResponseOutput) ElementType() reflect.Type

func (ErrorResponseOutput) Payload

Error message and data returned represented as a JSON string.

func (ErrorResponseOutput) StackTrace

Stack trace with detailed information of where error was generated.

func (ErrorResponseOutput) ToErrorResponseOutput

func (o ErrorResponseOutput) ToErrorResponseOutput() ErrorResponseOutput

func (ErrorResponseOutput) ToErrorResponseOutputWithContext

func (o ErrorResponseOutput) ToErrorResponseOutputWithContext(ctx context.Context) ErrorResponseOutput

func (ErrorResponseOutput) ToErrorResponsePtrOutput

func (o ErrorResponseOutput) ToErrorResponsePtrOutput() ErrorResponsePtrOutput

func (ErrorResponseOutput) ToErrorResponsePtrOutputWithContext

func (o ErrorResponseOutput) ToErrorResponsePtrOutputWithContext(ctx context.Context) ErrorResponsePtrOutput

type ErrorResponsePtrInput

type ErrorResponsePtrInput interface {
	pulumi.Input

	ToErrorResponsePtrOutput() ErrorResponsePtrOutput
	ToErrorResponsePtrOutputWithContext(context.Context) ErrorResponsePtrOutput
}

ErrorResponsePtrInput is an input type that accepts ErrorResponseArgs, ErrorResponsePtr and ErrorResponsePtrOutput values. You can construct a concrete instance of `ErrorResponsePtrInput` via:

        ErrorResponseArgs{...}

or:

        nil

type ErrorResponsePtrOutput

type ErrorResponsePtrOutput struct{ *pulumi.OutputState }

func (ErrorResponsePtrOutput) Context

Human readable stack trace string.

func (ErrorResponsePtrOutput) Elem

func (ErrorResponsePtrOutput) ElementType

func (ErrorResponsePtrOutput) ElementType() reflect.Type

func (ErrorResponsePtrOutput) Payload

Error message and data returned represented as a JSON string.

func (ErrorResponsePtrOutput) StackTrace

Stack trace with detailed information of where error was generated.

func (ErrorResponsePtrOutput) ToErrorResponsePtrOutput

func (o ErrorResponsePtrOutput) ToErrorResponsePtrOutput() ErrorResponsePtrOutput

func (ErrorResponsePtrOutput) ToErrorResponsePtrOutputWithContext

func (o ErrorResponsePtrOutput) ToErrorResponsePtrOutputWithContext(ctx context.Context) ErrorResponsePtrOutput

type Execution added in v0.3.0

type Execution struct {
	pulumi.CustomResourceState

	// Input parameters of the execution represented as a JSON string. The size limit is 32KB. *Note*: If you are using the REST API directly to run your workflow, you must escape any JSON string value of `argument`. Example: `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'`
	Argument pulumi.StringOutput `pulumi:"argument"`
	// Marks the end of execution, successful or not.
	EndTime pulumi.StringOutput `pulumi:"endTime"`
	// The error which caused the execution to finish prematurely. The value is only present if the execution's state is `FAILED` or `CANCELLED`.
	Error ErrorResponseOutput `pulumi:"error"`
	// The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
	Name pulumi.StringOutput `pulumi:"name"`
	// Output of the execution represented as a JSON string. The value can only be present if the execution's state is `SUCCEEDED`.
	Result pulumi.StringOutput `pulumi:"result"`
	// Marks the beginning of execution.
	StartTime pulumi.StringOutput `pulumi:"startTime"`
	// Current state of the execution.
	State pulumi.StringOutput `pulumi:"state"`
	// Revision of the workflow this execution is using.
	WorkflowRevisionId pulumi.StringOutput `pulumi:"workflowRevisionId"`
}

Creates a new execution using the latest revision of the given workflow.

func GetExecution added in v0.3.0

func GetExecution(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ExecutionState, opts ...pulumi.ResourceOption) (*Execution, error)

GetExecution gets an existing Execution resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewExecution added in v0.3.0

func NewExecution(ctx *pulumi.Context,
	name string, args *ExecutionArgs, opts ...pulumi.ResourceOption) (*Execution, error)

NewExecution registers a new resource with the given unique name, arguments, and options.

func (*Execution) ElementType added in v0.3.0

func (*Execution) ElementType() reflect.Type

func (*Execution) ToExecutionOutput added in v0.3.0

func (i *Execution) ToExecutionOutput() ExecutionOutput

func (*Execution) ToExecutionOutputWithContext added in v0.3.0

func (i *Execution) ToExecutionOutputWithContext(ctx context.Context) ExecutionOutput

type ExecutionArgs added in v0.3.0

type ExecutionArgs struct {
	// Input parameters of the execution represented as a JSON string. The size limit is 32KB. *Note*: If you are using the REST API directly to run your workflow, you must escape any JSON string value of `argument`. Example: `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'`
	Argument   pulumi.StringPtrInput
	Location   pulumi.StringInput
	Project    pulumi.StringInput
	WorkflowId pulumi.StringInput
}

The set of arguments for constructing a Execution resource.

func (ExecutionArgs) ElementType added in v0.3.0

func (ExecutionArgs) ElementType() reflect.Type

type ExecutionInput added in v0.3.0

type ExecutionInput interface {
	pulumi.Input

	ToExecutionOutput() ExecutionOutput
	ToExecutionOutputWithContext(ctx context.Context) ExecutionOutput
}

type ExecutionOutput added in v0.3.0

type ExecutionOutput struct {
	*pulumi.OutputState
}

func (ExecutionOutput) ElementType added in v0.3.0

func (ExecutionOutput) ElementType() reflect.Type

func (ExecutionOutput) ToExecutionOutput added in v0.3.0

func (o ExecutionOutput) ToExecutionOutput() ExecutionOutput

func (ExecutionOutput) ToExecutionOutputWithContext added in v0.3.0

func (o ExecutionOutput) ToExecutionOutputWithContext(ctx context.Context) ExecutionOutput

type ExecutionState added in v0.3.0

type ExecutionState struct {
	// Input parameters of the execution represented as a JSON string. The size limit is 32KB. *Note*: If you are using the REST API directly to run your workflow, you must escape any JSON string value of `argument`. Example: `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'`
	Argument pulumi.StringPtrInput
	// Marks the end of execution, successful or not.
	EndTime pulumi.StringPtrInput
	// The error which caused the execution to finish prematurely. The value is only present if the execution's state is `FAILED` or `CANCELLED`.
	Error ErrorResponsePtrInput
	// The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
	Name pulumi.StringPtrInput
	// Output of the execution represented as a JSON string. The value can only be present if the execution's state is `SUCCEEDED`.
	Result pulumi.StringPtrInput
	// Marks the beginning of execution.
	StartTime pulumi.StringPtrInput
	// Current state of the execution.
	State pulumi.StringPtrInput
	// Revision of the workflow this execution is using.
	WorkflowRevisionId pulumi.StringPtrInput
}

func (ExecutionState) ElementType added in v0.3.0

func (ExecutionState) ElementType() reflect.Type

type PositionResponse

type PositionResponse struct {
	// The source code column position (of the line) the current instruction was generated from.
	Column string `pulumi:"column"`
	// The length in bytes of text in this character group, e.g. digits of a number, string length, or AST (abstract syntax tree) node.
	Length string `pulumi:"length"`
	// The source code line number the current instruction was generated from.
	Line string `pulumi:"line"`
}

Position contains source position information about the stack trace element such as line number, column number and length of the code block in bytes.

type PositionResponseArgs

type PositionResponseArgs struct {
	// The source code column position (of the line) the current instruction was generated from.
	Column pulumi.StringInput `pulumi:"column"`
	// The length in bytes of text in this character group, e.g. digits of a number, string length, or AST (abstract syntax tree) node.
	Length pulumi.StringInput `pulumi:"length"`
	// The source code line number the current instruction was generated from.
	Line pulumi.StringInput `pulumi:"line"`
}

Position contains source position information about the stack trace element such as line number, column number and length of the code block in bytes.

func (PositionResponseArgs) ElementType

func (PositionResponseArgs) ElementType() reflect.Type

func (PositionResponseArgs) ToPositionResponseOutput

func (i PositionResponseArgs) ToPositionResponseOutput() PositionResponseOutput

func (PositionResponseArgs) ToPositionResponseOutputWithContext

func (i PositionResponseArgs) ToPositionResponseOutputWithContext(ctx context.Context) PositionResponseOutput

type PositionResponseInput

type PositionResponseInput interface {
	pulumi.Input

	ToPositionResponseOutput() PositionResponseOutput
	ToPositionResponseOutputWithContext(context.Context) PositionResponseOutput
}

PositionResponseInput is an input type that accepts PositionResponseArgs and PositionResponseOutput values. You can construct a concrete instance of `PositionResponseInput` via:

PositionResponseArgs{...}

type PositionResponseOutput

type PositionResponseOutput struct{ *pulumi.OutputState }

Position contains source position information about the stack trace element such as line number, column number and length of the code block in bytes.

func (PositionResponseOutput) Column

The source code column position (of the line) the current instruction was generated from.

func (PositionResponseOutput) ElementType

func (PositionResponseOutput) ElementType() reflect.Type

func (PositionResponseOutput) Length

The length in bytes of text in this character group, e.g. digits of a number, string length, or AST (abstract syntax tree) node.

func (PositionResponseOutput) Line

The source code line number the current instruction was generated from.

func (PositionResponseOutput) ToPositionResponseOutput

func (o PositionResponseOutput) ToPositionResponseOutput() PositionResponseOutput

func (PositionResponseOutput) ToPositionResponseOutputWithContext

func (o PositionResponseOutput) ToPositionResponseOutputWithContext(ctx context.Context) PositionResponseOutput

type StackTraceElementResponse

type StackTraceElementResponse struct {
	// The source position information of the stacktrace element.
	Position PositionResponse `pulumi:"position"`
	// The routine where the error occurred.
	Routine string `pulumi:"routine"`
	// The step the error occurred at.
	Step string `pulumi:"step"`
}

A single stack element (frame) where an error occurred.

type StackTraceElementResponseArgs

type StackTraceElementResponseArgs struct {
	// The source position information of the stacktrace element.
	Position PositionResponseInput `pulumi:"position"`
	// The routine where the error occurred.
	Routine pulumi.StringInput `pulumi:"routine"`
	// The step the error occurred at.
	Step pulumi.StringInput `pulumi:"step"`
}

A single stack element (frame) where an error occurred.

func (StackTraceElementResponseArgs) ElementType

func (StackTraceElementResponseArgs) ToStackTraceElementResponseOutput

func (i StackTraceElementResponseArgs) ToStackTraceElementResponseOutput() StackTraceElementResponseOutput

func (StackTraceElementResponseArgs) ToStackTraceElementResponseOutputWithContext

func (i StackTraceElementResponseArgs) ToStackTraceElementResponseOutputWithContext(ctx context.Context) StackTraceElementResponseOutput

type StackTraceElementResponseArray

type StackTraceElementResponseArray []StackTraceElementResponseInput

func (StackTraceElementResponseArray) ElementType

func (StackTraceElementResponseArray) ToStackTraceElementResponseArrayOutput

func (i StackTraceElementResponseArray) ToStackTraceElementResponseArrayOutput() StackTraceElementResponseArrayOutput

func (StackTraceElementResponseArray) ToStackTraceElementResponseArrayOutputWithContext

func (i StackTraceElementResponseArray) ToStackTraceElementResponseArrayOutputWithContext(ctx context.Context) StackTraceElementResponseArrayOutput

type StackTraceElementResponseArrayInput

type StackTraceElementResponseArrayInput interface {
	pulumi.Input

	ToStackTraceElementResponseArrayOutput() StackTraceElementResponseArrayOutput
	ToStackTraceElementResponseArrayOutputWithContext(context.Context) StackTraceElementResponseArrayOutput
}

StackTraceElementResponseArrayInput is an input type that accepts StackTraceElementResponseArray and StackTraceElementResponseArrayOutput values. You can construct a concrete instance of `StackTraceElementResponseArrayInput` via:

StackTraceElementResponseArray{ StackTraceElementResponseArgs{...} }

type StackTraceElementResponseArrayOutput

type StackTraceElementResponseArrayOutput struct{ *pulumi.OutputState }

func (StackTraceElementResponseArrayOutput) ElementType

func (StackTraceElementResponseArrayOutput) Index

func (StackTraceElementResponseArrayOutput) ToStackTraceElementResponseArrayOutput

func (o StackTraceElementResponseArrayOutput) ToStackTraceElementResponseArrayOutput() StackTraceElementResponseArrayOutput

func (StackTraceElementResponseArrayOutput) ToStackTraceElementResponseArrayOutputWithContext

func (o StackTraceElementResponseArrayOutput) ToStackTraceElementResponseArrayOutputWithContext(ctx context.Context) StackTraceElementResponseArrayOutput

type StackTraceElementResponseInput

type StackTraceElementResponseInput interface {
	pulumi.Input

	ToStackTraceElementResponseOutput() StackTraceElementResponseOutput
	ToStackTraceElementResponseOutputWithContext(context.Context) StackTraceElementResponseOutput
}

StackTraceElementResponseInput is an input type that accepts StackTraceElementResponseArgs and StackTraceElementResponseOutput values. You can construct a concrete instance of `StackTraceElementResponseInput` via:

StackTraceElementResponseArgs{...}

type StackTraceElementResponseOutput

type StackTraceElementResponseOutput struct{ *pulumi.OutputState }

A single stack element (frame) where an error occurred.

func (StackTraceElementResponseOutput) ElementType

func (StackTraceElementResponseOutput) Position

The source position information of the stacktrace element.

func (StackTraceElementResponseOutput) Routine

The routine where the error occurred.

func (StackTraceElementResponseOutput) Step

The step the error occurred at.

func (StackTraceElementResponseOutput) ToStackTraceElementResponseOutput

func (o StackTraceElementResponseOutput) ToStackTraceElementResponseOutput() StackTraceElementResponseOutput

func (StackTraceElementResponseOutput) ToStackTraceElementResponseOutputWithContext

func (o StackTraceElementResponseOutput) ToStackTraceElementResponseOutputWithContext(ctx context.Context) StackTraceElementResponseOutput

type StackTraceResponse

type StackTraceResponse struct {
	// An array of Stack elements.
	Elements []StackTraceElementResponse `pulumi:"elements"`
}

A collection of stack elements (frames) where an error occurred.

type StackTraceResponseArgs

type StackTraceResponseArgs struct {
	// An array of Stack elements.
	Elements StackTraceElementResponseArrayInput `pulumi:"elements"`
}

A collection of stack elements (frames) where an error occurred.

func (StackTraceResponseArgs) ElementType

func (StackTraceResponseArgs) ElementType() reflect.Type

func (StackTraceResponseArgs) ToStackTraceResponseOutput

func (i StackTraceResponseArgs) ToStackTraceResponseOutput() StackTraceResponseOutput

func (StackTraceResponseArgs) ToStackTraceResponseOutputWithContext

func (i StackTraceResponseArgs) ToStackTraceResponseOutputWithContext(ctx context.Context) StackTraceResponseOutput

func (StackTraceResponseArgs) ToStackTraceResponsePtrOutput

func (i StackTraceResponseArgs) ToStackTraceResponsePtrOutput() StackTraceResponsePtrOutput

func (StackTraceResponseArgs) ToStackTraceResponsePtrOutputWithContext

func (i StackTraceResponseArgs) ToStackTraceResponsePtrOutputWithContext(ctx context.Context) StackTraceResponsePtrOutput

type StackTraceResponseInput

type StackTraceResponseInput interface {
	pulumi.Input

	ToStackTraceResponseOutput() StackTraceResponseOutput
	ToStackTraceResponseOutputWithContext(context.Context) StackTraceResponseOutput
}

StackTraceResponseInput is an input type that accepts StackTraceResponseArgs and StackTraceResponseOutput values. You can construct a concrete instance of `StackTraceResponseInput` via:

StackTraceResponseArgs{...}

type StackTraceResponseOutput

type StackTraceResponseOutput struct{ *pulumi.OutputState }

A collection of stack elements (frames) where an error occurred.

func (StackTraceResponseOutput) ElementType

func (StackTraceResponseOutput) ElementType() reflect.Type

func (StackTraceResponseOutput) Elements

An array of Stack elements.

func (StackTraceResponseOutput) ToStackTraceResponseOutput

func (o StackTraceResponseOutput) ToStackTraceResponseOutput() StackTraceResponseOutput

func (StackTraceResponseOutput) ToStackTraceResponseOutputWithContext

func (o StackTraceResponseOutput) ToStackTraceResponseOutputWithContext(ctx context.Context) StackTraceResponseOutput

func (StackTraceResponseOutput) ToStackTraceResponsePtrOutput

func (o StackTraceResponseOutput) ToStackTraceResponsePtrOutput() StackTraceResponsePtrOutput

func (StackTraceResponseOutput) ToStackTraceResponsePtrOutputWithContext

func (o StackTraceResponseOutput) ToStackTraceResponsePtrOutputWithContext(ctx context.Context) StackTraceResponsePtrOutput

type StackTraceResponsePtrInput

type StackTraceResponsePtrInput interface {
	pulumi.Input

	ToStackTraceResponsePtrOutput() StackTraceResponsePtrOutput
	ToStackTraceResponsePtrOutputWithContext(context.Context) StackTraceResponsePtrOutput
}

StackTraceResponsePtrInput is an input type that accepts StackTraceResponseArgs, StackTraceResponsePtr and StackTraceResponsePtrOutput values. You can construct a concrete instance of `StackTraceResponsePtrInput` via:

        StackTraceResponseArgs{...}

or:

        nil

type StackTraceResponsePtrOutput

type StackTraceResponsePtrOutput struct{ *pulumi.OutputState }

func (StackTraceResponsePtrOutput) Elem

func (StackTraceResponsePtrOutput) ElementType

func (StackTraceResponsePtrOutput) Elements

An array of Stack elements.

func (StackTraceResponsePtrOutput) ToStackTraceResponsePtrOutput

func (o StackTraceResponsePtrOutput) ToStackTraceResponsePtrOutput() StackTraceResponsePtrOutput

func (StackTraceResponsePtrOutput) ToStackTraceResponsePtrOutputWithContext

func (o StackTraceResponsePtrOutput) ToStackTraceResponsePtrOutputWithContext(ctx context.Context) StackTraceResponsePtrOutput

Jump to

Keyboard shortcuts

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