taskresults

package
v2.0.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2026 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateItemOutcomesGetResponseFromDiscriminatorValue

CreateItemOutcomesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemOutcomesGetResponse_metaFromDiscriminatorValue

CreateItemOutcomesGetResponse_metaFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

Types

type ItemBodyRequestBuilder

ItemBodyRequestBuilder builds and executes requests for operations under \task-results\{task_result_id}\body

func NewItemBodyRequestBuilder

NewItemBodyRequestBuilder instantiates a new ItemBodyRequestBuilder and sets the default values.

func NewItemBodyRequestBuilderInternal

func NewItemBodyRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemBodyRequestBuilder

NewItemBodyRequestBuilderInternal instantiates a new ItemBodyRequestBuilder and sets the default values.

func (*ItemBodyRequestBuilder) Get

Get download the body content of a native task result. This endpoint redirects to a pre-signed URL for downloading the task result data stored in object storage. returns a []byte when successful returns a Errors error when the service returns a 404 status code returns a Errors error when the service returns a 4XX or 5XX status code

func (*ItemBodyRequestBuilder) ToGetRequestInformation

ToGetRequestInformation download the body content of a native task result. This endpoint redirects to a pre-signed URL for downloading the task result data stored in object storage. returns a *RequestInformation when successful

func (*ItemBodyRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemBodyRequestBuilder when successful

type ItemCallbackRequestBuilder

ItemCallbackRequestBuilder builds and executes requests for operations under \task-results\{task_result_id}\callback

func NewItemCallbackRequestBuilder

NewItemCallbackRequestBuilder instantiates a new ItemCallbackRequestBuilder and sets the default values.

func NewItemCallbackRequestBuilderInternal

func NewItemCallbackRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCallbackRequestBuilder

NewItemCallbackRequestBuilderInternal instantiates a new ItemCallbackRequestBuilder and sets the default values.

func (*ItemCallbackRequestBuilder) Patch

Patch update a run task result with status, message, and optional outcome data. This endpoint is used by run task integrations to report execution results back to HCP Terraform. Requires a url_code query parameter for authentication. returns a TaskResultsEnvelopeable when successful returns a Errors error when the service returns a 409 status code returns a Errors error when the service returns a 422 status code returns a Errors error when the service returns a 4XX or 5XX status code

func (*ItemCallbackRequestBuilder) ToPatchRequestInformation

ToPatchRequestInformation update a run task result with status, message, and optional outcome data. This endpoint is used by run task integrations to report execution results back to HCP Terraform. Requires a url_code query parameter for authentication. returns a *RequestInformation when successful

func (*ItemCallbackRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemCallbackRequestBuilder when successful

type ItemCallbackRequestBuilderPatchQueryParameters

type ItemCallbackRequestBuilderPatchQueryParameters struct {
	// The callback authentication token issued to the run task integration. Required for run task integrations; not required for token-authenticated requests.
	Url_code *string "uriparametername:\"url_code\""
}

ItemCallbackRequestBuilderPatchQueryParameters update a run task result with status, message, and optional outcome data. This endpoint is used by run task integrations to report execution results back to HCP Terraform. Requires a url_code query parameter for authentication.

type ItemOutcomesGetResponse

type ItemOutcomesGetResponse struct {
	// contains filtered or unexported fields
}

func NewItemOutcomesGetResponse

func NewItemOutcomesGetResponse() *ItemOutcomesGetResponse

NewItemOutcomesGetResponse instantiates a new ItemOutcomesGetResponse and sets the default values.

func (*ItemOutcomesGetResponse) GetAdditionalData

func (m *ItemOutcomesGetResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemOutcomesGetResponse) GetData

GetData gets the data property value. The data property returns a []TaskResultOutcomesable when successful

func (*ItemOutcomesGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

GetLinks gets the links property value. The links property returns a SelfWithPaginationable when successful

func (*ItemOutcomesGetResponse) GetMeta

GetMeta gets the meta property value. The meta property returns a ItemOutcomesGetResponse_metaable when successful

func (*ItemOutcomesGetResponse) Serialize

Serialize serializes information the current object

func (*ItemOutcomesGetResponse) SetAdditionalData

func (m *ItemOutcomesGetResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemOutcomesGetResponse) SetData

SetData sets the data property value. The data property

SetLinks sets the links property value. The links property

func (*ItemOutcomesGetResponse) SetMeta

SetMeta sets the meta property value. The meta property

type ItemOutcomesGetResponse_meta

type ItemOutcomesGetResponse_meta struct {
	// contains filtered or unexported fields
}

func NewItemOutcomesGetResponse_meta

func NewItemOutcomesGetResponse_meta() *ItemOutcomesGetResponse_meta

NewItemOutcomesGetResponse_meta instantiates a new ItemOutcomesGetResponse_meta and sets the default values.

func (*ItemOutcomesGetResponse_meta) GetAdditionalData

func (m *ItemOutcomesGetResponse_meta) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemOutcomesGetResponse_meta) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemOutcomesGetResponse_meta) GetPagination

GetPagination gets the pagination property value. The pagination property returns a Paginationable when successful

func (*ItemOutcomesGetResponse_meta) Serialize

Serialize serializes information the current object

func (*ItemOutcomesGetResponse_meta) SetAdditionalData

func (m *ItemOutcomesGetResponse_meta) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemOutcomesGetResponse_meta) SetPagination

SetPagination sets the pagination property value. The pagination property

type ItemOutcomesRequestBuilder

ItemOutcomesRequestBuilder builds and executes requests for operations under \task-results\{task_result_id}\outcomes

func NewItemOutcomesRequestBuilder

NewItemOutcomesRequestBuilder instantiates a new ItemOutcomesRequestBuilder and sets the default values.

func NewItemOutcomesRequestBuilderInternal

func NewItemOutcomesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOutcomesRequestBuilder

NewItemOutcomesRequestBuilderInternal instantiates a new ItemOutcomesRequestBuilder and sets the default values.

func (*ItemOutcomesRequestBuilder) Get

Get list the run task result outcomes associated with a run task result. returns a ItemOutcomesGetResponseable when successful returns a Errors error when the service returns a 4XX or 5XX status code

func (*ItemOutcomesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list the run task result outcomes associated with a run task result. returns a *RequestInformation when successful

func (*ItemOutcomesRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemOutcomesRequestBuilder when successful

type ItemOutcomesRequestBuilderGetQueryParameters

type ItemOutcomesRequestBuilderGetQueryParameters struct {
	// The page number to retrieve.
	Pagenumber *int32 "uriparametername:\"page%5Bnumber%5D\""
	// The number of items to retrieve per page. Defaults to 20.
	Pagesize *int32 "uriparametername:\"page%5Bsize%5D\""
}

ItemOutcomesRequestBuilderGetQueryParameters list the run task result outcomes associated with a run task result.

type TaskResultsRequestBuilder

TaskResultsRequestBuilder builds and executes requests for operations under \task-results

func NewTaskResultsRequestBuilder

NewTaskResultsRequestBuilder instantiates a new TaskResultsRequestBuilder and sets the default values.

func NewTaskResultsRequestBuilderInternal

func NewTaskResultsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *TaskResultsRequestBuilder

NewTaskResultsRequestBuilderInternal instantiates a new TaskResultsRequestBuilder and sets the default values.

func (*TaskResultsRequestBuilder) ByTask_result_id

func (m *TaskResultsRequestBuilder) ByTask_result_id(task_result_id string) *WithTask_result_ItemRequestBuilder

ByTask_result_id gets an item from the github.com/hashicorp/go-tfe/v2/api.taskResults.item collection returns a *WithTask_result_ItemRequestBuilder when successful

type WithTask_result_ItemRequestBuilder

WithTask_result_ItemRequestBuilder builds and executes requests for operations under \task-results\{task_result_id}

func NewWithTask_result_ItemRequestBuilder

NewWithTask_result_ItemRequestBuilder instantiates a new WithTask_result_ItemRequestBuilder and sets the default values.

func NewWithTask_result_ItemRequestBuilderInternal

func NewWithTask_result_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithTask_result_ItemRequestBuilder

NewWithTask_result_ItemRequestBuilderInternal instantiates a new WithTask_result_ItemRequestBuilder and sets the default values.

func (*WithTask_result_ItemRequestBuilder) Body

Body the body property returns a *ItemBodyRequestBuilder when successful

func (*WithTask_result_ItemRequestBuilder) Callback

Callback the callback property returns a *ItemCallbackRequestBuilder when successful

func (*WithTask_result_ItemRequestBuilder) Get

Get get details about a specific run task result. returns a TaskResultsEnvelopeable when successful returns a Errors error when the service returns a 4XX or 5XX status code

func (*WithTask_result_ItemRequestBuilder) Outcomes

Outcomes the outcomes property returns a *ItemOutcomesRequestBuilder when successful

func (*WithTask_result_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation get details about a specific run task result. returns a *RequestInformation when successful

func (*WithTask_result_ItemRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *WithTask_result_ItemRequestBuilder when successful

Jump to

Keyboard shortcuts

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