api

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package api provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.1 DO NOT EDIT.

Index

Constants

View Source
const (
	ApiKeyAuthScopes = "ApiKeyAuth.Scopes"
	BearerAuthScopes = "BearerAuth.Scopes"
)

Variables

This section is empty.

Functions

func NewCreateDeploymentVersionRequest

func NewCreateDeploymentVersionRequest(server string, workspaceId string, deploymentId string, body CreateDeploymentVersionJSONRequestBody) (*http.Request, error)

NewCreateDeploymentVersionRequest calls the generic CreateDeploymentVersion builder with application/json body

func NewCreateDeploymentVersionRequestWithBody

func NewCreateDeploymentVersionRequestWithBody(server string, workspaceId string, deploymentId string, contentType string, body io.Reader) (*http.Request, error)

NewCreateDeploymentVersionRequestWithBody generates requests for CreateDeploymentVersion with any type of body

func NewCreateRelationshipRuleRequest

func NewCreateRelationshipRuleRequest(server string, workspaceId string, body CreateRelationshipRuleJSONRequestBody) (*http.Request, error)

NewCreateRelationshipRuleRequest calls the generic CreateRelationshipRule builder with application/json body

func NewCreateRelationshipRuleRequestWithBody

func NewCreateRelationshipRuleRequestWithBody(server string, workspaceId string, contentType string, body io.Reader) (*http.Request, error)

NewCreateRelationshipRuleRequestWithBody generates requests for CreateRelationshipRule with any type of body

func NewCreateWorkflowTemplateFromYamlRequest

func NewCreateWorkflowTemplateFromYamlRequest(server string, workspaceId string, body CreateWorkflowTemplateFromYamlJSONRequestBody) (*http.Request, error)

NewCreateWorkflowTemplateFromYamlRequest calls the generic CreateWorkflowTemplateFromYaml builder with application/json body

func NewCreateWorkflowTemplateFromYamlRequestWithBody

func NewCreateWorkflowTemplateFromYamlRequestWithBody(server string, workspaceId string, contentType string, body io.Reader) (*http.Request, error)

NewCreateWorkflowTemplateFromYamlRequestWithBody generates requests for CreateWorkflowTemplateFromYaml with any type of body

func NewCreateWorkspaceRequest

func NewCreateWorkspaceRequest(server string, body CreateWorkspaceJSONRequestBody) (*http.Request, error)

NewCreateWorkspaceRequest calls the generic CreateWorkspace builder with application/json body

func NewCreateWorkspaceRequestWithBody

func NewCreateWorkspaceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateWorkspaceRequestWithBody generates requests for CreateWorkspace with any type of body

func NewDeleteRelationshipRequest

func NewDeleteRelationshipRequest(server string, workspaceId string, relationshipRuleId string) (*http.Request, error)

NewDeleteRelationshipRequest generates requests for DeleteRelationship

func NewDeleteWorkspaceRequest

func NewDeleteWorkspaceRequest(server string, workspaceId openapi_types.UUID) (*http.Request, error)

NewDeleteWorkspaceRequest generates requests for DeleteWorkspace

func NewGetAllResourcesRequest

func NewGetAllResourcesRequest(server string, workspaceId string, params *GetAllResourcesParams) (*http.Request, error)

NewGetAllResourcesRequest generates requests for GetAllResources

func NewGetDeploymentRequest

func NewGetDeploymentRequest(server string, workspaceId string, deploymentId string) (*http.Request, error)

NewGetDeploymentRequest generates requests for GetDeployment

func NewGetDeploymentVariableRequest

func NewGetDeploymentVariableRequest(server string, workspaceId string, deploymentId string, variableId string) (*http.Request, error)

NewGetDeploymentVariableRequest generates requests for GetDeploymentVariable

func NewGetDeploymentVariableValueRequest

func NewGetDeploymentVariableValueRequest(server string, workspaceId string, deploymentId string, variableId string, valueId string) (*http.Request, error)

NewGetDeploymentVariableValueRequest generates requests for GetDeploymentVariableValue

func NewGetEnvironmentRequest

func NewGetEnvironmentRequest(server string, workspaceId string, environmentId string) (*http.Request, error)

NewGetEnvironmentRequest generates requests for GetEnvironment

func NewGetJobAgentRequest

func NewGetJobAgentRequest(server string, workspaceId string, jobAgentId string) (*http.Request, error)

NewGetJobAgentRequest generates requests for GetJobAgent

func NewGetJobRequest

func NewGetJobRequest(server string, workspaceId string, jobId string) (*http.Request, error)

NewGetJobRequest generates requests for GetJob

func NewGetJobsForReleaseTargetRequest

func NewGetJobsForReleaseTargetRequest(server string, workspaceId string, releaseTargetKey string, params *GetJobsForReleaseTargetParams) (*http.Request, error)

NewGetJobsForReleaseTargetRequest generates requests for GetJobsForReleaseTarget

func NewGetJobsRequest

func NewGetJobsRequest(server string, workspaceId string, params *GetJobsParams) (*http.Request, error)

NewGetJobsRequest generates requests for GetJobs

func NewGetPolicyRequest

func NewGetPolicyRequest(server string, workspaceId string, policyId string) (*http.Request, error)

NewGetPolicyRequest generates requests for GetPolicy

func NewGetRelationshipRuleRequest

func NewGetRelationshipRuleRequest(server string, workspaceId string, relationshipRuleId string) (*http.Request, error)

NewGetRelationshipRuleRequest generates requests for GetRelationshipRule

func NewGetReleaseRequest

func NewGetReleaseRequest(server string, workspaceId string, releaseId string) (*http.Request, error)

NewGetReleaseRequest generates requests for GetRelease

func NewGetReleaseTargetDesiredReleaseRequest

func NewGetReleaseTargetDesiredReleaseRequest(server string, workspaceId string, releaseTargetKey string) (*http.Request, error)

NewGetReleaseTargetDesiredReleaseRequest generates requests for GetReleaseTargetDesiredRelease

func NewGetReleaseTargetForResourceInDeploymentRequest

func NewGetReleaseTargetForResourceInDeploymentRequest(server string, workspaceId string, resourceIdentifier string, deploymentId string) (*http.Request, error)

NewGetReleaseTargetForResourceInDeploymentRequest generates requests for GetReleaseTargetForResourceInDeployment

func NewGetReleaseTargetStateRequest

func NewGetReleaseTargetStateRequest(server string, workspaceId string, releaseTargetKey string, params *GetReleaseTargetStateParams) (*http.Request, error)

NewGetReleaseTargetStateRequest generates requests for GetReleaseTargetState

func NewGetResourceByIdentifierRequest

func NewGetResourceByIdentifierRequest(server string, workspaceId string, identifier string) (*http.Request, error)

NewGetResourceByIdentifierRequest generates requests for GetResourceByIdentifier

func NewGetResourceProviderByNameRequest

func NewGetResourceProviderByNameRequest(server string, workspaceId string, name string) (*http.Request, error)

NewGetResourceProviderByNameRequest generates requests for GetResourceProviderByName

func NewGetSystemRequest

func NewGetSystemRequest(server string, workspaceId string, systemId string) (*http.Request, error)

NewGetSystemRequest generates requests for GetSystem

func NewGetVariablesForResourceRequest

func NewGetVariablesForResourceRequest(server string, workspaceId string, identifier string, params *GetVariablesForResourceParams) (*http.Request, error)

NewGetVariablesForResourceRequest generates requests for GetVariablesForResource

func NewGetWorkspaceBySlugRequest

func NewGetWorkspaceBySlugRequest(server string, workspaceSlug string) (*http.Request, error)

NewGetWorkspaceBySlugRequest generates requests for GetWorkspaceBySlug

func NewGetWorkspaceRequest

func NewGetWorkspaceRequest(server string, workspaceId openapi_types.UUID) (*http.Request, error)

NewGetWorkspaceRequest generates requests for GetWorkspace

func NewListDeploymentVariableValuesRequest

func NewListDeploymentVariableValuesRequest(server string, workspaceId string, deploymentId string, variableId string, params *ListDeploymentVariableValuesParams) (*http.Request, error)

NewListDeploymentVariableValuesRequest generates requests for ListDeploymentVariableValues

func NewListDeploymentVariablesRequest

func NewListDeploymentVariablesRequest(server string, workspaceId string, deploymentId string, params *ListDeploymentVariablesParams) (*http.Request, error)

NewListDeploymentVariablesRequest generates requests for ListDeploymentVariables

func NewListDeploymentVersionsRequest

func NewListDeploymentVersionsRequest(server string, workspaceId string, deploymentId string, params *ListDeploymentVersionsParams) (*http.Request, error)

NewListDeploymentVersionsRequest generates requests for ListDeploymentVersions

func NewListDeploymentsRequest

func NewListDeploymentsRequest(server string, workspaceId string, params *ListDeploymentsParams) (*http.Request, error)

NewListDeploymentsRequest generates requests for ListDeployments

func NewListEnvironmentsRequest

func NewListEnvironmentsRequest(server string, workspaceId string, params *ListEnvironmentsParams) (*http.Request, error)

NewListEnvironmentsRequest generates requests for ListEnvironments

func NewListJobAgentsRequest

func NewListJobAgentsRequest(server string, workspaceId string, params *ListJobAgentsParams) (*http.Request, error)

NewListJobAgentsRequest generates requests for ListJobAgents

func NewListPoliciesRequest

func NewListPoliciesRequest(server string, workspaceId string, params *ListPoliciesParams) (*http.Request, error)

NewListPoliciesRequest generates requests for ListPolicies

func NewListSystemsRequest

func NewListSystemsRequest(server string, workspaceId string, params *ListSystemsParams) (*http.Request, error)

NewListSystemsRequest generates requests for ListSystems

func NewListWorkspacesRequest

func NewListWorkspacesRequest(server string) (*http.Request, error)

NewListWorkspacesRequest generates requests for ListWorkspaces

func NewRequestDeploymentCreationRequest

func NewRequestDeploymentCreationRequest(server string, workspaceId string, body RequestDeploymentCreationJSONRequestBody) (*http.Request, error)

NewRequestDeploymentCreationRequest calls the generic RequestDeploymentCreation builder with application/json body

func NewRequestDeploymentCreationRequestWithBody

func NewRequestDeploymentCreationRequestWithBody(server string, workspaceId string, contentType string, body io.Reader) (*http.Request, error)

NewRequestDeploymentCreationRequestWithBody generates requests for RequestDeploymentCreation with any type of body

func NewRequestDeploymentDeletionRequest

func NewRequestDeploymentDeletionRequest(server string, workspaceId string, deploymentId string) (*http.Request, error)

NewRequestDeploymentDeletionRequest generates requests for RequestDeploymentDeletion

func NewRequestDeploymentUpdateRequest

func NewRequestDeploymentUpdateRequest(server string, workspaceId string, deploymentId string, body RequestDeploymentUpdateJSONRequestBody) (*http.Request, error)

NewRequestDeploymentUpdateRequest calls the generic RequestDeploymentUpdate builder with application/json body

func NewRequestDeploymentUpdateRequestWithBody

func NewRequestDeploymentUpdateRequestWithBody(server string, workspaceId string, deploymentId string, contentType string, body io.Reader) (*http.Request, error)

NewRequestDeploymentUpdateRequestWithBody generates requests for RequestDeploymentUpdate with any type of body

func NewRequestDeploymentVariableDeletionRequest

func NewRequestDeploymentVariableDeletionRequest(server string, workspaceId string, deploymentId string, variableId string) (*http.Request, error)

NewRequestDeploymentVariableDeletionRequest generates requests for RequestDeploymentVariableDeletion

func NewRequestDeploymentVariableUpdateRequest

func NewRequestDeploymentVariableUpdateRequest(server string, workspaceId string, deploymentId string, variableId string, body RequestDeploymentVariableUpdateJSONRequestBody) (*http.Request, error)

NewRequestDeploymentVariableUpdateRequest calls the generic RequestDeploymentVariableUpdate builder with application/json body

func NewRequestDeploymentVariableUpdateRequestWithBody

func NewRequestDeploymentVariableUpdateRequestWithBody(server string, workspaceId string, deploymentId string, variableId string, contentType string, body io.Reader) (*http.Request, error)

NewRequestDeploymentVariableUpdateRequestWithBody generates requests for RequestDeploymentVariableUpdate with any type of body

func NewRequestDeploymentVariableValueDeletionRequest

func NewRequestDeploymentVariableValueDeletionRequest(server string, workspaceId string, deploymentId string, variableId string, valueId string) (*http.Request, error)

NewRequestDeploymentVariableValueDeletionRequest generates requests for RequestDeploymentVariableValueDeletion

func NewRequestDeploymentVariableValueUpdateRequest

func NewRequestDeploymentVariableValueUpdateRequest(server string, workspaceId string, deploymentId string, variableId string, valueId string, body RequestDeploymentVariableValueUpdateJSONRequestBody) (*http.Request, error)

NewRequestDeploymentVariableValueUpdateRequest calls the generic RequestDeploymentVariableValueUpdate builder with application/json body

func NewRequestDeploymentVariableValueUpdateRequestWithBody

func NewRequestDeploymentVariableValueUpdateRequestWithBody(server string, workspaceId string, deploymentId string, variableId string, valueId string, contentType string, body io.Reader) (*http.Request, error)

NewRequestDeploymentVariableValueUpdateRequestWithBody generates requests for RequestDeploymentVariableValueUpdate with any type of body

func NewRequestEnvironmentCreationRequest

func NewRequestEnvironmentCreationRequest(server string, workspaceId string, body RequestEnvironmentCreationJSONRequestBody) (*http.Request, error)

NewRequestEnvironmentCreationRequest calls the generic RequestEnvironmentCreation builder with application/json body

func NewRequestEnvironmentCreationRequestWithBody

func NewRequestEnvironmentCreationRequestWithBody(server string, workspaceId string, contentType string, body io.Reader) (*http.Request, error)

NewRequestEnvironmentCreationRequestWithBody generates requests for RequestEnvironmentCreation with any type of body

func NewRequestEnvironmentDeletionRequest

func NewRequestEnvironmentDeletionRequest(server string, workspaceId string, environmentId string) (*http.Request, error)

NewRequestEnvironmentDeletionRequest generates requests for RequestEnvironmentDeletion

func NewRequestEnvironmentUpdateRequest

func NewRequestEnvironmentUpdateRequest(server string, workspaceId string, environmentId string, body RequestEnvironmentUpdateJSONRequestBody) (*http.Request, error)

NewRequestEnvironmentUpdateRequest calls the generic RequestEnvironmentUpdate builder with application/json body

func NewRequestEnvironmentUpdateRequestWithBody

func NewRequestEnvironmentUpdateRequestWithBody(server string, workspaceId string, environmentId string, contentType string, body io.Reader) (*http.Request, error)

NewRequestEnvironmentUpdateRequestWithBody generates requests for RequestEnvironmentUpdate with any type of body

func NewRequestJobAgentDeletionRequest

func NewRequestJobAgentDeletionRequest(server string, workspaceId string, jobAgentId string) (*http.Request, error)

NewRequestJobAgentDeletionRequest generates requests for RequestJobAgentDeletion

func NewRequestJobAgentUpdateRequest

func NewRequestJobAgentUpdateRequest(server string, workspaceId string, jobAgentId string, body RequestJobAgentUpdateJSONRequestBody) (*http.Request, error)

NewRequestJobAgentUpdateRequest calls the generic RequestJobAgentUpdate builder with application/json body

func NewRequestJobAgentUpdateRequestWithBody

func NewRequestJobAgentUpdateRequestWithBody(server string, workspaceId string, jobAgentId string, contentType string, body io.Reader) (*http.Request, error)

NewRequestJobAgentUpdateRequestWithBody generates requests for RequestJobAgentUpdate with any type of body

func NewRequestJobStatusUpdateRequest

func NewRequestJobStatusUpdateRequest(server string, workspaceId string, jobId string, body RequestJobStatusUpdateJSONRequestBody) (*http.Request, error)

NewRequestJobStatusUpdateRequest calls the generic RequestJobStatusUpdate builder with application/json body

func NewRequestJobStatusUpdateRequestWithBody

func NewRequestJobStatusUpdateRequestWithBody(server string, workspaceId string, jobId string, contentType string, body io.Reader) (*http.Request, error)

NewRequestJobStatusUpdateRequestWithBody generates requests for RequestJobStatusUpdate with any type of body

func NewRequestPolicyCreationRequest

func NewRequestPolicyCreationRequest(server string, workspaceId string, body RequestPolicyCreationJSONRequestBody) (*http.Request, error)

NewRequestPolicyCreationRequest calls the generic RequestPolicyCreation builder with application/json body

func NewRequestPolicyCreationRequestWithBody

func NewRequestPolicyCreationRequestWithBody(server string, workspaceId string, contentType string, body io.Reader) (*http.Request, error)

NewRequestPolicyCreationRequestWithBody generates requests for RequestPolicyCreation with any type of body

func NewRequestPolicyDeletionRequest

func NewRequestPolicyDeletionRequest(server string, workspaceId string, policyId string) (*http.Request, error)

NewRequestPolicyDeletionRequest generates requests for RequestPolicyDeletion

func NewRequestPolicyUpdateRequest

func NewRequestPolicyUpdateRequest(server string, workspaceId string, policyId string, body RequestPolicyUpdateJSONRequestBody) (*http.Request, error)

NewRequestPolicyUpdateRequest calls the generic RequestPolicyUpdate builder with application/json body

func NewRequestPolicyUpdateRequestWithBody

func NewRequestPolicyUpdateRequestWithBody(server string, workspaceId string, policyId string, contentType string, body io.Reader) (*http.Request, error)

NewRequestPolicyUpdateRequestWithBody generates requests for RequestPolicyUpdate with any type of body

func NewRequestResourceDeletionByIdentifierRequest

func NewRequestResourceDeletionByIdentifierRequest(server string, workspaceId string, identifier string) (*http.Request, error)

NewRequestResourceDeletionByIdentifierRequest generates requests for RequestResourceDeletionByIdentifier

func NewRequestResourceProviderUpsertRequest

func NewRequestResourceProviderUpsertRequest(server string, workspaceId string, body RequestResourceProviderUpsertJSONRequestBody) (*http.Request, error)

NewRequestResourceProviderUpsertRequest calls the generic RequestResourceProviderUpsert builder with application/json body

func NewRequestResourceProviderUpsertRequestWithBody

func NewRequestResourceProviderUpsertRequestWithBody(server string, workspaceId string, contentType string, body io.Reader) (*http.Request, error)

NewRequestResourceProviderUpsertRequestWithBody generates requests for RequestResourceProviderUpsert with any type of body

func NewRequestResourceProvidersResourcesPatchRequest

func NewRequestResourceProvidersResourcesPatchRequest(server string, workspaceId string, providerId string, body RequestResourceProvidersResourcesPatchJSONRequestBody) (*http.Request, error)

NewRequestResourceProvidersResourcesPatchRequest calls the generic RequestResourceProvidersResourcesPatch builder with application/json body

func NewRequestResourceProvidersResourcesPatchRequestWithBody

func NewRequestResourceProvidersResourcesPatchRequestWithBody(server string, workspaceId string, providerId string, contentType string, body io.Reader) (*http.Request, error)

NewRequestResourceProvidersResourcesPatchRequestWithBody generates requests for RequestResourceProvidersResourcesPatch with any type of body

func NewRequestResourceProvidersResourcesRequest

func NewRequestResourceProvidersResourcesRequest(server string, workspaceId string, providerId string, body RequestResourceProvidersResourcesJSONRequestBody) (*http.Request, error)

NewRequestResourceProvidersResourcesRequest calls the generic RequestResourceProvidersResources builder with application/json body

func NewRequestResourceProvidersResourcesRequestWithBody

func NewRequestResourceProvidersResourcesRequestWithBody(server string, workspaceId string, providerId string, contentType string, body io.Reader) (*http.Request, error)

NewRequestResourceProvidersResourcesRequestWithBody generates requests for RequestResourceProvidersResources with any type of body

func NewRequestResourceVariablesUpdateRequest

func NewRequestResourceVariablesUpdateRequest(server string, workspaceId string, identifier string, body RequestResourceVariablesUpdateJSONRequestBody) (*http.Request, error)

NewRequestResourceVariablesUpdateRequest calls the generic RequestResourceVariablesUpdate builder with application/json body

func NewRequestResourceVariablesUpdateRequestWithBody

func NewRequestResourceVariablesUpdateRequestWithBody(server string, workspaceId string, identifier string, contentType string, body io.Reader) (*http.Request, error)

NewRequestResourceVariablesUpdateRequestWithBody generates requests for RequestResourceVariablesUpdate with any type of body

func NewRequestSystemCreationRequest

func NewRequestSystemCreationRequest(server string, workspaceId string, body RequestSystemCreationJSONRequestBody) (*http.Request, error)

NewRequestSystemCreationRequest calls the generic RequestSystemCreation builder with application/json body

func NewRequestSystemCreationRequestWithBody

func NewRequestSystemCreationRequestWithBody(server string, workspaceId string, contentType string, body io.Reader) (*http.Request, error)

NewRequestSystemCreationRequestWithBody generates requests for RequestSystemCreation with any type of body

func NewRequestSystemDeletionRequest

func NewRequestSystemDeletionRequest(server string, workspaceId string, systemId string) (*http.Request, error)

NewRequestSystemDeletionRequest generates requests for RequestSystemDeletion

func NewRequestSystemUpdateRequest

func NewRequestSystemUpdateRequest(server string, workspaceId string, systemId string, body RequestSystemUpdateJSONRequestBody) (*http.Request, error)

NewRequestSystemUpdateRequest calls the generic RequestSystemUpdate builder with application/json body

func NewRequestSystemUpdateRequestWithBody

func NewRequestSystemUpdateRequestWithBody(server string, workspaceId string, systemId string, contentType string, body io.Reader) (*http.Request, error)

NewRequestSystemUpdateRequestWithBody generates requests for RequestSystemUpdate with any type of body

func NewRequestUserApprovalRecordUpdateRequest

func NewRequestUserApprovalRecordUpdateRequest(server string, workspaceId string, deploymentVersionId string, body RequestUserApprovalRecordUpdateJSONRequestBody) (*http.Request, error)

NewRequestUserApprovalRecordUpdateRequest calls the generic RequestUserApprovalRecordUpdate builder with application/json body

func NewRequestUserApprovalRecordUpdateRequestWithBody

func NewRequestUserApprovalRecordUpdateRequestWithBody(server string, workspaceId string, deploymentVersionId string, contentType string, body io.Reader) (*http.Request, error)

NewRequestUserApprovalRecordUpdateRequestWithBody generates requests for RequestUserApprovalRecordUpdate with any type of body

func NewUpdateDeploymentVersionRequest

func NewUpdateDeploymentVersionRequest(server string, workspaceId string, deploymentVersionId string, body UpdateDeploymentVersionJSONRequestBody) (*http.Request, error)

NewUpdateDeploymentVersionRequest calls the generic UpdateDeploymentVersion builder with application/json body

func NewUpdateDeploymentVersionRequestWithBody

func NewUpdateDeploymentVersionRequestWithBody(server string, workspaceId string, deploymentVersionId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateDeploymentVersionRequestWithBody generates requests for UpdateDeploymentVersion with any type of body

func NewUpdateWorkspaceRequest

func NewUpdateWorkspaceRequest(server string, workspaceId openapi_types.UUID, body UpdateWorkspaceJSONRequestBody) (*http.Request, error)

NewUpdateWorkspaceRequest calls the generic UpdateWorkspace builder with application/json body

func NewUpdateWorkspaceRequestWithBody

func NewUpdateWorkspaceRequestWithBody(server string, workspaceId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateWorkspaceRequestWithBody generates requests for UpdateWorkspace with any type of body

func NewUpsertRelationshipByIdRequest

func NewUpsertRelationshipByIdRequest(server string, workspaceId string, relationshipRuleId string, body UpsertRelationshipByIdJSONRequestBody) (*http.Request, error)

NewUpsertRelationshipByIdRequest calls the generic UpsertRelationshipById builder with application/json body

func NewUpsertRelationshipByIdRequestWithBody

func NewUpsertRelationshipByIdRequestWithBody(server string, workspaceId string, relationshipRuleId string, contentType string, body io.Reader) (*http.Request, error)

NewUpsertRelationshipByIdRequestWithBody generates requests for UpsertRelationshipById with any type of body

Types

type AnyApprovalRule

type AnyApprovalRule struct {
	MinApprovals int32 `json:"minApprovals"`
}

AnyApprovalRule defines model for AnyApprovalRule.

type ApprovalStatus

type ApprovalStatus string

ApprovalStatus defines model for ApprovalStatus.

const (
	ApprovalStatusApproved ApprovalStatus = "approved"
	ApprovalStatusRejected ApprovalStatus = "rejected"
)

Defines values for ApprovalStatus.

type BooleanValue

type BooleanValue = bool

BooleanValue defines model for BooleanValue.

type CelMatcher

type CelMatcher struct {
	Cel string `json:"cel"`
}

CelMatcher defines model for CelMatcher.

type CelSelector

type CelSelector struct {
	Cel string `json:"cel"`
}

CelSelector defines model for CelSelector.

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) CreateDeploymentVersion

func (c *Client) CreateDeploymentVersion(ctx context.Context, workspaceId string, deploymentId string, body CreateDeploymentVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateDeploymentVersionWithBody

func (c *Client) CreateDeploymentVersionWithBody(ctx context.Context, workspaceId string, deploymentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateRelationshipRule

func (c *Client) CreateRelationshipRule(ctx context.Context, workspaceId string, body CreateRelationshipRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateRelationshipRuleWithBody

func (c *Client) CreateRelationshipRuleWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateWorkflowTemplateFromYaml

func (c *Client) CreateWorkflowTemplateFromYaml(ctx context.Context, workspaceId string, body CreateWorkflowTemplateFromYamlJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateWorkflowTemplateFromYamlWithBody

func (c *Client) CreateWorkflowTemplateFromYamlWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateWorkspace

func (c *Client) CreateWorkspace(ctx context.Context, body CreateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateWorkspaceWithBody

func (c *Client) CreateWorkspaceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteRelationship

func (c *Client) DeleteRelationship(ctx context.Context, workspaceId string, relationshipRuleId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteWorkspace

func (c *Client) DeleteWorkspace(ctx context.Context, workspaceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllResources

func (c *Client) GetAllResources(ctx context.Context, workspaceId string, params *GetAllResourcesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDeployment

func (c *Client) GetDeployment(ctx context.Context, workspaceId string, deploymentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDeploymentVariable

func (c *Client) GetDeploymentVariable(ctx context.Context, workspaceId string, deploymentId string, variableId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDeploymentVariableValue

func (c *Client) GetDeploymentVariableValue(ctx context.Context, workspaceId string, deploymentId string, variableId string, valueId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetEnvironment

func (c *Client) GetEnvironment(ctx context.Context, workspaceId string, environmentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetJob

func (c *Client) GetJob(ctx context.Context, workspaceId string, jobId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetJobAgent

func (c *Client) GetJobAgent(ctx context.Context, workspaceId string, jobAgentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetJobs

func (c *Client) GetJobs(ctx context.Context, workspaceId string, params *GetJobsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetJobsForReleaseTarget

func (c *Client) GetJobsForReleaseTarget(ctx context.Context, workspaceId string, releaseTargetKey string, params *GetJobsForReleaseTargetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPolicy

func (c *Client) GetPolicy(ctx context.Context, workspaceId string, policyId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetRelationshipRule

func (c *Client) GetRelationshipRule(ctx context.Context, workspaceId string, relationshipRuleId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetRelease

func (c *Client) GetRelease(ctx context.Context, workspaceId string, releaseId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetReleaseTargetDesiredRelease

func (c *Client) GetReleaseTargetDesiredRelease(ctx context.Context, workspaceId string, releaseTargetKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetReleaseTargetForResourceInDeployment

func (c *Client) GetReleaseTargetForResourceInDeployment(ctx context.Context, workspaceId string, resourceIdentifier string, deploymentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetReleaseTargetState

func (c *Client) GetReleaseTargetState(ctx context.Context, workspaceId string, releaseTargetKey string, params *GetReleaseTargetStateParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetResourceByIdentifier

func (c *Client) GetResourceByIdentifier(ctx context.Context, workspaceId string, identifier string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetResourceProviderByName

func (c *Client) GetResourceProviderByName(ctx context.Context, workspaceId string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSystem

func (c *Client) GetSystem(ctx context.Context, workspaceId string, systemId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetVariablesForResource

func (c *Client) GetVariablesForResource(ctx context.Context, workspaceId string, identifier string, params *GetVariablesForResourceParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetWorkspace

func (c *Client) GetWorkspace(ctx context.Context, workspaceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetWorkspaceBySlug

func (c *Client) GetWorkspaceBySlug(ctx context.Context, workspaceSlug string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListDeploymentVariableValues

func (c *Client) ListDeploymentVariableValues(ctx context.Context, workspaceId string, deploymentId string, variableId string, params *ListDeploymentVariableValuesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListDeploymentVariables

func (c *Client) ListDeploymentVariables(ctx context.Context, workspaceId string, deploymentId string, params *ListDeploymentVariablesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListDeploymentVersions

func (c *Client) ListDeploymentVersions(ctx context.Context, workspaceId string, deploymentId string, params *ListDeploymentVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListDeployments

func (c *Client) ListDeployments(ctx context.Context, workspaceId string, params *ListDeploymentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListEnvironments

func (c *Client) ListEnvironments(ctx context.Context, workspaceId string, params *ListEnvironmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListJobAgents

func (c *Client) ListJobAgents(ctx context.Context, workspaceId string, params *ListJobAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListPolicies

func (c *Client) ListPolicies(ctx context.Context, workspaceId string, params *ListPoliciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListSystems

func (c *Client) ListSystems(ctx context.Context, workspaceId string, params *ListSystemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListWorkspaces

func (c *Client) ListWorkspaces(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestDeploymentCreation

func (c *Client) RequestDeploymentCreation(ctx context.Context, workspaceId string, body RequestDeploymentCreationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestDeploymentCreationWithBody

func (c *Client) RequestDeploymentCreationWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestDeploymentDeletion

func (c *Client) RequestDeploymentDeletion(ctx context.Context, workspaceId string, deploymentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestDeploymentUpdate

func (c *Client) RequestDeploymentUpdate(ctx context.Context, workspaceId string, deploymentId string, body RequestDeploymentUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestDeploymentUpdateWithBody

func (c *Client) RequestDeploymentUpdateWithBody(ctx context.Context, workspaceId string, deploymentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestDeploymentVariableDeletion

func (c *Client) RequestDeploymentVariableDeletion(ctx context.Context, workspaceId string, deploymentId string, variableId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestDeploymentVariableUpdate

func (c *Client) RequestDeploymentVariableUpdate(ctx context.Context, workspaceId string, deploymentId string, variableId string, body RequestDeploymentVariableUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestDeploymentVariableUpdateWithBody

func (c *Client) RequestDeploymentVariableUpdateWithBody(ctx context.Context, workspaceId string, deploymentId string, variableId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestDeploymentVariableValueDeletion

func (c *Client) RequestDeploymentVariableValueDeletion(ctx context.Context, workspaceId string, deploymentId string, variableId string, valueId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestDeploymentVariableValueUpdate

func (c *Client) RequestDeploymentVariableValueUpdate(ctx context.Context, workspaceId string, deploymentId string, variableId string, valueId string, body RequestDeploymentVariableValueUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestDeploymentVariableValueUpdateWithBody

func (c *Client) RequestDeploymentVariableValueUpdateWithBody(ctx context.Context, workspaceId string, deploymentId string, variableId string, valueId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestEnvironmentCreation

func (c *Client) RequestEnvironmentCreation(ctx context.Context, workspaceId string, body RequestEnvironmentCreationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestEnvironmentCreationWithBody

func (c *Client) RequestEnvironmentCreationWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestEnvironmentDeletion

func (c *Client) RequestEnvironmentDeletion(ctx context.Context, workspaceId string, environmentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestEnvironmentUpdate

func (c *Client) RequestEnvironmentUpdate(ctx context.Context, workspaceId string, environmentId string, body RequestEnvironmentUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestEnvironmentUpdateWithBody

func (c *Client) RequestEnvironmentUpdateWithBody(ctx context.Context, workspaceId string, environmentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestJobAgentDeletion

func (c *Client) RequestJobAgentDeletion(ctx context.Context, workspaceId string, jobAgentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestJobAgentUpdate

func (c *Client) RequestJobAgentUpdate(ctx context.Context, workspaceId string, jobAgentId string, body RequestJobAgentUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestJobAgentUpdateWithBody

func (c *Client) RequestJobAgentUpdateWithBody(ctx context.Context, workspaceId string, jobAgentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestJobStatusUpdate

func (c *Client) RequestJobStatusUpdate(ctx context.Context, workspaceId string, jobId string, body RequestJobStatusUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestJobStatusUpdateWithBody

func (c *Client) RequestJobStatusUpdateWithBody(ctx context.Context, workspaceId string, jobId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestPolicyCreation

func (c *Client) RequestPolicyCreation(ctx context.Context, workspaceId string, body RequestPolicyCreationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestPolicyCreationWithBody

func (c *Client) RequestPolicyCreationWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestPolicyDeletion

func (c *Client) RequestPolicyDeletion(ctx context.Context, workspaceId string, policyId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestPolicyUpdate

func (c *Client) RequestPolicyUpdate(ctx context.Context, workspaceId string, policyId string, body RequestPolicyUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestPolicyUpdateWithBody

func (c *Client) RequestPolicyUpdateWithBody(ctx context.Context, workspaceId string, policyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestResourceDeletionByIdentifier

func (c *Client) RequestResourceDeletionByIdentifier(ctx context.Context, workspaceId string, identifier string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestResourceProviderUpsert

func (c *Client) RequestResourceProviderUpsert(ctx context.Context, workspaceId string, body RequestResourceProviderUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestResourceProviderUpsertWithBody

func (c *Client) RequestResourceProviderUpsertWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestResourceProvidersResources

func (c *Client) RequestResourceProvidersResources(ctx context.Context, workspaceId string, providerId string, body RequestResourceProvidersResourcesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestResourceProvidersResourcesPatch

func (c *Client) RequestResourceProvidersResourcesPatch(ctx context.Context, workspaceId string, providerId string, body RequestResourceProvidersResourcesPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestResourceProvidersResourcesPatchWithBody

func (c *Client) RequestResourceProvidersResourcesPatchWithBody(ctx context.Context, workspaceId string, providerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestResourceProvidersResourcesWithBody

func (c *Client) RequestResourceProvidersResourcesWithBody(ctx context.Context, workspaceId string, providerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestResourceVariablesUpdate

func (c *Client) RequestResourceVariablesUpdate(ctx context.Context, workspaceId string, identifier string, body RequestResourceVariablesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestResourceVariablesUpdateWithBody

func (c *Client) RequestResourceVariablesUpdateWithBody(ctx context.Context, workspaceId string, identifier string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestSystemCreation

func (c *Client) RequestSystemCreation(ctx context.Context, workspaceId string, body RequestSystemCreationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestSystemCreationWithBody

func (c *Client) RequestSystemCreationWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestSystemDeletion

func (c *Client) RequestSystemDeletion(ctx context.Context, workspaceId string, systemId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestSystemUpdate

func (c *Client) RequestSystemUpdate(ctx context.Context, workspaceId string, systemId string, body RequestSystemUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestSystemUpdateWithBody

func (c *Client) RequestSystemUpdateWithBody(ctx context.Context, workspaceId string, systemId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestUserApprovalRecordUpdate

func (c *Client) RequestUserApprovalRecordUpdate(ctx context.Context, workspaceId string, deploymentVersionId string, body RequestUserApprovalRecordUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RequestUserApprovalRecordUpdateWithBody

func (c *Client) RequestUserApprovalRecordUpdateWithBody(ctx context.Context, workspaceId string, deploymentVersionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateDeploymentVersion

func (c *Client) UpdateDeploymentVersion(ctx context.Context, workspaceId string, deploymentVersionId string, body UpdateDeploymentVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateDeploymentVersionWithBody

func (c *Client) UpdateDeploymentVersionWithBody(ctx context.Context, workspaceId string, deploymentVersionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateWorkspace

func (c *Client) UpdateWorkspace(ctx context.Context, workspaceId openapi_types.UUID, body UpdateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateWorkspaceWithBody

func (c *Client) UpdateWorkspaceWithBody(ctx context.Context, workspaceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpsertRelationshipById

func (c *Client) UpsertRelationshipById(ctx context.Context, workspaceId string, relationshipRuleId string, body UpsertRelationshipByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpsertRelationshipByIdWithBody

func (c *Client) UpsertRelationshipByIdWithBody(ctx context.Context, workspaceId string, relationshipRuleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// ListWorkspaces request
	ListWorkspaces(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateWorkspaceWithBody request with any body
	CreateWorkspaceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateWorkspace(ctx context.Context, body CreateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWorkspaceBySlug request
	GetWorkspaceBySlug(ctx context.Context, workspaceSlug string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteWorkspace request
	DeleteWorkspace(ctx context.Context, workspaceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWorkspace request
	GetWorkspace(ctx context.Context, workspaceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateWorkspaceWithBody request with any body
	UpdateWorkspaceWithBody(ctx context.Context, workspaceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateWorkspace(ctx context.Context, workspaceId openapi_types.UUID, body UpdateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RequestUserApprovalRecordUpdateWithBody request with any body
	RequestUserApprovalRecordUpdateWithBody(ctx context.Context, workspaceId string, deploymentVersionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RequestUserApprovalRecordUpdate(ctx context.Context, workspaceId string, deploymentVersionId string, body RequestUserApprovalRecordUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListDeployments request
	ListDeployments(ctx context.Context, workspaceId string, params *ListDeploymentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RequestDeploymentCreationWithBody request with any body
	RequestDeploymentCreationWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RequestDeploymentCreation(ctx context.Context, workspaceId string, body RequestDeploymentCreationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RequestDeploymentDeletion request
	RequestDeploymentDeletion(ctx context.Context, workspaceId string, deploymentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDeployment request
	GetDeployment(ctx context.Context, workspaceId string, deploymentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RequestDeploymentUpdateWithBody request with any body
	RequestDeploymentUpdateWithBody(ctx context.Context, workspaceId string, deploymentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RequestDeploymentUpdate(ctx context.Context, workspaceId string, deploymentId string, body RequestDeploymentUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListDeploymentVariables request
	ListDeploymentVariables(ctx context.Context, workspaceId string, deploymentId string, params *ListDeploymentVariablesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RequestDeploymentVariableDeletion request
	RequestDeploymentVariableDeletion(ctx context.Context, workspaceId string, deploymentId string, variableId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDeploymentVariable request
	GetDeploymentVariable(ctx context.Context, workspaceId string, deploymentId string, variableId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RequestDeploymentVariableUpdateWithBody request with any body
	RequestDeploymentVariableUpdateWithBody(ctx context.Context, workspaceId string, deploymentId string, variableId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RequestDeploymentVariableUpdate(ctx context.Context, workspaceId string, deploymentId string, variableId string, body RequestDeploymentVariableUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListDeploymentVariableValues request
	ListDeploymentVariableValues(ctx context.Context, workspaceId string, deploymentId string, variableId string, params *ListDeploymentVariableValuesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RequestDeploymentVariableValueDeletion request
	RequestDeploymentVariableValueDeletion(ctx context.Context, workspaceId string, deploymentId string, variableId string, valueId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDeploymentVariableValue request
	GetDeploymentVariableValue(ctx context.Context, workspaceId string, deploymentId string, variableId string, valueId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RequestDeploymentVariableValueUpdateWithBody request with any body
	RequestDeploymentVariableValueUpdateWithBody(ctx context.Context, workspaceId string, deploymentId string, variableId string, valueId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RequestDeploymentVariableValueUpdate(ctx context.Context, workspaceId string, deploymentId string, variableId string, valueId string, body RequestDeploymentVariableValueUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListDeploymentVersions request
	ListDeploymentVersions(ctx context.Context, workspaceId string, deploymentId string, params *ListDeploymentVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateDeploymentVersionWithBody request with any body
	CreateDeploymentVersionWithBody(ctx context.Context, workspaceId string, deploymentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateDeploymentVersion(ctx context.Context, workspaceId string, deploymentId string, body CreateDeploymentVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateDeploymentVersionWithBody request with any body
	UpdateDeploymentVersionWithBody(ctx context.Context, workspaceId string, deploymentVersionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateDeploymentVersion(ctx context.Context, workspaceId string, deploymentVersionId string, body UpdateDeploymentVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListEnvironments request
	ListEnvironments(ctx context.Context, workspaceId string, params *ListEnvironmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RequestEnvironmentCreationWithBody request with any body
	RequestEnvironmentCreationWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RequestEnvironmentCreation(ctx context.Context, workspaceId string, body RequestEnvironmentCreationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RequestEnvironmentDeletion request
	RequestEnvironmentDeletion(ctx context.Context, workspaceId string, environmentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetEnvironment request
	GetEnvironment(ctx context.Context, workspaceId string, environmentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RequestEnvironmentUpdateWithBody request with any body
	RequestEnvironmentUpdateWithBody(ctx context.Context, workspaceId string, environmentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RequestEnvironmentUpdate(ctx context.Context, workspaceId string, environmentId string, body RequestEnvironmentUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListJobAgents request
	ListJobAgents(ctx context.Context, workspaceId string, params *ListJobAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RequestJobAgentDeletion request
	RequestJobAgentDeletion(ctx context.Context, workspaceId string, jobAgentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetJobAgent request
	GetJobAgent(ctx context.Context, workspaceId string, jobAgentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RequestJobAgentUpdateWithBody request with any body
	RequestJobAgentUpdateWithBody(ctx context.Context, workspaceId string, jobAgentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RequestJobAgentUpdate(ctx context.Context, workspaceId string, jobAgentId string, body RequestJobAgentUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetJobs request
	GetJobs(ctx context.Context, workspaceId string, params *GetJobsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetJob request
	GetJob(ctx context.Context, workspaceId string, jobId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RequestJobStatusUpdateWithBody request with any body
	RequestJobStatusUpdateWithBody(ctx context.Context, workspaceId string, jobId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RequestJobStatusUpdate(ctx context.Context, workspaceId string, jobId string, body RequestJobStatusUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListPolicies request
	ListPolicies(ctx context.Context, workspaceId string, params *ListPoliciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RequestPolicyCreationWithBody request with any body
	RequestPolicyCreationWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RequestPolicyCreation(ctx context.Context, workspaceId string, body RequestPolicyCreationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RequestPolicyDeletion request
	RequestPolicyDeletion(ctx context.Context, workspaceId string, policyId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPolicy request
	GetPolicy(ctx context.Context, workspaceId string, policyId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RequestPolicyUpdateWithBody request with any body
	RequestPolicyUpdateWithBody(ctx context.Context, workspaceId string, policyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RequestPolicyUpdate(ctx context.Context, workspaceId string, policyId string, body RequestPolicyUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateRelationshipRuleWithBody request with any body
	CreateRelationshipRuleWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateRelationshipRule(ctx context.Context, workspaceId string, body CreateRelationshipRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteRelationship request
	DeleteRelationship(ctx context.Context, workspaceId string, relationshipRuleId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetRelationshipRule request
	GetRelationshipRule(ctx context.Context, workspaceId string, relationshipRuleId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpsertRelationshipByIdWithBody request with any body
	UpsertRelationshipByIdWithBody(ctx context.Context, workspaceId string, relationshipRuleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpsertRelationshipById(ctx context.Context, workspaceId string, relationshipRuleId string, body UpsertRelationshipByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetReleaseTargetDesiredRelease request
	GetReleaseTargetDesiredRelease(ctx context.Context, workspaceId string, releaseTargetKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetJobsForReleaseTarget request
	GetJobsForReleaseTarget(ctx context.Context, workspaceId string, releaseTargetKey string, params *GetJobsForReleaseTargetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetReleaseTargetState request
	GetReleaseTargetState(ctx context.Context, workspaceId string, releaseTargetKey string, params *GetReleaseTargetStateParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetRelease request
	GetRelease(ctx context.Context, workspaceId string, releaseId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RequestResourceProviderUpsertWithBody request with any body
	RequestResourceProviderUpsertWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RequestResourceProviderUpsert(ctx context.Context, workspaceId string, body RequestResourceProviderUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetResourceProviderByName request
	GetResourceProviderByName(ctx context.Context, workspaceId string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RequestResourceProvidersResourcesPatchWithBody request with any body
	RequestResourceProvidersResourcesPatchWithBody(ctx context.Context, workspaceId string, providerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RequestResourceProvidersResourcesPatch(ctx context.Context, workspaceId string, providerId string, body RequestResourceProvidersResourcesPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RequestResourceProvidersResourcesWithBody request with any body
	RequestResourceProvidersResourcesWithBody(ctx context.Context, workspaceId string, providerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RequestResourceProvidersResources(ctx context.Context, workspaceId string, providerId string, body RequestResourceProvidersResourcesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAllResources request
	GetAllResources(ctx context.Context, workspaceId string, params *GetAllResourcesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RequestResourceDeletionByIdentifier request
	RequestResourceDeletionByIdentifier(ctx context.Context, workspaceId string, identifier string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetResourceByIdentifier request
	GetResourceByIdentifier(ctx context.Context, workspaceId string, identifier string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVariablesForResource request
	GetVariablesForResource(ctx context.Context, workspaceId string, identifier string, params *GetVariablesForResourceParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RequestResourceVariablesUpdateWithBody request with any body
	RequestResourceVariablesUpdateWithBody(ctx context.Context, workspaceId string, identifier string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RequestResourceVariablesUpdate(ctx context.Context, workspaceId string, identifier string, body RequestResourceVariablesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetReleaseTargetForResourceInDeployment request
	GetReleaseTargetForResourceInDeployment(ctx context.Context, workspaceId string, resourceIdentifier string, deploymentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSystems request
	ListSystems(ctx context.Context, workspaceId string, params *ListSystemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RequestSystemCreationWithBody request with any body
	RequestSystemCreationWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RequestSystemCreation(ctx context.Context, workspaceId string, body RequestSystemCreationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RequestSystemDeletion request
	RequestSystemDeletion(ctx context.Context, workspaceId string, systemId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSystem request
	GetSystem(ctx context.Context, workspaceId string, systemId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RequestSystemUpdateWithBody request with any body
	RequestSystemUpdateWithBody(ctx context.Context, workspaceId string, systemId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RequestSystemUpdate(ctx context.Context, workspaceId string, systemId string, body RequestSystemUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateWorkflowTemplateFromYamlWithBody request with any body
	CreateWorkflowTemplateFromYamlWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateWorkflowTemplateFromYaml(ctx context.Context, workspaceId string, body CreateWorkflowTemplateFromYamlJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewAPIKeyClientWithResponses

func NewAPIKeyClientWithResponses(server string, apiKey string) (*ClientWithResponses, error)

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) CreateDeploymentVersionWithBodyWithResponse

func (c *ClientWithResponses) CreateDeploymentVersionWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDeploymentVersionResponse, error)

CreateDeploymentVersionWithBodyWithResponse request with arbitrary body returning *CreateDeploymentVersionResponse

func (*ClientWithResponses) CreateDeploymentVersionWithResponse

func (c *ClientWithResponses) CreateDeploymentVersionWithResponse(ctx context.Context, workspaceId string, deploymentId string, body CreateDeploymentVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDeploymentVersionResponse, error)

func (*ClientWithResponses) CreateRelationshipRuleWithBodyWithResponse

func (c *ClientWithResponses) CreateRelationshipRuleWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRelationshipRuleResponse, error)

CreateRelationshipRuleWithBodyWithResponse request with arbitrary body returning *CreateRelationshipRuleResponse

func (*ClientWithResponses) CreateRelationshipRuleWithResponse

func (c *ClientWithResponses) CreateRelationshipRuleWithResponse(ctx context.Context, workspaceId string, body CreateRelationshipRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRelationshipRuleResponse, error)

func (*ClientWithResponses) CreateWorkflowTemplateFromYamlWithBodyWithResponse

func (c *ClientWithResponses) CreateWorkflowTemplateFromYamlWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkflowTemplateFromYamlResponse, error)

CreateWorkflowTemplateFromYamlWithBodyWithResponse request with arbitrary body returning *CreateWorkflowTemplateFromYamlResponse

func (*ClientWithResponses) CreateWorkflowTemplateFromYamlWithResponse

func (c *ClientWithResponses) CreateWorkflowTemplateFromYamlWithResponse(ctx context.Context, workspaceId string, body CreateWorkflowTemplateFromYamlJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWorkflowTemplateFromYamlResponse, error)

func (*ClientWithResponses) CreateWorkspaceWithBodyWithResponse

func (c *ClientWithResponses) CreateWorkspaceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkspaceResponse, error)

CreateWorkspaceWithBodyWithResponse request with arbitrary body returning *CreateWorkspaceResponse

func (*ClientWithResponses) CreateWorkspaceWithResponse

func (c *ClientWithResponses) CreateWorkspaceWithResponse(ctx context.Context, body CreateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWorkspaceResponse, error)

func (*ClientWithResponses) DeleteRelationshipWithResponse

func (c *ClientWithResponses) DeleteRelationshipWithResponse(ctx context.Context, workspaceId string, relationshipRuleId string, reqEditors ...RequestEditorFn) (*DeleteRelationshipResponse, error)

DeleteRelationshipWithResponse request returning *DeleteRelationshipResponse

func (*ClientWithResponses) DeleteWorkspaceWithResponse

func (c *ClientWithResponses) DeleteWorkspaceWithResponse(ctx context.Context, workspaceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteWorkspaceResponse, error)

DeleteWorkspaceWithResponse request returning *DeleteWorkspaceResponse

func (*ClientWithResponses) GetAllResourcesWithResponse

func (c *ClientWithResponses) GetAllResourcesWithResponse(ctx context.Context, workspaceId string, params *GetAllResourcesParams, reqEditors ...RequestEditorFn) (*GetAllResourcesResponse, error)

GetAllResourcesWithResponse request returning *GetAllResourcesResponse

func (*ClientWithResponses) GetDeploymentVariableValueWithResponse

func (c *ClientWithResponses) GetDeploymentVariableValueWithResponse(ctx context.Context, workspaceId string, deploymentId string, variableId string, valueId string, reqEditors ...RequestEditorFn) (*GetDeploymentVariableValueResponse, error)

GetDeploymentVariableValueWithResponse request returning *GetDeploymentVariableValueResponse

func (*ClientWithResponses) GetDeploymentVariableWithResponse

func (c *ClientWithResponses) GetDeploymentVariableWithResponse(ctx context.Context, workspaceId string, deploymentId string, variableId string, reqEditors ...RequestEditorFn) (*GetDeploymentVariableResponse, error)

GetDeploymentVariableWithResponse request returning *GetDeploymentVariableResponse

func (*ClientWithResponses) GetDeploymentWithResponse

func (c *ClientWithResponses) GetDeploymentWithResponse(ctx context.Context, workspaceId string, deploymentId string, reqEditors ...RequestEditorFn) (*GetDeploymentResponse, error)

GetDeploymentWithResponse request returning *GetDeploymentResponse

func (*ClientWithResponses) GetEnvironmentWithResponse

func (c *ClientWithResponses) GetEnvironmentWithResponse(ctx context.Context, workspaceId string, environmentId string, reqEditors ...RequestEditorFn) (*GetEnvironmentResponse, error)

GetEnvironmentWithResponse request returning *GetEnvironmentResponse

func (*ClientWithResponses) GetJobAgentWithResponse

func (c *ClientWithResponses) GetJobAgentWithResponse(ctx context.Context, workspaceId string, jobAgentId string, reqEditors ...RequestEditorFn) (*GetJobAgentResponse, error)

GetJobAgentWithResponse request returning *GetJobAgentResponse

func (*ClientWithResponses) GetJobWithResponse

func (c *ClientWithResponses) GetJobWithResponse(ctx context.Context, workspaceId string, jobId string, reqEditors ...RequestEditorFn) (*GetJobResponse, error)

GetJobWithResponse request returning *GetJobResponse

func (*ClientWithResponses) GetJobsForReleaseTargetWithResponse

func (c *ClientWithResponses) GetJobsForReleaseTargetWithResponse(ctx context.Context, workspaceId string, releaseTargetKey string, params *GetJobsForReleaseTargetParams, reqEditors ...RequestEditorFn) (*GetJobsForReleaseTargetResponse, error)

GetJobsForReleaseTargetWithResponse request returning *GetJobsForReleaseTargetResponse

func (*ClientWithResponses) GetJobsWithResponse

func (c *ClientWithResponses) GetJobsWithResponse(ctx context.Context, workspaceId string, params *GetJobsParams, reqEditors ...RequestEditorFn) (*GetJobsResponse, error)

GetJobsWithResponse request returning *GetJobsResponse

func (*ClientWithResponses) GetPolicyWithResponse

func (c *ClientWithResponses) GetPolicyWithResponse(ctx context.Context, workspaceId string, policyId string, reqEditors ...RequestEditorFn) (*GetPolicyResponse, error)

GetPolicyWithResponse request returning *GetPolicyResponse

func (*ClientWithResponses) GetRelationshipRuleWithResponse

func (c *ClientWithResponses) GetRelationshipRuleWithResponse(ctx context.Context, workspaceId string, relationshipRuleId string, reqEditors ...RequestEditorFn) (*GetRelationshipRuleResponse, error)

GetRelationshipRuleWithResponse request returning *GetRelationshipRuleResponse

func (*ClientWithResponses) GetReleaseTargetDesiredReleaseWithResponse

func (c *ClientWithResponses) GetReleaseTargetDesiredReleaseWithResponse(ctx context.Context, workspaceId string, releaseTargetKey string, reqEditors ...RequestEditorFn) (*GetReleaseTargetDesiredReleaseResponse, error)

GetReleaseTargetDesiredReleaseWithResponse request returning *GetReleaseTargetDesiredReleaseResponse

func (*ClientWithResponses) GetReleaseTargetForResourceInDeploymentWithResponse

func (c *ClientWithResponses) GetReleaseTargetForResourceInDeploymentWithResponse(ctx context.Context, workspaceId string, resourceIdentifier string, deploymentId string, reqEditors ...RequestEditorFn) (*GetReleaseTargetForResourceInDeploymentResponse, error)

GetReleaseTargetForResourceInDeploymentWithResponse request returning *GetReleaseTargetForResourceInDeploymentResponse

func (*ClientWithResponses) GetReleaseTargetStateWithResponse

func (c *ClientWithResponses) GetReleaseTargetStateWithResponse(ctx context.Context, workspaceId string, releaseTargetKey string, params *GetReleaseTargetStateParams, reqEditors ...RequestEditorFn) (*GetReleaseTargetStateResponse, error)

GetReleaseTargetStateWithResponse request returning *GetReleaseTargetStateResponse

func (*ClientWithResponses) GetReleaseWithResponse

func (c *ClientWithResponses) GetReleaseWithResponse(ctx context.Context, workspaceId string, releaseId string, reqEditors ...RequestEditorFn) (*GetReleaseResponse, error)

GetReleaseWithResponse request returning *GetReleaseResponse

func (*ClientWithResponses) GetResourceByIdentifierWithResponse

func (c *ClientWithResponses) GetResourceByIdentifierWithResponse(ctx context.Context, workspaceId string, identifier string, reqEditors ...RequestEditorFn) (*GetResourceByIdentifierResponse, error)

GetResourceByIdentifierWithResponse request returning *GetResourceByIdentifierResponse

func (*ClientWithResponses) GetResourceProviderByNameWithResponse

func (c *ClientWithResponses) GetResourceProviderByNameWithResponse(ctx context.Context, workspaceId string, name string, reqEditors ...RequestEditorFn) (*GetResourceProviderByNameResponse, error)

GetResourceProviderByNameWithResponse request returning *GetResourceProviderByNameResponse

func (*ClientWithResponses) GetSystemWithResponse

func (c *ClientWithResponses) GetSystemWithResponse(ctx context.Context, workspaceId string, systemId string, reqEditors ...RequestEditorFn) (*GetSystemResponse, error)

GetSystemWithResponse request returning *GetSystemResponse

func (*ClientWithResponses) GetVariablesForResourceWithResponse

func (c *ClientWithResponses) GetVariablesForResourceWithResponse(ctx context.Context, workspaceId string, identifier string, params *GetVariablesForResourceParams, reqEditors ...RequestEditorFn) (*GetVariablesForResourceResponse, error)

GetVariablesForResourceWithResponse request returning *GetVariablesForResourceResponse

func (*ClientWithResponses) GetWorkspaceBySlugWithResponse

func (c *ClientWithResponses) GetWorkspaceBySlugWithResponse(ctx context.Context, workspaceSlug string, reqEditors ...RequestEditorFn) (*GetWorkspaceBySlugResponse, error)

GetWorkspaceBySlugWithResponse request returning *GetWorkspaceBySlugResponse

func (*ClientWithResponses) GetWorkspaceID

func (c *ClientWithResponses) GetWorkspaceID(ctx context.Context, workspace string) uuid.UUID

func (*ClientWithResponses) GetWorkspaceWithResponse

func (c *ClientWithResponses) GetWorkspaceWithResponse(ctx context.Context, workspaceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetWorkspaceResponse, error)

GetWorkspaceWithResponse request returning *GetWorkspaceResponse

func (*ClientWithResponses) ListDeploymentVariableValuesWithResponse

func (c *ClientWithResponses) ListDeploymentVariableValuesWithResponse(ctx context.Context, workspaceId string, deploymentId string, variableId string, params *ListDeploymentVariableValuesParams, reqEditors ...RequestEditorFn) (*ListDeploymentVariableValuesResponse, error)

ListDeploymentVariableValuesWithResponse request returning *ListDeploymentVariableValuesResponse

func (*ClientWithResponses) ListDeploymentVariablesWithResponse

func (c *ClientWithResponses) ListDeploymentVariablesWithResponse(ctx context.Context, workspaceId string, deploymentId string, params *ListDeploymentVariablesParams, reqEditors ...RequestEditorFn) (*ListDeploymentVariablesResponse, error)

ListDeploymentVariablesWithResponse request returning *ListDeploymentVariablesResponse

func (*ClientWithResponses) ListDeploymentVersionsWithResponse

func (c *ClientWithResponses) ListDeploymentVersionsWithResponse(ctx context.Context, workspaceId string, deploymentId string, params *ListDeploymentVersionsParams, reqEditors ...RequestEditorFn) (*ListDeploymentVersionsResponse, error)

ListDeploymentVersionsWithResponse request returning *ListDeploymentVersionsResponse

func (*ClientWithResponses) ListDeploymentsWithResponse

func (c *ClientWithResponses) ListDeploymentsWithResponse(ctx context.Context, workspaceId string, params *ListDeploymentsParams, reqEditors ...RequestEditorFn) (*ListDeploymentsResponse, error)

ListDeploymentsWithResponse request returning *ListDeploymentsResponse

func (*ClientWithResponses) ListEnvironmentsWithResponse

func (c *ClientWithResponses) ListEnvironmentsWithResponse(ctx context.Context, workspaceId string, params *ListEnvironmentsParams, reqEditors ...RequestEditorFn) (*ListEnvironmentsResponse, error)

ListEnvironmentsWithResponse request returning *ListEnvironmentsResponse

func (*ClientWithResponses) ListJobAgentsWithResponse

func (c *ClientWithResponses) ListJobAgentsWithResponse(ctx context.Context, workspaceId string, params *ListJobAgentsParams, reqEditors ...RequestEditorFn) (*ListJobAgentsResponse, error)

ListJobAgentsWithResponse request returning *ListJobAgentsResponse

func (*ClientWithResponses) ListPoliciesWithResponse

func (c *ClientWithResponses) ListPoliciesWithResponse(ctx context.Context, workspaceId string, params *ListPoliciesParams, reqEditors ...RequestEditorFn) (*ListPoliciesResponse, error)

ListPoliciesWithResponse request returning *ListPoliciesResponse

func (*ClientWithResponses) ListSystemsWithResponse

func (c *ClientWithResponses) ListSystemsWithResponse(ctx context.Context, workspaceId string, params *ListSystemsParams, reqEditors ...RequestEditorFn) (*ListSystemsResponse, error)

ListSystemsWithResponse request returning *ListSystemsResponse

func (*ClientWithResponses) ListWorkspacesWithResponse

func (c *ClientWithResponses) ListWorkspacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListWorkspacesResponse, error)

ListWorkspacesWithResponse request returning *ListWorkspacesResponse

func (*ClientWithResponses) RequestDeploymentCreationWithBodyWithResponse

func (c *ClientWithResponses) RequestDeploymentCreationWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestDeploymentCreationResponse, error)

RequestDeploymentCreationWithBodyWithResponse request with arbitrary body returning *RequestDeploymentCreationResponse

func (*ClientWithResponses) RequestDeploymentCreationWithResponse

func (c *ClientWithResponses) RequestDeploymentCreationWithResponse(ctx context.Context, workspaceId string, body RequestDeploymentCreationJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestDeploymentCreationResponse, error)

func (*ClientWithResponses) RequestDeploymentDeletionWithResponse

func (c *ClientWithResponses) RequestDeploymentDeletionWithResponse(ctx context.Context, workspaceId string, deploymentId string, reqEditors ...RequestEditorFn) (*RequestDeploymentDeletionResponse, error)

RequestDeploymentDeletionWithResponse request returning *RequestDeploymentDeletionResponse

func (*ClientWithResponses) RequestDeploymentUpdateWithBodyWithResponse

func (c *ClientWithResponses) RequestDeploymentUpdateWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestDeploymentUpdateResponse, error)

RequestDeploymentUpdateWithBodyWithResponse request with arbitrary body returning *RequestDeploymentUpdateResponse

func (*ClientWithResponses) RequestDeploymentUpdateWithResponse

func (c *ClientWithResponses) RequestDeploymentUpdateWithResponse(ctx context.Context, workspaceId string, deploymentId string, body RequestDeploymentUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestDeploymentUpdateResponse, error)

func (*ClientWithResponses) RequestDeploymentVariableDeletionWithResponse

func (c *ClientWithResponses) RequestDeploymentVariableDeletionWithResponse(ctx context.Context, workspaceId string, deploymentId string, variableId string, reqEditors ...RequestEditorFn) (*RequestDeploymentVariableDeletionResponse, error)

RequestDeploymentVariableDeletionWithResponse request returning *RequestDeploymentVariableDeletionResponse

func (*ClientWithResponses) RequestDeploymentVariableUpdateWithBodyWithResponse

func (c *ClientWithResponses) RequestDeploymentVariableUpdateWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentId string, variableId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestDeploymentVariableUpdateResponse, error)

RequestDeploymentVariableUpdateWithBodyWithResponse request with arbitrary body returning *RequestDeploymentVariableUpdateResponse

func (*ClientWithResponses) RequestDeploymentVariableUpdateWithResponse

func (c *ClientWithResponses) RequestDeploymentVariableUpdateWithResponse(ctx context.Context, workspaceId string, deploymentId string, variableId string, body RequestDeploymentVariableUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestDeploymentVariableUpdateResponse, error)

func (*ClientWithResponses) RequestDeploymentVariableValueDeletionWithResponse

func (c *ClientWithResponses) RequestDeploymentVariableValueDeletionWithResponse(ctx context.Context, workspaceId string, deploymentId string, variableId string, valueId string, reqEditors ...RequestEditorFn) (*RequestDeploymentVariableValueDeletionResponse, error)

RequestDeploymentVariableValueDeletionWithResponse request returning *RequestDeploymentVariableValueDeletionResponse

func (*ClientWithResponses) RequestDeploymentVariableValueUpdateWithBodyWithResponse

func (c *ClientWithResponses) RequestDeploymentVariableValueUpdateWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentId string, variableId string, valueId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestDeploymentVariableValueUpdateResponse, error)

RequestDeploymentVariableValueUpdateWithBodyWithResponse request with arbitrary body returning *RequestDeploymentVariableValueUpdateResponse

func (*ClientWithResponses) RequestDeploymentVariableValueUpdateWithResponse

func (c *ClientWithResponses) RequestDeploymentVariableValueUpdateWithResponse(ctx context.Context, workspaceId string, deploymentId string, variableId string, valueId string, body RequestDeploymentVariableValueUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestDeploymentVariableValueUpdateResponse, error)

func (*ClientWithResponses) RequestEnvironmentCreationWithBodyWithResponse

func (c *ClientWithResponses) RequestEnvironmentCreationWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestEnvironmentCreationResponse, error)

RequestEnvironmentCreationWithBodyWithResponse request with arbitrary body returning *RequestEnvironmentCreationResponse

func (*ClientWithResponses) RequestEnvironmentCreationWithResponse

func (c *ClientWithResponses) RequestEnvironmentCreationWithResponse(ctx context.Context, workspaceId string, body RequestEnvironmentCreationJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestEnvironmentCreationResponse, error)

func (*ClientWithResponses) RequestEnvironmentDeletionWithResponse

func (c *ClientWithResponses) RequestEnvironmentDeletionWithResponse(ctx context.Context, workspaceId string, environmentId string, reqEditors ...RequestEditorFn) (*RequestEnvironmentDeletionResponse, error)

RequestEnvironmentDeletionWithResponse request returning *RequestEnvironmentDeletionResponse

func (*ClientWithResponses) RequestEnvironmentUpdateWithBodyWithResponse

func (c *ClientWithResponses) RequestEnvironmentUpdateWithBodyWithResponse(ctx context.Context, workspaceId string, environmentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestEnvironmentUpdateResponse, error)

RequestEnvironmentUpdateWithBodyWithResponse request with arbitrary body returning *RequestEnvironmentUpdateResponse

func (*ClientWithResponses) RequestEnvironmentUpdateWithResponse

func (c *ClientWithResponses) RequestEnvironmentUpdateWithResponse(ctx context.Context, workspaceId string, environmentId string, body RequestEnvironmentUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestEnvironmentUpdateResponse, error)

func (*ClientWithResponses) RequestJobAgentDeletionWithResponse

func (c *ClientWithResponses) RequestJobAgentDeletionWithResponse(ctx context.Context, workspaceId string, jobAgentId string, reqEditors ...RequestEditorFn) (*RequestJobAgentDeletionResponse, error)

RequestJobAgentDeletionWithResponse request returning *RequestJobAgentDeletionResponse

func (*ClientWithResponses) RequestJobAgentUpdateWithBodyWithResponse

func (c *ClientWithResponses) RequestJobAgentUpdateWithBodyWithResponse(ctx context.Context, workspaceId string, jobAgentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestJobAgentUpdateResponse, error)

RequestJobAgentUpdateWithBodyWithResponse request with arbitrary body returning *RequestJobAgentUpdateResponse

func (*ClientWithResponses) RequestJobAgentUpdateWithResponse

func (c *ClientWithResponses) RequestJobAgentUpdateWithResponse(ctx context.Context, workspaceId string, jobAgentId string, body RequestJobAgentUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestJobAgentUpdateResponse, error)

func (*ClientWithResponses) RequestJobStatusUpdateWithBodyWithResponse

func (c *ClientWithResponses) RequestJobStatusUpdateWithBodyWithResponse(ctx context.Context, workspaceId string, jobId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestJobStatusUpdateResponse, error)

RequestJobStatusUpdateWithBodyWithResponse request with arbitrary body returning *RequestJobStatusUpdateResponse

func (*ClientWithResponses) RequestJobStatusUpdateWithResponse

func (c *ClientWithResponses) RequestJobStatusUpdateWithResponse(ctx context.Context, workspaceId string, jobId string, body RequestJobStatusUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestJobStatusUpdateResponse, error)

func (*ClientWithResponses) RequestPolicyCreationWithBodyWithResponse

func (c *ClientWithResponses) RequestPolicyCreationWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestPolicyCreationResponse, error)

RequestPolicyCreationWithBodyWithResponse request with arbitrary body returning *RequestPolicyCreationResponse

func (*ClientWithResponses) RequestPolicyCreationWithResponse

func (c *ClientWithResponses) RequestPolicyCreationWithResponse(ctx context.Context, workspaceId string, body RequestPolicyCreationJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestPolicyCreationResponse, error)

func (*ClientWithResponses) RequestPolicyDeletionWithResponse

func (c *ClientWithResponses) RequestPolicyDeletionWithResponse(ctx context.Context, workspaceId string, policyId string, reqEditors ...RequestEditorFn) (*RequestPolicyDeletionResponse, error)

RequestPolicyDeletionWithResponse request returning *RequestPolicyDeletionResponse

func (*ClientWithResponses) RequestPolicyUpdateWithBodyWithResponse

func (c *ClientWithResponses) RequestPolicyUpdateWithBodyWithResponse(ctx context.Context, workspaceId string, policyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestPolicyUpdateResponse, error)

RequestPolicyUpdateWithBodyWithResponse request with arbitrary body returning *RequestPolicyUpdateResponse

func (*ClientWithResponses) RequestPolicyUpdateWithResponse

func (c *ClientWithResponses) RequestPolicyUpdateWithResponse(ctx context.Context, workspaceId string, policyId string, body RequestPolicyUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestPolicyUpdateResponse, error)

func (*ClientWithResponses) RequestResourceDeletionByIdentifierWithResponse

func (c *ClientWithResponses) RequestResourceDeletionByIdentifierWithResponse(ctx context.Context, workspaceId string, identifier string, reqEditors ...RequestEditorFn) (*RequestResourceDeletionByIdentifierResponse, error)

RequestResourceDeletionByIdentifierWithResponse request returning *RequestResourceDeletionByIdentifierResponse

func (*ClientWithResponses) RequestResourceProviderUpsertWithBodyWithResponse

func (c *ClientWithResponses) RequestResourceProviderUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestResourceProviderUpsertResponse, error)

RequestResourceProviderUpsertWithBodyWithResponse request with arbitrary body returning *RequestResourceProviderUpsertResponse

func (*ClientWithResponses) RequestResourceProviderUpsertWithResponse

func (c *ClientWithResponses) RequestResourceProviderUpsertWithResponse(ctx context.Context, workspaceId string, body RequestResourceProviderUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestResourceProviderUpsertResponse, error)

func (*ClientWithResponses) RequestResourceProvidersResourcesPatchWithBodyWithResponse

func (c *ClientWithResponses) RequestResourceProvidersResourcesPatchWithBodyWithResponse(ctx context.Context, workspaceId string, providerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestResourceProvidersResourcesPatchResponse, error)

RequestResourceProvidersResourcesPatchWithBodyWithResponse request with arbitrary body returning *RequestResourceProvidersResourcesPatchResponse

func (*ClientWithResponses) RequestResourceProvidersResourcesPatchWithResponse

func (c *ClientWithResponses) RequestResourceProvidersResourcesPatchWithResponse(ctx context.Context, workspaceId string, providerId string, body RequestResourceProvidersResourcesPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestResourceProvidersResourcesPatchResponse, error)

func (*ClientWithResponses) RequestResourceProvidersResourcesWithBodyWithResponse

func (c *ClientWithResponses) RequestResourceProvidersResourcesWithBodyWithResponse(ctx context.Context, workspaceId string, providerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestResourceProvidersResourcesResponse, error)

RequestResourceProvidersResourcesWithBodyWithResponse request with arbitrary body returning *RequestResourceProvidersResourcesResponse

func (*ClientWithResponses) RequestResourceProvidersResourcesWithResponse

func (c *ClientWithResponses) RequestResourceProvidersResourcesWithResponse(ctx context.Context, workspaceId string, providerId string, body RequestResourceProvidersResourcesJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestResourceProvidersResourcesResponse, error)

func (*ClientWithResponses) RequestResourceVariablesUpdateWithBodyWithResponse

func (c *ClientWithResponses) RequestResourceVariablesUpdateWithBodyWithResponse(ctx context.Context, workspaceId string, identifier string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestResourceVariablesUpdateResponse, error)

RequestResourceVariablesUpdateWithBodyWithResponse request with arbitrary body returning *RequestResourceVariablesUpdateResponse

func (*ClientWithResponses) RequestResourceVariablesUpdateWithResponse

func (c *ClientWithResponses) RequestResourceVariablesUpdateWithResponse(ctx context.Context, workspaceId string, identifier string, body RequestResourceVariablesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestResourceVariablesUpdateResponse, error)

func (*ClientWithResponses) RequestSystemCreationWithBodyWithResponse

func (c *ClientWithResponses) RequestSystemCreationWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestSystemCreationResponse, error)

RequestSystemCreationWithBodyWithResponse request with arbitrary body returning *RequestSystemCreationResponse

func (*ClientWithResponses) RequestSystemCreationWithResponse

func (c *ClientWithResponses) RequestSystemCreationWithResponse(ctx context.Context, workspaceId string, body RequestSystemCreationJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestSystemCreationResponse, error)

func (*ClientWithResponses) RequestSystemDeletionWithResponse

func (c *ClientWithResponses) RequestSystemDeletionWithResponse(ctx context.Context, workspaceId string, systemId string, reqEditors ...RequestEditorFn) (*RequestSystemDeletionResponse, error)

RequestSystemDeletionWithResponse request returning *RequestSystemDeletionResponse

func (*ClientWithResponses) RequestSystemUpdateWithBodyWithResponse

func (c *ClientWithResponses) RequestSystemUpdateWithBodyWithResponse(ctx context.Context, workspaceId string, systemId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestSystemUpdateResponse, error)

RequestSystemUpdateWithBodyWithResponse request with arbitrary body returning *RequestSystemUpdateResponse

func (*ClientWithResponses) RequestSystemUpdateWithResponse

func (c *ClientWithResponses) RequestSystemUpdateWithResponse(ctx context.Context, workspaceId string, systemId string, body RequestSystemUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestSystemUpdateResponse, error)

func (*ClientWithResponses) RequestUserApprovalRecordUpdateWithBodyWithResponse

func (c *ClientWithResponses) RequestUserApprovalRecordUpdateWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestUserApprovalRecordUpdateResponse, error)

RequestUserApprovalRecordUpdateWithBodyWithResponse request with arbitrary body returning *RequestUserApprovalRecordUpdateResponse

func (*ClientWithResponses) RequestUserApprovalRecordUpdateWithResponse

func (c *ClientWithResponses) RequestUserApprovalRecordUpdateWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, body RequestUserApprovalRecordUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestUserApprovalRecordUpdateResponse, error)

func (*ClientWithResponses) UpdateDeploymentVersionWithBodyWithResponse

func (c *ClientWithResponses) UpdateDeploymentVersionWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDeploymentVersionResponse, error)

UpdateDeploymentVersionWithBodyWithResponse request with arbitrary body returning *UpdateDeploymentVersionResponse

func (*ClientWithResponses) UpdateDeploymentVersionWithResponse

func (c *ClientWithResponses) UpdateDeploymentVersionWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, body UpdateDeploymentVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDeploymentVersionResponse, error)

func (*ClientWithResponses) UpdateWorkspaceWithBodyWithResponse

func (c *ClientWithResponses) UpdateWorkspaceWithBodyWithResponse(ctx context.Context, workspaceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkspaceResponse, error)

UpdateWorkspaceWithBodyWithResponse request with arbitrary body returning *UpdateWorkspaceResponse

func (*ClientWithResponses) UpdateWorkspaceWithResponse

func (c *ClientWithResponses) UpdateWorkspaceWithResponse(ctx context.Context, workspaceId openapi_types.UUID, body UpdateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWorkspaceResponse, error)

func (*ClientWithResponses) UpsertRelationshipByIdWithBodyWithResponse

func (c *ClientWithResponses) UpsertRelationshipByIdWithBodyWithResponse(ctx context.Context, workspaceId string, relationshipRuleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertRelationshipByIdResponse, error)

UpsertRelationshipByIdWithBodyWithResponse request with arbitrary body returning *UpsertRelationshipByIdResponse

func (*ClientWithResponses) UpsertRelationshipByIdWithResponse

func (c *ClientWithResponses) UpsertRelationshipByIdWithResponse(ctx context.Context, workspaceId string, relationshipRuleId string, body UpsertRelationshipByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertRelationshipByIdResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// ListWorkspacesWithResponse request
	ListWorkspacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListWorkspacesResponse, error)

	// CreateWorkspaceWithBodyWithResponse request with any body
	CreateWorkspaceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkspaceResponse, error)

	CreateWorkspaceWithResponse(ctx context.Context, body CreateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWorkspaceResponse, error)

	// GetWorkspaceBySlugWithResponse request
	GetWorkspaceBySlugWithResponse(ctx context.Context, workspaceSlug string, reqEditors ...RequestEditorFn) (*GetWorkspaceBySlugResponse, error)

	// DeleteWorkspaceWithResponse request
	DeleteWorkspaceWithResponse(ctx context.Context, workspaceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteWorkspaceResponse, error)

	// GetWorkspaceWithResponse request
	GetWorkspaceWithResponse(ctx context.Context, workspaceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetWorkspaceResponse, error)

	// UpdateWorkspaceWithBodyWithResponse request with any body
	UpdateWorkspaceWithBodyWithResponse(ctx context.Context, workspaceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkspaceResponse, error)

	UpdateWorkspaceWithResponse(ctx context.Context, workspaceId openapi_types.UUID, body UpdateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWorkspaceResponse, error)

	// RequestUserApprovalRecordUpdateWithBodyWithResponse request with any body
	RequestUserApprovalRecordUpdateWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestUserApprovalRecordUpdateResponse, error)

	RequestUserApprovalRecordUpdateWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, body RequestUserApprovalRecordUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestUserApprovalRecordUpdateResponse, error)

	// ListDeploymentsWithResponse request
	ListDeploymentsWithResponse(ctx context.Context, workspaceId string, params *ListDeploymentsParams, reqEditors ...RequestEditorFn) (*ListDeploymentsResponse, error)

	// RequestDeploymentCreationWithBodyWithResponse request with any body
	RequestDeploymentCreationWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestDeploymentCreationResponse, error)

	RequestDeploymentCreationWithResponse(ctx context.Context, workspaceId string, body RequestDeploymentCreationJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestDeploymentCreationResponse, error)

	// RequestDeploymentDeletionWithResponse request
	RequestDeploymentDeletionWithResponse(ctx context.Context, workspaceId string, deploymentId string, reqEditors ...RequestEditorFn) (*RequestDeploymentDeletionResponse, error)

	// GetDeploymentWithResponse request
	GetDeploymentWithResponse(ctx context.Context, workspaceId string, deploymentId string, reqEditors ...RequestEditorFn) (*GetDeploymentResponse, error)

	// RequestDeploymentUpdateWithBodyWithResponse request with any body
	RequestDeploymentUpdateWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestDeploymentUpdateResponse, error)

	RequestDeploymentUpdateWithResponse(ctx context.Context, workspaceId string, deploymentId string, body RequestDeploymentUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestDeploymentUpdateResponse, error)

	// ListDeploymentVariablesWithResponse request
	ListDeploymentVariablesWithResponse(ctx context.Context, workspaceId string, deploymentId string, params *ListDeploymentVariablesParams, reqEditors ...RequestEditorFn) (*ListDeploymentVariablesResponse, error)

	// RequestDeploymentVariableDeletionWithResponse request
	RequestDeploymentVariableDeletionWithResponse(ctx context.Context, workspaceId string, deploymentId string, variableId string, reqEditors ...RequestEditorFn) (*RequestDeploymentVariableDeletionResponse, error)

	// GetDeploymentVariableWithResponse request
	GetDeploymentVariableWithResponse(ctx context.Context, workspaceId string, deploymentId string, variableId string, reqEditors ...RequestEditorFn) (*GetDeploymentVariableResponse, error)

	// RequestDeploymentVariableUpdateWithBodyWithResponse request with any body
	RequestDeploymentVariableUpdateWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentId string, variableId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestDeploymentVariableUpdateResponse, error)

	RequestDeploymentVariableUpdateWithResponse(ctx context.Context, workspaceId string, deploymentId string, variableId string, body RequestDeploymentVariableUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestDeploymentVariableUpdateResponse, error)

	// ListDeploymentVariableValuesWithResponse request
	ListDeploymentVariableValuesWithResponse(ctx context.Context, workspaceId string, deploymentId string, variableId string, params *ListDeploymentVariableValuesParams, reqEditors ...RequestEditorFn) (*ListDeploymentVariableValuesResponse, error)

	// RequestDeploymentVariableValueDeletionWithResponse request
	RequestDeploymentVariableValueDeletionWithResponse(ctx context.Context, workspaceId string, deploymentId string, variableId string, valueId string, reqEditors ...RequestEditorFn) (*RequestDeploymentVariableValueDeletionResponse, error)

	// GetDeploymentVariableValueWithResponse request
	GetDeploymentVariableValueWithResponse(ctx context.Context, workspaceId string, deploymentId string, variableId string, valueId string, reqEditors ...RequestEditorFn) (*GetDeploymentVariableValueResponse, error)

	// RequestDeploymentVariableValueUpdateWithBodyWithResponse request with any body
	RequestDeploymentVariableValueUpdateWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentId string, variableId string, valueId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestDeploymentVariableValueUpdateResponse, error)

	RequestDeploymentVariableValueUpdateWithResponse(ctx context.Context, workspaceId string, deploymentId string, variableId string, valueId string, body RequestDeploymentVariableValueUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestDeploymentVariableValueUpdateResponse, error)

	// ListDeploymentVersionsWithResponse request
	ListDeploymentVersionsWithResponse(ctx context.Context, workspaceId string, deploymentId string, params *ListDeploymentVersionsParams, reqEditors ...RequestEditorFn) (*ListDeploymentVersionsResponse, error)

	// CreateDeploymentVersionWithBodyWithResponse request with any body
	CreateDeploymentVersionWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDeploymentVersionResponse, error)

	CreateDeploymentVersionWithResponse(ctx context.Context, workspaceId string, deploymentId string, body CreateDeploymentVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDeploymentVersionResponse, error)

	// UpdateDeploymentVersionWithBodyWithResponse request with any body
	UpdateDeploymentVersionWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDeploymentVersionResponse, error)

	UpdateDeploymentVersionWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, body UpdateDeploymentVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDeploymentVersionResponse, error)

	// ListEnvironmentsWithResponse request
	ListEnvironmentsWithResponse(ctx context.Context, workspaceId string, params *ListEnvironmentsParams, reqEditors ...RequestEditorFn) (*ListEnvironmentsResponse, error)

	// RequestEnvironmentCreationWithBodyWithResponse request with any body
	RequestEnvironmentCreationWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestEnvironmentCreationResponse, error)

	RequestEnvironmentCreationWithResponse(ctx context.Context, workspaceId string, body RequestEnvironmentCreationJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestEnvironmentCreationResponse, error)

	// RequestEnvironmentDeletionWithResponse request
	RequestEnvironmentDeletionWithResponse(ctx context.Context, workspaceId string, environmentId string, reqEditors ...RequestEditorFn) (*RequestEnvironmentDeletionResponse, error)

	// GetEnvironmentWithResponse request
	GetEnvironmentWithResponse(ctx context.Context, workspaceId string, environmentId string, reqEditors ...RequestEditorFn) (*GetEnvironmentResponse, error)

	// RequestEnvironmentUpdateWithBodyWithResponse request with any body
	RequestEnvironmentUpdateWithBodyWithResponse(ctx context.Context, workspaceId string, environmentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestEnvironmentUpdateResponse, error)

	RequestEnvironmentUpdateWithResponse(ctx context.Context, workspaceId string, environmentId string, body RequestEnvironmentUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestEnvironmentUpdateResponse, error)

	// ListJobAgentsWithResponse request
	ListJobAgentsWithResponse(ctx context.Context, workspaceId string, params *ListJobAgentsParams, reqEditors ...RequestEditorFn) (*ListJobAgentsResponse, error)

	// RequestJobAgentDeletionWithResponse request
	RequestJobAgentDeletionWithResponse(ctx context.Context, workspaceId string, jobAgentId string, reqEditors ...RequestEditorFn) (*RequestJobAgentDeletionResponse, error)

	// GetJobAgentWithResponse request
	GetJobAgentWithResponse(ctx context.Context, workspaceId string, jobAgentId string, reqEditors ...RequestEditorFn) (*GetJobAgentResponse, error)

	// RequestJobAgentUpdateWithBodyWithResponse request with any body
	RequestJobAgentUpdateWithBodyWithResponse(ctx context.Context, workspaceId string, jobAgentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestJobAgentUpdateResponse, error)

	RequestJobAgentUpdateWithResponse(ctx context.Context, workspaceId string, jobAgentId string, body RequestJobAgentUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestJobAgentUpdateResponse, error)

	// GetJobsWithResponse request
	GetJobsWithResponse(ctx context.Context, workspaceId string, params *GetJobsParams, reqEditors ...RequestEditorFn) (*GetJobsResponse, error)

	// GetJobWithResponse request
	GetJobWithResponse(ctx context.Context, workspaceId string, jobId string, reqEditors ...RequestEditorFn) (*GetJobResponse, error)

	// RequestJobStatusUpdateWithBodyWithResponse request with any body
	RequestJobStatusUpdateWithBodyWithResponse(ctx context.Context, workspaceId string, jobId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestJobStatusUpdateResponse, error)

	RequestJobStatusUpdateWithResponse(ctx context.Context, workspaceId string, jobId string, body RequestJobStatusUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestJobStatusUpdateResponse, error)

	// ListPoliciesWithResponse request
	ListPoliciesWithResponse(ctx context.Context, workspaceId string, params *ListPoliciesParams, reqEditors ...RequestEditorFn) (*ListPoliciesResponse, error)

	// RequestPolicyCreationWithBodyWithResponse request with any body
	RequestPolicyCreationWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestPolicyCreationResponse, error)

	RequestPolicyCreationWithResponse(ctx context.Context, workspaceId string, body RequestPolicyCreationJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestPolicyCreationResponse, error)

	// RequestPolicyDeletionWithResponse request
	RequestPolicyDeletionWithResponse(ctx context.Context, workspaceId string, policyId string, reqEditors ...RequestEditorFn) (*RequestPolicyDeletionResponse, error)

	// GetPolicyWithResponse request
	GetPolicyWithResponse(ctx context.Context, workspaceId string, policyId string, reqEditors ...RequestEditorFn) (*GetPolicyResponse, error)

	// RequestPolicyUpdateWithBodyWithResponse request with any body
	RequestPolicyUpdateWithBodyWithResponse(ctx context.Context, workspaceId string, policyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestPolicyUpdateResponse, error)

	RequestPolicyUpdateWithResponse(ctx context.Context, workspaceId string, policyId string, body RequestPolicyUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestPolicyUpdateResponse, error)

	// CreateRelationshipRuleWithBodyWithResponse request with any body
	CreateRelationshipRuleWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRelationshipRuleResponse, error)

	CreateRelationshipRuleWithResponse(ctx context.Context, workspaceId string, body CreateRelationshipRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRelationshipRuleResponse, error)

	// DeleteRelationshipWithResponse request
	DeleteRelationshipWithResponse(ctx context.Context, workspaceId string, relationshipRuleId string, reqEditors ...RequestEditorFn) (*DeleteRelationshipResponse, error)

	// GetRelationshipRuleWithResponse request
	GetRelationshipRuleWithResponse(ctx context.Context, workspaceId string, relationshipRuleId string, reqEditors ...RequestEditorFn) (*GetRelationshipRuleResponse, error)

	// UpsertRelationshipByIdWithBodyWithResponse request with any body
	UpsertRelationshipByIdWithBodyWithResponse(ctx context.Context, workspaceId string, relationshipRuleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertRelationshipByIdResponse, error)

	UpsertRelationshipByIdWithResponse(ctx context.Context, workspaceId string, relationshipRuleId string, body UpsertRelationshipByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertRelationshipByIdResponse, error)

	// GetReleaseTargetDesiredReleaseWithResponse request
	GetReleaseTargetDesiredReleaseWithResponse(ctx context.Context, workspaceId string, releaseTargetKey string, reqEditors ...RequestEditorFn) (*GetReleaseTargetDesiredReleaseResponse, error)

	// GetJobsForReleaseTargetWithResponse request
	GetJobsForReleaseTargetWithResponse(ctx context.Context, workspaceId string, releaseTargetKey string, params *GetJobsForReleaseTargetParams, reqEditors ...RequestEditorFn) (*GetJobsForReleaseTargetResponse, error)

	// GetReleaseTargetStateWithResponse request
	GetReleaseTargetStateWithResponse(ctx context.Context, workspaceId string, releaseTargetKey string, params *GetReleaseTargetStateParams, reqEditors ...RequestEditorFn) (*GetReleaseTargetStateResponse, error)

	// GetReleaseWithResponse request
	GetReleaseWithResponse(ctx context.Context, workspaceId string, releaseId string, reqEditors ...RequestEditorFn) (*GetReleaseResponse, error)

	// RequestResourceProviderUpsertWithBodyWithResponse request with any body
	RequestResourceProviderUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestResourceProviderUpsertResponse, error)

	RequestResourceProviderUpsertWithResponse(ctx context.Context, workspaceId string, body RequestResourceProviderUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestResourceProviderUpsertResponse, error)

	// GetResourceProviderByNameWithResponse request
	GetResourceProviderByNameWithResponse(ctx context.Context, workspaceId string, name string, reqEditors ...RequestEditorFn) (*GetResourceProviderByNameResponse, error)

	// RequestResourceProvidersResourcesPatchWithBodyWithResponse request with any body
	RequestResourceProvidersResourcesPatchWithBodyWithResponse(ctx context.Context, workspaceId string, providerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestResourceProvidersResourcesPatchResponse, error)

	RequestResourceProvidersResourcesPatchWithResponse(ctx context.Context, workspaceId string, providerId string, body RequestResourceProvidersResourcesPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestResourceProvidersResourcesPatchResponse, error)

	// RequestResourceProvidersResourcesWithBodyWithResponse request with any body
	RequestResourceProvidersResourcesWithBodyWithResponse(ctx context.Context, workspaceId string, providerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestResourceProvidersResourcesResponse, error)

	RequestResourceProvidersResourcesWithResponse(ctx context.Context, workspaceId string, providerId string, body RequestResourceProvidersResourcesJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestResourceProvidersResourcesResponse, error)

	// GetAllResourcesWithResponse request
	GetAllResourcesWithResponse(ctx context.Context, workspaceId string, params *GetAllResourcesParams, reqEditors ...RequestEditorFn) (*GetAllResourcesResponse, error)

	// RequestResourceDeletionByIdentifierWithResponse request
	RequestResourceDeletionByIdentifierWithResponse(ctx context.Context, workspaceId string, identifier string, reqEditors ...RequestEditorFn) (*RequestResourceDeletionByIdentifierResponse, error)

	// GetResourceByIdentifierWithResponse request
	GetResourceByIdentifierWithResponse(ctx context.Context, workspaceId string, identifier string, reqEditors ...RequestEditorFn) (*GetResourceByIdentifierResponse, error)

	// GetVariablesForResourceWithResponse request
	GetVariablesForResourceWithResponse(ctx context.Context, workspaceId string, identifier string, params *GetVariablesForResourceParams, reqEditors ...RequestEditorFn) (*GetVariablesForResourceResponse, error)

	// RequestResourceVariablesUpdateWithBodyWithResponse request with any body
	RequestResourceVariablesUpdateWithBodyWithResponse(ctx context.Context, workspaceId string, identifier string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestResourceVariablesUpdateResponse, error)

	RequestResourceVariablesUpdateWithResponse(ctx context.Context, workspaceId string, identifier string, body RequestResourceVariablesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestResourceVariablesUpdateResponse, error)

	// GetReleaseTargetForResourceInDeploymentWithResponse request
	GetReleaseTargetForResourceInDeploymentWithResponse(ctx context.Context, workspaceId string, resourceIdentifier string, deploymentId string, reqEditors ...RequestEditorFn) (*GetReleaseTargetForResourceInDeploymentResponse, error)

	// ListSystemsWithResponse request
	ListSystemsWithResponse(ctx context.Context, workspaceId string, params *ListSystemsParams, reqEditors ...RequestEditorFn) (*ListSystemsResponse, error)

	// RequestSystemCreationWithBodyWithResponse request with any body
	RequestSystemCreationWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestSystemCreationResponse, error)

	RequestSystemCreationWithResponse(ctx context.Context, workspaceId string, body RequestSystemCreationJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestSystemCreationResponse, error)

	// RequestSystemDeletionWithResponse request
	RequestSystemDeletionWithResponse(ctx context.Context, workspaceId string, systemId string, reqEditors ...RequestEditorFn) (*RequestSystemDeletionResponse, error)

	// GetSystemWithResponse request
	GetSystemWithResponse(ctx context.Context, workspaceId string, systemId string, reqEditors ...RequestEditorFn) (*GetSystemResponse, error)

	// RequestSystemUpdateWithBodyWithResponse request with any body
	RequestSystemUpdateWithBodyWithResponse(ctx context.Context, workspaceId string, systemId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestSystemUpdateResponse, error)

	RequestSystemUpdateWithResponse(ctx context.Context, workspaceId string, systemId string, body RequestSystemUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestSystemUpdateResponse, error)

	// CreateWorkflowTemplateFromYamlWithBodyWithResponse request with any body
	CreateWorkflowTemplateFromYamlWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkflowTemplateFromYamlResponse, error)

	CreateWorkflowTemplateFromYamlWithResponse(ctx context.Context, workspaceId string, body CreateWorkflowTemplateFromYamlJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWorkflowTemplateFromYamlResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CreateDeploymentRequest

type CreateDeploymentRequest struct {
	Description      *string                 `json:"description,omitempty"`
	JobAgentConfig   *map[string]interface{} `json:"jobAgentConfig,omitempty"`
	JobAgentId       *string                 `json:"jobAgentId,omitempty"`
	Metadata         *map[string]string      `json:"metadata,omitempty"`
	Name             string                  `json:"name"`
	ResourceSelector *Selector               `json:"resourceSelector,omitempty"`
	Slug             string                  `json:"slug"`
	SystemId         string                  `json:"systemId"`
}

CreateDeploymentRequest defines model for CreateDeploymentRequest.

type CreateDeploymentVersionJSONRequestBody

type CreateDeploymentVersionJSONRequestBody = CreateDeploymentVersionRequest

CreateDeploymentVersionJSONRequestBody defines body for CreateDeploymentVersion for application/json ContentType.

type CreateDeploymentVersionRequest

type CreateDeploymentVersionRequest struct {
	Config         *map[string]interface{} `json:"config,omitempty"`
	CreatedAt      *time.Time              `json:"createdAt,omitempty"`
	JobAgentConfig *map[string]interface{} `json:"jobAgentConfig,omitempty"`
	Metadata       *map[string]string      `json:"metadata,omitempty"`
	Name           string                  `json:"name"`
	Status         DeploymentVersionStatus `json:"status"`
	Tag            string                  `json:"tag"`
}

CreateDeploymentVersionRequest defines model for CreateDeploymentVersionRequest.

type CreateDeploymentVersionResponse

type CreateDeploymentVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *DeploymentVersion
	JSON400      *ErrorResponse
}

func ParseCreateDeploymentVersionResponse

func ParseCreateDeploymentVersionResponse(rsp *http.Response) (*CreateDeploymentVersionResponse, error)

ParseCreateDeploymentVersionResponse parses an HTTP response from a CreateDeploymentVersionWithResponse call

func (CreateDeploymentVersionResponse) Status

Status returns HTTPResponse.Status

func (CreateDeploymentVersionResponse) StatusCode

func (r CreateDeploymentVersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateEnvironmentRequest

type CreateEnvironmentRequest struct {
	Description      *string            `json:"description,omitempty"`
	Metadata         *map[string]string `json:"metadata,omitempty"`
	Name             string             `json:"name"`
	ResourceSelector *Selector          `json:"resourceSelector,omitempty"`
	SystemId         string             `json:"systemId"`
}

CreateEnvironmentRequest defines model for CreateEnvironmentRequest.

type CreatePolicyRequest

type CreatePolicyRequest struct {
	Description *string `json:"description,omitempty"`
	Enabled     *bool   `json:"enabled,omitempty"`

	// Metadata Arbitrary metadata for the policy (record<string, string>)
	Metadata  *map[string]string      `json:"metadata,omitempty"`
	Name      string                  `json:"name"`
	Priority  *int                    `json:"priority,omitempty"`
	Rules     *[]PolicyRule           `json:"rules,omitempty"`
	Selectors *[]PolicyTargetSelector `json:"selectors,omitempty"`
}

CreatePolicyRequest defines model for CreatePolicyRequest.

type CreateRelationshipRuleJSONRequestBody

type CreateRelationshipRuleJSONRequestBody = CreateRelationshipRuleRequest

CreateRelationshipRuleJSONRequestBody defines body for CreateRelationshipRule for application/json ContentType.

type CreateRelationshipRuleRequest

type CreateRelationshipRuleRequest struct {
	Description      *string                               `json:"description,omitempty"`
	FromSelector     *Selector                             `json:"fromSelector,omitempty"`
	FromType         RelatableEntityType                   `json:"fromType"`
	Matcher          CreateRelationshipRuleRequest_Matcher `json:"matcher"`
	Metadata         map[string]string                     `json:"metadata"`
	Name             string                                `json:"name"`
	Reference        string                                `json:"reference"`
	RelationshipType string                                `json:"relationshipType"`
	ToSelector       *Selector                             `json:"toSelector,omitempty"`
	ToType           RelatableEntityType                   `json:"toType"`
}

CreateRelationshipRuleRequest defines model for CreateRelationshipRuleRequest.

type CreateRelationshipRuleRequest_Matcher

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

CreateRelationshipRuleRequest_Matcher defines model for CreateRelationshipRuleRequest.Matcher.

func (CreateRelationshipRuleRequest_Matcher) AsCelMatcher

AsCelMatcher returns the union data inside the CreateRelationshipRuleRequest_Matcher as a CelMatcher

func (*CreateRelationshipRuleRequest_Matcher) FromCelMatcher

FromCelMatcher overwrites any union data inside the CreateRelationshipRuleRequest_Matcher as the provided CelMatcher

func (CreateRelationshipRuleRequest_Matcher) MarshalJSON

func (t CreateRelationshipRuleRequest_Matcher) MarshalJSON() ([]byte, error)

func (*CreateRelationshipRuleRequest_Matcher) MergeCelMatcher

MergeCelMatcher performs a merge with any union data inside the CreateRelationshipRuleRequest_Matcher, using the provided CelMatcher

func (*CreateRelationshipRuleRequest_Matcher) UnmarshalJSON

func (t *CreateRelationshipRuleRequest_Matcher) UnmarshalJSON(b []byte) error

type CreateRelationshipRuleResponse

type CreateRelationshipRuleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *RelationshipRule
	JSON400      *ErrorResponse
}

func ParseCreateRelationshipRuleResponse

func ParseCreateRelationshipRuleResponse(rsp *http.Response) (*CreateRelationshipRuleResponse, error)

ParseCreateRelationshipRuleResponse parses an HTTP response from a CreateRelationshipRuleWithResponse call

func (CreateRelationshipRuleResponse) Status

Status returns HTTPResponse.Status

func (CreateRelationshipRuleResponse) StatusCode

func (r CreateRelationshipRuleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateSystemRequest

type CreateSystemRequest struct {
	Description *string            `json:"description,omitempty"`
	Metadata    *map[string]string `json:"metadata,omitempty"`
	Name        string             `json:"name"`
	Slug        *string            `json:"slug,omitempty"`
}

CreateSystemRequest defines model for CreateSystemRequest.

type CreateWorkflowTemplateFromYamlJSONBody

type CreateWorkflowTemplateFromYamlJSONBody struct {
	// Yaml The workflow definition in YAML format
	Yaml string `json:"yaml"`
}

CreateWorkflowTemplateFromYamlJSONBody defines parameters for CreateWorkflowTemplateFromYaml.

type CreateWorkflowTemplateFromYamlJSONRequestBody

type CreateWorkflowTemplateFromYamlJSONRequestBody CreateWorkflowTemplateFromYamlJSONBody

CreateWorkflowTemplateFromYamlJSONRequestBody defines body for CreateWorkflowTemplateFromYaml for application/json ContentType.

type CreateWorkflowTemplateFromYamlResponse

type CreateWorkflowTemplateFromYamlResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *WorkflowTemplate
	JSON400      *ErrorResponse
}

func ParseCreateWorkflowTemplateFromYamlResponse

func ParseCreateWorkflowTemplateFromYamlResponse(rsp *http.Response) (*CreateWorkflowTemplateFromYamlResponse, error)

ParseCreateWorkflowTemplateFromYamlResponse parses an HTTP response from a CreateWorkflowTemplateFromYamlWithResponse call

func (CreateWorkflowTemplateFromYamlResponse) Status

Status returns HTTPResponse.Status

func (CreateWorkflowTemplateFromYamlResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateWorkspaceJSONRequestBody

type CreateWorkspaceJSONRequestBody = CreateWorkspaceRequest

CreateWorkspaceJSONRequestBody defines body for CreateWorkspace for application/json ContentType.

type CreateWorkspaceRequest

type CreateWorkspaceRequest struct {
	// Name Display name of the workspace
	Name string `json:"name"`

	// Slug URL-friendly unique identifier (lowercase, no spaces)
	Slug string `json:"slug"`
}

CreateWorkspaceRequest defines model for CreateWorkspaceRequest.

type CreateWorkspaceResponse

type CreateWorkspaceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Workspace
	JSON400      *Error
	JSON401      *Error
	JSON409      *Error
	JSON500      *Error
}

func ParseCreateWorkspaceResponse

func ParseCreateWorkspaceResponse(rsp *http.Response) (*CreateWorkspaceResponse, error)

ParseCreateWorkspaceResponse parses an HTTP response from a CreateWorkspaceWithResponse call

func (CreateWorkspaceResponse) Status

func (r CreateWorkspaceResponse) Status() string

Status returns HTTPResponse.Status

func (CreateWorkspaceResponse) StatusCode

func (r CreateWorkspaceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DatadogMetricProvider

type DatadogMetricProvider struct {
	// Aggregator Datadog aggregator
	Aggregator *DatadogMetricProviderAggregator `json:"aggregator,omitempty"`

	// ApiKey Datadog API key (supports Go templates for variable references)
	ApiKey string `json:"apiKey"`

	// AppKey Datadog Application key (supports Go templates for variable references)
	AppKey string `json:"appKey"`

	// Formula Datadog formula (supports Go templates)
	Formula         *string `json:"formula,omitempty"`
	IntervalSeconds *int64  `json:"intervalSeconds,omitempty"`

	// Queries Datadog metrics queries (supports Go templates)
	Queries map[string]string `json:"queries"`

	// Site Datadog site URL (e.g., datadoghq.com, datadoghq.eu, us3.datadoghq.com)
	Site *string `json:"site,omitempty"`

	// Type Provider type
	Type DatadogMetricProviderType `json:"type"`
}

DatadogMetricProvider defines model for DatadogMetricProvider.

type DatadogMetricProviderAggregator

type DatadogMetricProviderAggregator string

DatadogMetricProviderAggregator Datadog aggregator

Defines values for DatadogMetricProviderAggregator.

type DatadogMetricProviderType

type DatadogMetricProviderType string

DatadogMetricProviderType Provider type

const (
	Datadog DatadogMetricProviderType = "datadog"
)

Defines values for DatadogMetricProviderType.

type DeleteRelationshipResponse

type DeleteRelationshipResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *RelationshipRule
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseDeleteRelationshipResponse

func ParseDeleteRelationshipResponse(rsp *http.Response) (*DeleteRelationshipResponse, error)

ParseDeleteRelationshipResponse parses an HTTP response from a DeleteRelationshipWithResponse call

func (DeleteRelationshipResponse) Status

Status returns HTTPResponse.Status

func (DeleteRelationshipResponse) StatusCode

func (r DeleteRelationshipResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteWorkspaceResponse

type DeleteWorkspaceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseDeleteWorkspaceResponse

func ParseDeleteWorkspaceResponse(rsp *http.Response) (*DeleteWorkspaceResponse, error)

ParseDeleteWorkspaceResponse parses an HTTP response from a DeleteWorkspaceWithResponse call

func (DeleteWorkspaceResponse) Status

func (r DeleteWorkspaceResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteWorkspaceResponse) StatusCode

func (r DeleteWorkspaceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Deployment

type Deployment struct {
	Description      *string                `json:"description,omitempty"`
	Id               string                 `json:"id"`
	JobAgentConfig   map[string]interface{} `json:"jobAgentConfig"`
	JobAgentId       *string                `json:"jobAgentId,omitempty"`
	Metadata         *map[string]string     `json:"metadata,omitempty"`
	Name             string                 `json:"name"`
	ResourceSelector *Selector              `json:"resourceSelector,omitempty"`
	Slug             string                 `json:"slug"`
	SystemId         string                 `json:"systemId"`
}

Deployment defines model for Deployment.

type DeploymentAndSystem

type DeploymentAndSystem struct {
	Deployment Deployment `json:"deployment"`
	System     System     `json:"system"`
}

DeploymentAndSystem defines model for DeploymentAndSystem.

type DeploymentDependencyRule

type DeploymentDependencyRule struct {
	DependsOnDeploymentSelector Selector `json:"dependsOnDeploymentSelector"`
}

DeploymentDependencyRule defines model for DeploymentDependencyRule.

type DeploymentRequestAccepted

type DeploymentRequestAccepted struct {
	Id      string `json:"id"`
	Message string `json:"message"`
}

DeploymentRequestAccepted defines model for DeploymentRequestAccepted.

type DeploymentVariable

type DeploymentVariable struct {
	DefaultValue *LiteralValue `json:"defaultValue,omitempty"`
	DeploymentId string        `json:"deploymentId"`
	Description  *string       `json:"description,omitempty"`
	Id           string        `json:"id"`
	Key          string        `json:"key"`
}

DeploymentVariable defines model for DeploymentVariable.

type DeploymentVariableRequestAccepted

type DeploymentVariableRequestAccepted struct {
	Id      string `json:"id"`
	Message string `json:"message"`
}

DeploymentVariableRequestAccepted defines model for DeploymentVariableRequestAccepted.

type DeploymentVariableValue

type DeploymentVariableValue struct {
	DeploymentVariableId string    `json:"deploymentVariableId"`
	Id                   string    `json:"id"`
	Priority             int64     `json:"priority"`
	ResourceSelector     *Selector `json:"resourceSelector,omitempty"`
	Value                Value     `json:"value"`
}

DeploymentVariableValue defines model for DeploymentVariableValue.

type DeploymentVariableValueRequestAccepted

type DeploymentVariableValueRequestAccepted struct {
	Id      string `json:"id"`
	Message string `json:"message"`
}

DeploymentVariableValueRequestAccepted defines model for DeploymentVariableValueRequestAccepted.

type DeploymentVariableWithValues

type DeploymentVariableWithValues struct {
	Values   []DeploymentVariableValue `json:"values"`
	Variable DeploymentVariable        `json:"variable"`
}

DeploymentVariableWithValues defines model for DeploymentVariableWithValues.

type DeploymentVersion

type DeploymentVersion struct {
	Config         map[string]interface{}  `json:"config"`
	CreatedAt      time.Time               `json:"createdAt"`
	DeploymentId   string                  `json:"deploymentId"`
	Id             string                  `json:"id"`
	JobAgentConfig map[string]interface{}  `json:"jobAgentConfig"`
	Message        *string                 `json:"message,omitempty"`
	Metadata       *map[string]string      `json:"metadata,omitempty"`
	Name           string                  `json:"name"`
	Status         DeploymentVersionStatus `json:"status"`
	Tag            string                  `json:"tag"`
}

DeploymentVersion defines model for DeploymentVersion.

type DeploymentVersionStatus

type DeploymentVersionStatus string

DeploymentVersionStatus defines model for DeploymentVersionStatus.

const (
	DeploymentVersionStatusBuilding    DeploymentVersionStatus = "building"
	DeploymentVersionStatusFailed      DeploymentVersionStatus = "failed"
	DeploymentVersionStatusReady       DeploymentVersionStatus = "ready"
	DeploymentVersionStatusRejected    DeploymentVersionStatus = "rejected"
	DeploymentVersionStatusUnspecified DeploymentVersionStatus = "unspecified"
)

Defines values for DeploymentVersionStatus.

type DeploymentWindowRule

type DeploymentWindowRule struct {
	// AllowWindow If true, deployments are only allowed during the window. If false, deployments are blocked during the window (deny window)
	AllowWindow bool `json:"allowWindow"`

	// DurationMinutes Duration of each deployment window in minutes
	DurationMinutes int32 `json:"durationMinutes"`

	// Rrule RFC 5545 recurrence rule defining when deployment windows start (e.g., FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR;BYHOUR=9)
	Rrule string `json:"rrule"`

	// Timezone IANA timezone for the rrule (e.g., America/New_York). Defaults to UTC if not specified
	Timezone *string `json:"timezone,omitempty"`
}

DeploymentWindowRule defines model for DeploymentWindowRule.

type DeploymentWithVariables

type DeploymentWithVariables struct {
	Deployment Deployment                     `json:"deployment"`
	Variables  []DeploymentVariableWithValues `json:"variables"`
}

DeploymentWithVariables defines model for DeploymentWithVariables.

type Environment

type Environment struct {
	CreatedAt        time.Time          `json:"createdAt"`
	Description      *string            `json:"description,omitempty"`
	Id               string             `json:"id"`
	Metadata         *map[string]string `json:"metadata,omitempty"`
	Name             string             `json:"name"`
	ResourceSelector *Selector          `json:"resourceSelector,omitempty"`
	SystemId         string             `json:"systemId"`
}

Environment defines model for Environment.

type EnvironmentProgressionRule

type EnvironmentProgressionRule struct {
	DependsOnEnvironmentSelector Selector `json:"dependsOnEnvironmentSelector"`

	// MaximumAgeHours Maximum age of dependency deployment before blocking progression (prevents stale promotions)
	MaximumAgeHours *int32 `json:"maximumAgeHours,omitempty"`

	// MinimumSockTimeMinutes Minimum time to wait after the depends on environment is in a success state before the current environment can be deployed
	MinimumSockTimeMinutes   *int32       `json:"minimumSockTimeMinutes,omitempty"`
	MinimumSuccessPercentage *float32     `json:"minimumSuccessPercentage,omitempty"`
	SuccessStatuses          *[]JobStatus `json:"successStatuses,omitempty"`
}

EnvironmentProgressionRule defines model for EnvironmentProgressionRule.

type EnvironmentRequestAccepted

type EnvironmentRequestAccepted struct {
	Id      string `json:"id"`
	Message string `json:"message"`
}

EnvironmentRequestAccepted defines model for EnvironmentRequestAccepted.

type Error

type Error struct {
	// Code Error code
	Code *string `json:"code,omitempty"`

	// Details Additional error details
	Details *map[string]interface{} `json:"details,omitempty"`

	// Message Error message
	Message string `json:"message"`
}

Error defines model for Error.

type ErrorResponse

type ErrorResponse struct {
	Error *string `json:"error,omitempty"`
}

ErrorResponse defines model for ErrorResponse.

type GetAllResourcesParams

type GetAllResourcesParams struct {
	// Limit Maximum number of items to return
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Number of items to skip
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`

	// Cel CEL expression to filter the results
	Cel *string `form:"cel,omitempty" json:"cel,omitempty"`
}

GetAllResourcesParams defines parameters for GetAllResources.

type GetAllResourcesResponse

type GetAllResourcesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items []Resource `json:"items"`

		// Limit Maximum number of items returned
		Limit int `json:"limit"`

		// Offset Number of items skipped
		Offset int `json:"offset"`

		// Total Total number of items available
		Total int `json:"total"`
	}
}

func ParseGetAllResourcesResponse

func ParseGetAllResourcesResponse(rsp *http.Response) (*GetAllResourcesResponse, error)

ParseGetAllResourcesResponse parses an HTTP response from a GetAllResourcesWithResponse call

func (GetAllResourcesResponse) Status

func (r GetAllResourcesResponse) Status() string

Status returns HTTPResponse.Status

func (GetAllResourcesResponse) StatusCode

func (r GetAllResourcesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDeploymentResponse

type GetDeploymentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DeploymentWithVariables
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseGetDeploymentResponse

func ParseGetDeploymentResponse(rsp *http.Response) (*GetDeploymentResponse, error)

ParseGetDeploymentResponse parses an HTTP response from a GetDeploymentWithResponse call

func (GetDeploymentResponse) Status

func (r GetDeploymentResponse) Status() string

Status returns HTTPResponse.Status

func (GetDeploymentResponse) StatusCode

func (r GetDeploymentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDeploymentVariableResponse

type GetDeploymentVariableResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DeploymentVariableWithValues
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseGetDeploymentVariableResponse

func ParseGetDeploymentVariableResponse(rsp *http.Response) (*GetDeploymentVariableResponse, error)

ParseGetDeploymentVariableResponse parses an HTTP response from a GetDeploymentVariableWithResponse call

func (GetDeploymentVariableResponse) Status

Status returns HTTPResponse.Status

func (GetDeploymentVariableResponse) StatusCode

func (r GetDeploymentVariableResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDeploymentVariableValueResponse

type GetDeploymentVariableValueResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DeploymentVariableValue
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseGetDeploymentVariableValueResponse

func ParseGetDeploymentVariableValueResponse(rsp *http.Response) (*GetDeploymentVariableValueResponse, error)

ParseGetDeploymentVariableValueResponse parses an HTTP response from a GetDeploymentVariableValueWithResponse call

func (GetDeploymentVariableValueResponse) Status

Status returns HTTPResponse.Status

func (GetDeploymentVariableValueResponse) StatusCode

func (r GetDeploymentVariableValueResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetEnvironmentResponse

type GetEnvironmentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Environment
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseGetEnvironmentResponse

func ParseGetEnvironmentResponse(rsp *http.Response) (*GetEnvironmentResponse, error)

ParseGetEnvironmentResponse parses an HTTP response from a GetEnvironmentWithResponse call

func (GetEnvironmentResponse) Status

func (r GetEnvironmentResponse) Status() string

Status returns HTTPResponse.Status

func (GetEnvironmentResponse) StatusCode

func (r GetEnvironmentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetJobAgentResponse

type GetJobAgentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *JobAgent
}

func ParseGetJobAgentResponse

func ParseGetJobAgentResponse(rsp *http.Response) (*GetJobAgentResponse, error)

ParseGetJobAgentResponse parses an HTTP response from a GetJobAgentWithResponse call

func (GetJobAgentResponse) Status

func (r GetJobAgentResponse) Status() string

Status returns HTTPResponse.Status

func (GetJobAgentResponse) StatusCode

func (r GetJobAgentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetJobResponse

type GetJobResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Job
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseGetJobResponse

func ParseGetJobResponse(rsp *http.Response) (*GetJobResponse, error)

ParseGetJobResponse parses an HTTP response from a GetJobWithResponse call

func (GetJobResponse) Status

func (r GetJobResponse) Status() string

Status returns HTTPResponse.Status

func (GetJobResponse) StatusCode

func (r GetJobResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetJobsForReleaseTargetParams

type GetJobsForReleaseTargetParams struct {
	// Limit Maximum number of items to return
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Number of items to skip
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`

	// Cel CEL expression to filter the results
	Cel *string `form:"cel,omitempty" json:"cel,omitempty"`
}

GetJobsForReleaseTargetParams defines parameters for GetJobsForReleaseTarget.

type GetJobsForReleaseTargetResponse

type GetJobsForReleaseTargetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items []Job `json:"items"`

		// Limit Maximum number of items returned
		Limit int `json:"limit"`

		// Offset Number of items skipped
		Offset int `json:"offset"`

		// Total Total number of items available
		Total int `json:"total"`
	}
	JSON400 *ErrorResponse
	JSON404 *ErrorResponse
}

func ParseGetJobsForReleaseTargetResponse

func ParseGetJobsForReleaseTargetResponse(rsp *http.Response) (*GetJobsForReleaseTargetResponse, error)

ParseGetJobsForReleaseTargetResponse parses an HTTP response from a GetJobsForReleaseTargetWithResponse call

func (GetJobsForReleaseTargetResponse) Status

Status returns HTTPResponse.Status

func (GetJobsForReleaseTargetResponse) StatusCode

func (r GetJobsForReleaseTargetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetJobsParams

type GetJobsParams struct {
	// Limit Maximum number of items to return
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Number of items to skip
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}

GetJobsParams defines parameters for GetJobs.

type GetJobsResponse

type GetJobsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items []JobWithRelease `json:"items"`

		// Limit Maximum number of items returned
		Limit int `json:"limit"`

		// Offset Number of items skipped
		Offset int `json:"offset"`

		// Total Total number of items available
		Total int `json:"total"`
	}
	JSON400 *ErrorResponse
	JSON404 *ErrorResponse
}

func ParseGetJobsResponse

func ParseGetJobsResponse(rsp *http.Response) (*GetJobsResponse, error)

ParseGetJobsResponse parses an HTTP response from a GetJobsWithResponse call

func (GetJobsResponse) Status

func (r GetJobsResponse) Status() string

Status returns HTTPResponse.Status

func (GetJobsResponse) StatusCode

func (r GetJobsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPolicyResponse

type GetPolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Policy
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseGetPolicyResponse

func ParseGetPolicyResponse(rsp *http.Response) (*GetPolicyResponse, error)

ParseGetPolicyResponse parses an HTTP response from a GetPolicyWithResponse call

func (GetPolicyResponse) Status

func (r GetPolicyResponse) Status() string

Status returns HTTPResponse.Status

func (GetPolicyResponse) StatusCode

func (r GetPolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetRelationshipRuleResponse

type GetRelationshipRuleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *RelationshipRule
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseGetRelationshipRuleResponse

func ParseGetRelationshipRuleResponse(rsp *http.Response) (*GetRelationshipRuleResponse, error)

ParseGetRelationshipRuleResponse parses an HTTP response from a GetRelationshipRuleWithResponse call

func (GetRelationshipRuleResponse) Status

Status returns HTTPResponse.Status

func (GetRelationshipRuleResponse) StatusCode

func (r GetRelationshipRuleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetReleaseResponse

type GetReleaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Release
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseGetReleaseResponse

func ParseGetReleaseResponse(rsp *http.Response) (*GetReleaseResponse, error)

ParseGetReleaseResponse parses an HTTP response from a GetReleaseWithResponse call

func (GetReleaseResponse) Status

func (r GetReleaseResponse) Status() string

Status returns HTTPResponse.Status

func (GetReleaseResponse) StatusCode

func (r GetReleaseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetReleaseTargetDesiredReleaseResponse

type GetReleaseTargetDesiredReleaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		DesiredRelease *Release `json:"desiredRelease,omitempty"`
	}
	JSON404 *ErrorResponse
}

func ParseGetReleaseTargetDesiredReleaseResponse

func ParseGetReleaseTargetDesiredReleaseResponse(rsp *http.Response) (*GetReleaseTargetDesiredReleaseResponse, error)

ParseGetReleaseTargetDesiredReleaseResponse parses an HTTP response from a GetReleaseTargetDesiredReleaseWithResponse call

func (GetReleaseTargetDesiredReleaseResponse) Status

Status returns HTTPResponse.Status

func (GetReleaseTargetDesiredReleaseResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetReleaseTargetForResourceInDeploymentResponse

type GetReleaseTargetForResourceInDeploymentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ReleaseTarget
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseGetReleaseTargetForResourceInDeploymentResponse

func ParseGetReleaseTargetForResourceInDeploymentResponse(rsp *http.Response) (*GetReleaseTargetForResourceInDeploymentResponse, error)

ParseGetReleaseTargetForResourceInDeploymentResponse parses an HTTP response from a GetReleaseTargetForResourceInDeploymentWithResponse call

func (GetReleaseTargetForResourceInDeploymentResponse) Status

Status returns HTTPResponse.Status

func (GetReleaseTargetForResourceInDeploymentResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetReleaseTargetStateParams

type GetReleaseTargetStateParams struct {
	// BypassCache Whether to bypass the cache
	BypassCache *bool `form:"bypassCache,omitempty" json:"bypassCache,omitempty"`
}

GetReleaseTargetStateParams defines parameters for GetReleaseTargetState.

type GetReleaseTargetStateResponse

type GetReleaseTargetStateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ReleaseTargetState
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseGetReleaseTargetStateResponse

func ParseGetReleaseTargetStateResponse(rsp *http.Response) (*GetReleaseTargetStateResponse, error)

ParseGetReleaseTargetStateResponse parses an HTTP response from a GetReleaseTargetStateWithResponse call

func (GetReleaseTargetStateResponse) Status

Status returns HTTPResponse.Status

func (GetReleaseTargetStateResponse) StatusCode

func (r GetReleaseTargetStateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetResourceByIdentifierResponse

type GetResourceByIdentifierResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Resource
}

func ParseGetResourceByIdentifierResponse

func ParseGetResourceByIdentifierResponse(rsp *http.Response) (*GetResourceByIdentifierResponse, error)

ParseGetResourceByIdentifierResponse parses an HTTP response from a GetResourceByIdentifierWithResponse call

func (GetResourceByIdentifierResponse) Status

Status returns HTTPResponse.Status

func (GetResourceByIdentifierResponse) StatusCode

func (r GetResourceByIdentifierResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetResourceProviderByNameResponse

type GetResourceProviderByNameResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ResourceProvider
}

func ParseGetResourceProviderByNameResponse

func ParseGetResourceProviderByNameResponse(rsp *http.Response) (*GetResourceProviderByNameResponse, error)

ParseGetResourceProviderByNameResponse parses an HTTP response from a GetResourceProviderByNameWithResponse call

func (GetResourceProviderByNameResponse) Status

Status returns HTTPResponse.Status

func (GetResourceProviderByNameResponse) StatusCode

func (r GetResourceProviderByNameResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSystemResponse

type GetSystemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *System
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseGetSystemResponse

func ParseGetSystemResponse(rsp *http.Response) (*GetSystemResponse, error)

ParseGetSystemResponse parses an HTTP response from a GetSystemWithResponse call

func (GetSystemResponse) Status

func (r GetSystemResponse) Status() string

Status returns HTTPResponse.Status

func (GetSystemResponse) StatusCode

func (r GetSystemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetVariablesForResourceParams

type GetVariablesForResourceParams struct {
	// Limit Maximum number of items to return
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Number of items to skip
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}

GetVariablesForResourceParams defines parameters for GetVariablesForResource.

type GetVariablesForResourceResponse

type GetVariablesForResourceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items []ResourceVariable `json:"items"`

		// Limit Maximum number of items returned
		Limit int `json:"limit"`

		// Offset Number of items skipped
		Offset int `json:"offset"`

		// Total Total number of items available
		Total int `json:"total"`
	}
	JSON400 *ErrorResponse
	JSON404 *ErrorResponse
}

func ParseGetVariablesForResourceResponse

func ParseGetVariablesForResourceResponse(rsp *http.Response) (*GetVariablesForResourceResponse, error)

ParseGetVariablesForResourceResponse parses an HTTP response from a GetVariablesForResourceWithResponse call

func (GetVariablesForResourceResponse) Status

Status returns HTTPResponse.Status

func (GetVariablesForResourceResponse) StatusCode

func (r GetVariablesForResourceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWorkspaceBySlugResponse

type GetWorkspaceBySlugResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Workspace
	JSON401      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseGetWorkspaceBySlugResponse

func ParseGetWorkspaceBySlugResponse(rsp *http.Response) (*GetWorkspaceBySlugResponse, error)

ParseGetWorkspaceBySlugResponse parses an HTTP response from a GetWorkspaceBySlugWithResponse call

func (GetWorkspaceBySlugResponse) Status

Status returns HTTPResponse.Status

func (GetWorkspaceBySlugResponse) StatusCode

func (r GetWorkspaceBySlugResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWorkspaceResponse

type GetWorkspaceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Workspace
	JSON401      *Error
	JSON404      *Error
	JSON500      *Error
}

func ParseGetWorkspaceResponse

func ParseGetWorkspaceResponse(rsp *http.Response) (*GetWorkspaceResponse, error)

ParseGetWorkspaceResponse parses an HTTP response from a GetWorkspaceWithResponse call

func (GetWorkspaceResponse) Status

func (r GetWorkspaceResponse) Status() string

Status returns HTTPResponse.Status

func (GetWorkspaceResponse) StatusCode

func (r GetWorkspaceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GradualRolloutRule

type GradualRolloutRule struct {
	// RolloutType Strategy for scheduling deployments to release targets. "linear": Each target is deployed at a fixed interval of timeScaleInterval seconds. "linear-normalized": Deployments are spaced evenly so that the last target is scheduled at or before timeScaleInterval seconds. See rolloutType algorithm documentation for details.
	RolloutType GradualRolloutRuleRolloutType `json:"rolloutType"`

	// TimeScaleInterval Base time interval in seconds used to compute the delay between deployments to release targets.
	TimeScaleInterval int32 `json:"timeScaleInterval"`
}

GradualRolloutRule defines model for GradualRolloutRule.

type GradualRolloutRuleRolloutType

type GradualRolloutRuleRolloutType string

GradualRolloutRuleRolloutType Strategy for scheduling deployments to release targets. "linear": Each target is deployed at a fixed interval of timeScaleInterval seconds. "linear-normalized": Deployments are spaced evenly so that the last target is scheduled at or before timeScaleInterval seconds. See rolloutType algorithm documentation for details.

const (
	GradualRolloutRuleRolloutTypeLinear           GradualRolloutRuleRolloutType = "linear"
	GradualRolloutRuleRolloutTypeLinearNormalized GradualRolloutRuleRolloutType = "linear-normalized"
)

Defines values for GradualRolloutRuleRolloutType.

type HTTPMetricProvider

type HTTPMetricProvider struct {
	// Body Request body (supports Go templates)
	Body *string `json:"body,omitempty"`

	// Headers HTTP headers (values support Go templates)
	Headers *map[string]string `json:"headers,omitempty"`

	// Method HTTP method
	Method *HTTPMetricProviderMethod `json:"method,omitempty"`

	// Timeout Request timeout (duration string, e.g., "30s")
	Timeout *string `json:"timeout,omitempty"`

	// Type Provider type
	Type HTTPMetricProviderType `json:"type"`

	// Url HTTP endpoint URL (supports Go templates)
	Url string `json:"url"`
}

HTTPMetricProvider defines model for HTTPMetricProvider.

type HTTPMetricProviderMethod

type HTTPMetricProviderMethod string

HTTPMetricProviderMethod HTTP method

const (
	DELETE  HTTPMetricProviderMethod = "DELETE"
	GET     HTTPMetricProviderMethod = "GET"
	HEAD    HTTPMetricProviderMethod = "HEAD"
	OPTIONS HTTPMetricProviderMethod = "OPTIONS"
	PATCH   HTTPMetricProviderMethod = "PATCH"
	POST    HTTPMetricProviderMethod = "POST"
	PUT     HTTPMetricProviderMethod = "PUT"
)

Defines values for HTTPMetricProviderMethod.

type HTTPMetricProviderType

type HTTPMetricProviderType string

HTTPMetricProviderType Provider type

const (
	Http HTTPMetricProviderType = "http"
)

Defines values for HTTPMetricProviderType.

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type IntegerValue

type IntegerValue = int

IntegerValue defines model for IntegerValue.

type Job

type Job struct {
	CompletedAt    *time.Time             `json:"completedAt,omitempty"`
	CreatedAt      time.Time              `json:"createdAt"`
	ExternalId     *string                `json:"externalId,omitempty"`
	Id             string                 `json:"id"`
	JobAgentConfig map[string]interface{} `json:"jobAgentConfig"`
	JobAgentId     string                 `json:"jobAgentId"`
	Metadata       map[string]string      `json:"metadata"`
	ReleaseId      string                 `json:"releaseId"`
	StartedAt      *time.Time             `json:"startedAt,omitempty"`
	Status         JobStatus              `json:"status"`
	UpdatedAt      time.Time              `json:"updatedAt"`
}

Job defines model for Job.

type JobAgent

type JobAgent struct {
	Config   map[string]interface{} `json:"config"`
	Id       string                 `json:"id"`
	Metadata map[string]string      `json:"metadata"`
	Name     string                 `json:"name"`
	Type     string                 `json:"type"`
}

JobAgent defines model for JobAgent.

type JobAgentRequestAccepted

type JobAgentRequestAccepted struct {
	Id      string `json:"id"`
	Message string `json:"message"`
}

JobAgentRequestAccepted defines model for JobAgentRequestAccepted.

type JobStatus

type JobStatus string

JobStatus defines model for JobStatus.

const (
	ActionRequired      JobStatus = "actionRequired"
	Cancelled           JobStatus = "cancelled"
	ExternalRunNotFound JobStatus = "externalRunNotFound"
	Failure             JobStatus = "failure"
	InProgress          JobStatus = "inProgress"
	InvalidIntegration  JobStatus = "invalidIntegration"
	InvalidJobAgent     JobStatus = "invalidJobAgent"
	Pending             JobStatus = "pending"
	Skipped             JobStatus = "skipped"
	Successful          JobStatus = "successful"
)

Defines values for JobStatus.

type JobStatusRequestAccepted

type JobStatusRequestAccepted struct {
	Id      string `json:"id"`
	Message string `json:"message"`
}

JobStatusRequestAccepted defines model for JobStatusRequestAccepted.

type JobWithRelease

type JobWithRelease struct {
	Deployment  *Deployment  `json:"deployment,omitempty"`
	Environment *Environment `json:"environment,omitempty"`
	Job         Job          `json:"job"`
	Release     Release      `json:"release"`
	Resource    *Resource    `json:"resource,omitempty"`
}

JobWithRelease defines model for JobWithRelease.

type JsonSelector

type JsonSelector struct {
	Json map[string]interface{} `json:"json"`
}

JsonSelector defines model for JsonSelector.

type ListDeploymentVariableValuesParams

type ListDeploymentVariableValuesParams struct {
	// Limit Maximum number of items to return
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Number of items to skip
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}

ListDeploymentVariableValuesParams defines parameters for ListDeploymentVariableValues.

type ListDeploymentVariableValuesResponse

type ListDeploymentVariableValuesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items []DeploymentVariableValue `json:"items"`

		// Limit Maximum number of items returned
		Limit int `json:"limit"`

		// Offset Number of items skipped
		Offset int `json:"offset"`

		// Total Total number of items available
		Total int `json:"total"`
	}
}

func ParseListDeploymentVariableValuesResponse

func ParseListDeploymentVariableValuesResponse(rsp *http.Response) (*ListDeploymentVariableValuesResponse, error)

ParseListDeploymentVariableValuesResponse parses an HTTP response from a ListDeploymentVariableValuesWithResponse call

func (ListDeploymentVariableValuesResponse) Status

Status returns HTTPResponse.Status

func (ListDeploymentVariableValuesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListDeploymentVariablesParams

type ListDeploymentVariablesParams struct {
	// Limit Maximum number of items to return
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Number of items to skip
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}

ListDeploymentVariablesParams defines parameters for ListDeploymentVariables.

type ListDeploymentVariablesResponse

type ListDeploymentVariablesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items []DeploymentVariableWithValues `json:"items"`

		// Limit Maximum number of items returned
		Limit int `json:"limit"`

		// Offset Number of items skipped
		Offset int `json:"offset"`

		// Total Total number of items available
		Total int `json:"total"`
	}
}

func ParseListDeploymentVariablesResponse

func ParseListDeploymentVariablesResponse(rsp *http.Response) (*ListDeploymentVariablesResponse, error)

ParseListDeploymentVariablesResponse parses an HTTP response from a ListDeploymentVariablesWithResponse call

func (ListDeploymentVariablesResponse) Status

Status returns HTTPResponse.Status

func (ListDeploymentVariablesResponse) StatusCode

func (r ListDeploymentVariablesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListDeploymentVersionsParams

type ListDeploymentVersionsParams struct {
	// Limit Maximum number of items to return
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Number of items to skip
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}

ListDeploymentVersionsParams defines parameters for ListDeploymentVersions.

type ListDeploymentVersionsResponse

type ListDeploymentVersionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items []DeploymentVersion `json:"items"`

		// Limit Maximum number of items returned
		Limit int `json:"limit"`

		// Offset Number of items skipped
		Offset int `json:"offset"`

		// Total Total number of items available
		Total int `json:"total"`
	}
	JSON400 *ErrorResponse
	JSON404 *ErrorResponse
}

func ParseListDeploymentVersionsResponse

func ParseListDeploymentVersionsResponse(rsp *http.Response) (*ListDeploymentVersionsResponse, error)

ParseListDeploymentVersionsResponse parses an HTTP response from a ListDeploymentVersionsWithResponse call

func (ListDeploymentVersionsResponse) Status

Status returns HTTPResponse.Status

func (ListDeploymentVersionsResponse) StatusCode

func (r ListDeploymentVersionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListDeploymentsParams

type ListDeploymentsParams struct {
	// Limit Maximum number of items to return
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Number of items to skip
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}

ListDeploymentsParams defines parameters for ListDeployments.

type ListDeploymentsResponse

type ListDeploymentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items []DeploymentAndSystem `json:"items"`

		// Limit Maximum number of items returned
		Limit int `json:"limit"`

		// Offset Number of items skipped
		Offset int `json:"offset"`

		// Total Total number of items available
		Total int `json:"total"`
	}
}

func ParseListDeploymentsResponse

func ParseListDeploymentsResponse(rsp *http.Response) (*ListDeploymentsResponse, error)

ParseListDeploymentsResponse parses an HTTP response from a ListDeploymentsWithResponse call

func (ListDeploymentsResponse) Status

func (r ListDeploymentsResponse) Status() string

Status returns HTTPResponse.Status

func (ListDeploymentsResponse) StatusCode

func (r ListDeploymentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListEnvironmentsParams

type ListEnvironmentsParams struct {
	// Limit Maximum number of items to return
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Number of items to skip
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}

ListEnvironmentsParams defines parameters for ListEnvironments.

type ListEnvironmentsResponse

type ListEnvironmentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items []Environment `json:"items"`

		// Limit Maximum number of items returned
		Limit int `json:"limit"`

		// Offset Number of items skipped
		Offset int `json:"offset"`

		// Total Total number of items available
		Total int `json:"total"`
	}
}

func ParseListEnvironmentsResponse

func ParseListEnvironmentsResponse(rsp *http.Response) (*ListEnvironmentsResponse, error)

ParseListEnvironmentsResponse parses an HTTP response from a ListEnvironmentsWithResponse call

func (ListEnvironmentsResponse) Status

func (r ListEnvironmentsResponse) Status() string

Status returns HTTPResponse.Status

func (ListEnvironmentsResponse) StatusCode

func (r ListEnvironmentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListJobAgentsParams

type ListJobAgentsParams struct {
	// Limit Maximum number of items to return
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Number of items to skip
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}

ListJobAgentsParams defines parameters for ListJobAgents.

type ListJobAgentsResponse

type ListJobAgentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items []JobAgent `json:"items"`

		// Limit Maximum number of items returned
		Limit int `json:"limit"`

		// Offset Number of items skipped
		Offset int `json:"offset"`

		// Total Total number of items available
		Total int `json:"total"`
	}
	JSON400 *ErrorResponse
}

func ParseListJobAgentsResponse

func ParseListJobAgentsResponse(rsp *http.Response) (*ListJobAgentsResponse, error)

ParseListJobAgentsResponse parses an HTTP response from a ListJobAgentsWithResponse call

func (ListJobAgentsResponse) Status

func (r ListJobAgentsResponse) Status() string

Status returns HTTPResponse.Status

func (ListJobAgentsResponse) StatusCode

func (r ListJobAgentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPoliciesParams

type ListPoliciesParams struct {
	// Limit Maximum number of items to return
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Number of items to skip
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}

ListPoliciesParams defines parameters for ListPolicies.

type ListPoliciesResponse

type ListPoliciesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items []Policy `json:"items"`

		// Limit Maximum number of items returned
		Limit int `json:"limit"`

		// Offset Number of items skipped
		Offset int `json:"offset"`

		// Total Total number of items available
		Total int `json:"total"`
	}
}

func ParseListPoliciesResponse

func ParseListPoliciesResponse(rsp *http.Response) (*ListPoliciesResponse, error)

ParseListPoliciesResponse parses an HTTP response from a ListPoliciesWithResponse call

func (ListPoliciesResponse) Status

func (r ListPoliciesResponse) Status() string

Status returns HTTPResponse.Status

func (ListPoliciesResponse) StatusCode

func (r ListPoliciesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSystemsParams

type ListSystemsParams struct {
	// Limit Maximum number of items to return
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Number of items to skip
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}

ListSystemsParams defines parameters for ListSystems.

type ListSystemsResponse

type ListSystemsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items []System `json:"items"`

		// Limit Maximum number of items returned
		Limit int `json:"limit"`

		// Offset Number of items skipped
		Offset int `json:"offset"`

		// Total Total number of items available
		Total int `json:"total"`
	}
}

func ParseListSystemsResponse

func ParseListSystemsResponse(rsp *http.Response) (*ListSystemsResponse, error)

ParseListSystemsResponse parses an HTTP response from a ListSystemsWithResponse call

func (ListSystemsResponse) Status

func (r ListSystemsResponse) Status() string

Status returns HTTPResponse.Status

func (ListSystemsResponse) StatusCode

func (r ListSystemsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListWorkspacesResponse

type ListWorkspacesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WorkspaceList
	JSON401      *Error
	JSON500      *Error
}

func ParseListWorkspacesResponse

func ParseListWorkspacesResponse(rsp *http.Response) (*ListWorkspacesResponse, error)

ParseListWorkspacesResponse parses an HTTP response from a ListWorkspacesWithResponse call

func (ListWorkspacesResponse) Status

func (r ListWorkspacesResponse) Status() string

Status returns HTTPResponse.Status

func (ListWorkspacesResponse) StatusCode

func (r ListWorkspacesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LiteralValue

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

LiteralValue defines model for LiteralValue.

func (LiteralValue) AsBooleanValue

func (t LiteralValue) AsBooleanValue() (BooleanValue, error)

AsBooleanValue returns the union data inside the LiteralValue as a BooleanValue

func (LiteralValue) AsIntegerValue

func (t LiteralValue) AsIntegerValue() (IntegerValue, error)

AsIntegerValue returns the union data inside the LiteralValue as a IntegerValue

func (LiteralValue) AsNullValue

func (t LiteralValue) AsNullValue() (NullValue, error)

AsNullValue returns the union data inside the LiteralValue as a NullValue

func (LiteralValue) AsNumberValue

func (t LiteralValue) AsNumberValue() (NumberValue, error)

AsNumberValue returns the union data inside the LiteralValue as a NumberValue

func (LiteralValue) AsObjectValue

func (t LiteralValue) AsObjectValue() (ObjectValue, error)

AsObjectValue returns the union data inside the LiteralValue as a ObjectValue

func (LiteralValue) AsStringValue

func (t LiteralValue) AsStringValue() (StringValue, error)

AsStringValue returns the union data inside the LiteralValue as a StringValue

func (*LiteralValue) FromBooleanValue

func (t *LiteralValue) FromBooleanValue(v BooleanValue) error

FromBooleanValue overwrites any union data inside the LiteralValue as the provided BooleanValue

func (*LiteralValue) FromIntegerValue

func (t *LiteralValue) FromIntegerValue(v IntegerValue) error

FromIntegerValue overwrites any union data inside the LiteralValue as the provided IntegerValue

func (*LiteralValue) FromNullValue

func (t *LiteralValue) FromNullValue(v NullValue) error

FromNullValue overwrites any union data inside the LiteralValue as the provided NullValue

func (*LiteralValue) FromNumberValue

func (t *LiteralValue) FromNumberValue(v NumberValue) error

FromNumberValue overwrites any union data inside the LiteralValue as the provided NumberValue

func (*LiteralValue) FromObjectValue

func (t *LiteralValue) FromObjectValue(v ObjectValue) error

FromObjectValue overwrites any union data inside the LiteralValue as the provided ObjectValue

func (*LiteralValue) FromStringValue

func (t *LiteralValue) FromStringValue(v StringValue) error

FromStringValue overwrites any union data inside the LiteralValue as the provided StringValue

func (LiteralValue) MarshalJSON

func (t LiteralValue) MarshalJSON() ([]byte, error)

func (*LiteralValue) MergeBooleanValue

func (t *LiteralValue) MergeBooleanValue(v BooleanValue) error

MergeBooleanValue performs a merge with any union data inside the LiteralValue, using the provided BooleanValue

func (*LiteralValue) MergeIntegerValue

func (t *LiteralValue) MergeIntegerValue(v IntegerValue) error

MergeIntegerValue performs a merge with any union data inside the LiteralValue, using the provided IntegerValue

func (*LiteralValue) MergeNullValue

func (t *LiteralValue) MergeNullValue(v NullValue) error

MergeNullValue performs a merge with any union data inside the LiteralValue, using the provided NullValue

func (*LiteralValue) MergeNumberValue

func (t *LiteralValue) MergeNumberValue(v NumberValue) error

MergeNumberValue performs a merge with any union data inside the LiteralValue, using the provided NumberValue

func (*LiteralValue) MergeObjectValue

func (t *LiteralValue) MergeObjectValue(v ObjectValue) error

MergeObjectValue performs a merge with any union data inside the LiteralValue, using the provided ObjectValue

func (*LiteralValue) MergeStringValue

func (t *LiteralValue) MergeStringValue(v StringValue) error

MergeStringValue performs a merge with any union data inside the LiteralValue, using the provided StringValue

func (*LiteralValue) UnmarshalJSON

func (t *LiteralValue) UnmarshalJSON(b []byte) error

type MetricProvider

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

MetricProvider defines model for MetricProvider.

func (MetricProvider) AsDatadogMetricProvider

func (t MetricProvider) AsDatadogMetricProvider() (DatadogMetricProvider, error)

AsDatadogMetricProvider returns the union data inside the MetricProvider as a DatadogMetricProvider

func (MetricProvider) AsHTTPMetricProvider

func (t MetricProvider) AsHTTPMetricProvider() (HTTPMetricProvider, error)

AsHTTPMetricProvider returns the union data inside the MetricProvider as a HTTPMetricProvider

func (MetricProvider) AsSleepMetricProvider

func (t MetricProvider) AsSleepMetricProvider() (SleepMetricProvider, error)

AsSleepMetricProvider returns the union data inside the MetricProvider as a SleepMetricProvider

func (MetricProvider) AsTerraformCloudRunMetricProvider

func (t MetricProvider) AsTerraformCloudRunMetricProvider() (TerraformCloudRunMetricProvider, error)

AsTerraformCloudRunMetricProvider returns the union data inside the MetricProvider as a TerraformCloudRunMetricProvider

func (MetricProvider) Discriminator

func (t MetricProvider) Discriminator() (string, error)

func (*MetricProvider) FromDatadogMetricProvider

func (t *MetricProvider) FromDatadogMetricProvider(v DatadogMetricProvider) error

FromDatadogMetricProvider overwrites any union data inside the MetricProvider as the provided DatadogMetricProvider

func (*MetricProvider) FromHTTPMetricProvider

func (t *MetricProvider) FromHTTPMetricProvider(v HTTPMetricProvider) error

FromHTTPMetricProvider overwrites any union data inside the MetricProvider as the provided HTTPMetricProvider

func (*MetricProvider) FromSleepMetricProvider

func (t *MetricProvider) FromSleepMetricProvider(v SleepMetricProvider) error

FromSleepMetricProvider overwrites any union data inside the MetricProvider as the provided SleepMetricProvider

func (*MetricProvider) FromTerraformCloudRunMetricProvider

func (t *MetricProvider) FromTerraformCloudRunMetricProvider(v TerraformCloudRunMetricProvider) error

FromTerraformCloudRunMetricProvider overwrites any union data inside the MetricProvider as the provided TerraformCloudRunMetricProvider

func (MetricProvider) MarshalJSON

func (t MetricProvider) MarshalJSON() ([]byte, error)

func (*MetricProvider) MergeDatadogMetricProvider

func (t *MetricProvider) MergeDatadogMetricProvider(v DatadogMetricProvider) error

MergeDatadogMetricProvider performs a merge with any union data inside the MetricProvider, using the provided DatadogMetricProvider

func (*MetricProvider) MergeHTTPMetricProvider

func (t *MetricProvider) MergeHTTPMetricProvider(v HTTPMetricProvider) error

MergeHTTPMetricProvider performs a merge with any union data inside the MetricProvider, using the provided HTTPMetricProvider

func (*MetricProvider) MergeSleepMetricProvider

func (t *MetricProvider) MergeSleepMetricProvider(v SleepMetricProvider) error

MergeSleepMetricProvider performs a merge with any union data inside the MetricProvider, using the provided SleepMetricProvider

func (*MetricProvider) MergeTerraformCloudRunMetricProvider

func (t *MetricProvider) MergeTerraformCloudRunMetricProvider(v TerraformCloudRunMetricProvider) error

MergeTerraformCloudRunMetricProvider performs a merge with any union data inside the MetricProvider, using the provided TerraformCloudRunMetricProvider

func (*MetricProvider) UnmarshalJSON

func (t *MetricProvider) UnmarshalJSON(b []byte) error

func (MetricProvider) ValueByDiscriminator

func (t MetricProvider) ValueByDiscriminator() (interface{}, error)

type NullValue

type NullValue bool

NullValue defines model for NullValue.

const (
	True NullValue = true
)

Defines values for NullValue.

type NumberValue

type NumberValue = float32

NumberValue defines model for NumberValue.

type ObjectValue

type ObjectValue struct {
	Object map[string]interface{} `json:"object"`
}

ObjectValue defines model for ObjectValue.

type Policy

type Policy struct {
	CreatedAt   string  `json:"createdAt"`
	Description *string `json:"description,omitempty"`
	Enabled     bool    `json:"enabled"`
	Id          string  `json:"id"`

	// Metadata Arbitrary metadata for the policy (record<string, string>)
	Metadata    map[string]string      `json:"metadata"`
	Name        string                 `json:"name"`
	Priority    int                    `json:"priority"`
	Rules       []PolicyRule           `json:"rules"`
	Selectors   []PolicyTargetSelector `json:"selectors"`
	WorkspaceId string                 `json:"workspaceId"`
}

Policy defines model for Policy.

type PolicyRequestAccepted

type PolicyRequestAccepted struct {
	Id      string `json:"id"`
	Message string `json:"message"`
}

PolicyRequestAccepted defines model for PolicyRequestAccepted.

type PolicyRule

type PolicyRule struct {
	AnyApproval            *AnyApprovalRule            `json:"anyApproval,omitempty"`
	CreatedAt              string                      `json:"createdAt"`
	DeploymentDependency   *DeploymentDependencyRule   `json:"deploymentDependency,omitempty"`
	DeploymentWindow       *DeploymentWindowRule       `json:"deploymentWindow,omitempty"`
	EnvironmentProgression *EnvironmentProgressionRule `json:"environmentProgression,omitempty"`
	GradualRollout         *GradualRolloutRule         `json:"gradualRollout,omitempty"`
	Id                     string                      `json:"id"`
	PolicyId               string                      `json:"policyId"`
	Retry                  *RetryRule                  `json:"retry,omitempty"`
	Verification           *VerificationRule           `json:"verification,omitempty"`
	VersionCooldown        *VersionCooldownRule        `json:"versionCooldown,omitempty"`
}

PolicyRule defines model for PolicyRule.

type PolicyTargetSelector

type PolicyTargetSelector struct {
	DeploymentSelector  *Selector `json:"deploymentSelector,omitempty"`
	EnvironmentSelector *Selector `json:"environmentSelector,omitempty"`
	Id                  string    `json:"id"`
	ResourceSelector    *Selector `json:"resourceSelector,omitempty"`
}

PolicyTargetSelector defines model for PolicyTargetSelector.

type ReferenceValue

type ReferenceValue struct {
	Path      []string `json:"path"`
	Reference string   `json:"reference"`
}

ReferenceValue defines model for ReferenceValue.

type RelatableEntityType

type RelatableEntityType string

RelatableEntityType defines model for RelatableEntityType.

const (
	RelatableEntityTypeDeployment  RelatableEntityType = "deployment"
	RelatableEntityTypeEnvironment RelatableEntityType = "environment"
	RelatableEntityTypeResource    RelatableEntityType = "resource"
)

Defines values for RelatableEntityType.

type RelationshipRule

type RelationshipRule struct {
	Description      *string                  `json:"description,omitempty"`
	FromSelector     *Selector                `json:"fromSelector,omitempty"`
	FromType         RelatableEntityType      `json:"fromType"`
	Id               string                   `json:"id"`
	Matcher          RelationshipRule_Matcher `json:"matcher"`
	Metadata         map[string]string        `json:"metadata"`
	Name             string                   `json:"name"`
	Reference        string                   `json:"reference"`
	RelationshipType string                   `json:"relationshipType"`
	ToSelector       *Selector                `json:"toSelector,omitempty"`
	ToType           RelatableEntityType      `json:"toType"`
	WorkspaceId      string                   `json:"workspaceId"`
}

RelationshipRule defines model for RelationshipRule.

type RelationshipRule_Matcher

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

RelationshipRule_Matcher defines model for RelationshipRule.Matcher.

func (RelationshipRule_Matcher) AsCelMatcher

func (t RelationshipRule_Matcher) AsCelMatcher() (CelMatcher, error)

AsCelMatcher returns the union data inside the RelationshipRule_Matcher as a CelMatcher

func (*RelationshipRule_Matcher) FromCelMatcher

func (t *RelationshipRule_Matcher) FromCelMatcher(v CelMatcher) error

FromCelMatcher overwrites any union data inside the RelationshipRule_Matcher as the provided CelMatcher

func (RelationshipRule_Matcher) MarshalJSON

func (t RelationshipRule_Matcher) MarshalJSON() ([]byte, error)

func (*RelationshipRule_Matcher) MergeCelMatcher

func (t *RelationshipRule_Matcher) MergeCelMatcher(v CelMatcher) error

MergeCelMatcher performs a merge with any union data inside the RelationshipRule_Matcher, using the provided CelMatcher

func (*RelationshipRule_Matcher) UnmarshalJSON

func (t *RelationshipRule_Matcher) UnmarshalJSON(b []byte) error

type Release

type Release struct {
	CreatedAt          string                  `json:"createdAt"`
	EncryptedVariables []string                `json:"encryptedVariables"`
	ReleaseTarget      ReleaseTarget           `json:"releaseTarget"`
	Variables          map[string]LiteralValue `json:"variables"`
	Version            DeploymentVersion       `json:"version"`
}

Release defines model for Release.

type ReleaseTarget

type ReleaseTarget struct {
	DeploymentId  string `json:"deploymentId"`
	EnvironmentId string `json:"environmentId"`
	ResourceId    string `json:"resourceId"`
}

ReleaseTarget defines model for ReleaseTarget.

type ReleaseTargetState

type ReleaseTargetState struct {
	CurrentRelease *Release `json:"currentRelease,omitempty"`
	DesiredRelease *Release `json:"desiredRelease,omitempty"`
	LatestJob      *Job     `json:"latestJob,omitempty"`
}

ReleaseTargetState defines model for ReleaseTargetState.

type RequestDeploymentCreationJSONRequestBody

type RequestDeploymentCreationJSONRequestBody = CreateDeploymentRequest

RequestDeploymentCreationJSONRequestBody defines body for RequestDeploymentCreation for application/json ContentType.

type RequestDeploymentCreationResponse

type RequestDeploymentCreationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *DeploymentRequestAccepted
}

func ParseRequestDeploymentCreationResponse

func ParseRequestDeploymentCreationResponse(rsp *http.Response) (*RequestDeploymentCreationResponse, error)

ParseRequestDeploymentCreationResponse parses an HTTP response from a RequestDeploymentCreationWithResponse call

func (RequestDeploymentCreationResponse) Status

Status returns HTTPResponse.Status

func (RequestDeploymentCreationResponse) StatusCode

func (r RequestDeploymentCreationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestDeploymentDeletionResponse

type RequestDeploymentDeletionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *DeploymentRequestAccepted
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseRequestDeploymentDeletionResponse

func ParseRequestDeploymentDeletionResponse(rsp *http.Response) (*RequestDeploymentDeletionResponse, error)

ParseRequestDeploymentDeletionResponse parses an HTTP response from a RequestDeploymentDeletionWithResponse call

func (RequestDeploymentDeletionResponse) Status

Status returns HTTPResponse.Status

func (RequestDeploymentDeletionResponse) StatusCode

func (r RequestDeploymentDeletionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestDeploymentUpdateJSONRequestBody

type RequestDeploymentUpdateJSONRequestBody = UpsertDeploymentRequest

RequestDeploymentUpdateJSONRequestBody defines body for RequestDeploymentUpdate for application/json ContentType.

type RequestDeploymentUpdateResponse

type RequestDeploymentUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *DeploymentRequestAccepted
}

func ParseRequestDeploymentUpdateResponse

func ParseRequestDeploymentUpdateResponse(rsp *http.Response) (*RequestDeploymentUpdateResponse, error)

ParseRequestDeploymentUpdateResponse parses an HTTP response from a RequestDeploymentUpdateWithResponse call

func (RequestDeploymentUpdateResponse) Status

Status returns HTTPResponse.Status

func (RequestDeploymentUpdateResponse) StatusCode

func (r RequestDeploymentUpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestDeploymentVariableDeletionResponse

type RequestDeploymentVariableDeletionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *DeploymentVariableRequestAccepted
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseRequestDeploymentVariableDeletionResponse

func ParseRequestDeploymentVariableDeletionResponse(rsp *http.Response) (*RequestDeploymentVariableDeletionResponse, error)

ParseRequestDeploymentVariableDeletionResponse parses an HTTP response from a RequestDeploymentVariableDeletionWithResponse call

func (RequestDeploymentVariableDeletionResponse) Status

Status returns HTTPResponse.Status

func (RequestDeploymentVariableDeletionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RequestDeploymentVariableUpdateJSONRequestBody

type RequestDeploymentVariableUpdateJSONRequestBody = UpsertDeploymentVariableRequest

RequestDeploymentVariableUpdateJSONRequestBody defines body for RequestDeploymentVariableUpdate for application/json ContentType.

type RequestDeploymentVariableUpdateResponse

type RequestDeploymentVariableUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *DeploymentVariableRequestAccepted
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseRequestDeploymentVariableUpdateResponse

func ParseRequestDeploymentVariableUpdateResponse(rsp *http.Response) (*RequestDeploymentVariableUpdateResponse, error)

ParseRequestDeploymentVariableUpdateResponse parses an HTTP response from a RequestDeploymentVariableUpdateWithResponse call

func (RequestDeploymentVariableUpdateResponse) Status

Status returns HTTPResponse.Status

func (RequestDeploymentVariableUpdateResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RequestDeploymentVariableValueDeletionResponse

type RequestDeploymentVariableValueDeletionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *DeploymentVariableValueRequestAccepted
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseRequestDeploymentVariableValueDeletionResponse

func ParseRequestDeploymentVariableValueDeletionResponse(rsp *http.Response) (*RequestDeploymentVariableValueDeletionResponse, error)

ParseRequestDeploymentVariableValueDeletionResponse parses an HTTP response from a RequestDeploymentVariableValueDeletionWithResponse call

func (RequestDeploymentVariableValueDeletionResponse) Status

Status returns HTTPResponse.Status

func (RequestDeploymentVariableValueDeletionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RequestDeploymentVariableValueUpdateJSONRequestBody

type RequestDeploymentVariableValueUpdateJSONRequestBody = UpsertDeploymentVariableValueRequest

RequestDeploymentVariableValueUpdateJSONRequestBody defines body for RequestDeploymentVariableValueUpdate for application/json ContentType.

type RequestDeploymentVariableValueUpdateResponse

type RequestDeploymentVariableValueUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *DeploymentVariableValueRequestAccepted
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseRequestDeploymentVariableValueUpdateResponse

func ParseRequestDeploymentVariableValueUpdateResponse(rsp *http.Response) (*RequestDeploymentVariableValueUpdateResponse, error)

ParseRequestDeploymentVariableValueUpdateResponse parses an HTTP response from a RequestDeploymentVariableValueUpdateWithResponse call

func (RequestDeploymentVariableValueUpdateResponse) Status

Status returns HTTPResponse.Status

func (RequestDeploymentVariableValueUpdateResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type RequestEnvironmentCreationJSONRequestBody

type RequestEnvironmentCreationJSONRequestBody = CreateEnvironmentRequest

RequestEnvironmentCreationJSONRequestBody defines body for RequestEnvironmentCreation for application/json ContentType.

type RequestEnvironmentCreationResponse

type RequestEnvironmentCreationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *EnvironmentRequestAccepted
}

func ParseRequestEnvironmentCreationResponse

func ParseRequestEnvironmentCreationResponse(rsp *http.Response) (*RequestEnvironmentCreationResponse, error)

ParseRequestEnvironmentCreationResponse parses an HTTP response from a RequestEnvironmentCreationWithResponse call

func (RequestEnvironmentCreationResponse) Status

Status returns HTTPResponse.Status

func (RequestEnvironmentCreationResponse) StatusCode

func (r RequestEnvironmentCreationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestEnvironmentDeletionResponse

type RequestEnvironmentDeletionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *EnvironmentRequestAccepted
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseRequestEnvironmentDeletionResponse

func ParseRequestEnvironmentDeletionResponse(rsp *http.Response) (*RequestEnvironmentDeletionResponse, error)

ParseRequestEnvironmentDeletionResponse parses an HTTP response from a RequestEnvironmentDeletionWithResponse call

func (RequestEnvironmentDeletionResponse) Status

Status returns HTTPResponse.Status

func (RequestEnvironmentDeletionResponse) StatusCode

func (r RequestEnvironmentDeletionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestEnvironmentUpdateJSONRequestBody

type RequestEnvironmentUpdateJSONRequestBody = UpsertEnvironmentRequest

RequestEnvironmentUpdateJSONRequestBody defines body for RequestEnvironmentUpdate for application/json ContentType.

type RequestEnvironmentUpdateResponse

type RequestEnvironmentUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *EnvironmentRequestAccepted
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseRequestEnvironmentUpdateResponse

func ParseRequestEnvironmentUpdateResponse(rsp *http.Response) (*RequestEnvironmentUpdateResponse, error)

ParseRequestEnvironmentUpdateResponse parses an HTTP response from a RequestEnvironmentUpdateWithResponse call

func (RequestEnvironmentUpdateResponse) Status

Status returns HTTPResponse.Status

func (RequestEnvironmentUpdateResponse) StatusCode

func (r RequestEnvironmentUpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestJobAgentDeletionResponse

type RequestJobAgentDeletionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *JobAgentRequestAccepted
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseRequestJobAgentDeletionResponse

func ParseRequestJobAgentDeletionResponse(rsp *http.Response) (*RequestJobAgentDeletionResponse, error)

ParseRequestJobAgentDeletionResponse parses an HTTP response from a RequestJobAgentDeletionWithResponse call

func (RequestJobAgentDeletionResponse) Status

Status returns HTTPResponse.Status

func (RequestJobAgentDeletionResponse) StatusCode

func (r RequestJobAgentDeletionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestJobAgentUpdateJSONRequestBody

type RequestJobAgentUpdateJSONRequestBody = UpsertJobAgentRequest

RequestJobAgentUpdateJSONRequestBody defines body for RequestJobAgentUpdate for application/json ContentType.

type RequestJobAgentUpdateResponse

type RequestJobAgentUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *JobAgentRequestAccepted
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseRequestJobAgentUpdateResponse

func ParseRequestJobAgentUpdateResponse(rsp *http.Response) (*RequestJobAgentUpdateResponse, error)

ParseRequestJobAgentUpdateResponse parses an HTTP response from a RequestJobAgentUpdateWithResponse call

func (RequestJobAgentUpdateResponse) Status

Status returns HTTPResponse.Status

func (RequestJobAgentUpdateResponse) StatusCode

func (r RequestJobAgentUpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestJobStatusUpdateJSONRequestBody

type RequestJobStatusUpdateJSONRequestBody = JobStatus

RequestJobStatusUpdateJSONRequestBody defines body for RequestJobStatusUpdate for application/json ContentType.

type RequestJobStatusUpdateResponse

type RequestJobStatusUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *JobStatusRequestAccepted
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseRequestJobStatusUpdateResponse

func ParseRequestJobStatusUpdateResponse(rsp *http.Response) (*RequestJobStatusUpdateResponse, error)

ParseRequestJobStatusUpdateResponse parses an HTTP response from a RequestJobStatusUpdateWithResponse call

func (RequestJobStatusUpdateResponse) Status

Status returns HTTPResponse.Status

func (RequestJobStatusUpdateResponse) StatusCode

func (r RequestJobStatusUpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestPolicyCreationJSONRequestBody

type RequestPolicyCreationJSONRequestBody = CreatePolicyRequest

RequestPolicyCreationJSONRequestBody defines body for RequestPolicyCreation for application/json ContentType.

type RequestPolicyCreationResponse

type RequestPolicyCreationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *PolicyRequestAccepted
	JSON400      *ErrorResponse
}

func ParseRequestPolicyCreationResponse

func ParseRequestPolicyCreationResponse(rsp *http.Response) (*RequestPolicyCreationResponse, error)

ParseRequestPolicyCreationResponse parses an HTTP response from a RequestPolicyCreationWithResponse call

func (RequestPolicyCreationResponse) Status

Status returns HTTPResponse.Status

func (RequestPolicyCreationResponse) StatusCode

func (r RequestPolicyCreationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestPolicyDeletionResponse

type RequestPolicyDeletionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *PolicyRequestAccepted
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseRequestPolicyDeletionResponse

func ParseRequestPolicyDeletionResponse(rsp *http.Response) (*RequestPolicyDeletionResponse, error)

ParseRequestPolicyDeletionResponse parses an HTTP response from a RequestPolicyDeletionWithResponse call

func (RequestPolicyDeletionResponse) Status

Status returns HTTPResponse.Status

func (RequestPolicyDeletionResponse) StatusCode

func (r RequestPolicyDeletionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestPolicyUpdateJSONRequestBody

type RequestPolicyUpdateJSONRequestBody = UpsertPolicyRequest

RequestPolicyUpdateJSONRequestBody defines body for RequestPolicyUpdate for application/json ContentType.

type RequestPolicyUpdateResponse

type RequestPolicyUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *PolicyRequestAccepted
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseRequestPolicyUpdateResponse

func ParseRequestPolicyUpdateResponse(rsp *http.Response) (*RequestPolicyUpdateResponse, error)

ParseRequestPolicyUpdateResponse parses an HTTP response from a RequestPolicyUpdateWithResponse call

func (RequestPolicyUpdateResponse) Status

Status returns HTTPResponse.Status

func (RequestPolicyUpdateResponse) StatusCode

func (r RequestPolicyUpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestResourceDeletionByIdentifierResponse

type RequestResourceDeletionByIdentifierResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *ResourceRequestAccepted
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseRequestResourceDeletionByIdentifierResponse

func ParseRequestResourceDeletionByIdentifierResponse(rsp *http.Response) (*RequestResourceDeletionByIdentifierResponse, error)

ParseRequestResourceDeletionByIdentifierResponse parses an HTTP response from a RequestResourceDeletionByIdentifierWithResponse call

func (RequestResourceDeletionByIdentifierResponse) Status

Status returns HTTPResponse.Status

func (RequestResourceDeletionByIdentifierResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RequestResourceProviderUpsertJSONRequestBody

type RequestResourceProviderUpsertJSONRequestBody = UpsertResourceProviderRequest

RequestResourceProviderUpsertJSONRequestBody defines body for RequestResourceProviderUpsert for application/json ContentType.

type RequestResourceProviderUpsertResponse

type RequestResourceProviderUpsertResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *ResourceProviderRequestAccepted
	JSON400      *ErrorResponse
}

func ParseRequestResourceProviderUpsertResponse

func ParseRequestResourceProviderUpsertResponse(rsp *http.Response) (*RequestResourceProviderUpsertResponse, error)

ParseRequestResourceProviderUpsertResponse parses an HTTP response from a RequestResourceProviderUpsertWithResponse call

func (RequestResourceProviderUpsertResponse) Status

Status returns HTTPResponse.Status

func (RequestResourceProviderUpsertResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RequestResourceProvidersResourcesJSONBody

type RequestResourceProvidersResourcesJSONBody struct {
	Resources []ResourceProviderResource `json:"resources"`
}

RequestResourceProvidersResourcesJSONBody defines parameters for RequestResourceProvidersResources.

type RequestResourceProvidersResourcesJSONRequestBody

type RequestResourceProvidersResourcesJSONRequestBody RequestResourceProvidersResourcesJSONBody

RequestResourceProvidersResourcesJSONRequestBody defines body for RequestResourceProvidersResources for application/json ContentType.

type RequestResourceProvidersResourcesPatchJSONBody

type RequestResourceProvidersResourcesPatchJSONBody struct {
	Resources []ResourceProviderResource `json:"resources"`
}

RequestResourceProvidersResourcesPatchJSONBody defines parameters for RequestResourceProvidersResourcesPatch.

type RequestResourceProvidersResourcesPatchJSONRequestBody

type RequestResourceProvidersResourcesPatchJSONRequestBody RequestResourceProvidersResourcesPatchJSONBody

RequestResourceProvidersResourcesPatchJSONRequestBody defines body for RequestResourceProvidersResourcesPatch for application/json ContentType.

type RequestResourceProvidersResourcesPatchResponse

type RequestResourceProvidersResourcesPatchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *ResourceProviderRequestAccepted
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseRequestResourceProvidersResourcesPatchResponse

func ParseRequestResourceProvidersResourcesPatchResponse(rsp *http.Response) (*RequestResourceProvidersResourcesPatchResponse, error)

ParseRequestResourceProvidersResourcesPatchResponse parses an HTTP response from a RequestResourceProvidersResourcesPatchWithResponse call

func (RequestResourceProvidersResourcesPatchResponse) Status

Status returns HTTPResponse.Status

func (RequestResourceProvidersResourcesPatchResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RequestResourceProvidersResourcesResponse

type RequestResourceProvidersResourcesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *ResourceProviderRequestAccepted
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseRequestResourceProvidersResourcesResponse

func ParseRequestResourceProvidersResourcesResponse(rsp *http.Response) (*RequestResourceProvidersResourcesResponse, error)

ParseRequestResourceProvidersResourcesResponse parses an HTTP response from a RequestResourceProvidersResourcesWithResponse call

func (RequestResourceProvidersResourcesResponse) Status

Status returns HTTPResponse.Status

func (RequestResourceProvidersResourcesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RequestResourceVariablesUpdateJSONBody

type RequestResourceVariablesUpdateJSONBody map[string]interface{}

RequestResourceVariablesUpdateJSONBody defines parameters for RequestResourceVariablesUpdate.

type RequestResourceVariablesUpdateJSONRequestBody

type RequestResourceVariablesUpdateJSONRequestBody RequestResourceVariablesUpdateJSONBody

RequestResourceVariablesUpdateJSONRequestBody defines body for RequestResourceVariablesUpdate for application/json ContentType.

type RequestResourceVariablesUpdateResponse

type RequestResourceVariablesUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *ResourceRequestAccepted
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseRequestResourceVariablesUpdateResponse

func ParseRequestResourceVariablesUpdateResponse(rsp *http.Response) (*RequestResourceVariablesUpdateResponse, error)

ParseRequestResourceVariablesUpdateResponse parses an HTTP response from a RequestResourceVariablesUpdateWithResponse call

func (RequestResourceVariablesUpdateResponse) Status

Status returns HTTPResponse.Status

func (RequestResourceVariablesUpdateResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RequestSystemCreationJSONRequestBody

type RequestSystemCreationJSONRequestBody = CreateSystemRequest

RequestSystemCreationJSONRequestBody defines body for RequestSystemCreation for application/json ContentType.

type RequestSystemCreationResponse

type RequestSystemCreationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *SystemRequestAccepted
}

func ParseRequestSystemCreationResponse

func ParseRequestSystemCreationResponse(rsp *http.Response) (*RequestSystemCreationResponse, error)

ParseRequestSystemCreationResponse parses an HTTP response from a RequestSystemCreationWithResponse call

func (RequestSystemCreationResponse) Status

Status returns HTTPResponse.Status

func (RequestSystemCreationResponse) StatusCode

func (r RequestSystemCreationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestSystemDeletionResponse

type RequestSystemDeletionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *SystemRequestAccepted
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseRequestSystemDeletionResponse

func ParseRequestSystemDeletionResponse(rsp *http.Response) (*RequestSystemDeletionResponse, error)

ParseRequestSystemDeletionResponse parses an HTTP response from a RequestSystemDeletionWithResponse call

func (RequestSystemDeletionResponse) Status

Status returns HTTPResponse.Status

func (RequestSystemDeletionResponse) StatusCode

func (r RequestSystemDeletionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestSystemUpdateJSONRequestBody

type RequestSystemUpdateJSONRequestBody = UpsertSystemRequest

RequestSystemUpdateJSONRequestBody defines body for RequestSystemUpdate for application/json ContentType.

type RequestSystemUpdateResponse

type RequestSystemUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *SystemRequestAccepted
}

func ParseRequestSystemUpdateResponse

func ParseRequestSystemUpdateResponse(rsp *http.Response) (*RequestSystemUpdateResponse, error)

ParseRequestSystemUpdateResponse parses an HTTP response from a RequestSystemUpdateWithResponse call

func (RequestSystemUpdateResponse) Status

Status returns HTTPResponse.Status

func (RequestSystemUpdateResponse) StatusCode

func (r RequestSystemUpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestUserApprovalRecordUpdateJSONRequestBody

type RequestUserApprovalRecordUpdateJSONRequestBody = UpsertUserApprovalRecordRequest

RequestUserApprovalRecordUpdateJSONRequestBody defines body for RequestUserApprovalRecordUpdate for application/json ContentType.

type RequestUserApprovalRecordUpdateResponse

type RequestUserApprovalRecordUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *UserApprovalRecordRequestAccepted
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseRequestUserApprovalRecordUpdateResponse

func ParseRequestUserApprovalRecordUpdateResponse(rsp *http.Response) (*RequestUserApprovalRecordUpdateResponse, error)

ParseRequestUserApprovalRecordUpdateResponse parses an HTTP response from a RequestUserApprovalRecordUpdateWithResponse call

func (RequestUserApprovalRecordUpdateResponse) Status

Status returns HTTPResponse.Status

func (RequestUserApprovalRecordUpdateResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type Resource

type Resource struct {
	Config      map[string]interface{} `json:"config"`
	CreatedAt   time.Time              `json:"createdAt"`
	DeletedAt   *time.Time             `json:"deletedAt,omitempty"`
	Identifier  string                 `json:"identifier"`
	Kind        string                 `json:"kind"`
	LockedAt    *time.Time             `json:"lockedAt,omitempty"`
	Metadata    map[string]string      `json:"metadata"`
	Name        string                 `json:"name"`
	ProviderId  *string                `json:"providerId,omitempty"`
	UpdatedAt   *time.Time             `json:"updatedAt,omitempty"`
	Version     string                 `json:"version"`
	WorkspaceId string                 `json:"workspaceId"`
}

Resource defines model for Resource.

type ResourceProvider

type ResourceProvider struct {
	CreatedAt time.Time `json:"createdAt"`
	Id        string    `json:"id"`

	// Metadata Arbitrary metadata for the resource provider (record<string, string>)
	Metadata    *map[string]string `json:"metadata,omitempty"`
	Name        string             `json:"name"`
	WorkspaceId openapi_types.UUID `json:"workspaceId"`
}

ResourceProvider defines model for ResourceProvider.

type ResourceProviderRequestAccepted

type ResourceProviderRequestAccepted struct {
	Id      string `json:"id"`
	Message string `json:"message"`
}

ResourceProviderRequestAccepted defines model for ResourceProviderRequestAccepted.

type ResourceProviderResource

type ResourceProviderResource struct {
	Config     map[string]interface{} `json:"config"`
	CreatedAt  time.Time              `json:"createdAt"`
	DeletedAt  *time.Time             `json:"deletedAt,omitempty"`
	Identifier string                 `json:"identifier"`
	Kind       string                 `json:"kind"`
	LockedAt   *time.Time             `json:"lockedAt,omitempty"`
	Metadata   map[string]string      `json:"metadata"`
	Name       string                 `json:"name"`
	UpdatedAt  *time.Time             `json:"updatedAt,omitempty"`
	Version    string                 `json:"version"`
}

ResourceProviderResource defines model for ResourceProviderResource.

type ResourceRequestAccepted

type ResourceRequestAccepted struct {
	Id      string `json:"id"`
	Message string `json:"message"`
}

ResourceRequestAccepted defines model for ResourceRequestAccepted.

type ResourceVariable

type ResourceVariable struct {
	Key        string `json:"key"`
	ResourceId string `json:"resourceId"`
	Value      Value  `json:"value"`
}

ResourceVariable defines model for ResourceVariable.

type RetryRule

type RetryRule struct {
	// BackoffSeconds Minimum seconds to wait between retry attempts. If null, retries are allowed immediately after job completion.
	BackoffSeconds *int32 `json:"backoffSeconds,omitempty"`

	// BackoffStrategy Backoff strategy: "linear" uses constant backoffSeconds delay, "exponential" doubles the delay with each retry (backoffSeconds * 2^(attempt-1)).
	BackoffStrategy *RetryRuleBackoffStrategy `json:"backoffStrategy,omitempty"`

	// MaxBackoffSeconds Maximum backoff time in seconds (cap for exponential backoff). If null, no maximum is enforced.
	MaxBackoffSeconds *int32 `json:"maxBackoffSeconds,omitempty"`

	// MaxRetries Maximum number of retries allowed. 0 means no retries (1 attempt total), 3 means up to 4 attempts (1 initial + 3 retries).
	MaxRetries int32 `json:"maxRetries"`

	// RetryOnStatuses Job statuses that count toward the retry limit. If null or empty, defaults to ["failure", "invalidIntegration", "invalidJobAgent"] for maxRetries > 0, or ["failure", "invalidIntegration", "invalidJobAgent", "successful"] for maxRetries = 0. Cancelled and skipped jobs never count by default (allows redeployment after cancellation). Example: ["failure", "cancelled"] will only count failed/cancelled jobs.
	RetryOnStatuses *[]JobStatus `json:"retryOnStatuses,omitempty"`
}

RetryRule defines model for RetryRule.

type RetryRuleBackoffStrategy

type RetryRuleBackoffStrategy string

RetryRuleBackoffStrategy Backoff strategy: "linear" uses constant backoffSeconds delay, "exponential" doubles the delay with each retry (backoffSeconds * 2^(attempt-1)).

const (
	RetryRuleBackoffStrategyExponential RetryRuleBackoffStrategy = "exponential"
	RetryRuleBackoffStrategyLinear      RetryRuleBackoffStrategy = "linear"
)

Defines values for RetryRuleBackoffStrategy.

type Selector

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

Selector defines model for Selector.

func (Selector) AsCelSelector

func (t Selector) AsCelSelector() (CelSelector, error)

AsCelSelector returns the union data inside the Selector as a CelSelector

func (Selector) AsJsonSelector

func (t Selector) AsJsonSelector() (JsonSelector, error)

AsJsonSelector returns the union data inside the Selector as a JsonSelector

func (*Selector) FromCelSelector

func (t *Selector) FromCelSelector(v CelSelector) error

FromCelSelector overwrites any union data inside the Selector as the provided CelSelector

func (*Selector) FromJsonSelector

func (t *Selector) FromJsonSelector(v JsonSelector) error

FromJsonSelector overwrites any union data inside the Selector as the provided JsonSelector

func (Selector) MarshalJSON

func (t Selector) MarshalJSON() ([]byte, error)

func (*Selector) MergeCelSelector

func (t *Selector) MergeCelSelector(v CelSelector) error

MergeCelSelector performs a merge with any union data inside the Selector, using the provided CelSelector

func (*Selector) MergeJsonSelector

func (t *Selector) MergeJsonSelector(v JsonSelector) error

MergeJsonSelector performs a merge with any union data inside the Selector, using the provided JsonSelector

func (*Selector) UnmarshalJSON

func (t *Selector) UnmarshalJSON(b []byte) error

type SensitiveValue

type SensitiveValue struct {
	ValueHash string `json:"valueHash"`
}

SensitiveValue defines model for SensitiveValue.

type SleepMetricProvider

type SleepMetricProvider struct {
	DurationSeconds int32 `json:"durationSeconds"`

	// Type Provider type
	Type SleepMetricProviderType `json:"type"`
}

SleepMetricProvider defines model for SleepMetricProvider.

type SleepMetricProviderType

type SleepMetricProviderType string

SleepMetricProviderType Provider type

const (
	Sleep SleepMetricProviderType = "sleep"
)

Defines values for SleepMetricProviderType.

type StringValue

type StringValue = string

StringValue defines model for StringValue.

type System

type System struct {
	Description *string            `json:"description,omitempty"`
	Id          string             `json:"id"`
	Metadata    *map[string]string `json:"metadata,omitempty"`
	Name        string             `json:"name"`
	Slug        string             `json:"slug"`
	WorkspaceId string             `json:"workspaceId"`
}

System defines model for System.

type SystemRequestAccepted

type SystemRequestAccepted struct {
	Id      string `json:"id"`
	Message string `json:"message"`
}

SystemRequestAccepted defines model for SystemRequestAccepted.

type TerraformCloudRunMetricProvider

type TerraformCloudRunMetricProvider struct {
	// Address Terraform Cloud address
	Address string `json:"address"`

	// RunId Terraform Cloud run ID
	RunId string `json:"runId"`

	// Token Terraform Cloud token
	Token string `json:"token"`

	// Type Provider type
	Type TerraformCloudRunMetricProviderType `json:"type"`
}

TerraformCloudRunMetricProvider defines model for TerraformCloudRunMetricProvider.

type TerraformCloudRunMetricProviderType

type TerraformCloudRunMetricProviderType string

TerraformCloudRunMetricProviderType Provider type

const (
	TerraformCloudRun TerraformCloudRunMetricProviderType = "terraformCloudRun"
)

Defines values for TerraformCloudRunMetricProviderType.

type UpdateDeploymentVersionJSONRequestBody

type UpdateDeploymentVersionJSONRequestBody = UpdateDeploymentVersionRequest

UpdateDeploymentVersionJSONRequestBody defines body for UpdateDeploymentVersion for application/json ContentType.

type UpdateDeploymentVersionRequest

type UpdateDeploymentVersionRequest struct {
	Config         *map[string]interface{}  `json:"config,omitempty"`
	CreatedAt      *time.Time               `json:"createdAt,omitempty"`
	JobAgentConfig *map[string]interface{}  `json:"jobAgentConfig,omitempty"`
	Metadata       *map[string]string       `json:"metadata,omitempty"`
	Name           *string                  `json:"name,omitempty"`
	Status         *DeploymentVersionStatus `json:"status,omitempty"`
	Tag            *string                  `json:"tag,omitempty"`
}

UpdateDeploymentVersionRequest defines model for UpdateDeploymentVersionRequest.

type UpdateDeploymentVersionResponse

type UpdateDeploymentVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *DeploymentVersion
	JSON400      *ErrorResponse
}

func ParseUpdateDeploymentVersionResponse

func ParseUpdateDeploymentVersionResponse(rsp *http.Response) (*UpdateDeploymentVersionResponse, error)

ParseUpdateDeploymentVersionResponse parses an HTTP response from a UpdateDeploymentVersionWithResponse call

func (UpdateDeploymentVersionResponse) Status

Status returns HTTPResponse.Status

func (UpdateDeploymentVersionResponse) StatusCode

func (r UpdateDeploymentVersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateWorkspaceJSONRequestBody

type UpdateWorkspaceJSONRequestBody = UpdateWorkspaceRequest

UpdateWorkspaceJSONRequestBody defines body for UpdateWorkspace for application/json ContentType.

type UpdateWorkspaceRequest

type UpdateWorkspaceRequest struct {
	// Name Display name of the workspace
	Name *string `json:"name,omitempty"`

	// Slug URL-friendly unique identifier (lowercase, no spaces)
	Slug *string `json:"slug,omitempty"`
}

UpdateWorkspaceRequest defines model for UpdateWorkspaceRequest.

type UpdateWorkspaceResponse

type UpdateWorkspaceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Workspace
	JSON400      *Error
	JSON401      *Error
	JSON404      *Error
	JSON409      *Error
	JSON500      *Error
}

func ParseUpdateWorkspaceResponse

func ParseUpdateWorkspaceResponse(rsp *http.Response) (*UpdateWorkspaceResponse, error)

ParseUpdateWorkspaceResponse parses an HTTP response from a UpdateWorkspaceWithResponse call

func (UpdateWorkspaceResponse) Status

func (r UpdateWorkspaceResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateWorkspaceResponse) StatusCode

func (r UpdateWorkspaceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpsertDeploymentRequest

type UpsertDeploymentRequest struct {
	Description      *string                 `json:"description,omitempty"`
	JobAgentConfig   *map[string]interface{} `json:"jobAgentConfig,omitempty"`
	JobAgentId       *string                 `json:"jobAgentId,omitempty"`
	Metadata         *map[string]string      `json:"metadata,omitempty"`
	Name             string                  `json:"name"`
	ResourceSelector *Selector               `json:"resourceSelector,omitempty"`
	Slug             string                  `json:"slug"`
	SystemId         string                  `json:"systemId"`
}

UpsertDeploymentRequest defines model for UpsertDeploymentRequest.

type UpsertDeploymentVariableRequest

type UpsertDeploymentVariableRequest struct {
	DefaultValue *LiteralValue `json:"defaultValue,omitempty"`
	Description  *string       `json:"description,omitempty"`
	Key          string        `json:"key"`
}

UpsertDeploymentVariableRequest defines model for UpsertDeploymentVariableRequest.

type UpsertDeploymentVariableValueRequest

type UpsertDeploymentVariableValueRequest struct {
	Priority         int64     `json:"priority"`
	ResourceSelector *Selector `json:"resourceSelector,omitempty"`
	Value            Value     `json:"value"`
}

UpsertDeploymentVariableValueRequest defines model for UpsertDeploymentVariableValueRequest.

type UpsertEnvironmentRequest

type UpsertEnvironmentRequest struct {
	Description      *string            `json:"description,omitempty"`
	Metadata         *map[string]string `json:"metadata,omitempty"`
	Name             string             `json:"name"`
	ResourceSelector *Selector          `json:"resourceSelector,omitempty"`
	SystemId         string             `json:"systemId"`
}

UpsertEnvironmentRequest defines model for UpsertEnvironmentRequest.

type UpsertJobAgentRequest

type UpsertJobAgentRequest struct {
	Config   map[string]interface{} `json:"config"`
	Metadata *map[string]string     `json:"metadata,omitempty"`
	Name     string                 `json:"name"`
	Type     string                 `json:"type"`
}

UpsertJobAgentRequest defines model for UpsertJobAgentRequest.

type UpsertPolicyRequest

type UpsertPolicyRequest struct {
	Description *string `json:"description,omitempty"`
	Enabled     *bool   `json:"enabled,omitempty"`

	// Metadata Arbitrary metadata for the policy (record<string, string>)
	Metadata  *map[string]string      `json:"metadata,omitempty"`
	Name      string                  `json:"name"`
	Priority  *int                    `json:"priority,omitempty"`
	Rules     *[]PolicyRule           `json:"rules,omitempty"`
	Selectors *[]PolicyTargetSelector `json:"selectors,omitempty"`
}

UpsertPolicyRequest defines model for UpsertPolicyRequest.

type UpsertRelationshipByIdJSONRequestBody

type UpsertRelationshipByIdJSONRequestBody = UpsertRelationshipRuleRequest

UpsertRelationshipByIdJSONRequestBody defines body for UpsertRelationshipById for application/json ContentType.

type UpsertRelationshipByIdResponse

type UpsertRelationshipByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *RelationshipRule
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseUpsertRelationshipByIdResponse

func ParseUpsertRelationshipByIdResponse(rsp *http.Response) (*UpsertRelationshipByIdResponse, error)

ParseUpsertRelationshipByIdResponse parses an HTTP response from a UpsertRelationshipByIdWithResponse call

func (UpsertRelationshipByIdResponse) Status

Status returns HTTPResponse.Status

func (UpsertRelationshipByIdResponse) StatusCode

func (r UpsertRelationshipByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpsertRelationshipRuleRequest

type UpsertRelationshipRuleRequest struct {
	Description      *string                               `json:"description,omitempty"`
	FromSelector     *Selector                             `json:"fromSelector,omitempty"`
	FromType         RelatableEntityType                   `json:"fromType"`
	Matcher          UpsertRelationshipRuleRequest_Matcher `json:"matcher"`
	Metadata         map[string]string                     `json:"metadata"`
	Name             string                                `json:"name"`
	Reference        string                                `json:"reference"`
	RelationshipType string                                `json:"relationshipType"`
	ToSelector       *Selector                             `json:"toSelector,omitempty"`
	ToType           RelatableEntityType                   `json:"toType"`
}

UpsertRelationshipRuleRequest defines model for UpsertRelationshipRuleRequest.

type UpsertRelationshipRuleRequest_Matcher

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

UpsertRelationshipRuleRequest_Matcher defines model for UpsertRelationshipRuleRequest.Matcher.

func (UpsertRelationshipRuleRequest_Matcher) AsCelMatcher

AsCelMatcher returns the union data inside the UpsertRelationshipRuleRequest_Matcher as a CelMatcher

func (*UpsertRelationshipRuleRequest_Matcher) FromCelMatcher

FromCelMatcher overwrites any union data inside the UpsertRelationshipRuleRequest_Matcher as the provided CelMatcher

func (UpsertRelationshipRuleRequest_Matcher) MarshalJSON

func (t UpsertRelationshipRuleRequest_Matcher) MarshalJSON() ([]byte, error)

func (*UpsertRelationshipRuleRequest_Matcher) MergeCelMatcher

MergeCelMatcher performs a merge with any union data inside the UpsertRelationshipRuleRequest_Matcher, using the provided CelMatcher

func (*UpsertRelationshipRuleRequest_Matcher) UnmarshalJSON

func (t *UpsertRelationshipRuleRequest_Matcher) UnmarshalJSON(b []byte) error

type UpsertResourceProviderRequest

type UpsertResourceProviderRequest struct {
	Id string `json:"id"`

	// Metadata Arbitrary metadata for the resource provider (record<string, string>)
	Metadata *map[string]string `json:"metadata,omitempty"`
	Name     string             `json:"name"`
}

UpsertResourceProviderRequest defines model for UpsertResourceProviderRequest.

type UpsertSystemRequest

type UpsertSystemRequest struct {
	Description *string            `json:"description,omitempty"`
	Metadata    *map[string]string `json:"metadata,omitempty"`
	Name        string             `json:"name"`
	Slug        *string            `json:"slug,omitempty"`
}

UpsertSystemRequest defines model for UpsertSystemRequest.

type UpsertUserApprovalRecordRequest

type UpsertUserApprovalRecordRequest struct {
	EnvironmentIds *[]string      `json:"environmentIds,omitempty"`
	Reason         *string        `json:"reason,omitempty"`
	Status         ApprovalStatus `json:"status"`
}

UpsertUserApprovalRecordRequest defines model for UpsertUserApprovalRecordRequest.

type UserApprovalRecordRequestAccepted

type UserApprovalRecordRequestAccepted struct {
	Id      string `json:"id"`
	Message string `json:"message"`
}

UserApprovalRecordRequestAccepted defines model for UserApprovalRecordRequestAccepted.

type Value

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

Value defines model for Value.

func (Value) AsLiteralValue

func (t Value) AsLiteralValue() (LiteralValue, error)

AsLiteralValue returns the union data inside the Value as a LiteralValue

func (Value) AsReferenceValue

func (t Value) AsReferenceValue() (ReferenceValue, error)

AsReferenceValue returns the union data inside the Value as a ReferenceValue

func (Value) AsSensitiveValue

func (t Value) AsSensitiveValue() (SensitiveValue, error)

AsSensitiveValue returns the union data inside the Value as a SensitiveValue

func (*Value) FromLiteralValue

func (t *Value) FromLiteralValue(v LiteralValue) error

FromLiteralValue overwrites any union data inside the Value as the provided LiteralValue

func (*Value) FromReferenceValue

func (t *Value) FromReferenceValue(v ReferenceValue) error

FromReferenceValue overwrites any union data inside the Value as the provided ReferenceValue

func (*Value) FromSensitiveValue

func (t *Value) FromSensitiveValue(v SensitiveValue) error

FromSensitiveValue overwrites any union data inside the Value as the provided SensitiveValue

func (Value) MarshalJSON

func (t Value) MarshalJSON() ([]byte, error)

func (*Value) MergeLiteralValue

func (t *Value) MergeLiteralValue(v LiteralValue) error

MergeLiteralValue performs a merge with any union data inside the Value, using the provided LiteralValue

func (*Value) MergeReferenceValue

func (t *Value) MergeReferenceValue(v ReferenceValue) error

MergeReferenceValue performs a merge with any union data inside the Value, using the provided ReferenceValue

func (*Value) MergeSensitiveValue

func (t *Value) MergeSensitiveValue(v SensitiveValue) error

MergeSensitiveValue performs a merge with any union data inside the Value, using the provided SensitiveValue

func (*Value) UnmarshalJSON

func (t *Value) UnmarshalJSON(b []byte) error

type VerificationMetricSpec

type VerificationMetricSpec struct {
	// Count Number of measurements to take
	Count int `json:"count"`

	// FailureCondition CEL expression to evaluate measurement failure (e.g., "result.statusCode == 500"), if not provided, a failure is just the opposite of the success condition
	FailureCondition *string `json:"failureCondition,omitempty"`

	// FailureThreshold Stop after this many consecutive failures (0 = no limit)
	FailureThreshold *int `json:"failureThreshold,omitempty"`

	// IntervalSeconds Interval between measurements in seconds
	IntervalSeconds int32 `json:"intervalSeconds"`

	// Name Name of the verification metric
	Name     string         `json:"name"`
	Provider MetricProvider `json:"provider"`

	// SuccessCondition CEL expression to evaluate measurement success (e.g., "result.statusCode == 200")
	SuccessCondition string `json:"successCondition"`

	// SuccessThreshold Minimum number of consecutive successful measurements required to consider the metric successful
	SuccessThreshold *int `json:"successThreshold,omitempty"`
}

VerificationMetricSpec defines model for VerificationMetricSpec.

type VerificationRule

type VerificationRule struct {
	// Metrics Metrics to verify
	Metrics []VerificationMetricSpec `json:"metrics"`

	// TriggerOn When to trigger verification
	TriggerOn *VerificationRuleTriggerOn `json:"triggerOn,omitempty"`
}

VerificationRule defines model for VerificationRule.

type VerificationRuleTriggerOn

type VerificationRuleTriggerOn string

VerificationRuleTriggerOn When to trigger verification

const (
	JobCreated VerificationRuleTriggerOn = "jobCreated"
	JobFailure VerificationRuleTriggerOn = "jobFailure"
	JobStarted VerificationRuleTriggerOn = "jobStarted"
	JobSuccess VerificationRuleTriggerOn = "jobSuccess"
)

Defines values for VerificationRuleTriggerOn.

type VersionCooldownRule

type VersionCooldownRule struct {
	// IntervalSeconds Minimum time in seconds that must pass since the currently deployed (or in-progress) version was created before allowing another deployment. This enables batching of frequent upstream releases into periodic deployments.
	IntervalSeconds int32 `json:"intervalSeconds"`
}

VersionCooldownRule defines model for VersionCooldownRule.

type WorkflowArrayInput

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

WorkflowArrayInput defines model for WorkflowArrayInput.

func (WorkflowArrayInput) AsWorkflowManualArrayInput

func (t WorkflowArrayInput) AsWorkflowManualArrayInput() (WorkflowManualArrayInput, error)

AsWorkflowManualArrayInput returns the union data inside the WorkflowArrayInput as a WorkflowManualArrayInput

func (WorkflowArrayInput) AsWorkflowSelectorArrayInput

func (t WorkflowArrayInput) AsWorkflowSelectorArrayInput() (WorkflowSelectorArrayInput, error)

AsWorkflowSelectorArrayInput returns the union data inside the WorkflowArrayInput as a WorkflowSelectorArrayInput

func (*WorkflowArrayInput) FromWorkflowManualArrayInput

func (t *WorkflowArrayInput) FromWorkflowManualArrayInput(v WorkflowManualArrayInput) error

FromWorkflowManualArrayInput overwrites any union data inside the WorkflowArrayInput as the provided WorkflowManualArrayInput

func (*WorkflowArrayInput) FromWorkflowSelectorArrayInput

func (t *WorkflowArrayInput) FromWorkflowSelectorArrayInput(v WorkflowSelectorArrayInput) error

FromWorkflowSelectorArrayInput overwrites any union data inside the WorkflowArrayInput as the provided WorkflowSelectorArrayInput

func (WorkflowArrayInput) MarshalJSON

func (t WorkflowArrayInput) MarshalJSON() ([]byte, error)

func (*WorkflowArrayInput) MergeWorkflowManualArrayInput

func (t *WorkflowArrayInput) MergeWorkflowManualArrayInput(v WorkflowManualArrayInput) error

MergeWorkflowManualArrayInput performs a merge with any union data inside the WorkflowArrayInput, using the provided WorkflowManualArrayInput

func (*WorkflowArrayInput) MergeWorkflowSelectorArrayInput

func (t *WorkflowArrayInput) MergeWorkflowSelectorArrayInput(v WorkflowSelectorArrayInput) error

MergeWorkflowSelectorArrayInput performs a merge with any union data inside the WorkflowArrayInput, using the provided WorkflowSelectorArrayInput

func (*WorkflowArrayInput) UnmarshalJSON

func (t *WorkflowArrayInput) UnmarshalJSON(b []byte) error

type WorkflowBooleanInput

type WorkflowBooleanInput struct {
	Default *bool                    `json:"default,omitempty"`
	Name    string                   `json:"name"`
	Type    WorkflowBooleanInputType `json:"type"`
}

WorkflowBooleanInput defines model for WorkflowBooleanInput.

type WorkflowBooleanInputType

type WorkflowBooleanInputType string

WorkflowBooleanInputType defines model for WorkflowBooleanInput.Type.

const (
	Boolean WorkflowBooleanInputType = "boolean"
)

Defines values for WorkflowBooleanInputType.

type WorkflowInput

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

WorkflowInput defines model for WorkflowInput.

func (WorkflowInput) AsWorkflowArrayInput

func (t WorkflowInput) AsWorkflowArrayInput() (WorkflowArrayInput, error)

AsWorkflowArrayInput returns the union data inside the WorkflowInput as a WorkflowArrayInput

func (WorkflowInput) AsWorkflowBooleanInput

func (t WorkflowInput) AsWorkflowBooleanInput() (WorkflowBooleanInput, error)

AsWorkflowBooleanInput returns the union data inside the WorkflowInput as a WorkflowBooleanInput

func (WorkflowInput) AsWorkflowNumberInput

func (t WorkflowInput) AsWorkflowNumberInput() (WorkflowNumberInput, error)

AsWorkflowNumberInput returns the union data inside the WorkflowInput as a WorkflowNumberInput

func (WorkflowInput) AsWorkflowStringInput

func (t WorkflowInput) AsWorkflowStringInput() (WorkflowStringInput, error)

AsWorkflowStringInput returns the union data inside the WorkflowInput as a WorkflowStringInput

func (*WorkflowInput) FromWorkflowArrayInput

func (t *WorkflowInput) FromWorkflowArrayInput(v WorkflowArrayInput) error

FromWorkflowArrayInput overwrites any union data inside the WorkflowInput as the provided WorkflowArrayInput

func (*WorkflowInput) FromWorkflowBooleanInput

func (t *WorkflowInput) FromWorkflowBooleanInput(v WorkflowBooleanInput) error

FromWorkflowBooleanInput overwrites any union data inside the WorkflowInput as the provided WorkflowBooleanInput

func (*WorkflowInput) FromWorkflowNumberInput

func (t *WorkflowInput) FromWorkflowNumberInput(v WorkflowNumberInput) error

FromWorkflowNumberInput overwrites any union data inside the WorkflowInput as the provided WorkflowNumberInput

func (*WorkflowInput) FromWorkflowStringInput

func (t *WorkflowInput) FromWorkflowStringInput(v WorkflowStringInput) error

FromWorkflowStringInput overwrites any union data inside the WorkflowInput as the provided WorkflowStringInput

func (WorkflowInput) MarshalJSON

func (t WorkflowInput) MarshalJSON() ([]byte, error)

func (*WorkflowInput) MergeWorkflowArrayInput

func (t *WorkflowInput) MergeWorkflowArrayInput(v WorkflowArrayInput) error

MergeWorkflowArrayInput performs a merge with any union data inside the WorkflowInput, using the provided WorkflowArrayInput

func (*WorkflowInput) MergeWorkflowBooleanInput

func (t *WorkflowInput) MergeWorkflowBooleanInput(v WorkflowBooleanInput) error

MergeWorkflowBooleanInput performs a merge with any union data inside the WorkflowInput, using the provided WorkflowBooleanInput

func (*WorkflowInput) MergeWorkflowNumberInput

func (t *WorkflowInput) MergeWorkflowNumberInput(v WorkflowNumberInput) error

MergeWorkflowNumberInput performs a merge with any union data inside the WorkflowInput, using the provided WorkflowNumberInput

func (*WorkflowInput) MergeWorkflowStringInput

func (t *WorkflowInput) MergeWorkflowStringInput(v WorkflowStringInput) error

MergeWorkflowStringInput performs a merge with any union data inside the WorkflowInput, using the provided WorkflowStringInput

func (*WorkflowInput) UnmarshalJSON

func (t *WorkflowInput) UnmarshalJSON(b []byte) error

type WorkflowJobMatrix

type WorkflowJobMatrix map[string]WorkflowJobMatrix_AdditionalProperties

WorkflowJobMatrix defines model for WorkflowJobMatrix.

type WorkflowJobMatrix0

type WorkflowJobMatrix0 = []map[string]interface{}

WorkflowJobMatrix0 defines model for .

type WorkflowJobMatrix1

type WorkflowJobMatrix1 = string

WorkflowJobMatrix1 defines model for .

type WorkflowJobMatrix_AdditionalProperties

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

WorkflowJobMatrix_AdditionalProperties defines model for WorkflowJobMatrix.AdditionalProperties.

func (WorkflowJobMatrix_AdditionalProperties) AsWorkflowJobMatrix0

AsWorkflowJobMatrix0 returns the union data inside the WorkflowJobMatrix_AdditionalProperties as a WorkflowJobMatrix0

func (WorkflowJobMatrix_AdditionalProperties) AsWorkflowJobMatrix1

AsWorkflowJobMatrix1 returns the union data inside the WorkflowJobMatrix_AdditionalProperties as a WorkflowJobMatrix1

func (*WorkflowJobMatrix_AdditionalProperties) FromWorkflowJobMatrix0

FromWorkflowJobMatrix0 overwrites any union data inside the WorkflowJobMatrix_AdditionalProperties as the provided WorkflowJobMatrix0

func (*WorkflowJobMatrix_AdditionalProperties) FromWorkflowJobMatrix1

FromWorkflowJobMatrix1 overwrites any union data inside the WorkflowJobMatrix_AdditionalProperties as the provided WorkflowJobMatrix1

func (WorkflowJobMatrix_AdditionalProperties) MarshalJSON

func (t WorkflowJobMatrix_AdditionalProperties) MarshalJSON() ([]byte, error)

func (*WorkflowJobMatrix_AdditionalProperties) MergeWorkflowJobMatrix0

func (t *WorkflowJobMatrix_AdditionalProperties) MergeWorkflowJobMatrix0(v WorkflowJobMatrix0) error

MergeWorkflowJobMatrix0 performs a merge with any union data inside the WorkflowJobMatrix_AdditionalProperties, using the provided WorkflowJobMatrix0

func (*WorkflowJobMatrix_AdditionalProperties) MergeWorkflowJobMatrix1

func (t *WorkflowJobMatrix_AdditionalProperties) MergeWorkflowJobMatrix1(v WorkflowJobMatrix1) error

MergeWorkflowJobMatrix1 performs a merge with any union data inside the WorkflowJobMatrix_AdditionalProperties, using the provided WorkflowJobMatrix1

func (*WorkflowJobMatrix_AdditionalProperties) UnmarshalJSON

func (t *WorkflowJobMatrix_AdditionalProperties) UnmarshalJSON(b []byte) error

type WorkflowJobTemplate

type WorkflowJobTemplate struct {
	// Config Configuration for the job agent
	Config map[string]interface{} `json:"config"`
	Id     string                 `json:"id"`
	Matrix *WorkflowJobMatrix     `json:"matrix,omitempty"`
	Name   string                 `json:"name"`

	// Ref Reference to the job agent
	Ref string `json:"ref"`
}

WorkflowJobTemplate defines model for WorkflowJobTemplate.

type WorkflowManualArrayInput

type WorkflowManualArrayInput struct {
	Default *[]map[string]interface{}    `json:"default,omitempty"`
	Name    string                       `json:"name"`
	Type    WorkflowManualArrayInputType `json:"type"`
}

WorkflowManualArrayInput defines model for WorkflowManualArrayInput.

type WorkflowManualArrayInputType

type WorkflowManualArrayInputType string

WorkflowManualArrayInputType defines model for WorkflowManualArrayInput.Type.

const (
	WorkflowManualArrayInputTypeArray WorkflowManualArrayInputType = "array"
)

Defines values for WorkflowManualArrayInputType.

type WorkflowNumberInput

type WorkflowNumberInput struct {
	Default *float32                `json:"default,omitempty"`
	Name    string                  `json:"name"`
	Type    WorkflowNumberInputType `json:"type"`
}

WorkflowNumberInput defines model for WorkflowNumberInput.

type WorkflowNumberInputType

type WorkflowNumberInputType string

WorkflowNumberInputType defines model for WorkflowNumberInput.Type.

const (
	Number WorkflowNumberInputType = "number"
)

Defines values for WorkflowNumberInputType.

type WorkflowSelectorArrayInput

type WorkflowSelectorArrayInput struct {
	Name     string `json:"name"`
	Selector struct {
		Default    *Selector                                    `json:"default,omitempty"`
		EntityType WorkflowSelectorArrayInputSelectorEntityType `json:"entityType"`
	} `json:"selector"`
	Type WorkflowSelectorArrayInputType `json:"type"`
}

WorkflowSelectorArrayInput defines model for WorkflowSelectorArrayInput.

type WorkflowSelectorArrayInputSelectorEntityType

type WorkflowSelectorArrayInputSelectorEntityType string

WorkflowSelectorArrayInputSelectorEntityType defines model for WorkflowSelectorArrayInput.Selector.EntityType.

const (
	WorkflowSelectorArrayInputSelectorEntityTypeDeployment  WorkflowSelectorArrayInputSelectorEntityType = "deployment"
	WorkflowSelectorArrayInputSelectorEntityTypeEnvironment WorkflowSelectorArrayInputSelectorEntityType = "environment"
	WorkflowSelectorArrayInputSelectorEntityTypeResource    WorkflowSelectorArrayInputSelectorEntityType = "resource"
)

Defines values for WorkflowSelectorArrayInputSelectorEntityType.

type WorkflowSelectorArrayInputType

type WorkflowSelectorArrayInputType string

WorkflowSelectorArrayInputType defines model for WorkflowSelectorArrayInput.Type.

const (
	WorkflowSelectorArrayInputTypeArray WorkflowSelectorArrayInputType = "array"
)

Defines values for WorkflowSelectorArrayInputType.

type WorkflowStringInput

type WorkflowStringInput struct {
	Default *string                 `json:"default,omitempty"`
	Name    string                  `json:"name"`
	Type    WorkflowStringInputType `json:"type"`
}

WorkflowStringInput defines model for WorkflowStringInput.

type WorkflowStringInputType

type WorkflowStringInputType string

WorkflowStringInputType defines model for WorkflowStringInput.Type.

const (
	String WorkflowStringInputType = "string"
)

Defines values for WorkflowStringInputType.

type WorkflowTemplate

type WorkflowTemplate struct {
	Id     string                `json:"id"`
	Inputs []WorkflowInput       `json:"inputs"`
	Jobs   []WorkflowJobTemplate `json:"jobs"`
	Name   string                `json:"name"`
}

WorkflowTemplate defines model for WorkflowTemplate.

type Workspace

type Workspace struct {
	// AwsRoleArn AWS IAM role ARN for integrations
	AwsRoleArn *string `json:"awsRoleArn"`

	// CreatedAt Timestamp when workspace was created
	CreatedAt time.Time `json:"createdAt"`

	// GoogleServiceAccountEmail Google service account email for integrations
	GoogleServiceAccountEmail *openapi_types.Email `json:"googleServiceAccountEmail"`

	// Id Unique identifier for the workspace
	Id openapi_types.UUID `json:"id"`

	// Name Display name of the workspace
	Name string `json:"name"`

	// Slug URL-friendly unique identifier
	Slug string `json:"slug"`
}

Workspace defines model for Workspace.

type WorkspaceClient

type WorkspaceClient struct {
	ID     uuid.UUID `json:"id"`
	Url    string    `json:"url"`
	Client *ClientWithResponses
}

func NewWorkspaceClient

func NewWorkspaceClient(endpoint string, apiKey string, workspace string) (*WorkspaceClient, error)

type WorkspaceList

type WorkspaceList struct {
	// Total Total number of workspaces
	Total      int         `json:"total"`
	Workspaces []Workspace `json:"workspaces"`
}

WorkspaceList defines model for WorkspaceList.

Jump to

Keyboard shortcuts

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