agentpools

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateItemAgentsGetResponseFromDiscriminatorValue

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

func CreateItemAgentsGetResponse_metaFromDiscriminatorValue

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

func CreateItemAuthenticationTokensGetResponseFromDiscriminatorValue

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

func CreateItemAuthenticationTokensGetResponse_metaFromDiscriminatorValue

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

Types

type AgentPoolsRequestBuilder

AgentPoolsRequestBuilder builds and executes requests for operations under \agent-pools

func NewAgentPoolsRequestBuilder

NewAgentPoolsRequestBuilder instantiates a new AgentPoolsRequestBuilder and sets the default values.

func NewAgentPoolsRequestBuilderInternal

func NewAgentPoolsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *AgentPoolsRequestBuilder

NewAgentPoolsRequestBuilderInternal instantiates a new AgentPoolsRequestBuilder and sets the default values.

func (*AgentPoolsRequestBuilder) ByAgent_pool_id

func (m *AgentPoolsRequestBuilder) ByAgent_pool_id(agent_pool_id string) *WithAgent_pool_ItemRequestBuilder

ByAgent_pool_id gets an item from the github.com/hashicorp/go-tfe/v2/api.agentPools.item collection returns a *WithAgent_pool_ItemRequestBuilder when successful

type ItemAgentsGetResponse

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

func NewItemAgentsGetResponse

func NewItemAgentsGetResponse() *ItemAgentsGetResponse

NewItemAgentsGetResponse instantiates a new ItemAgentsGetResponse and sets the default values.

func (*ItemAgentsGetResponse) GetAdditionalData

func (m *ItemAgentsGetResponse) 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 (*ItemAgentsGetResponse) GetData

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

func (*ItemAgentsGetResponse) 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 (*ItemAgentsGetResponse) GetMeta

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

func (*ItemAgentsGetResponse) Serialize

Serialize serializes information the current object

func (*ItemAgentsGetResponse) SetAdditionalData

func (m *ItemAgentsGetResponse) 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 (*ItemAgentsGetResponse) SetData

SetData sets the data property value. The data property

SetLinks sets the links property value. The links property

func (*ItemAgentsGetResponse) SetMeta

SetMeta sets the meta property value. The meta property

type ItemAgentsGetResponse_meta

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

func NewItemAgentsGetResponse_meta

func NewItemAgentsGetResponse_meta() *ItemAgentsGetResponse_meta

NewItemAgentsGetResponse_meta instantiates a new ItemAgentsGetResponse_meta and sets the default values.

func (*ItemAgentsGetResponse_meta) GetAdditionalData

func (m *ItemAgentsGetResponse_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 (*ItemAgentsGetResponse_meta) GetFieldDeserializers

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

func (*ItemAgentsGetResponse_meta) GetPagination

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

func (*ItemAgentsGetResponse_meta) Serialize

Serialize serializes information the current object

func (*ItemAgentsGetResponse_meta) SetAdditionalData

func (m *ItemAgentsGetResponse_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 (*ItemAgentsGetResponse_meta) SetPagination

SetPagination sets the pagination property value. The pagination property

type ItemAgentsRequestBuilder

ItemAgentsRequestBuilder builds and executes requests for operations under \agent-pools\{agent_pool_id}\agents

func NewItemAgentsRequestBuilder

NewItemAgentsRequestBuilder instantiates a new ItemAgentsRequestBuilder and sets the default values.

func NewItemAgentsRequestBuilderInternal

func NewItemAgentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemAgentsRequestBuilder

NewItemAgentsRequestBuilderInternal instantiates a new ItemAgentsRequestBuilder and sets the default values.

func (*ItemAgentsRequestBuilder) Get

Get list all agents in the specified agent pool. returns a ItemAgentsGetResponseable when successful returns a Errors error when the service returns a 4XX or 5XX status code

func (*ItemAgentsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list all agents in the specified agent pool. returns a *RequestInformation when successful

func (*ItemAgentsRequestBuilder) 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 *ItemAgentsRequestBuilder when successful

type ItemAgentsRequestBuilderGetQueryParameters

type ItemAgentsRequestBuilderGetQueryParameters struct {
	// Accepts a date in ISO8601 format (ex. `2020-08-11T10:41:23Z`).
	FilterlastPingSince *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time "uriparametername:\"filter%5Blast%2Dping%2Dsince%5D\""
	// 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\""
	// Allows sorting the returned agents. Valid value is "created-at". Prepending a hyphen to the sort parameter will reverse the order (e.g. "-name").
	Sort *string "uriparametername:\"sort\""
}

ItemAgentsRequestBuilderGetQueryParameters list all agents in the specified agent pool.

type ItemAuthenticationTokensGetResponse

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

func NewItemAuthenticationTokensGetResponse

func NewItemAuthenticationTokensGetResponse() *ItemAuthenticationTokensGetResponse

NewItemAuthenticationTokensGetResponse instantiates a new ItemAuthenticationTokensGetResponse and sets the default values.

func (*ItemAuthenticationTokensGetResponse) GetAdditionalData

func (m *ItemAuthenticationTokensGetResponse) 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 (*ItemAuthenticationTokensGetResponse) GetData

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

func (*ItemAuthenticationTokensGetResponse) 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 (*ItemAuthenticationTokensGetResponse) GetMeta

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

func (*ItemAuthenticationTokensGetResponse) Serialize

Serialize serializes information the current object

func (*ItemAuthenticationTokensGetResponse) SetAdditionalData

func (m *ItemAuthenticationTokensGetResponse) 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 (*ItemAuthenticationTokensGetResponse) SetData

SetData sets the data property value. The data property

SetLinks sets the links property value. The links property

func (*ItemAuthenticationTokensGetResponse) SetMeta

SetMeta sets the meta property value. The meta property

type ItemAuthenticationTokensGetResponse_meta

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

func NewItemAuthenticationTokensGetResponse_meta

func NewItemAuthenticationTokensGetResponse_meta() *ItemAuthenticationTokensGetResponse_meta

NewItemAuthenticationTokensGetResponse_meta instantiates a new ItemAuthenticationTokensGetResponse_meta and sets the default values.

func (*ItemAuthenticationTokensGetResponse_meta) GetAdditionalData

func (m *ItemAuthenticationTokensGetResponse_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 (*ItemAuthenticationTokensGetResponse_meta) GetFieldDeserializers

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

func (*ItemAuthenticationTokensGetResponse_meta) GetPagination

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

func (*ItemAuthenticationTokensGetResponse_meta) Serialize

Serialize serializes information the current object

func (*ItemAuthenticationTokensGetResponse_meta) SetAdditionalData

func (m *ItemAuthenticationTokensGetResponse_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 (*ItemAuthenticationTokensGetResponse_meta) SetPagination

SetPagination sets the pagination property value. The pagination property

type ItemAuthenticationTokensRequestBuilder

type ItemAuthenticationTokensRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemAuthenticationTokensRequestBuilder builds and executes requests for operations under \agent-pools\{agent_pool_id}\authentication-tokens

func NewItemAuthenticationTokensRequestBuilder

NewItemAuthenticationTokensRequestBuilder instantiates a new ItemAuthenticationTokensRequestBuilder and sets the default values.

func NewItemAuthenticationTokensRequestBuilderInternal

func NewItemAuthenticationTokensRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemAuthenticationTokensRequestBuilder

NewItemAuthenticationTokensRequestBuilderInternal instantiates a new ItemAuthenticationTokensRequestBuilder and sets the default values.

func (*ItemAuthenticationTokensRequestBuilder) Get

Get list all tokens for the specified agent pool. returns a ItemAuthenticationTokensGetResponseable when successful returns a Errors error when the service returns a 4XX or 5XX status code

func (*ItemAuthenticationTokensRequestBuilder) Post

Post create an agent token returns a AuthenticationTokensEnvelopeable when successful returns a Errors error when the service returns a 404 status code returns a Errors error when the service returns a 422 status code returns a Errors error when the service returns a 500 status code returns a Errors error when the service returns a 4XX or 5XX status code

func (*ItemAuthenticationTokensRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list all tokens for the specified agent pool. returns a *RequestInformation when successful

func (*ItemAuthenticationTokensRequestBuilder) 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 *ItemAuthenticationTokensRequestBuilder when successful

type ItemAuthenticationTokensRequestBuilderGetQueryParameters

type ItemAuthenticationTokensRequestBuilderGetQueryParameters 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\""
}

ItemAuthenticationTokensRequestBuilderGetQueryParameters list all tokens for the specified agent pool.

type WithAgent_pool_ItemRequestBuilder

WithAgent_pool_ItemRequestBuilder builds and executes requests for operations under \agent-pools\{agent_pool_id}

func NewWithAgent_pool_ItemRequestBuilder

NewWithAgent_pool_ItemRequestBuilder instantiates a new WithAgent_pool_ItemRequestBuilder and sets the default values.

func NewWithAgent_pool_ItemRequestBuilderInternal

func NewWithAgent_pool_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithAgent_pool_ItemRequestBuilder

NewWithAgent_pool_ItemRequestBuilderInternal instantiates a new WithAgent_pool_ItemRequestBuilder and sets the default values.

func (*WithAgent_pool_ItemRequestBuilder) Agents

Agents the agents property returns a *ItemAgentsRequestBuilder when successful

func (*WithAgent_pool_ItemRequestBuilder) AuthenticationTokens

AuthenticationTokens the authenticationTokens property returns a *ItemAuthenticationTokensRequestBuilder when successful

func (*WithAgent_pool_ItemRequestBuilder) Delete

Delete delete an agent pool returns a Errors error when the service returns a 4XX or 5XX status code

func (*WithAgent_pool_ItemRequestBuilder) Get

Get get details about an agent pool returns a AgentPoolsEnvelopeable when successful returns a Errors error when the service returns a 4XX or 5XX status code

func (*WithAgent_pool_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation get details about an agent pool returns a *RequestInformation when successful

func (*WithAgent_pool_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 *WithAgent_pool_ItemRequestBuilder when successful

Jump to

Keyboard shortcuts

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