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
- func NewCreateDeploymentVersionRequest(server string, workspaceId string, deploymentId string, ...) (*http.Request, error)
- func NewCreateDeploymentVersionRequestWithBody(server string, workspaceId string, deploymentId string, contentType string, ...) (*http.Request, error)
- func NewCreateRelationshipRuleRequest(server string, workspaceId string, body CreateRelationshipRuleJSONRequestBody) (*http.Request, error)
- func NewCreateRelationshipRuleRequestWithBody(server string, workspaceId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateWorkflowRequest(server string, workspaceId string, body CreateWorkflowJSONRequestBody) (*http.Request, error)
- func NewCreateWorkflowRequestWithBody(server string, workspaceId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateWorkspaceRequest(server string, body CreateWorkspaceJSONRequestBody) (*http.Request, error)
- func NewCreateWorkspaceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteRelationshipRequest(server string, workspaceId string, relationshipRuleId string) (*http.Request, error)
- func NewDeleteWorkflowRequest(server string, workspaceId string, workflowId string) (*http.Request, error)
- func NewDeleteWorkspaceRequest(server string, workspaceId openapi_types.UUID) (*http.Request, error)
- func NewGetAllResourcesRequest(server string, workspaceId string, params *GetAllResourcesParams) (*http.Request, error)
- func NewGetDeploymentRequest(server string, workspaceId string, deploymentId string) (*http.Request, error)
- func NewGetDeploymentSystemLinkRequest(server string, workspaceId string, systemId string, deploymentId string) (*http.Request, error)
- func NewGetDeploymentVariableRequest(server string, workspaceId string, deploymentId string, variableId string) (*http.Request, error)
- func NewGetDeploymentVariableValueRequest(server string, workspaceId string, deploymentId string, variableId string, ...) (*http.Request, error)
- func NewGetDeploymentsForResourceRequest(server string, workspaceId string, identifier string, ...) (*http.Request, error)
- func NewGetEnvironmentRequest(server string, workspaceId string, environmentId string) (*http.Request, error)
- func NewGetEnvironmentSystemLinkRequest(server string, workspaceId string, systemId string, environmentId string) (*http.Request, error)
- func NewGetJobAgentRequest(server string, workspaceId string, jobAgentId string) (*http.Request, error)
- func NewGetJobRequest(server string, workspaceId string, jobId string) (*http.Request, error)
- func NewGetJobWithReleaseRequest(server string, workspaceId string, jobId string) (*http.Request, error)
- func NewGetJobsForReleaseTargetRequest(server string, workspaceId string, releaseTargetKey string, ...) (*http.Request, error)
- func NewGetJobsRequest(server string, workspaceId string, params *GetJobsParams) (*http.Request, error)
- func NewGetPolicyRequest(server string, workspaceId string, policyId string) (*http.Request, error)
- func NewGetRelationshipRuleRequest(server string, workspaceId string, relationshipRuleId string) (*http.Request, error)
- func NewGetReleaseRequest(server string, workspaceId string, releaseId string) (*http.Request, error)
- func NewGetReleaseTargetDesiredReleaseRequest(server string, workspaceId string, releaseTargetKey string) (*http.Request, error)
- func NewGetReleaseTargetForResourceInDeploymentRequest(server string, workspaceId string, resourceIdentifier string, ...) (*http.Request, error)
- func NewGetReleaseTargetStateRequest(server string, workspaceId string, releaseTargetKey string, ...) (*http.Request, error)
- func NewGetResourceByIdentifierRequest(server string, workspaceId string, identifier string) (*http.Request, error)
- func NewGetResourceProviderByNameRequest(server string, workspaceId string, name string) (*http.Request, error)
- func NewGetSystemRequest(server string, workspaceId string, systemId string) (*http.Request, error)
- func NewGetVariablesForResourceRequest(server string, workspaceId string, identifier string, ...) (*http.Request, error)
- func NewGetWorkflowRequest(server string, workspaceId string, workflowId string) (*http.Request, error)
- func NewGetWorkspaceBySlugRequest(server string, workspaceSlug string) (*http.Request, error)
- func NewGetWorkspaceRequest(server string, workspaceId openapi_types.UUID) (*http.Request, error)
- func NewLinkDeploymentToSystemRequest(server string, workspaceId string, systemId string, deploymentId string) (*http.Request, error)
- func NewLinkEnvironmentToSystemRequest(server string, workspaceId string, systemId string, environmentId string) (*http.Request, error)
- func NewListDeploymentVariableValuesRequest(server string, workspaceId string, deploymentId string, variableId string, ...) (*http.Request, error)
- func NewListDeploymentVariablesRequest(server string, workspaceId string, deploymentId string, ...) (*http.Request, error)
- func NewListDeploymentVersionsRequest(server string, workspaceId string, deploymentId string, ...) (*http.Request, error)
- func NewListDeploymentsRequest(server string, workspaceId string, params *ListDeploymentsParams) (*http.Request, error)
- func NewListEnvironmentsRequest(server string, workspaceId string, params *ListEnvironmentsParams) (*http.Request, error)
- func NewListJobAgentsRequest(server string, workspaceId string, params *ListJobAgentsParams) (*http.Request, error)
- func NewListPoliciesRequest(server string, workspaceId string, params *ListPoliciesParams) (*http.Request, error)
- func NewListSystemsRequest(server string, workspaceId string, params *ListSystemsParams) (*http.Request, error)
- func NewListWorkflowsRequest(server string, workspaceId string, params *ListWorkflowsParams) (*http.Request, error)
- func NewListWorkspacesRequest(server string) (*http.Request, error)
- func NewPreviewReleaseTargetsForResourceRequest(server string, workspaceId string, ...) (*http.Request, error)
- func NewPreviewReleaseTargetsForResourceRequestWithBody(server string, workspaceId string, ...) (*http.Request, error)
- func NewRequestDeploymentCreationRequest(server string, workspaceId string, ...) (*http.Request, error)
- func NewRequestDeploymentCreationRequestWithBody(server string, workspaceId string, contentType string, body io.Reader) (*http.Request, error)
- func NewRequestDeploymentDeletionRequest(server string, workspaceId string, deploymentId string) (*http.Request, error)
- func NewRequestDeploymentUpsertRequest(server string, workspaceId string, deploymentId string, ...) (*http.Request, error)
- func NewRequestDeploymentUpsertRequestWithBody(server string, workspaceId string, deploymentId string, contentType string, ...) (*http.Request, error)
- func NewRequestDeploymentVariableDeletionRequest(server string, workspaceId string, deploymentId string, variableId string) (*http.Request, error)
- func NewRequestDeploymentVariableUpdateRequest(server string, workspaceId string, deploymentId string, variableId string, ...) (*http.Request, error)
- func NewRequestDeploymentVariableUpdateRequestWithBody(server string, workspaceId string, deploymentId string, variableId string, ...) (*http.Request, error)
- func NewRequestDeploymentVariableValueDeletionRequest(server string, workspaceId string, deploymentId string, variableId string, ...) (*http.Request, error)
- func NewRequestDeploymentVariableValueUpsertRequest(server string, workspaceId string, deploymentId string, variableId string, ...) (*http.Request, error)
- func NewRequestDeploymentVariableValueUpsertRequestWithBody(server string, workspaceId string, deploymentId string, variableId string, ...) (*http.Request, error)
- func NewRequestDeploymentVersionUpdateRequest(server string, workspaceId string, deploymentVersionId string, ...) (*http.Request, error)
- func NewRequestDeploymentVersionUpdateRequestWithBody(server string, workspaceId string, deploymentVersionId string, ...) (*http.Request, error)
- func NewRequestEnvironmentCreationRequest(server string, workspaceId string, ...) (*http.Request, error)
- func NewRequestEnvironmentCreationRequestWithBody(server string, workspaceId string, contentType string, body io.Reader) (*http.Request, error)
- func NewRequestEnvironmentDeletionRequest(server string, workspaceId string, environmentId string) (*http.Request, error)
- func NewRequestEnvironmentUpsertRequest(server string, workspaceId string, environmentId string, ...) (*http.Request, error)
- func NewRequestEnvironmentUpsertRequestWithBody(server string, workspaceId string, environmentId string, contentType string, ...) (*http.Request, error)
- func NewRequestJobAgentDeletionRequest(server string, workspaceId string, jobAgentId string) (*http.Request, error)
- func NewRequestJobAgentUpsertRequest(server string, workspaceId string, jobAgentId string, ...) (*http.Request, error)
- func NewRequestJobAgentUpsertRequestWithBody(server string, workspaceId string, jobAgentId string, contentType string, ...) (*http.Request, error)
- func NewRequestJobStatusUpsertRequest(server string, workspaceId string, jobId string, ...) (*http.Request, error)
- func NewRequestJobStatusUpsertRequestWithBody(server string, workspaceId string, jobId string, contentType string, ...) (*http.Request, error)
- func NewRequestPolicyCreationRequest(server string, workspaceId string, body RequestPolicyCreationJSONRequestBody) (*http.Request, error)
- func NewRequestPolicyCreationRequestWithBody(server string, workspaceId string, contentType string, body io.Reader) (*http.Request, error)
- func NewRequestPolicyDeletionRequest(server string, workspaceId string, policyId string) (*http.Request, error)
- func NewRequestPolicyUpsertRequest(server string, workspaceId string, policyId string, ...) (*http.Request, error)
- func NewRequestPolicyUpsertRequestWithBody(server string, workspaceId string, policyId string, contentType string, ...) (*http.Request, error)
- func NewRequestRelationshipRuleUpsertRequest(server string, workspaceId string, relationshipRuleId string, ...) (*http.Request, error)
- func NewRequestRelationshipRuleUpsertRequestWithBody(server string, workspaceId string, relationshipRuleId string, ...) (*http.Request, error)
- func NewRequestResourceDeletionByIdentifierRequest(server string, workspaceId string, identifier string) (*http.Request, error)
- func NewRequestResourceProviderUpsertRequest(server string, workspaceId string, ...) (*http.Request, error)
- func NewRequestResourceProviderUpsertRequestWithBody(server string, workspaceId string, contentType string, body io.Reader) (*http.Request, error)
- func NewRequestResourceVariablesUpdateRequest(server string, workspaceId string, identifier string, ...) (*http.Request, error)
- func NewRequestResourceVariablesUpdateRequestWithBody(server string, workspaceId string, identifier string, contentType string, ...) (*http.Request, error)
- func NewRequestSystemCreationRequest(server string, workspaceId string, body RequestSystemCreationJSONRequestBody) (*http.Request, error)
- func NewRequestSystemCreationRequestWithBody(server string, workspaceId string, contentType string, body io.Reader) (*http.Request, error)
- func NewRequestSystemDeletionRequest(server string, workspaceId string, systemId string) (*http.Request, error)
- func NewRequestSystemUpsertRequest(server string, workspaceId string, systemId string, ...) (*http.Request, error)
- func NewRequestSystemUpsertRequestWithBody(server string, workspaceId string, systemId string, contentType string, ...) (*http.Request, error)
- func NewRequestUserApprovalRecordUpsertRequest(server string, workspaceId string, deploymentVersionId string, ...) (*http.Request, error)
- func NewRequestUserApprovalRecordUpsertRequestWithBody(server string, workspaceId string, deploymentVersionId string, ...) (*http.Request, error)
- func NewSetResourceProviderResourcesRequest(server string, workspaceId string, providerId string, ...) (*http.Request, error)
- func NewSetResourceProviderResourcesRequestWithBody(server string, workspaceId string, providerId string, contentType string, ...) (*http.Request, error)
- func NewUnlinkDeploymentFromSystemRequest(server string, workspaceId string, systemId string, deploymentId string) (*http.Request, error)
- func NewUnlinkEnvironmentFromSystemRequest(server string, workspaceId string, systemId string, environmentId string) (*http.Request, error)
- func NewUpdateWorkflowRequest(server string, workspaceId string, workflowId string, ...) (*http.Request, error)
- func NewUpdateWorkflowRequestWithBody(server string, workspaceId string, workflowId string, contentType string, ...) (*http.Request, error)
- func NewUpdateWorkspaceRequest(server string, workspaceId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateWorkspaceRequestWithBody(server string, workspaceId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- type AnyApprovalRule
- type ApprovalStatus
- type BooleanValue
- type CelMatcher
- type CelSelector
- type Client
- func (c *Client) CreateDeploymentVersion(ctx context.Context, workspaceId string, deploymentId string, ...) (*http.Response, error)
- func (c *Client) CreateDeploymentVersionWithBody(ctx context.Context, workspaceId string, deploymentId string, ...) (*http.Response, error)
- func (c *Client) CreateRelationshipRule(ctx context.Context, workspaceId string, ...) (*http.Response, error)
- func (c *Client) CreateRelationshipRuleWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateWorkflow(ctx context.Context, workspaceId string, body CreateWorkflowJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateWorkflowWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateWorkspace(ctx context.Context, body CreateWorkspaceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateWorkspaceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteRelationship(ctx context.Context, workspaceId string, relationshipRuleId string, ...) (*http.Response, error)
- func (c *Client) DeleteWorkflow(ctx context.Context, workspaceId string, workflowId string, ...) (*http.Response, error)
- func (c *Client) DeleteWorkspace(ctx context.Context, workspaceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetAllResources(ctx context.Context, workspaceId string, params *GetAllResourcesParams, ...) (*http.Response, error)
- func (c *Client) GetDeployment(ctx context.Context, workspaceId string, deploymentId string, ...) (*http.Response, error)
- func (c *Client) GetDeploymentSystemLink(ctx context.Context, workspaceId string, systemId string, deploymentId string, ...) (*http.Response, error)
- func (c *Client) GetDeploymentVariable(ctx context.Context, workspaceId string, deploymentId string, ...) (*http.Response, error)
- func (c *Client) GetDeploymentVariableValue(ctx context.Context, workspaceId string, deploymentId string, ...) (*http.Response, error)
- func (c *Client) GetDeploymentsForResource(ctx context.Context, workspaceId string, identifier string, ...) (*http.Response, error)
- func (c *Client) GetEnvironment(ctx context.Context, workspaceId string, environmentId string, ...) (*http.Response, error)
- func (c *Client) GetEnvironmentSystemLink(ctx context.Context, workspaceId string, systemId string, environmentId string, ...) (*http.Response, error)
- func (c *Client) GetJob(ctx context.Context, workspaceId string, jobId string, ...) (*http.Response, error)
- func (c *Client) GetJobAgent(ctx context.Context, workspaceId string, jobAgentId string, ...) (*http.Response, error)
- func (c *Client) GetJobWithRelease(ctx context.Context, workspaceId string, jobId string, ...) (*http.Response, error)
- func (c *Client) GetJobs(ctx context.Context, workspaceId string, params *GetJobsParams, ...) (*http.Response, error)
- func (c *Client) GetJobsForReleaseTarget(ctx context.Context, workspaceId string, releaseTargetKey string, ...) (*http.Response, error)
- func (c *Client) GetPolicy(ctx context.Context, workspaceId string, policyId string, ...) (*http.Response, error)
- func (c *Client) GetRelationshipRule(ctx context.Context, workspaceId string, relationshipRuleId string, ...) (*http.Response, error)
- func (c *Client) GetRelease(ctx context.Context, workspaceId string, releaseId string, ...) (*http.Response, error)
- func (c *Client) GetReleaseTargetDesiredRelease(ctx context.Context, workspaceId string, releaseTargetKey string, ...) (*http.Response, error)
- func (c *Client) GetReleaseTargetForResourceInDeployment(ctx context.Context, workspaceId string, resourceIdentifier string, ...) (*http.Response, error)
- func (c *Client) GetReleaseTargetState(ctx context.Context, workspaceId string, releaseTargetKey string, ...) (*http.Response, error)
- func (c *Client) GetResourceByIdentifier(ctx context.Context, workspaceId string, identifier string, ...) (*http.Response, error)
- func (c *Client) GetResourceProviderByName(ctx context.Context, workspaceId string, name string, ...) (*http.Response, error)
- func (c *Client) GetSystem(ctx context.Context, workspaceId string, systemId string, ...) (*http.Response, error)
- func (c *Client) GetVariablesForResource(ctx context.Context, workspaceId string, identifier string, ...) (*http.Response, error)
- func (c *Client) GetWorkflow(ctx context.Context, workspaceId string, workflowId string, ...) (*http.Response, error)
- func (c *Client) GetWorkspace(ctx context.Context, workspaceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetWorkspaceBySlug(ctx context.Context, workspaceSlug string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LinkDeploymentToSystem(ctx context.Context, workspaceId string, systemId string, deploymentId string, ...) (*http.Response, error)
- func (c *Client) LinkEnvironmentToSystem(ctx context.Context, workspaceId string, systemId string, environmentId string, ...) (*http.Response, error)
- func (c *Client) ListDeploymentVariableValues(ctx context.Context, workspaceId string, deploymentId string, ...) (*http.Response, error)
- func (c *Client) ListDeploymentVariables(ctx context.Context, workspaceId string, deploymentId string, ...) (*http.Response, error)
- func (c *Client) ListDeploymentVersions(ctx context.Context, workspaceId string, deploymentId string, ...) (*http.Response, error)
- func (c *Client) ListDeployments(ctx context.Context, workspaceId string, params *ListDeploymentsParams, ...) (*http.Response, error)
- func (c *Client) ListEnvironments(ctx context.Context, workspaceId string, params *ListEnvironmentsParams, ...) (*http.Response, error)
- func (c *Client) ListJobAgents(ctx context.Context, workspaceId string, params *ListJobAgentsParams, ...) (*http.Response, error)
- func (c *Client) ListPolicies(ctx context.Context, workspaceId string, params *ListPoliciesParams, ...) (*http.Response, error)
- func (c *Client) ListSystems(ctx context.Context, workspaceId string, params *ListSystemsParams, ...) (*http.Response, error)
- func (c *Client) ListWorkflows(ctx context.Context, workspaceId string, params *ListWorkflowsParams, ...) (*http.Response, error)
- func (c *Client) ListWorkspaces(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PreviewReleaseTargetsForResource(ctx context.Context, workspaceId string, ...) (*http.Response, error)
- func (c *Client) PreviewReleaseTargetsForResourceWithBody(ctx context.Context, workspaceId string, ...) (*http.Response, error)
- func (c *Client) RequestDeploymentCreation(ctx context.Context, workspaceId string, ...) (*http.Response, error)
- func (c *Client) RequestDeploymentCreationWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RequestDeploymentDeletion(ctx context.Context, workspaceId string, deploymentId string, ...) (*http.Response, error)
- func (c *Client) RequestDeploymentUpsert(ctx context.Context, workspaceId string, deploymentId string, ...) (*http.Response, error)
- func (c *Client) RequestDeploymentUpsertWithBody(ctx context.Context, workspaceId string, deploymentId string, ...) (*http.Response, error)
- func (c *Client) RequestDeploymentVariableDeletion(ctx context.Context, workspaceId string, deploymentId string, ...) (*http.Response, error)
- func (c *Client) RequestDeploymentVariableUpdate(ctx context.Context, workspaceId string, deploymentId string, ...) (*http.Response, error)
- func (c *Client) RequestDeploymentVariableUpdateWithBody(ctx context.Context, workspaceId string, deploymentId string, ...) (*http.Response, error)
- func (c *Client) RequestDeploymentVariableValueDeletion(ctx context.Context, workspaceId string, deploymentId string, ...) (*http.Response, error)
- func (c *Client) RequestDeploymentVariableValueUpsert(ctx context.Context, workspaceId string, deploymentId string, ...) (*http.Response, error)
- func (c *Client) RequestDeploymentVariableValueUpsertWithBody(ctx context.Context, workspaceId string, deploymentId string, ...) (*http.Response, error)
- func (c *Client) RequestDeploymentVersionUpdate(ctx context.Context, workspaceId string, deploymentVersionId string, ...) (*http.Response, error)
- func (c *Client) RequestDeploymentVersionUpdateWithBody(ctx context.Context, workspaceId string, deploymentVersionId string, ...) (*http.Response, error)
- func (c *Client) RequestEnvironmentCreation(ctx context.Context, workspaceId string, ...) (*http.Response, error)
- func (c *Client) RequestEnvironmentCreationWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RequestEnvironmentDeletion(ctx context.Context, workspaceId string, environmentId string, ...) (*http.Response, error)
- func (c *Client) RequestEnvironmentUpsert(ctx context.Context, workspaceId string, environmentId string, ...) (*http.Response, error)
- func (c *Client) RequestEnvironmentUpsertWithBody(ctx context.Context, workspaceId string, environmentId string, ...) (*http.Response, error)
- func (c *Client) RequestJobAgentDeletion(ctx context.Context, workspaceId string, jobAgentId string, ...) (*http.Response, error)
- func (c *Client) RequestJobAgentUpsert(ctx context.Context, workspaceId string, jobAgentId string, ...) (*http.Response, error)
- func (c *Client) RequestJobAgentUpsertWithBody(ctx context.Context, workspaceId string, jobAgentId string, contentType string, ...) (*http.Response, error)
- func (c *Client) RequestJobStatusUpsert(ctx context.Context, workspaceId string, jobId string, ...) (*http.Response, error)
- func (c *Client) RequestJobStatusUpsertWithBody(ctx context.Context, workspaceId string, jobId string, contentType string, ...) (*http.Response, error)
- func (c *Client) RequestPolicyCreation(ctx context.Context, workspaceId string, ...) (*http.Response, error)
- func (c *Client) RequestPolicyCreationWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RequestPolicyDeletion(ctx context.Context, workspaceId string, policyId string, ...) (*http.Response, error)
- func (c *Client) RequestPolicyUpsert(ctx context.Context, workspaceId string, policyId string, ...) (*http.Response, error)
- func (c *Client) RequestPolicyUpsertWithBody(ctx context.Context, workspaceId string, policyId string, contentType string, ...) (*http.Response, error)
- func (c *Client) RequestRelationshipRuleUpsert(ctx context.Context, workspaceId string, relationshipRuleId string, ...) (*http.Response, error)
- func (c *Client) RequestRelationshipRuleUpsertWithBody(ctx context.Context, workspaceId string, relationshipRuleId string, ...) (*http.Response, error)
- func (c *Client) RequestResourceDeletionByIdentifier(ctx context.Context, workspaceId string, identifier string, ...) (*http.Response, error)
- func (c *Client) RequestResourceProviderUpsert(ctx context.Context, workspaceId string, ...) (*http.Response, error)
- func (c *Client) RequestResourceProviderUpsertWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RequestResourceVariablesUpdate(ctx context.Context, workspaceId string, identifier string, ...) (*http.Response, error)
- func (c *Client) RequestResourceVariablesUpdateWithBody(ctx context.Context, workspaceId string, identifier string, contentType string, ...) (*http.Response, error)
- func (c *Client) RequestSystemCreation(ctx context.Context, workspaceId string, ...) (*http.Response, error)
- func (c *Client) RequestSystemCreationWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RequestSystemDeletion(ctx context.Context, workspaceId string, systemId string, ...) (*http.Response, error)
- func (c *Client) RequestSystemUpsert(ctx context.Context, workspaceId string, systemId string, ...) (*http.Response, error)
- func (c *Client) RequestSystemUpsertWithBody(ctx context.Context, workspaceId string, systemId string, contentType string, ...) (*http.Response, error)
- func (c *Client) RequestUserApprovalRecordUpsert(ctx context.Context, workspaceId string, deploymentVersionId string, ...) (*http.Response, error)
- func (c *Client) RequestUserApprovalRecordUpsertWithBody(ctx context.Context, workspaceId string, deploymentVersionId string, ...) (*http.Response, error)
- func (c *Client) SetResourceProviderResources(ctx context.Context, workspaceId string, providerId string, ...) (*http.Response, error)
- func (c *Client) SetResourceProviderResourcesWithBody(ctx context.Context, workspaceId string, providerId string, contentType string, ...) (*http.Response, error)
- func (c *Client) UnlinkDeploymentFromSystem(ctx context.Context, workspaceId string, systemId string, deploymentId string, ...) (*http.Response, error)
- func (c *Client) UnlinkEnvironmentFromSystem(ctx context.Context, workspaceId string, systemId string, environmentId string, ...) (*http.Response, error)
- func (c *Client) UpdateWorkflow(ctx context.Context, workspaceId string, workflowId string, ...) (*http.Response, error)
- func (c *Client) UpdateWorkflowWithBody(ctx context.Context, workspaceId string, workflowId string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateWorkspace(ctx context.Context, workspaceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateWorkspaceWithBody(ctx context.Context, workspaceId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) CreateDeploymentVersionWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentId string, ...) (*CreateDeploymentVersionResponse, error)
- func (c *ClientWithResponses) CreateDeploymentVersionWithResponse(ctx context.Context, workspaceId string, deploymentId string, ...) (*CreateDeploymentVersionResponse, error)
- func (c *ClientWithResponses) CreateRelationshipRuleWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, ...) (*CreateRelationshipRuleResponse, error)
- func (c *ClientWithResponses) CreateRelationshipRuleWithResponse(ctx context.Context, workspaceId string, ...) (*CreateRelationshipRuleResponse, error)
- func (c *ClientWithResponses) CreateWorkflowWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, ...) (*CreateWorkflowResponse, error)
- func (c *ClientWithResponses) CreateWorkflowWithResponse(ctx context.Context, workspaceId string, body CreateWorkflowJSONRequestBody, ...) (*CreateWorkflowResponse, error)
- func (c *ClientWithResponses) CreateWorkspaceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateWorkspaceResponse, error)
- func (c *ClientWithResponses) CreateWorkspaceWithResponse(ctx context.Context, body CreateWorkspaceJSONRequestBody, ...) (*CreateWorkspaceResponse, error)
- func (c *ClientWithResponses) DeleteRelationshipWithResponse(ctx context.Context, workspaceId string, relationshipRuleId string, ...) (*DeleteRelationshipResponse, error)
- func (c *ClientWithResponses) DeleteWorkflowWithResponse(ctx context.Context, workspaceId string, workflowId string, ...) (*DeleteWorkflowResponse, error)
- func (c *ClientWithResponses) DeleteWorkspaceWithResponse(ctx context.Context, workspaceId openapi_types.UUID, ...) (*DeleteWorkspaceResponse, error)
- func (c *ClientWithResponses) GetAllResourcesWithResponse(ctx context.Context, workspaceId string, params *GetAllResourcesParams, ...) (*GetAllResourcesResponse, error)
- func (c *ClientWithResponses) GetDeploymentSystemLinkWithResponse(ctx context.Context, workspaceId string, systemId string, deploymentId string, ...) (*GetDeploymentSystemLinkResponse, error)
- func (c *ClientWithResponses) GetDeploymentVariableValueWithResponse(ctx context.Context, workspaceId string, deploymentId string, ...) (*GetDeploymentVariableValueResponse, error)
- func (c *ClientWithResponses) GetDeploymentVariableWithResponse(ctx context.Context, workspaceId string, deploymentId string, ...) (*GetDeploymentVariableResponse, error)
- func (c *ClientWithResponses) GetDeploymentWithResponse(ctx context.Context, workspaceId string, deploymentId string, ...) (*GetDeploymentResponse, error)
- func (c *ClientWithResponses) GetDeploymentsForResourceWithResponse(ctx context.Context, workspaceId string, identifier string, ...) (*GetDeploymentsForResourceResponse, error)
- func (c *ClientWithResponses) GetEnvironmentSystemLinkWithResponse(ctx context.Context, workspaceId string, systemId string, environmentId string, ...) (*GetEnvironmentSystemLinkResponse, error)
- func (c *ClientWithResponses) GetEnvironmentWithResponse(ctx context.Context, workspaceId string, environmentId string, ...) (*GetEnvironmentResponse, error)
- func (c *ClientWithResponses) GetJobAgentWithResponse(ctx context.Context, workspaceId string, jobAgentId string, ...) (*GetJobAgentResponse, error)
- func (c *ClientWithResponses) GetJobWithReleaseWithResponse(ctx context.Context, workspaceId string, jobId string, ...) (*GetJobWithReleaseResponse, error)
- func (c *ClientWithResponses) GetJobWithResponse(ctx context.Context, workspaceId string, jobId string, ...) (*GetJobResponse, error)
- func (c *ClientWithResponses) GetJobsForReleaseTargetWithResponse(ctx context.Context, workspaceId string, releaseTargetKey string, ...) (*GetJobsForReleaseTargetResponse, error)
- func (c *ClientWithResponses) GetJobsWithResponse(ctx context.Context, workspaceId string, params *GetJobsParams, ...) (*GetJobsResponse, error)
- func (c *ClientWithResponses) GetPolicyWithResponse(ctx context.Context, workspaceId string, policyId string, ...) (*GetPolicyResponse, error)
- func (c *ClientWithResponses) GetRelationshipRuleWithResponse(ctx context.Context, workspaceId string, relationshipRuleId string, ...) (*GetRelationshipRuleResponse, error)
- func (c *ClientWithResponses) GetReleaseTargetDesiredReleaseWithResponse(ctx context.Context, workspaceId string, releaseTargetKey string, ...) (*GetReleaseTargetDesiredReleaseResponse, error)
- func (c *ClientWithResponses) GetReleaseTargetForResourceInDeploymentWithResponse(ctx context.Context, workspaceId string, resourceIdentifier string, ...) (*GetReleaseTargetForResourceInDeploymentResponse, error)
- func (c *ClientWithResponses) GetReleaseTargetStateWithResponse(ctx context.Context, workspaceId string, releaseTargetKey string, ...) (*GetReleaseTargetStateResponse, error)
- func (c *ClientWithResponses) GetReleaseWithResponse(ctx context.Context, workspaceId string, releaseId string, ...) (*GetReleaseResponse, error)
- func (c *ClientWithResponses) GetResourceByIdentifierWithResponse(ctx context.Context, workspaceId string, identifier string, ...) (*GetResourceByIdentifierResponse, error)
- func (c *ClientWithResponses) GetResourceProviderByNameWithResponse(ctx context.Context, workspaceId string, name string, ...) (*GetResourceProviderByNameResponse, error)
- func (c *ClientWithResponses) GetSystemWithResponse(ctx context.Context, workspaceId string, systemId string, ...) (*GetSystemResponse, error)
- func (c *ClientWithResponses) GetVariablesForResourceWithResponse(ctx context.Context, workspaceId string, identifier string, ...) (*GetVariablesForResourceResponse, error)
- func (c *ClientWithResponses) GetWorkflowWithResponse(ctx context.Context, workspaceId string, workflowId string, ...) (*GetWorkflowResponse, error)
- func (c *ClientWithResponses) GetWorkspaceBySlugWithResponse(ctx context.Context, workspaceSlug string, reqEditors ...RequestEditorFn) (*GetWorkspaceBySlugResponse, error)
- func (c *ClientWithResponses) GetWorkspaceID(ctx context.Context, workspace string) uuid.UUID
- func (c *ClientWithResponses) GetWorkspaceWithResponse(ctx context.Context, workspaceId openapi_types.UUID, ...) (*GetWorkspaceResponse, error)
- func (c *ClientWithResponses) LinkDeploymentToSystemWithResponse(ctx context.Context, workspaceId string, systemId string, deploymentId string, ...) (*LinkDeploymentToSystemResponse, error)
- func (c *ClientWithResponses) LinkEnvironmentToSystemWithResponse(ctx context.Context, workspaceId string, systemId string, environmentId string, ...) (*LinkEnvironmentToSystemResponse, error)
- func (c *ClientWithResponses) ListDeploymentVariableValuesWithResponse(ctx context.Context, workspaceId string, deploymentId string, ...) (*ListDeploymentVariableValuesResponse, error)
- func (c *ClientWithResponses) ListDeploymentVariablesWithResponse(ctx context.Context, workspaceId string, deploymentId string, ...) (*ListDeploymentVariablesResponse, error)
- func (c *ClientWithResponses) ListDeploymentVersionsWithResponse(ctx context.Context, workspaceId string, deploymentId string, ...) (*ListDeploymentVersionsResponse, error)
- func (c *ClientWithResponses) ListDeploymentsWithResponse(ctx context.Context, workspaceId string, params *ListDeploymentsParams, ...) (*ListDeploymentsResponse, error)
- func (c *ClientWithResponses) ListEnvironmentsWithResponse(ctx context.Context, workspaceId string, params *ListEnvironmentsParams, ...) (*ListEnvironmentsResponse, error)
- func (c *ClientWithResponses) ListJobAgentsWithResponse(ctx context.Context, workspaceId string, params *ListJobAgentsParams, ...) (*ListJobAgentsResponse, error)
- func (c *ClientWithResponses) ListPoliciesWithResponse(ctx context.Context, workspaceId string, params *ListPoliciesParams, ...) (*ListPoliciesResponse, error)
- func (c *ClientWithResponses) ListSystemsWithResponse(ctx context.Context, workspaceId string, params *ListSystemsParams, ...) (*ListSystemsResponse, error)
- func (c *ClientWithResponses) ListWorkflowsWithResponse(ctx context.Context, workspaceId string, params *ListWorkflowsParams, ...) (*ListWorkflowsResponse, error)
- func (c *ClientWithResponses) ListWorkspacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListWorkspacesResponse, error)
- func (c *ClientWithResponses) PreviewReleaseTargetsForResourceWithBodyWithResponse(ctx context.Context, workspaceId string, ...) (*PreviewReleaseTargetsForResourceResponse, error)
- func (c *ClientWithResponses) PreviewReleaseTargetsForResourceWithResponse(ctx context.Context, workspaceId string, ...) (*PreviewReleaseTargetsForResourceResponse, error)
- func (c *ClientWithResponses) RequestDeploymentCreationWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, ...) (*RequestDeploymentCreationResponse, error)
- func (c *ClientWithResponses) RequestDeploymentCreationWithResponse(ctx context.Context, workspaceId string, ...) (*RequestDeploymentCreationResponse, error)
- func (c *ClientWithResponses) RequestDeploymentDeletionWithResponse(ctx context.Context, workspaceId string, deploymentId string, ...) (*RequestDeploymentDeletionResponse, error)
- func (c *ClientWithResponses) RequestDeploymentUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentId string, ...) (*RequestDeploymentUpsertResponse, error)
- func (c *ClientWithResponses) RequestDeploymentUpsertWithResponse(ctx context.Context, workspaceId string, deploymentId string, ...) (*RequestDeploymentUpsertResponse, error)
- func (c *ClientWithResponses) RequestDeploymentVariableDeletionWithResponse(ctx context.Context, workspaceId string, deploymentId string, ...) (*RequestDeploymentVariableDeletionResponse, error)
- func (c *ClientWithResponses) RequestDeploymentVariableUpdateWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentId string, ...) (*RequestDeploymentVariableUpdateResponse, error)
- func (c *ClientWithResponses) RequestDeploymentVariableUpdateWithResponse(ctx context.Context, workspaceId string, deploymentId string, ...) (*RequestDeploymentVariableUpdateResponse, error)
- func (c *ClientWithResponses) RequestDeploymentVariableValueDeletionWithResponse(ctx context.Context, workspaceId string, deploymentId string, ...) (*RequestDeploymentVariableValueDeletionResponse, error)
- func (c *ClientWithResponses) RequestDeploymentVariableValueUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentId string, ...) (*RequestDeploymentVariableValueUpsertResponse, error)
- func (c *ClientWithResponses) RequestDeploymentVariableValueUpsertWithResponse(ctx context.Context, workspaceId string, deploymentId string, ...) (*RequestDeploymentVariableValueUpsertResponse, error)
- func (c *ClientWithResponses) RequestDeploymentVersionUpdateWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, ...) (*RequestDeploymentVersionUpdateResponse, error)
- func (c *ClientWithResponses) RequestDeploymentVersionUpdateWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, ...) (*RequestDeploymentVersionUpdateResponse, error)
- func (c *ClientWithResponses) RequestEnvironmentCreationWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, ...) (*RequestEnvironmentCreationResponse, error)
- func (c *ClientWithResponses) RequestEnvironmentCreationWithResponse(ctx context.Context, workspaceId string, ...) (*RequestEnvironmentCreationResponse, error)
- func (c *ClientWithResponses) RequestEnvironmentDeletionWithResponse(ctx context.Context, workspaceId string, environmentId string, ...) (*RequestEnvironmentDeletionResponse, error)
- func (c *ClientWithResponses) RequestEnvironmentUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, environmentId string, ...) (*RequestEnvironmentUpsertResponse, error)
- func (c *ClientWithResponses) RequestEnvironmentUpsertWithResponse(ctx context.Context, workspaceId string, environmentId string, ...) (*RequestEnvironmentUpsertResponse, error)
- func (c *ClientWithResponses) RequestJobAgentDeletionWithResponse(ctx context.Context, workspaceId string, jobAgentId string, ...) (*RequestJobAgentDeletionResponse, error)
- func (c *ClientWithResponses) RequestJobAgentUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, jobAgentId string, contentType string, ...) (*RequestJobAgentUpsertResponse, error)
- func (c *ClientWithResponses) RequestJobAgentUpsertWithResponse(ctx context.Context, workspaceId string, jobAgentId string, ...) (*RequestJobAgentUpsertResponse, error)
- func (c *ClientWithResponses) RequestJobStatusUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, jobId string, contentType string, ...) (*RequestJobStatusUpsertResponse, error)
- func (c *ClientWithResponses) RequestJobStatusUpsertWithResponse(ctx context.Context, workspaceId string, jobId string, ...) (*RequestJobStatusUpsertResponse, error)
- func (c *ClientWithResponses) RequestPolicyCreationWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, ...) (*RequestPolicyCreationResponse, error)
- func (c *ClientWithResponses) RequestPolicyCreationWithResponse(ctx context.Context, workspaceId string, ...) (*RequestPolicyCreationResponse, error)
- func (c *ClientWithResponses) RequestPolicyDeletionWithResponse(ctx context.Context, workspaceId string, policyId string, ...) (*RequestPolicyDeletionResponse, error)
- func (c *ClientWithResponses) RequestPolicyUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, policyId string, contentType string, ...) (*RequestPolicyUpsertResponse, error)
- func (c *ClientWithResponses) RequestPolicyUpsertWithResponse(ctx context.Context, workspaceId string, policyId string, ...) (*RequestPolicyUpsertResponse, error)
- func (c *ClientWithResponses) RequestRelationshipRuleUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, relationshipRuleId string, ...) (*RequestRelationshipRuleUpsertResponse, error)
- func (c *ClientWithResponses) RequestRelationshipRuleUpsertWithResponse(ctx context.Context, workspaceId string, relationshipRuleId string, ...) (*RequestRelationshipRuleUpsertResponse, error)
- func (c *ClientWithResponses) RequestResourceDeletionByIdentifierWithResponse(ctx context.Context, workspaceId string, identifier string, ...) (*RequestResourceDeletionByIdentifierResponse, error)
- func (c *ClientWithResponses) RequestResourceProviderUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, ...) (*RequestResourceProviderUpsertResponse, error)
- func (c *ClientWithResponses) RequestResourceProviderUpsertWithResponse(ctx context.Context, workspaceId string, ...) (*RequestResourceProviderUpsertResponse, error)
- func (c *ClientWithResponses) RequestResourceVariablesUpdateWithBodyWithResponse(ctx context.Context, workspaceId string, identifier string, contentType string, ...) (*RequestResourceVariablesUpdateResponse, error)
- func (c *ClientWithResponses) RequestResourceVariablesUpdateWithResponse(ctx context.Context, workspaceId string, identifier string, ...) (*RequestResourceVariablesUpdateResponse, error)
- func (c *ClientWithResponses) RequestSystemCreationWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, ...) (*RequestSystemCreationResponse, error)
- func (c *ClientWithResponses) RequestSystemCreationWithResponse(ctx context.Context, workspaceId string, ...) (*RequestSystemCreationResponse, error)
- func (c *ClientWithResponses) RequestSystemDeletionWithResponse(ctx context.Context, workspaceId string, systemId string, ...) (*RequestSystemDeletionResponse, error)
- func (c *ClientWithResponses) RequestSystemUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, systemId string, contentType string, ...) (*RequestSystemUpsertResponse, error)
- func (c *ClientWithResponses) RequestSystemUpsertWithResponse(ctx context.Context, workspaceId string, systemId string, ...) (*RequestSystemUpsertResponse, error)
- func (c *ClientWithResponses) RequestUserApprovalRecordUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, ...) (*RequestUserApprovalRecordUpsertResponse, error)
- func (c *ClientWithResponses) RequestUserApprovalRecordUpsertWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, ...) (*RequestUserApprovalRecordUpsertResponse, error)
- func (c *ClientWithResponses) SetResourceProviderResourcesWithBodyWithResponse(ctx context.Context, workspaceId string, providerId string, contentType string, ...) (*SetResourceProviderResourcesResponse, error)
- func (c *ClientWithResponses) SetResourceProviderResourcesWithResponse(ctx context.Context, workspaceId string, providerId string, ...) (*SetResourceProviderResourcesResponse, error)
- func (c *ClientWithResponses) UnlinkDeploymentFromSystemWithResponse(ctx context.Context, workspaceId string, systemId string, deploymentId string, ...) (*UnlinkDeploymentFromSystemResponse, error)
- func (c *ClientWithResponses) UnlinkEnvironmentFromSystemWithResponse(ctx context.Context, workspaceId string, systemId string, environmentId string, ...) (*UnlinkEnvironmentFromSystemResponse, error)
- func (c *ClientWithResponses) UpdateWorkflowWithBodyWithResponse(ctx context.Context, workspaceId string, workflowId string, contentType string, ...) (*UpdateWorkflowResponse, error)
- func (c *ClientWithResponses) UpdateWorkflowWithResponse(ctx context.Context, workspaceId string, workflowId string, ...) (*UpdateWorkflowResponse, error)
- func (c *ClientWithResponses) UpdateWorkspaceWithBodyWithResponse(ctx context.Context, workspaceId openapi_types.UUID, contentType string, ...) (*UpdateWorkspaceResponse, error)
- func (c *ClientWithResponses) UpdateWorkspaceWithResponse(ctx context.Context, workspaceId openapi_types.UUID, ...) (*UpdateWorkspaceResponse, error)
- type ClientWithResponsesInterface
- type CreateDeploymentRequest
- type CreateDeploymentVersionJSONRequestBody
- type CreateDeploymentVersionRequest
- type CreateDeploymentVersionResponse
- type CreateEnvironmentRequest
- type CreatePolicyRequest
- type CreateRelationshipRuleJSONRequestBody
- type CreateRelationshipRuleRequest
- type CreateRelationshipRuleRequest_Matcher
- func (t CreateRelationshipRuleRequest_Matcher) AsCelMatcher() (CelMatcher, error)
- func (t *CreateRelationshipRuleRequest_Matcher) FromCelMatcher(v CelMatcher) error
- func (t CreateRelationshipRuleRequest_Matcher) MarshalJSON() ([]byte, error)
- func (t *CreateRelationshipRuleRequest_Matcher) MergeCelMatcher(v CelMatcher) error
- func (t *CreateRelationshipRuleRequest_Matcher) UnmarshalJSON(b []byte) error
- type CreateRelationshipRuleResponse
- type CreateSystemRequest
- type CreateWorkflow
- type CreateWorkflowJSONRequestBody
- type CreateWorkflowJobTemplate
- type CreateWorkflowResponse
- type CreateWorkspaceJSONRequestBody
- type CreateWorkspaceRequest
- type CreateWorkspaceResponse
- type DatadogMetricProvider
- type DatadogMetricProviderAggregator
- type DatadogMetricProviderType
- type DeleteRelationshipResponse
- type DeleteWorkflowResponse
- type DeleteWorkspaceResponse
- type Deployment
- type DeploymentAndSystems
- type DeploymentDependencyRule
- type DeploymentRequestAccepted
- type DeploymentVariable
- type DeploymentVariableRequestAccepted
- type DeploymentVariableValue
- type DeploymentVariableValueRequestAccepted
- type DeploymentVariableWithValues
- type DeploymentVersion
- type DeploymentVersionStatus
- type DeploymentWindowRule
- type DeploymentWithVariablesAndSystems
- type DispatchContext
- type Environment
- type EnvironmentProgressionRule
- type EnvironmentRequestAccepted
- type EnvironmentWithSystems
- type Error
- type ErrorResponse
- type GetAllResourcesParams
- type GetAllResourcesResponse
- type GetDeploymentResponse
- type GetDeploymentSystemLinkResponse
- type GetDeploymentVariableResponse
- type GetDeploymentVariableValueResponse
- type GetDeploymentsForResourceParams
- type GetDeploymentsForResourceResponse
- type GetEnvironmentResponse
- type GetEnvironmentSystemLinkResponse
- type GetJobAgentResponse
- type GetJobResponse
- type GetJobWithReleaseResponse
- type GetJobsForReleaseTargetParams
- type GetJobsForReleaseTargetResponse
- type GetJobsParams
- type GetJobsResponse
- type GetPolicyResponse
- type GetRelationshipRuleResponse
- type GetReleaseResponse
- type GetReleaseTargetDesiredReleaseResponse
- type GetReleaseTargetForResourceInDeploymentResponse
- type GetReleaseTargetStateParams
- type GetReleaseTargetStateResponse
- type GetResourceByIdentifierResponse
- type GetResourceProviderByNameResponse
- type GetSystemResponse
- type GetVariablesForResourceParams
- type GetVariablesForResourceResponse
- type GetWorkflowResponse
- type GetWorkspaceBySlugResponse
- type GetWorkspaceResponse
- type GradualRolloutRule
- type GradualRolloutRuleRolloutType
- type HTTPMetricProvider
- type HTTPMetricProviderMethod
- type HTTPMetricProviderType
- type HttpRequestDoer
- type IntegerValue
- type Job
- type JobAgent
- type JobAgentConfig
- type JobAgentRequestAccepted
- type JobStatus
- type JobStatusRequestAccepted
- type JobWithRelease
- type JsonSelector
- type LinkDeploymentToSystemResponse
- type LinkEnvironmentToSystemResponse
- type ListDeploymentVariableValuesParams
- type ListDeploymentVariableValuesResponse
- type ListDeploymentVariablesParams
- type ListDeploymentVariablesResponse
- type ListDeploymentVersionsParams
- type ListDeploymentVersionsResponse
- type ListDeploymentsParams
- type ListDeploymentsResponse
- type ListEnvironmentsParams
- type ListEnvironmentsResponse
- type ListJobAgentsParams
- type ListJobAgentsResponse
- type ListPoliciesParams
- type ListPoliciesResponse
- type ListSystemsParams
- type ListSystemsResponse
- type ListWorkflowsParams
- type ListWorkflowsResponse
- type ListWorkspacesResponse
- type LiteralValue
- func (t LiteralValue) AsBooleanValue() (BooleanValue, error)
- func (t LiteralValue) AsIntegerValue() (IntegerValue, error)
- func (t LiteralValue) AsNullValue() (NullValue, error)
- func (t LiteralValue) AsNumberValue() (NumberValue, error)
- func (t LiteralValue) AsObjectValue() (ObjectValue, error)
- func (t LiteralValue) AsStringValue() (StringValue, error)
- func (t *LiteralValue) FromBooleanValue(v BooleanValue) error
- func (t *LiteralValue) FromIntegerValue(v IntegerValue) error
- func (t *LiteralValue) FromNullValue(v NullValue) error
- func (t *LiteralValue) FromNumberValue(v NumberValue) error
- func (t *LiteralValue) FromObjectValue(v ObjectValue) error
- func (t *LiteralValue) FromStringValue(v StringValue) error
- func (t LiteralValue) MarshalJSON() ([]byte, error)
- func (t *LiteralValue) MergeBooleanValue(v BooleanValue) error
- func (t *LiteralValue) MergeIntegerValue(v IntegerValue) error
- func (t *LiteralValue) MergeNullValue(v NullValue) error
- func (t *LiteralValue) MergeNumberValue(v NumberValue) error
- func (t *LiteralValue) MergeObjectValue(v ObjectValue) error
- func (t *LiteralValue) MergeStringValue(v StringValue) error
- func (t *LiteralValue) UnmarshalJSON(b []byte) error
- type MetricProvider
- func (t MetricProvider) AsDatadogMetricProvider() (DatadogMetricProvider, error)
- func (t MetricProvider) AsHTTPMetricProvider() (HTTPMetricProvider, error)
- func (t MetricProvider) AsPrometheusMetricProvider() (PrometheusMetricProvider, error)
- func (t MetricProvider) AsSleepMetricProvider() (SleepMetricProvider, error)
- func (t MetricProvider) AsTerraformCloudRunMetricProvider() (TerraformCloudRunMetricProvider, error)
- func (t MetricProvider) Discriminator() (string, error)
- func (t *MetricProvider) FromDatadogMetricProvider(v DatadogMetricProvider) error
- func (t *MetricProvider) FromHTTPMetricProvider(v HTTPMetricProvider) error
- func (t *MetricProvider) FromPrometheusMetricProvider(v PrometheusMetricProvider) error
- func (t *MetricProvider) FromSleepMetricProvider(v SleepMetricProvider) error
- func (t *MetricProvider) FromTerraformCloudRunMetricProvider(v TerraformCloudRunMetricProvider) error
- func (t MetricProvider) MarshalJSON() ([]byte, error)
- func (t *MetricProvider) MergeDatadogMetricProvider(v DatadogMetricProvider) error
- func (t *MetricProvider) MergeHTTPMetricProvider(v HTTPMetricProvider) error
- func (t *MetricProvider) MergePrometheusMetricProvider(v PrometheusMetricProvider) error
- func (t *MetricProvider) MergeSleepMetricProvider(v SleepMetricProvider) error
- func (t *MetricProvider) MergeTerraformCloudRunMetricProvider(v TerraformCloudRunMetricProvider) error
- func (t *MetricProvider) UnmarshalJSON(b []byte) error
- func (t MetricProvider) ValueByDiscriminator() (interface{}, error)
- type NullValue
- type NumberValue
- type ObjectValue
- type Policy
- type PolicyRequestAccepted
- type PolicyRule
- type PreviewReleaseTargetsForResourceJSONRequestBody
- type PreviewReleaseTargetsForResourceParams
- type PreviewReleaseTargetsForResourceResponse
- type PrometheusMetricProvider
- type PrometheusMetricProviderType
- type ReferenceValue
- type RelatableEntityType
- type RelationshipRule
- type RelationshipRule_Matcher
- func (t RelationshipRule_Matcher) AsCelMatcher() (CelMatcher, error)
- func (t *RelationshipRule_Matcher) FromCelMatcher(v CelMatcher) error
- func (t RelationshipRule_Matcher) MarshalJSON() ([]byte, error)
- func (t *RelationshipRule_Matcher) MergeCelMatcher(v CelMatcher) error
- func (t *RelationshipRule_Matcher) UnmarshalJSON(b []byte) error
- type Release
- type ReleaseTarget
- type ReleaseTargetPreview
- type ReleaseTargetState
- type RequestDeploymentCreationJSONRequestBody
- type RequestDeploymentCreationResponse
- type RequestDeploymentDeletionResponse
- type RequestDeploymentUpsertJSONRequestBody
- type RequestDeploymentUpsertResponse
- type RequestDeploymentVariableDeletionResponse
- type RequestDeploymentVariableUpdateJSONRequestBody
- type RequestDeploymentVariableUpdateResponse
- type RequestDeploymentVariableValueDeletionResponse
- type RequestDeploymentVariableValueUpsertJSONRequestBody
- type RequestDeploymentVariableValueUpsertResponse
- type RequestDeploymentVersionUpdateJSONRequestBody
- type RequestDeploymentVersionUpdateResponse
- type RequestEditorFn
- type RequestEnvironmentCreationJSONRequestBody
- type RequestEnvironmentCreationResponse
- type RequestEnvironmentDeletionResponse
- type RequestEnvironmentUpsertJSONRequestBody
- type RequestEnvironmentUpsertResponse
- type RequestJobAgentDeletionResponse
- type RequestJobAgentUpsertJSONRequestBody
- type RequestJobAgentUpsertResponse
- type RequestJobStatusUpsertJSONRequestBody
- type RequestJobStatusUpsertResponse
- type RequestPolicyCreationJSONRequestBody
- type RequestPolicyCreationResponse
- type RequestPolicyDeletionResponse
- type RequestPolicyUpsertJSONRequestBody
- type RequestPolicyUpsertResponse
- type RequestRelationshipRuleUpsertJSONRequestBody
- type RequestRelationshipRuleUpsertResponse
- type RequestResourceDeletionByIdentifierResponse
- type RequestResourceProviderUpsertJSONRequestBody
- type RequestResourceProviderUpsertResponse
- type RequestResourceVariablesUpdateJSONBody
- type RequestResourceVariablesUpdateJSONRequestBody
- type RequestResourceVariablesUpdateResponse
- type RequestSystemCreationJSONRequestBody
- type RequestSystemCreationResponse
- type RequestSystemDeletionResponse
- type RequestSystemUpsertJSONRequestBody
- type RequestSystemUpsertResponse
- type RequestUserApprovalRecordUpsertJSONRequestBody
- type RequestUserApprovalRecordUpsertResponse
- type Resource
- type ResourcePreviewRequest
- type ResourceProvider
- type ResourceProviderResource
- type ResourceProviderSetRequestAccepted
- type ResourceRequestAccepted
- type ResourceVariable
- type RetryRule
- type RetryRuleBackoffStrategy
- type Selector
- func (t Selector) AsCelSelector() (CelSelector, error)
- func (t Selector) AsJsonSelector() (JsonSelector, error)
- func (t *Selector) FromCelSelector(v CelSelector) error
- func (t *Selector) FromJsonSelector(v JsonSelector) error
- func (t Selector) MarshalJSON() ([]byte, error)
- func (t *Selector) MergeCelSelector(v CelSelector) error
- func (t *Selector) MergeJsonSelector(v JsonSelector) error
- func (t *Selector) UnmarshalJSON(b []byte) error
- type SensitiveValue
- type SetResourceProviderResourcesJSONBody
- type SetResourceProviderResourcesJSONRequestBody
- type SetResourceProviderResourcesResponse
- type SleepMetricProvider
- type SleepMetricProviderType
- type StringValue
- type System
- type SystemDeploymentLink
- type SystemEnvironmentLink
- type SystemRequestAccepted
- type TerraformCloudRunMetricProvider
- type TerraformCloudRunMetricProviderType
- type UnlinkDeploymentFromSystemResponse
- type UnlinkEnvironmentFromSystemResponse
- type UpdateDeploymentVersionRequest
- type UpdateWorkflow
- type UpdateWorkflowJSONRequestBody
- type UpdateWorkflowResponse
- type UpdateWorkspaceJSONRequestBody
- type UpdateWorkspaceRequest
- type UpdateWorkspaceResponse
- type UpsertDeploymentRequest
- type UpsertDeploymentVariableRequest
- type UpsertDeploymentVariableValueRequest
- type UpsertEnvironmentRequest
- type UpsertJobAgentRequest
- type UpsertPolicyRequest
- type UpsertRelationshipRuleRequest
- type UpsertRelationshipRuleRequest_Matcher
- func (t UpsertRelationshipRuleRequest_Matcher) AsCelMatcher() (CelMatcher, error)
- func (t *UpsertRelationshipRuleRequest_Matcher) FromCelMatcher(v CelMatcher) error
- func (t UpsertRelationshipRuleRequest_Matcher) MarshalJSON() ([]byte, error)
- func (t *UpsertRelationshipRuleRequest_Matcher) MergeCelMatcher(v CelMatcher) error
- func (t *UpsertRelationshipRuleRequest_Matcher) UnmarshalJSON(b []byte) error
- type UpsertResourceProviderRequest
- type UpsertSystemRequest
- type UpsertUserApprovalRecordRequest
- type UserApprovalRecordRequestAccepted
- type Value
- func (t Value) AsLiteralValue() (LiteralValue, error)
- func (t Value) AsReferenceValue() (ReferenceValue, error)
- func (t Value) AsSensitiveValue() (SensitiveValue, error)
- func (t *Value) FromLiteralValue(v LiteralValue) error
- func (t *Value) FromReferenceValue(v ReferenceValue) error
- func (t *Value) FromSensitiveValue(v SensitiveValue) error
- func (t Value) MarshalJSON() ([]byte, error)
- func (t *Value) MergeLiteralValue(v LiteralValue) error
- func (t *Value) MergeReferenceValue(v ReferenceValue) error
- func (t *Value) MergeSensitiveValue(v SensitiveValue) error
- func (t *Value) UnmarshalJSON(b []byte) error
- type VerificationMetricSpec
- type VerificationRule
- type VerificationRuleTriggerOn
- type VersionCooldownRule
- type Workflow
- type WorkflowArrayInput
- func (t WorkflowArrayInput) AsWorkflowManualArrayInput() (WorkflowManualArrayInput, error)
- func (t WorkflowArrayInput) AsWorkflowSelectorArrayInput() (WorkflowSelectorArrayInput, error)
- func (t *WorkflowArrayInput) FromWorkflowManualArrayInput(v WorkflowManualArrayInput) error
- func (t *WorkflowArrayInput) FromWorkflowSelectorArrayInput(v WorkflowSelectorArrayInput) error
- func (t WorkflowArrayInput) MarshalJSON() ([]byte, error)
- func (t *WorkflowArrayInput) MergeWorkflowManualArrayInput(v WorkflowManualArrayInput) error
- func (t *WorkflowArrayInput) MergeWorkflowSelectorArrayInput(v WorkflowSelectorArrayInput) error
- func (t *WorkflowArrayInput) UnmarshalJSON(b []byte) error
- type WorkflowBooleanInput
- type WorkflowBooleanInputType
- type WorkflowInput
- func (t WorkflowInput) AsWorkflowArrayInput() (WorkflowArrayInput, error)
- func (t WorkflowInput) AsWorkflowBooleanInput() (WorkflowBooleanInput, error)
- func (t WorkflowInput) AsWorkflowNumberInput() (WorkflowNumberInput, error)
- func (t WorkflowInput) AsWorkflowObjectInput() (WorkflowObjectInput, error)
- func (t WorkflowInput) AsWorkflowStringInput() (WorkflowStringInput, error)
- func (t *WorkflowInput) FromWorkflowArrayInput(v WorkflowArrayInput) error
- func (t *WorkflowInput) FromWorkflowBooleanInput(v WorkflowBooleanInput) error
- func (t *WorkflowInput) FromWorkflowNumberInput(v WorkflowNumberInput) error
- func (t *WorkflowInput) FromWorkflowObjectInput(v WorkflowObjectInput) error
- func (t *WorkflowInput) FromWorkflowStringInput(v WorkflowStringInput) error
- func (t WorkflowInput) MarshalJSON() ([]byte, error)
- func (t *WorkflowInput) MergeWorkflowArrayInput(v WorkflowArrayInput) error
- func (t *WorkflowInput) MergeWorkflowBooleanInput(v WorkflowBooleanInput) error
- func (t *WorkflowInput) MergeWorkflowNumberInput(v WorkflowNumberInput) error
- func (t *WorkflowInput) MergeWorkflowObjectInput(v WorkflowObjectInput) error
- func (t *WorkflowInput) MergeWorkflowStringInput(v WorkflowStringInput) error
- func (t *WorkflowInput) UnmarshalJSON(b []byte) error
- type WorkflowJob
- type WorkflowJobMatrix
- type WorkflowJobMatrix0
- type WorkflowJobMatrix1
- type WorkflowJobMatrix_AdditionalProperties
- func (t WorkflowJobMatrix_AdditionalProperties) AsWorkflowJobMatrix0() (WorkflowJobMatrix0, error)
- func (t WorkflowJobMatrix_AdditionalProperties) AsWorkflowJobMatrix1() (WorkflowJobMatrix1, error)
- func (t *WorkflowJobMatrix_AdditionalProperties) FromWorkflowJobMatrix0(v WorkflowJobMatrix0) error
- func (t *WorkflowJobMatrix_AdditionalProperties) FromWorkflowJobMatrix1(v WorkflowJobMatrix1) error
- func (t WorkflowJobMatrix_AdditionalProperties) MarshalJSON() ([]byte, error)
- func (t *WorkflowJobMatrix_AdditionalProperties) MergeWorkflowJobMatrix0(v WorkflowJobMatrix0) error
- func (t *WorkflowJobMatrix_AdditionalProperties) MergeWorkflowJobMatrix1(v WorkflowJobMatrix1) error
- func (t *WorkflowJobMatrix_AdditionalProperties) UnmarshalJSON(b []byte) error
- type WorkflowJobTemplate
- type WorkflowManualArrayInput
- type WorkflowManualArrayInputType
- type WorkflowNumberInput
- type WorkflowNumberInputType
- type WorkflowObjectInput
- type WorkflowObjectInputType
- type WorkflowRun
- type WorkflowSelectorArrayInput
- type WorkflowSelectorArrayInputSelectorEntityType
- type WorkflowSelectorArrayInputType
- type WorkflowStringInput
- type WorkflowStringInputType
- type Workspace
- type WorkspaceClient
- type WorkspaceList
Constants ¶
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 NewCreateWorkflowRequest ¶ added in v1.3.0
func NewCreateWorkflowRequest(server string, workspaceId string, body CreateWorkflowJSONRequestBody) (*http.Request, error)
NewCreateWorkflowRequest calls the generic CreateWorkflow builder with application/json body
func NewCreateWorkflowRequestWithBody ¶ added in v1.3.0
func NewCreateWorkflowRequestWithBody(server string, workspaceId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateWorkflowRequestWithBody generates requests for CreateWorkflow 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 NewDeleteWorkflowRequest ¶ added in v1.3.0
func NewDeleteWorkflowRequest(server string, workspaceId string, workflowId string) (*http.Request, error)
NewDeleteWorkflowRequest generates requests for DeleteWorkflow
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 NewGetDeploymentSystemLinkRequest ¶ added in v1.4.0
func NewGetDeploymentSystemLinkRequest(server string, workspaceId string, systemId string, deploymentId string) (*http.Request, error)
NewGetDeploymentSystemLinkRequest generates requests for GetDeploymentSystemLink
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 NewGetDeploymentsForResourceRequest ¶ added in v1.2.0
func NewGetDeploymentsForResourceRequest(server string, workspaceId string, identifier string, params *GetDeploymentsForResourceParams) (*http.Request, error)
NewGetDeploymentsForResourceRequest generates requests for GetDeploymentsForResource
func NewGetEnvironmentRequest ¶
func NewGetEnvironmentRequest(server string, workspaceId string, environmentId string) (*http.Request, error)
NewGetEnvironmentRequest generates requests for GetEnvironment
func NewGetEnvironmentSystemLinkRequest ¶ added in v1.4.0
func NewGetEnvironmentSystemLinkRequest(server string, workspaceId string, systemId string, environmentId string) (*http.Request, error)
NewGetEnvironmentSystemLinkRequest generates requests for GetEnvironmentSystemLink
func NewGetJobAgentRequest ¶
func NewGetJobAgentRequest(server string, workspaceId string, jobAgentId string) (*http.Request, error)
NewGetJobAgentRequest generates requests for GetJobAgent
func NewGetJobRequest ¶
NewGetJobRequest generates requests for GetJob
func NewGetJobWithReleaseRequest ¶ added in v1.2.0
func NewGetJobWithReleaseRequest(server string, workspaceId string, jobId string) (*http.Request, error)
NewGetJobWithReleaseRequest generates requests for GetJobWithRelease
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 ¶
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 ¶
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 NewGetWorkflowRequest ¶ added in v1.3.0
func NewGetWorkflowRequest(server string, workspaceId string, workflowId string) (*http.Request, error)
NewGetWorkflowRequest generates requests for GetWorkflow
func NewGetWorkspaceBySlugRequest ¶
NewGetWorkspaceBySlugRequest generates requests for GetWorkspaceBySlug
func NewGetWorkspaceRequest ¶
NewGetWorkspaceRequest generates requests for GetWorkspace
func NewLinkDeploymentToSystemRequest ¶ added in v1.3.0
func NewLinkDeploymentToSystemRequest(server string, workspaceId string, systemId string, deploymentId string) (*http.Request, error)
NewLinkDeploymentToSystemRequest generates requests for LinkDeploymentToSystem
func NewLinkEnvironmentToSystemRequest ¶ added in v1.3.0
func NewLinkEnvironmentToSystemRequest(server string, workspaceId string, systemId string, environmentId string) (*http.Request, error)
NewLinkEnvironmentToSystemRequest generates requests for LinkEnvironmentToSystem
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 NewListWorkflowsRequest ¶ added in v1.3.0
func NewListWorkflowsRequest(server string, workspaceId string, params *ListWorkflowsParams) (*http.Request, error)
NewListWorkflowsRequest generates requests for ListWorkflows
func NewListWorkspacesRequest ¶
NewListWorkspacesRequest generates requests for ListWorkspaces
func NewPreviewReleaseTargetsForResourceRequest ¶ added in v1.3.0
func NewPreviewReleaseTargetsForResourceRequest(server string, workspaceId string, params *PreviewReleaseTargetsForResourceParams, body PreviewReleaseTargetsForResourceJSONRequestBody) (*http.Request, error)
NewPreviewReleaseTargetsForResourceRequest calls the generic PreviewReleaseTargetsForResource builder with application/json body
func NewPreviewReleaseTargetsForResourceRequestWithBody ¶ added in v1.3.0
func NewPreviewReleaseTargetsForResourceRequestWithBody(server string, workspaceId string, params *PreviewReleaseTargetsForResourceParams, contentType string, body io.Reader) (*http.Request, error)
NewPreviewReleaseTargetsForResourceRequestWithBody generates requests for PreviewReleaseTargetsForResource with any type of body
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 NewRequestDeploymentUpsertRequest ¶ added in v1.2.0
func NewRequestDeploymentUpsertRequest(server string, workspaceId string, deploymentId string, body RequestDeploymentUpsertJSONRequestBody) (*http.Request, error)
NewRequestDeploymentUpsertRequest calls the generic RequestDeploymentUpsert builder with application/json body
func NewRequestDeploymentUpsertRequestWithBody ¶ added in v1.2.0
func NewRequestDeploymentUpsertRequestWithBody(server string, workspaceId string, deploymentId string, contentType string, body io.Reader) (*http.Request, error)
NewRequestDeploymentUpsertRequestWithBody generates requests for RequestDeploymentUpsert 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 NewRequestDeploymentVariableValueUpsertRequest ¶ added in v1.2.0
func NewRequestDeploymentVariableValueUpsertRequest(server string, workspaceId string, deploymentId string, variableId string, valueId string, body RequestDeploymentVariableValueUpsertJSONRequestBody) (*http.Request, error)
NewRequestDeploymentVariableValueUpsertRequest calls the generic RequestDeploymentVariableValueUpsert builder with application/json body
func NewRequestDeploymentVariableValueUpsertRequestWithBody ¶ added in v1.2.0
func NewRequestDeploymentVariableValueUpsertRequestWithBody(server string, workspaceId string, deploymentId string, variableId string, valueId string, contentType string, body io.Reader) (*http.Request, error)
NewRequestDeploymentVariableValueUpsertRequestWithBody generates requests for RequestDeploymentVariableValueUpsert with any type of body
func NewRequestDeploymentVersionUpdateRequest ¶ added in v1.2.0
func NewRequestDeploymentVersionUpdateRequest(server string, workspaceId string, deploymentVersionId string, body RequestDeploymentVersionUpdateJSONRequestBody) (*http.Request, error)
NewRequestDeploymentVersionUpdateRequest calls the generic RequestDeploymentVersionUpdate builder with application/json body
func NewRequestDeploymentVersionUpdateRequestWithBody ¶ added in v1.2.0
func NewRequestDeploymentVersionUpdateRequestWithBody(server string, workspaceId string, deploymentVersionId string, contentType string, body io.Reader) (*http.Request, error)
NewRequestDeploymentVersionUpdateRequestWithBody generates requests for RequestDeploymentVersionUpdate 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 NewRequestEnvironmentUpsertRequest ¶ added in v1.2.0
func NewRequestEnvironmentUpsertRequest(server string, workspaceId string, environmentId string, body RequestEnvironmentUpsertJSONRequestBody) (*http.Request, error)
NewRequestEnvironmentUpsertRequest calls the generic RequestEnvironmentUpsert builder with application/json body
func NewRequestEnvironmentUpsertRequestWithBody ¶ added in v1.2.0
func NewRequestEnvironmentUpsertRequestWithBody(server string, workspaceId string, environmentId string, contentType string, body io.Reader) (*http.Request, error)
NewRequestEnvironmentUpsertRequestWithBody generates requests for RequestEnvironmentUpsert with any type of body
func NewRequestJobAgentDeletionRequest ¶
func NewRequestJobAgentDeletionRequest(server string, workspaceId string, jobAgentId string) (*http.Request, error)
NewRequestJobAgentDeletionRequest generates requests for RequestJobAgentDeletion
func NewRequestJobAgentUpsertRequest ¶ added in v1.2.0
func NewRequestJobAgentUpsertRequest(server string, workspaceId string, jobAgentId string, body RequestJobAgentUpsertJSONRequestBody) (*http.Request, error)
NewRequestJobAgentUpsertRequest calls the generic RequestJobAgentUpsert builder with application/json body
func NewRequestJobAgentUpsertRequestWithBody ¶ added in v1.2.0
func NewRequestJobAgentUpsertRequestWithBody(server string, workspaceId string, jobAgentId string, contentType string, body io.Reader) (*http.Request, error)
NewRequestJobAgentUpsertRequestWithBody generates requests for RequestJobAgentUpsert with any type of body
func NewRequestJobStatusUpsertRequest ¶ added in v1.2.0
func NewRequestJobStatusUpsertRequest(server string, workspaceId string, jobId string, body RequestJobStatusUpsertJSONRequestBody) (*http.Request, error)
NewRequestJobStatusUpsertRequest calls the generic RequestJobStatusUpsert builder with application/json body
func NewRequestJobStatusUpsertRequestWithBody ¶ added in v1.2.0
func NewRequestJobStatusUpsertRequestWithBody(server string, workspaceId string, jobId string, contentType string, body io.Reader) (*http.Request, error)
NewRequestJobStatusUpsertRequestWithBody generates requests for RequestJobStatusUpsert 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 NewRequestPolicyUpsertRequest ¶ added in v1.2.0
func NewRequestPolicyUpsertRequest(server string, workspaceId string, policyId string, body RequestPolicyUpsertJSONRequestBody) (*http.Request, error)
NewRequestPolicyUpsertRequest calls the generic RequestPolicyUpsert builder with application/json body
func NewRequestPolicyUpsertRequestWithBody ¶ added in v1.2.0
func NewRequestPolicyUpsertRequestWithBody(server string, workspaceId string, policyId string, contentType string, body io.Reader) (*http.Request, error)
NewRequestPolicyUpsertRequestWithBody generates requests for RequestPolicyUpsert with any type of body
func NewRequestRelationshipRuleUpsertRequest ¶ added in v1.2.0
func NewRequestRelationshipRuleUpsertRequest(server string, workspaceId string, relationshipRuleId string, body RequestRelationshipRuleUpsertJSONRequestBody) (*http.Request, error)
NewRequestRelationshipRuleUpsertRequest calls the generic RequestRelationshipRuleUpsert builder with application/json body
func NewRequestRelationshipRuleUpsertRequestWithBody ¶ added in v1.2.0
func NewRequestRelationshipRuleUpsertRequestWithBody(server string, workspaceId string, relationshipRuleId string, contentType string, body io.Reader) (*http.Request, error)
NewRequestRelationshipRuleUpsertRequestWithBody generates requests for RequestRelationshipRuleUpsert 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 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 NewRequestSystemUpsertRequest ¶ added in v1.2.0
func NewRequestSystemUpsertRequest(server string, workspaceId string, systemId string, body RequestSystemUpsertJSONRequestBody) (*http.Request, error)
NewRequestSystemUpsertRequest calls the generic RequestSystemUpsert builder with application/json body
func NewRequestSystemUpsertRequestWithBody ¶ added in v1.2.0
func NewRequestSystemUpsertRequestWithBody(server string, workspaceId string, systemId string, contentType string, body io.Reader) (*http.Request, error)
NewRequestSystemUpsertRequestWithBody generates requests for RequestSystemUpsert with any type of body
func NewRequestUserApprovalRecordUpsertRequest ¶ added in v1.2.0
func NewRequestUserApprovalRecordUpsertRequest(server string, workspaceId string, deploymentVersionId string, body RequestUserApprovalRecordUpsertJSONRequestBody) (*http.Request, error)
NewRequestUserApprovalRecordUpsertRequest calls the generic RequestUserApprovalRecordUpsert builder with application/json body
func NewRequestUserApprovalRecordUpsertRequestWithBody ¶ added in v1.2.0
func NewRequestUserApprovalRecordUpsertRequestWithBody(server string, workspaceId string, deploymentVersionId string, contentType string, body io.Reader) (*http.Request, error)
NewRequestUserApprovalRecordUpsertRequestWithBody generates requests for RequestUserApprovalRecordUpsert with any type of body
func NewSetResourceProviderResourcesRequest ¶ added in v1.2.0
func NewSetResourceProviderResourcesRequest(server string, workspaceId string, providerId string, body SetResourceProviderResourcesJSONRequestBody) (*http.Request, error)
NewSetResourceProviderResourcesRequest calls the generic SetResourceProviderResources builder with application/json body
func NewSetResourceProviderResourcesRequestWithBody ¶ added in v1.2.0
func NewSetResourceProviderResourcesRequestWithBody(server string, workspaceId string, providerId string, contentType string, body io.Reader) (*http.Request, error)
NewSetResourceProviderResourcesRequestWithBody generates requests for SetResourceProviderResources with any type of body
func NewUnlinkDeploymentFromSystemRequest ¶ added in v1.3.0
func NewUnlinkDeploymentFromSystemRequest(server string, workspaceId string, systemId string, deploymentId string) (*http.Request, error)
NewUnlinkDeploymentFromSystemRequest generates requests for UnlinkDeploymentFromSystem
func NewUnlinkEnvironmentFromSystemRequest ¶ added in v1.3.0
func NewUnlinkEnvironmentFromSystemRequest(server string, workspaceId string, systemId string, environmentId string) (*http.Request, error)
NewUnlinkEnvironmentFromSystemRequest generates requests for UnlinkEnvironmentFromSystem
func NewUpdateWorkflowRequest ¶ added in v1.3.0
func NewUpdateWorkflowRequest(server string, workspaceId string, workflowId string, body UpdateWorkflowJSONRequestBody) (*http.Request, error)
NewUpdateWorkflowRequest calls the generic UpdateWorkflow builder with application/json body
func NewUpdateWorkflowRequestWithBody ¶ added in v1.3.0
func NewUpdateWorkflowRequestWithBody(server string, workspaceId string, workflowId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateWorkflowRequestWithBody generates requests for UpdateWorkflow 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
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 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 (*Client) CreateRelationshipRule ¶
func (c *Client) CreateRelationshipRule(ctx context.Context, workspaceId string, body CreateRelationshipRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateRelationshipRuleWithBody ¶
func (*Client) CreateWorkflow ¶ added in v1.3.0
func (c *Client) CreateWorkflow(ctx context.Context, workspaceId string, body CreateWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateWorkflowWithBody ¶ added in v1.3.0
func (*Client) CreateWorkspace ¶
func (c *Client) CreateWorkspace(ctx context.Context, body CreateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateWorkspaceWithBody ¶
func (*Client) DeleteRelationship ¶
func (*Client) DeleteWorkflow ¶ added in v1.3.0
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 (*Client) GetDeploymentSystemLink ¶ added in v1.4.0
func (*Client) GetDeploymentVariable ¶
func (*Client) GetDeploymentVariableValue ¶
func (*Client) GetDeploymentsForResource ¶ added in v1.2.0
func (c *Client) GetDeploymentsForResource(ctx context.Context, workspaceId string, identifier string, params *GetDeploymentsForResourceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetEnvironment ¶
func (*Client) GetEnvironmentSystemLink ¶ added in v1.4.0
func (*Client) GetJobAgent ¶
func (*Client) GetJobWithRelease ¶ added in v1.2.0
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) GetRelationshipRule ¶
func (*Client) GetRelease ¶
func (*Client) GetReleaseTargetDesiredRelease ¶
func (*Client) GetReleaseTargetForResourceInDeployment ¶
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 (*Client) GetResourceProviderByName ¶
func (*Client) GetVariablesForResource ¶
func (c *Client) GetVariablesForResource(ctx context.Context, workspaceId string, identifier string, params *GetVariablesForResourceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetWorkflow ¶ added in v1.3.0
func (*Client) GetWorkspace ¶
func (c *Client) GetWorkspace(ctx context.Context, workspaceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetWorkspaceBySlug ¶
func (*Client) LinkDeploymentToSystem ¶ added in v1.3.0
func (*Client) LinkEnvironmentToSystem ¶ added in v1.3.0
func (*Client) ListDeploymentVariableValues ¶
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) ListWorkflows ¶ added in v1.3.0
func (c *Client) ListWorkflows(ctx context.Context, workspaceId string, params *ListWorkflowsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListWorkspaces ¶
func (*Client) PreviewReleaseTargetsForResource ¶ added in v1.3.0
func (c *Client) PreviewReleaseTargetsForResource(ctx context.Context, workspaceId string, params *PreviewReleaseTargetsForResourceParams, body PreviewReleaseTargetsForResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PreviewReleaseTargetsForResourceWithBody ¶ added in v1.3.0
func (*Client) RequestDeploymentCreation ¶
func (c *Client) RequestDeploymentCreation(ctx context.Context, workspaceId string, body RequestDeploymentCreationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RequestDeploymentCreationWithBody ¶
func (*Client) RequestDeploymentDeletion ¶
func (*Client) RequestDeploymentUpsert ¶ added in v1.2.0
func (c *Client) RequestDeploymentUpsert(ctx context.Context, workspaceId string, deploymentId string, body RequestDeploymentUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RequestDeploymentUpsertWithBody ¶ added in v1.2.0
func (*Client) RequestDeploymentVariableDeletion ¶
func (*Client) RequestDeploymentVariableUpdate ¶
func (*Client) RequestDeploymentVariableUpdateWithBody ¶
func (*Client) RequestDeploymentVariableValueDeletion ¶
func (*Client) RequestDeploymentVariableValueUpsert ¶ added in v1.2.0
func (*Client) RequestDeploymentVariableValueUpsertWithBody ¶ added in v1.2.0
func (*Client) RequestDeploymentVersionUpdate ¶ added in v1.2.0
func (c *Client) RequestDeploymentVersionUpdate(ctx context.Context, workspaceId string, deploymentVersionId string, body RequestDeploymentVersionUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RequestDeploymentVersionUpdateWithBody ¶ added in v1.2.0
func (*Client) RequestEnvironmentCreation ¶
func (c *Client) RequestEnvironmentCreation(ctx context.Context, workspaceId string, body RequestEnvironmentCreationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RequestEnvironmentCreationWithBody ¶
func (*Client) RequestEnvironmentDeletion ¶
func (*Client) RequestEnvironmentUpsert ¶ added in v1.2.0
func (c *Client) RequestEnvironmentUpsert(ctx context.Context, workspaceId string, environmentId string, body RequestEnvironmentUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RequestEnvironmentUpsertWithBody ¶ added in v1.2.0
func (*Client) RequestJobAgentDeletion ¶
func (*Client) RequestJobAgentUpsert ¶ added in v1.2.0
func (c *Client) RequestJobAgentUpsert(ctx context.Context, workspaceId string, jobAgentId string, body RequestJobAgentUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RequestJobAgentUpsertWithBody ¶ added in v1.2.0
func (*Client) RequestJobStatusUpsert ¶ added in v1.2.0
func (c *Client) RequestJobStatusUpsert(ctx context.Context, workspaceId string, jobId string, body RequestJobStatusUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RequestJobStatusUpsertWithBody ¶ added in v1.2.0
func (*Client) RequestPolicyCreation ¶
func (c *Client) RequestPolicyCreation(ctx context.Context, workspaceId string, body RequestPolicyCreationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RequestPolicyCreationWithBody ¶
func (*Client) RequestPolicyDeletion ¶
func (*Client) RequestPolicyUpsert ¶ added in v1.2.0
func (c *Client) RequestPolicyUpsert(ctx context.Context, workspaceId string, policyId string, body RequestPolicyUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RequestPolicyUpsertWithBody ¶ added in v1.2.0
func (*Client) RequestRelationshipRuleUpsert ¶ added in v1.2.0
func (c *Client) RequestRelationshipRuleUpsert(ctx context.Context, workspaceId string, relationshipRuleId string, body RequestRelationshipRuleUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RequestRelationshipRuleUpsertWithBody ¶ added in v1.2.0
func (*Client) RequestResourceDeletionByIdentifier ¶
func (*Client) RequestResourceProviderUpsert ¶
func (c *Client) RequestResourceProviderUpsert(ctx context.Context, workspaceId string, body RequestResourceProviderUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RequestResourceProviderUpsertWithBody ¶
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 (*Client) RequestSystemCreation ¶
func (c *Client) RequestSystemCreation(ctx context.Context, workspaceId string, body RequestSystemCreationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RequestSystemCreationWithBody ¶
func (*Client) RequestSystemDeletion ¶
func (*Client) RequestSystemUpsert ¶ added in v1.2.0
func (c *Client) RequestSystemUpsert(ctx context.Context, workspaceId string, systemId string, body RequestSystemUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RequestSystemUpsertWithBody ¶ added in v1.2.0
func (*Client) RequestUserApprovalRecordUpsert ¶ added in v1.2.0
func (c *Client) RequestUserApprovalRecordUpsert(ctx context.Context, workspaceId string, deploymentVersionId string, body RequestUserApprovalRecordUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RequestUserApprovalRecordUpsertWithBody ¶ added in v1.2.0
func (*Client) SetResourceProviderResources ¶ added in v1.2.0
func (c *Client) SetResourceProviderResources(ctx context.Context, workspaceId string, providerId string, body SetResourceProviderResourcesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SetResourceProviderResourcesWithBody ¶ added in v1.2.0
func (*Client) UnlinkDeploymentFromSystem ¶ added in v1.3.0
func (*Client) UnlinkEnvironmentFromSystem ¶ added in v1.3.0
func (*Client) UpdateWorkflow ¶ added in v1.3.0
func (c *Client) UpdateWorkflow(ctx context.Context, workspaceId string, workflowId string, body UpdateWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateWorkflowWithBody ¶ added in v1.3.0
func (*Client) UpdateWorkspace ¶
func (c *Client) UpdateWorkspace(ctx context.Context, workspaceId openapi_types.UUID, body UpdateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateWorkspaceWithBody ¶
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)
// RequestUserApprovalRecordUpsertWithBody request with any body
RequestUserApprovalRecordUpsertWithBody(ctx context.Context, workspaceId string, deploymentVersionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RequestUserApprovalRecordUpsert(ctx context.Context, workspaceId string, deploymentVersionId string, body RequestUserApprovalRecordUpsertJSONRequestBody, 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)
// RequestDeploymentUpsertWithBody request with any body
RequestDeploymentUpsertWithBody(ctx context.Context, workspaceId string, deploymentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RequestDeploymentUpsert(ctx context.Context, workspaceId string, deploymentId string, body RequestDeploymentUpsertJSONRequestBody, 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)
// RequestDeploymentVariableValueUpsertWithBody request with any body
RequestDeploymentVariableValueUpsertWithBody(ctx context.Context, workspaceId string, deploymentId string, variableId string, valueId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RequestDeploymentVariableValueUpsert(ctx context.Context, workspaceId string, deploymentId string, variableId string, valueId string, body RequestDeploymentVariableValueUpsertJSONRequestBody, 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)
// RequestDeploymentVersionUpdateWithBody request with any body
RequestDeploymentVersionUpdateWithBody(ctx context.Context, workspaceId string, deploymentVersionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RequestDeploymentVersionUpdate(ctx context.Context, workspaceId string, deploymentVersionId string, body RequestDeploymentVersionUpdateJSONRequestBody, 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)
// RequestEnvironmentUpsertWithBody request with any body
RequestEnvironmentUpsertWithBody(ctx context.Context, workspaceId string, environmentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RequestEnvironmentUpsert(ctx context.Context, workspaceId string, environmentId string, body RequestEnvironmentUpsertJSONRequestBody, 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)
// RequestJobAgentUpsertWithBody request with any body
RequestJobAgentUpsertWithBody(ctx context.Context, workspaceId string, jobAgentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RequestJobAgentUpsert(ctx context.Context, workspaceId string, jobAgentId string, body RequestJobAgentUpsertJSONRequestBody, 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)
// RequestJobStatusUpsertWithBody request with any body
RequestJobStatusUpsertWithBody(ctx context.Context, workspaceId string, jobId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RequestJobStatusUpsert(ctx context.Context, workspaceId string, jobId string, body RequestJobStatusUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetJobWithRelease request
GetJobWithRelease(ctx context.Context, workspaceId string, jobId string, 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)
// RequestPolicyUpsertWithBody request with any body
RequestPolicyUpsertWithBody(ctx context.Context, workspaceId string, policyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RequestPolicyUpsert(ctx context.Context, workspaceId string, policyId string, body RequestPolicyUpsertJSONRequestBody, 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)
// RequestRelationshipRuleUpsertWithBody request with any body
RequestRelationshipRuleUpsertWithBody(ctx context.Context, workspaceId string, relationshipRuleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RequestRelationshipRuleUpsert(ctx context.Context, workspaceId string, relationshipRuleId string, body RequestRelationshipRuleUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PreviewReleaseTargetsForResourceWithBody request with any body
PreviewReleaseTargetsForResourceWithBody(ctx context.Context, workspaceId string, params *PreviewReleaseTargetsForResourceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PreviewReleaseTargetsForResource(ctx context.Context, workspaceId string, params *PreviewReleaseTargetsForResourceParams, body PreviewReleaseTargetsForResourceJSONRequestBody, 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)
// SetResourceProviderResourcesWithBody request with any body
SetResourceProviderResourcesWithBody(ctx context.Context, workspaceId string, providerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetResourceProviderResources(ctx context.Context, workspaceId string, providerId string, body SetResourceProviderResourcesJSONRequestBody, 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)
// GetDeploymentsForResource request
GetDeploymentsForResource(ctx context.Context, workspaceId string, identifier string, params *GetDeploymentsForResourceParams, 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)
// RequestSystemUpsertWithBody request with any body
RequestSystemUpsertWithBody(ctx context.Context, workspaceId string, systemId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RequestSystemUpsert(ctx context.Context, workspaceId string, systemId string, body RequestSystemUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnlinkDeploymentFromSystem request
UnlinkDeploymentFromSystem(ctx context.Context, workspaceId string, systemId string, deploymentId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDeploymentSystemLink request
GetDeploymentSystemLink(ctx context.Context, workspaceId string, systemId string, deploymentId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// LinkDeploymentToSystem request
LinkDeploymentToSystem(ctx context.Context, workspaceId string, systemId string, deploymentId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnlinkEnvironmentFromSystem request
UnlinkEnvironmentFromSystem(ctx context.Context, workspaceId string, systemId string, environmentId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEnvironmentSystemLink request
GetEnvironmentSystemLink(ctx context.Context, workspaceId string, systemId string, environmentId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// LinkEnvironmentToSystem request
LinkEnvironmentToSystem(ctx context.Context, workspaceId string, systemId string, environmentId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListWorkflows request
ListWorkflows(ctx context.Context, workspaceId string, params *ListWorkflowsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateWorkflowWithBody request with any body
CreateWorkflowWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateWorkflow(ctx context.Context, workspaceId string, body CreateWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteWorkflow request
DeleteWorkflow(ctx context.Context, workspaceId string, workflowId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWorkflow request
GetWorkflow(ctx context.Context, workspaceId string, workflowId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateWorkflowWithBody request with any body
UpdateWorkflowWithBody(ctx context.Context, workspaceId string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateWorkflow(ctx context.Context, workspaceId string, workflowId string, body UpdateWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
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) CreateWorkflowWithBodyWithResponse ¶ added in v1.3.0
func (c *ClientWithResponses) CreateWorkflowWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkflowResponse, error)
CreateWorkflowWithBodyWithResponse request with arbitrary body returning *CreateWorkflowResponse
func (*ClientWithResponses) CreateWorkflowWithResponse ¶ added in v1.3.0
func (c *ClientWithResponses) CreateWorkflowWithResponse(ctx context.Context, workspaceId string, body CreateWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWorkflowResponse, 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) DeleteWorkflowWithResponse ¶ added in v1.3.0
func (c *ClientWithResponses) DeleteWorkflowWithResponse(ctx context.Context, workspaceId string, workflowId string, reqEditors ...RequestEditorFn) (*DeleteWorkflowResponse, error)
DeleteWorkflowWithResponse request returning *DeleteWorkflowResponse
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) GetDeploymentSystemLinkWithResponse ¶ added in v1.4.0
func (c *ClientWithResponses) GetDeploymentSystemLinkWithResponse(ctx context.Context, workspaceId string, systemId string, deploymentId string, reqEditors ...RequestEditorFn) (*GetDeploymentSystemLinkResponse, error)
GetDeploymentSystemLinkWithResponse request returning *GetDeploymentSystemLinkResponse
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) GetDeploymentsForResourceWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) GetDeploymentsForResourceWithResponse(ctx context.Context, workspaceId string, identifier string, params *GetDeploymentsForResourceParams, reqEditors ...RequestEditorFn) (*GetDeploymentsForResourceResponse, error)
GetDeploymentsForResourceWithResponse request returning *GetDeploymentsForResourceResponse
func (*ClientWithResponses) GetEnvironmentSystemLinkWithResponse ¶ added in v1.4.0
func (c *ClientWithResponses) GetEnvironmentSystemLinkWithResponse(ctx context.Context, workspaceId string, systemId string, environmentId string, reqEditors ...RequestEditorFn) (*GetEnvironmentSystemLinkResponse, error)
GetEnvironmentSystemLinkWithResponse request returning *GetEnvironmentSystemLinkResponse
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) GetJobWithReleaseWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) GetJobWithReleaseWithResponse(ctx context.Context, workspaceId string, jobId string, reqEditors ...RequestEditorFn) (*GetJobWithReleaseResponse, error)
GetJobWithReleaseWithResponse request returning *GetJobWithReleaseResponse
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) GetWorkflowWithResponse ¶ added in v1.3.0
func (c *ClientWithResponses) GetWorkflowWithResponse(ctx context.Context, workspaceId string, workflowId string, reqEditors ...RequestEditorFn) (*GetWorkflowResponse, error)
GetWorkflowWithResponse request returning *GetWorkflowResponse
func (*ClientWithResponses) GetWorkspaceBySlugWithResponse ¶
func (c *ClientWithResponses) GetWorkspaceBySlugWithResponse(ctx context.Context, workspaceSlug string, reqEditors ...RequestEditorFn) (*GetWorkspaceBySlugResponse, error)
GetWorkspaceBySlugWithResponse request returning *GetWorkspaceBySlugResponse
func (*ClientWithResponses) GetWorkspaceID ¶
func (*ClientWithResponses) GetWorkspaceWithResponse ¶
func (c *ClientWithResponses) GetWorkspaceWithResponse(ctx context.Context, workspaceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetWorkspaceResponse, error)
GetWorkspaceWithResponse request returning *GetWorkspaceResponse
func (*ClientWithResponses) LinkDeploymentToSystemWithResponse ¶ added in v1.3.0
func (c *ClientWithResponses) LinkDeploymentToSystemWithResponse(ctx context.Context, workspaceId string, systemId string, deploymentId string, reqEditors ...RequestEditorFn) (*LinkDeploymentToSystemResponse, error)
LinkDeploymentToSystemWithResponse request returning *LinkDeploymentToSystemResponse
func (*ClientWithResponses) LinkEnvironmentToSystemWithResponse ¶ added in v1.3.0
func (c *ClientWithResponses) LinkEnvironmentToSystemWithResponse(ctx context.Context, workspaceId string, systemId string, environmentId string, reqEditors ...RequestEditorFn) (*LinkEnvironmentToSystemResponse, error)
LinkEnvironmentToSystemWithResponse request returning *LinkEnvironmentToSystemResponse
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) ListWorkflowsWithResponse ¶ added in v1.3.0
func (c *ClientWithResponses) ListWorkflowsWithResponse(ctx context.Context, workspaceId string, params *ListWorkflowsParams, reqEditors ...RequestEditorFn) (*ListWorkflowsResponse, error)
ListWorkflowsWithResponse request returning *ListWorkflowsResponse
func (*ClientWithResponses) ListWorkspacesWithResponse ¶
func (c *ClientWithResponses) ListWorkspacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListWorkspacesResponse, error)
ListWorkspacesWithResponse request returning *ListWorkspacesResponse
func (*ClientWithResponses) PreviewReleaseTargetsForResourceWithBodyWithResponse ¶ added in v1.3.0
func (c *ClientWithResponses) PreviewReleaseTargetsForResourceWithBodyWithResponse(ctx context.Context, workspaceId string, params *PreviewReleaseTargetsForResourceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PreviewReleaseTargetsForResourceResponse, error)
PreviewReleaseTargetsForResourceWithBodyWithResponse request with arbitrary body returning *PreviewReleaseTargetsForResourceResponse
func (*ClientWithResponses) PreviewReleaseTargetsForResourceWithResponse ¶ added in v1.3.0
func (c *ClientWithResponses) PreviewReleaseTargetsForResourceWithResponse(ctx context.Context, workspaceId string, params *PreviewReleaseTargetsForResourceParams, body PreviewReleaseTargetsForResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PreviewReleaseTargetsForResourceResponse, error)
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) RequestDeploymentUpsertWithBodyWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) RequestDeploymentUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestDeploymentUpsertResponse, error)
RequestDeploymentUpsertWithBodyWithResponse request with arbitrary body returning *RequestDeploymentUpsertResponse
func (*ClientWithResponses) RequestDeploymentUpsertWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) RequestDeploymentUpsertWithResponse(ctx context.Context, workspaceId string, deploymentId string, body RequestDeploymentUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestDeploymentUpsertResponse, 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) RequestDeploymentVariableValueUpsertWithBodyWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) RequestDeploymentVariableValueUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentId string, variableId string, valueId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestDeploymentVariableValueUpsertResponse, error)
RequestDeploymentVariableValueUpsertWithBodyWithResponse request with arbitrary body returning *RequestDeploymentVariableValueUpsertResponse
func (*ClientWithResponses) RequestDeploymentVariableValueUpsertWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) RequestDeploymentVariableValueUpsertWithResponse(ctx context.Context, workspaceId string, deploymentId string, variableId string, valueId string, body RequestDeploymentVariableValueUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestDeploymentVariableValueUpsertResponse, error)
func (*ClientWithResponses) RequestDeploymentVersionUpdateWithBodyWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) RequestDeploymentVersionUpdateWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestDeploymentVersionUpdateResponse, error)
RequestDeploymentVersionUpdateWithBodyWithResponse request with arbitrary body returning *RequestDeploymentVersionUpdateResponse
func (*ClientWithResponses) RequestDeploymentVersionUpdateWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) RequestDeploymentVersionUpdateWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, body RequestDeploymentVersionUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestDeploymentVersionUpdateResponse, 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) RequestEnvironmentUpsertWithBodyWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) RequestEnvironmentUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, environmentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestEnvironmentUpsertResponse, error)
RequestEnvironmentUpsertWithBodyWithResponse request with arbitrary body returning *RequestEnvironmentUpsertResponse
func (*ClientWithResponses) RequestEnvironmentUpsertWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) RequestEnvironmentUpsertWithResponse(ctx context.Context, workspaceId string, environmentId string, body RequestEnvironmentUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestEnvironmentUpsertResponse, 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) RequestJobAgentUpsertWithBodyWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) RequestJobAgentUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, jobAgentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestJobAgentUpsertResponse, error)
RequestJobAgentUpsertWithBodyWithResponse request with arbitrary body returning *RequestJobAgentUpsertResponse
func (*ClientWithResponses) RequestJobAgentUpsertWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) RequestJobAgentUpsertWithResponse(ctx context.Context, workspaceId string, jobAgentId string, body RequestJobAgentUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestJobAgentUpsertResponse, error)
func (*ClientWithResponses) RequestJobStatusUpsertWithBodyWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) RequestJobStatusUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, jobId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestJobStatusUpsertResponse, error)
RequestJobStatusUpsertWithBodyWithResponse request with arbitrary body returning *RequestJobStatusUpsertResponse
func (*ClientWithResponses) RequestJobStatusUpsertWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) RequestJobStatusUpsertWithResponse(ctx context.Context, workspaceId string, jobId string, body RequestJobStatusUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestJobStatusUpsertResponse, 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) RequestPolicyUpsertWithBodyWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) RequestPolicyUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, policyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestPolicyUpsertResponse, error)
RequestPolicyUpsertWithBodyWithResponse request with arbitrary body returning *RequestPolicyUpsertResponse
func (*ClientWithResponses) RequestPolicyUpsertWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) RequestPolicyUpsertWithResponse(ctx context.Context, workspaceId string, policyId string, body RequestPolicyUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestPolicyUpsertResponse, error)
func (*ClientWithResponses) RequestRelationshipRuleUpsertWithBodyWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) RequestRelationshipRuleUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, relationshipRuleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestRelationshipRuleUpsertResponse, error)
RequestRelationshipRuleUpsertWithBodyWithResponse request with arbitrary body returning *RequestRelationshipRuleUpsertResponse
func (*ClientWithResponses) RequestRelationshipRuleUpsertWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) RequestRelationshipRuleUpsertWithResponse(ctx context.Context, workspaceId string, relationshipRuleId string, body RequestRelationshipRuleUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestRelationshipRuleUpsertResponse, 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) 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) RequestSystemUpsertWithBodyWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) RequestSystemUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, systemId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestSystemUpsertResponse, error)
RequestSystemUpsertWithBodyWithResponse request with arbitrary body returning *RequestSystemUpsertResponse
func (*ClientWithResponses) RequestSystemUpsertWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) RequestSystemUpsertWithResponse(ctx context.Context, workspaceId string, systemId string, body RequestSystemUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestSystemUpsertResponse, error)
func (*ClientWithResponses) RequestUserApprovalRecordUpsertWithBodyWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) RequestUserApprovalRecordUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestUserApprovalRecordUpsertResponse, error)
RequestUserApprovalRecordUpsertWithBodyWithResponse request with arbitrary body returning *RequestUserApprovalRecordUpsertResponse
func (*ClientWithResponses) RequestUserApprovalRecordUpsertWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) RequestUserApprovalRecordUpsertWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, body RequestUserApprovalRecordUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestUserApprovalRecordUpsertResponse, error)
func (*ClientWithResponses) SetResourceProviderResourcesWithBodyWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) SetResourceProviderResourcesWithBodyWithResponse(ctx context.Context, workspaceId string, providerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetResourceProviderResourcesResponse, error)
SetResourceProviderResourcesWithBodyWithResponse request with arbitrary body returning *SetResourceProviderResourcesResponse
func (*ClientWithResponses) SetResourceProviderResourcesWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) SetResourceProviderResourcesWithResponse(ctx context.Context, workspaceId string, providerId string, body SetResourceProviderResourcesJSONRequestBody, reqEditors ...RequestEditorFn) (*SetResourceProviderResourcesResponse, error)
func (*ClientWithResponses) UnlinkDeploymentFromSystemWithResponse ¶ added in v1.3.0
func (c *ClientWithResponses) UnlinkDeploymentFromSystemWithResponse(ctx context.Context, workspaceId string, systemId string, deploymentId string, reqEditors ...RequestEditorFn) (*UnlinkDeploymentFromSystemResponse, error)
UnlinkDeploymentFromSystemWithResponse request returning *UnlinkDeploymentFromSystemResponse
func (*ClientWithResponses) UnlinkEnvironmentFromSystemWithResponse ¶ added in v1.3.0
func (c *ClientWithResponses) UnlinkEnvironmentFromSystemWithResponse(ctx context.Context, workspaceId string, systemId string, environmentId string, reqEditors ...RequestEditorFn) (*UnlinkEnvironmentFromSystemResponse, error)
UnlinkEnvironmentFromSystemWithResponse request returning *UnlinkEnvironmentFromSystemResponse
func (*ClientWithResponses) UpdateWorkflowWithBodyWithResponse ¶ added in v1.3.0
func (c *ClientWithResponses) UpdateWorkflowWithBodyWithResponse(ctx context.Context, workspaceId string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkflowResponse, error)
UpdateWorkflowWithBodyWithResponse request with arbitrary body returning *UpdateWorkflowResponse
func (*ClientWithResponses) UpdateWorkflowWithResponse ¶ added in v1.3.0
func (c *ClientWithResponses) UpdateWorkflowWithResponse(ctx context.Context, workspaceId string, workflowId string, body UpdateWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWorkflowResponse, 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)
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)
// RequestUserApprovalRecordUpsertWithBodyWithResponse request with any body
RequestUserApprovalRecordUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestUserApprovalRecordUpsertResponse, error)
RequestUserApprovalRecordUpsertWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, body RequestUserApprovalRecordUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestUserApprovalRecordUpsertResponse, 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)
// RequestDeploymentUpsertWithBodyWithResponse request with any body
RequestDeploymentUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestDeploymentUpsertResponse, error)
RequestDeploymentUpsertWithResponse(ctx context.Context, workspaceId string, deploymentId string, body RequestDeploymentUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestDeploymentUpsertResponse, 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)
// RequestDeploymentVariableValueUpsertWithBodyWithResponse request with any body
RequestDeploymentVariableValueUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentId string, variableId string, valueId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestDeploymentVariableValueUpsertResponse, error)
RequestDeploymentVariableValueUpsertWithResponse(ctx context.Context, workspaceId string, deploymentId string, variableId string, valueId string, body RequestDeploymentVariableValueUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestDeploymentVariableValueUpsertResponse, 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)
// RequestDeploymentVersionUpdateWithBodyWithResponse request with any body
RequestDeploymentVersionUpdateWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestDeploymentVersionUpdateResponse, error)
RequestDeploymentVersionUpdateWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, body RequestDeploymentVersionUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestDeploymentVersionUpdateResponse, 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)
// RequestEnvironmentUpsertWithBodyWithResponse request with any body
RequestEnvironmentUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, environmentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestEnvironmentUpsertResponse, error)
RequestEnvironmentUpsertWithResponse(ctx context.Context, workspaceId string, environmentId string, body RequestEnvironmentUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestEnvironmentUpsertResponse, 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)
// RequestJobAgentUpsertWithBodyWithResponse request with any body
RequestJobAgentUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, jobAgentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestJobAgentUpsertResponse, error)
RequestJobAgentUpsertWithResponse(ctx context.Context, workspaceId string, jobAgentId string, body RequestJobAgentUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestJobAgentUpsertResponse, 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)
// RequestJobStatusUpsertWithBodyWithResponse request with any body
RequestJobStatusUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, jobId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestJobStatusUpsertResponse, error)
RequestJobStatusUpsertWithResponse(ctx context.Context, workspaceId string, jobId string, body RequestJobStatusUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestJobStatusUpsertResponse, error)
// GetJobWithReleaseWithResponse request
GetJobWithReleaseWithResponse(ctx context.Context, workspaceId string, jobId string, reqEditors ...RequestEditorFn) (*GetJobWithReleaseResponse, 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)
// RequestPolicyUpsertWithBodyWithResponse request with any body
RequestPolicyUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, policyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestPolicyUpsertResponse, error)
RequestPolicyUpsertWithResponse(ctx context.Context, workspaceId string, policyId string, body RequestPolicyUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestPolicyUpsertResponse, 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)
// RequestRelationshipRuleUpsertWithBodyWithResponse request with any body
RequestRelationshipRuleUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, relationshipRuleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestRelationshipRuleUpsertResponse, error)
RequestRelationshipRuleUpsertWithResponse(ctx context.Context, workspaceId string, relationshipRuleId string, body RequestRelationshipRuleUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestRelationshipRuleUpsertResponse, error)
// PreviewReleaseTargetsForResourceWithBodyWithResponse request with any body
PreviewReleaseTargetsForResourceWithBodyWithResponse(ctx context.Context, workspaceId string, params *PreviewReleaseTargetsForResourceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PreviewReleaseTargetsForResourceResponse, error)
PreviewReleaseTargetsForResourceWithResponse(ctx context.Context, workspaceId string, params *PreviewReleaseTargetsForResourceParams, body PreviewReleaseTargetsForResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*PreviewReleaseTargetsForResourceResponse, 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)
// SetResourceProviderResourcesWithBodyWithResponse request with any body
SetResourceProviderResourcesWithBodyWithResponse(ctx context.Context, workspaceId string, providerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetResourceProviderResourcesResponse, error)
SetResourceProviderResourcesWithResponse(ctx context.Context, workspaceId string, providerId string, body SetResourceProviderResourcesJSONRequestBody, reqEditors ...RequestEditorFn) (*SetResourceProviderResourcesResponse, 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)
// GetDeploymentsForResourceWithResponse request
GetDeploymentsForResourceWithResponse(ctx context.Context, workspaceId string, identifier string, params *GetDeploymentsForResourceParams, reqEditors ...RequestEditorFn) (*GetDeploymentsForResourceResponse, 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)
// RequestSystemUpsertWithBodyWithResponse request with any body
RequestSystemUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, systemId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestSystemUpsertResponse, error)
RequestSystemUpsertWithResponse(ctx context.Context, workspaceId string, systemId string, body RequestSystemUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestSystemUpsertResponse, error)
// UnlinkDeploymentFromSystemWithResponse request
UnlinkDeploymentFromSystemWithResponse(ctx context.Context, workspaceId string, systemId string, deploymentId string, reqEditors ...RequestEditorFn) (*UnlinkDeploymentFromSystemResponse, error)
// GetDeploymentSystemLinkWithResponse request
GetDeploymentSystemLinkWithResponse(ctx context.Context, workspaceId string, systemId string, deploymentId string, reqEditors ...RequestEditorFn) (*GetDeploymentSystemLinkResponse, error)
// LinkDeploymentToSystemWithResponse request
LinkDeploymentToSystemWithResponse(ctx context.Context, workspaceId string, systemId string, deploymentId string, reqEditors ...RequestEditorFn) (*LinkDeploymentToSystemResponse, error)
// UnlinkEnvironmentFromSystemWithResponse request
UnlinkEnvironmentFromSystemWithResponse(ctx context.Context, workspaceId string, systemId string, environmentId string, reqEditors ...RequestEditorFn) (*UnlinkEnvironmentFromSystemResponse, error)
// GetEnvironmentSystemLinkWithResponse request
GetEnvironmentSystemLinkWithResponse(ctx context.Context, workspaceId string, systemId string, environmentId string, reqEditors ...RequestEditorFn) (*GetEnvironmentSystemLinkResponse, error)
// LinkEnvironmentToSystemWithResponse request
LinkEnvironmentToSystemWithResponse(ctx context.Context, workspaceId string, systemId string, environmentId string, reqEditors ...RequestEditorFn) (*LinkEnvironmentToSystemResponse, error)
// ListWorkflowsWithResponse request
ListWorkflowsWithResponse(ctx context.Context, workspaceId string, params *ListWorkflowsParams, reqEditors ...RequestEditorFn) (*ListWorkflowsResponse, error)
// CreateWorkflowWithBodyWithResponse request with any body
CreateWorkflowWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkflowResponse, error)
CreateWorkflowWithResponse(ctx context.Context, workspaceId string, body CreateWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWorkflowResponse, error)
// DeleteWorkflowWithResponse request
DeleteWorkflowWithResponse(ctx context.Context, workspaceId string, workflowId string, reqEditors ...RequestEditorFn) (*DeleteWorkflowResponse, error)
// GetWorkflowWithResponse request
GetWorkflowWithResponse(ctx context.Context, workspaceId string, workflowId string, reqEditors ...RequestEditorFn) (*GetWorkflowResponse, error)
// UpdateWorkflowWithBodyWithResponse request with any body
UpdateWorkflowWithBodyWithResponse(ctx context.Context, workspaceId string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkflowResponse, error)
UpdateWorkflowWithResponse(ctx context.Context, workspaceId string, workflowId string, body UpdateWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWorkflowResponse, 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"`
}
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 ¶
func (r CreateDeploymentVersionResponse) Status() string
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"`
}
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"`
// Selector CEL expression for matching release targets. Use "true" to match all targets.
Selector *string `json:"selector,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 ¶
func (t CreateRelationshipRuleRequest_Matcher) AsCelMatcher() (CelMatcher, error)
AsCelMatcher returns the union data inside the CreateRelationshipRuleRequest_Matcher as a CelMatcher
func (*CreateRelationshipRuleRequest_Matcher) FromCelMatcher ¶
func (t *CreateRelationshipRuleRequest_Matcher) FromCelMatcher(v CelMatcher) error
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 ¶
func (t *CreateRelationshipRuleRequest_Matcher) MergeCelMatcher(v CelMatcher) error
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 ¶
func (r CreateRelationshipRuleResponse) Status() string
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 CreateWorkflow ¶ added in v1.3.0
type CreateWorkflow struct {
Inputs []WorkflowInput `json:"inputs"`
Jobs []CreateWorkflowJobTemplate `json:"jobs"`
Name string `json:"name"`
}
CreateWorkflow defines model for CreateWorkflow.
type CreateWorkflowJSONRequestBody ¶ added in v1.3.0
type CreateWorkflowJSONRequestBody = CreateWorkflow
CreateWorkflowJSONRequestBody defines body for CreateWorkflow for application/json ContentType.
type CreateWorkflowJobTemplate ¶ added in v1.3.0
type CreateWorkflowJobTemplate struct {
// Config Configuration for the job agent
Config map[string]interface{} `json:"config"`
// If CEL expression to determine if the job should run
If *string `json:"if,omitempty"`
Matrix *WorkflowJobMatrix `json:"matrix,omitempty"`
Name string `json:"name"`
// Ref Reference to the job agent
Ref string `json:"ref"`
}
CreateWorkflowJobTemplate defines model for CreateWorkflowJobTemplate.
type CreateWorkflowResponse ¶ added in v1.3.0
type CreateWorkflowResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *Workflow
JSON400 *ErrorResponse
}
func ParseCreateWorkflowResponse ¶ added in v1.3.0
func ParseCreateWorkflowResponse(rsp *http.Response) (*CreateWorkflowResponse, error)
ParseCreateWorkflowResponse parses an HTTP response from a CreateWorkflowWithResponse call
func (CreateWorkflowResponse) Status ¶ added in v1.3.0
func (r CreateWorkflowResponse) Status() string
Status returns HTTPResponse.Status
func (CreateWorkflowResponse) StatusCode ¶ added in v1.3.0
func (r CreateWorkflowResponse) StatusCode() int
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
const ( Area DatadogMetricProviderAggregator = "area" Avg DatadogMetricProviderAggregator = "avg" L2norm DatadogMetricProviderAggregator = "l2norm" Last DatadogMetricProviderAggregator = "last" Max DatadogMetricProviderAggregator = "max" Mean DatadogMetricProviderAggregator = "mean" Min DatadogMetricProviderAggregator = "min" Percentile DatadogMetricProviderAggregator = "percentile" Sum DatadogMetricProviderAggregator = "sum" )
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 ¶
func (r DeleteRelationshipResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteRelationshipResponse) StatusCode ¶
func (r DeleteRelationshipResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteWorkflowResponse ¶ added in v1.3.0
type DeleteWorkflowResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *Workflow
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseDeleteWorkflowResponse ¶ added in v1.3.0
func ParseDeleteWorkflowResponse(rsp *http.Response) (*DeleteWorkflowResponse, error)
ParseDeleteWorkflowResponse parses an HTTP response from a DeleteWorkflowWithResponse call
func (DeleteWorkflowResponse) Status ¶ added in v1.3.0
func (r DeleteWorkflowResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteWorkflowResponse) StatusCode ¶ added in v1.3.0
func (r DeleteWorkflowResponse) 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"`
}
Deployment defines model for Deployment.
type DeploymentAndSystems ¶ added in v1.3.0
type DeploymentAndSystems struct {
Deployment Deployment `json:"deployment"`
Systems []System `json:"systems"`
}
DeploymentAndSystems defines model for DeploymentAndSystems.
type DeploymentDependencyRule ¶
type DeploymentDependencyRule struct {
// DependsOn CEL expression to match upstream deployment(s) that must have a successful release before this deployment can proceed.
DependsOn string `json:"dependsOn"`
}
DeploymentDependencyRule defines model for DeploymentDependencyRule.
type DeploymentRequestAccepted ¶
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 DeploymentWithVariablesAndSystems ¶ added in v1.4.0
type DeploymentWithVariablesAndSystems struct {
Deployment Deployment `json:"deployment"`
Systems []System `json:"systems"`
Variables []DeploymentVariableWithValues `json:"variables"`
}
DeploymentWithVariablesAndSystems defines model for DeploymentWithVariablesAndSystems.
type DispatchContext ¶ added in v1.3.0
type DispatchContext struct {
Deployment *Deployment `json:"deployment,omitempty"`
Environment *Environment `json:"environment,omitempty"`
JobAgent JobAgent `json:"jobAgent"`
JobAgentConfig JobAgentConfig `json:"jobAgentConfig"`
Release *Release `json:"release,omitempty"`
Resource *Resource `json:"resource,omitempty"`
Variables *map[string]LiteralValue `json:"variables,omitempty"`
Version *DeploymentVersion `json:"version,omitempty"`
Workflow *Workflow `json:"workflow,omitempty"`
WorkflowJob *WorkflowJob `json:"workflowJob,omitempty"`
WorkflowRun *WorkflowRun `json:"workflowRun,omitempty"`
}
DispatchContext defines model for DispatchContext.
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"`
}
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 ¶
EnvironmentRequestAccepted defines model for EnvironmentRequestAccepted.
type EnvironmentWithSystems ¶ added in v1.4.0
type EnvironmentWithSystems 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"`
Systems []System `json:"systems"`
}
EnvironmentWithSystems defines model for EnvironmentWithSystems.
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 *DeploymentWithVariablesAndSystems
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 GetDeploymentSystemLinkResponse ¶ added in v1.4.0
type GetDeploymentSystemLinkResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SystemDeploymentLink
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseGetDeploymentSystemLinkResponse ¶ added in v1.4.0
func ParseGetDeploymentSystemLinkResponse(rsp *http.Response) (*GetDeploymentSystemLinkResponse, error)
ParseGetDeploymentSystemLinkResponse parses an HTTP response from a GetDeploymentSystemLinkWithResponse call
func (GetDeploymentSystemLinkResponse) Status ¶ added in v1.4.0
func (r GetDeploymentSystemLinkResponse) Status() string
Status returns HTTPResponse.Status
func (GetDeploymentSystemLinkResponse) StatusCode ¶ added in v1.4.0
func (r GetDeploymentSystemLinkResponse) 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 ¶
func (r GetDeploymentVariableResponse) Status() string
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 ¶
func (r GetDeploymentVariableValueResponse) Status() string
Status returns HTTPResponse.Status
func (GetDeploymentVariableValueResponse) StatusCode ¶
func (r GetDeploymentVariableValueResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDeploymentsForResourceParams ¶ added in v1.2.0
type GetDeploymentsForResourceParams 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"`
}
GetDeploymentsForResourceParams defines parameters for GetDeploymentsForResource.
type GetDeploymentsForResourceResponse ¶ added in v1.2.0
type GetDeploymentsForResourceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Items []Deployment `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 ParseGetDeploymentsForResourceResponse ¶ added in v1.2.0
func ParseGetDeploymentsForResourceResponse(rsp *http.Response) (*GetDeploymentsForResourceResponse, error)
ParseGetDeploymentsForResourceResponse parses an HTTP response from a GetDeploymentsForResourceWithResponse call
func (GetDeploymentsForResourceResponse) Status ¶ added in v1.2.0
func (r GetDeploymentsForResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetDeploymentsForResourceResponse) StatusCode ¶ added in v1.2.0
func (r GetDeploymentsForResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEnvironmentResponse ¶
type GetEnvironmentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *EnvironmentWithSystems
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 GetEnvironmentSystemLinkResponse ¶ added in v1.4.0
type GetEnvironmentSystemLinkResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SystemEnvironmentLink
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseGetEnvironmentSystemLinkResponse ¶ added in v1.4.0
func ParseGetEnvironmentSystemLinkResponse(rsp *http.Response) (*GetEnvironmentSystemLinkResponse, error)
ParseGetEnvironmentSystemLinkResponse parses an HTTP response from a GetEnvironmentSystemLinkWithResponse call
func (GetEnvironmentSystemLinkResponse) Status ¶ added in v1.4.0
func (r GetEnvironmentSystemLinkResponse) Status() string
Status returns HTTPResponse.Status
func (GetEnvironmentSystemLinkResponse) StatusCode ¶ added in v1.4.0
func (r GetEnvironmentSystemLinkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetJobAgentResponse ¶
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 GetJobWithReleaseResponse ¶ added in v1.2.0
type GetJobWithReleaseResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *JobWithRelease
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseGetJobWithReleaseResponse ¶ added in v1.2.0
func ParseGetJobWithReleaseResponse(rsp *http.Response) (*GetJobWithReleaseResponse, error)
ParseGetJobWithReleaseResponse parses an HTTP response from a GetJobWithReleaseWithResponse call
func (GetJobWithReleaseResponse) Status ¶ added in v1.2.0
func (r GetJobWithReleaseResponse) Status() string
Status returns HTTPResponse.Status
func (GetJobWithReleaseResponse) StatusCode ¶ added in v1.2.0
func (r GetJobWithReleaseResponse) 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 ¶
func (r GetJobsForReleaseTargetResponse) Status() string
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 ¶
func (r GetRelationshipRuleResponse) Status() string
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 ¶
func (r GetReleaseTargetDesiredReleaseResponse) Status() string
Status returns HTTPResponse.Status
func (GetReleaseTargetDesiredReleaseResponse) StatusCode ¶
func (r GetReleaseTargetDesiredReleaseResponse) StatusCode() int
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 ¶
func (r GetReleaseTargetForResourceInDeploymentResponse) Status() string
Status returns HTTPResponse.Status
func (GetReleaseTargetForResourceInDeploymentResponse) StatusCode ¶
func (r GetReleaseTargetForResourceInDeploymentResponse) StatusCode() int
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 ¶
func (r GetReleaseTargetStateResponse) Status() string
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 ¶
func (r GetResourceByIdentifierResponse) Status() string
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 ¶
func (r GetResourceProviderByNameResponse) Status() string
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 ¶
func (r GetVariablesForResourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetVariablesForResourceResponse) StatusCode ¶
func (r GetVariablesForResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWorkflowResponse ¶ added in v1.3.0
type GetWorkflowResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Workflow
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseGetWorkflowResponse ¶ added in v1.3.0
func ParseGetWorkflowResponse(rsp *http.Response) (*GetWorkflowResponse, error)
ParseGetWorkflowResponse parses an HTTP response from a GetWorkflowWithResponse call
func (GetWorkflowResponse) Status ¶ added in v1.3.0
func (r GetWorkflowResponse) Status() string
Status returns HTTPResponse.Status
func (GetWorkflowResponse) StatusCode ¶ added in v1.3.0
func (r GetWorkflowResponse) 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 ¶
func (r GetWorkspaceBySlugResponse) Status() string
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 ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type Job ¶
type Job struct {
CompletedAt *time.Time `json:"completedAt,omitempty"`
CreatedAt time.Time `json:"createdAt"`
DispatchContext *DispatchContext `json:"dispatchContext,omitempty"`
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 JobAgentConfig ¶ added in v1.3.0
type JobAgentConfig map[string]interface{}
JobAgentConfig defines model for JobAgentConfig.
type JobAgentRequestAccepted ¶
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 ¶
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 LinkDeploymentToSystemResponse ¶ added in v1.3.0
type LinkDeploymentToSystemResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *SystemRequestAccepted
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseLinkDeploymentToSystemResponse ¶ added in v1.3.0
func ParseLinkDeploymentToSystemResponse(rsp *http.Response) (*LinkDeploymentToSystemResponse, error)
ParseLinkDeploymentToSystemResponse parses an HTTP response from a LinkDeploymentToSystemWithResponse call
func (LinkDeploymentToSystemResponse) Status ¶ added in v1.3.0
func (r LinkDeploymentToSystemResponse) Status() string
Status returns HTTPResponse.Status
func (LinkDeploymentToSystemResponse) StatusCode ¶ added in v1.3.0
func (r LinkDeploymentToSystemResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LinkEnvironmentToSystemResponse ¶ added in v1.3.0
type LinkEnvironmentToSystemResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *SystemRequestAccepted
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseLinkEnvironmentToSystemResponse ¶ added in v1.3.0
func ParseLinkEnvironmentToSystemResponse(rsp *http.Response) (*LinkEnvironmentToSystemResponse, error)
ParseLinkEnvironmentToSystemResponse parses an HTTP response from a LinkEnvironmentToSystemWithResponse call
func (LinkEnvironmentToSystemResponse) Status ¶ added in v1.3.0
func (r LinkEnvironmentToSystemResponse) Status() string
Status returns HTTPResponse.Status
func (LinkEnvironmentToSystemResponse) StatusCode ¶ added in v1.3.0
func (r LinkEnvironmentToSystemResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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 ¶
func (r ListDeploymentVariableValuesResponse) Status() string
Status returns HTTPResponse.Status
func (ListDeploymentVariableValuesResponse) StatusCode ¶
func (r ListDeploymentVariableValuesResponse) StatusCode() int
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 ¶
func (r ListDeploymentVariablesResponse) Status() string
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 ¶
func (r ListDeploymentVersionsResponse) Status() string
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 []DeploymentAndSystems `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 ListWorkflowsParams ¶ added in v1.3.0
type ListWorkflowsParams 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"`
}
ListWorkflowsParams defines parameters for ListWorkflows.
type ListWorkflowsResponse ¶ added in v1.3.0
type ListWorkflowsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Items []Workflow `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 ParseListWorkflowsResponse ¶ added in v1.3.0
func ParseListWorkflowsResponse(rsp *http.Response) (*ListWorkflowsResponse, error)
ParseListWorkflowsResponse parses an HTTP response from a ListWorkflowsWithResponse call
func (ListWorkflowsResponse) Status ¶ added in v1.3.0
func (r ListWorkflowsResponse) Status() string
Status returns HTTPResponse.Status
func (ListWorkflowsResponse) StatusCode ¶ added in v1.3.0
func (r ListWorkflowsResponse) 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) AsPrometheusMetricProvider ¶ added in v1.3.0
func (t MetricProvider) AsPrometheusMetricProvider() (PrometheusMetricProvider, error)
AsPrometheusMetricProvider returns the union data inside the MetricProvider as a PrometheusMetricProvider
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) FromPrometheusMetricProvider ¶ added in v1.3.0
func (t *MetricProvider) FromPrometheusMetricProvider(v PrometheusMetricProvider) error
FromPrometheusMetricProvider overwrites any union data inside the MetricProvider as the provided PrometheusMetricProvider
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) MergePrometheusMetricProvider ¶ added in v1.3.0
func (t *MetricProvider) MergePrometheusMetricProvider(v PrometheusMetricProvider) error
MergePrometheusMetricProvider performs a merge with any union data inside the MetricProvider, using the provided PrometheusMetricProvider
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 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"`
// Selector CEL expression for matching release targets. Use "true" to match all targets.
Selector string `json:"selector"`
WorkspaceId string `json:"workspaceId"`
}
Policy defines model for Policy.
type PolicyRequestAccepted ¶
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 PreviewReleaseTargetsForResourceJSONRequestBody ¶ added in v1.3.0
type PreviewReleaseTargetsForResourceJSONRequestBody = ResourcePreviewRequest
PreviewReleaseTargetsForResourceJSONRequestBody defines body for PreviewReleaseTargetsForResource for application/json ContentType.
type PreviewReleaseTargetsForResourceParams ¶ added in v1.3.0
type PreviewReleaseTargetsForResourceParams 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"`
}
PreviewReleaseTargetsForResourceParams defines parameters for PreviewReleaseTargetsForResource.
type PreviewReleaseTargetsForResourceResponse ¶ added in v1.3.0
type PreviewReleaseTargetsForResourceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Items []ReleaseTargetPreview `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 ParsePreviewReleaseTargetsForResourceResponse ¶ added in v1.3.0
func ParsePreviewReleaseTargetsForResourceResponse(rsp *http.Response) (*PreviewReleaseTargetsForResourceResponse, error)
ParsePreviewReleaseTargetsForResourceResponse parses an HTTP response from a PreviewReleaseTargetsForResourceWithResponse call
func (PreviewReleaseTargetsForResourceResponse) Status ¶ added in v1.3.0
func (r PreviewReleaseTargetsForResourceResponse) Status() string
Status returns HTTPResponse.Status
func (PreviewReleaseTargetsForResourceResponse) StatusCode ¶ added in v1.3.0
func (r PreviewReleaseTargetsForResourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PrometheusMetricProvider ¶ added in v1.3.0
type PrometheusMetricProvider struct {
// Address Prometheus server address (supports Go templates)
Address string `json:"address"`
// Authentication Authentication configuration for Prometheus
Authentication *struct {
// BearerToken Bearer token for authentication (supports Go templates for variable references)
BearerToken *string `json:"bearerToken,omitempty"`
// Oauth2 OAuth2 client credentials flow
Oauth2 *struct {
// ClientId OAuth2 client ID (supports Go templates)
ClientId string `json:"clientId"`
// ClientSecret OAuth2 client secret (supports Go templates)
ClientSecret string `json:"clientSecret"`
// Scopes OAuth2 scopes
Scopes *[]string `json:"scopes,omitempty"`
// TokenUrl Token endpoint URL
TokenUrl string `json:"tokenUrl"`
} `json:"oauth2,omitempty"`
} `json:"authentication,omitempty"`
// Headers Additional HTTP headers for the Prometheus request (values support Go templates)
Headers *[]struct {
Key string `json:"key"`
Value string `json:"value"`
} `json:"headers,omitempty"`
// Insecure Skip TLS certificate verification
Insecure *bool `json:"insecure,omitempty"`
// Query PromQL query expression (supports Go templates)
Query string `json:"query"`
// RangeQuery If provided, a range query (/api/v1/query_range) is used instead of an instant query (/api/v1/query)
RangeQuery *struct {
// End How far back from now for the query end, as a Prometheus duration (e.g., "0s" for now, "1m" for 1 minute ago). Defaults to "0s" (now) if unset.
End *string `json:"end,omitempty"`
// Start How far back from now to start the query, as a Prometheus duration (e.g., "5m", "1h"). Defaults to 10 * step if unset.
Start *string `json:"start,omitempty"`
// Step Query resolution step width as a Prometheus duration (e.g., "15s", "1m", "500ms")
Step string `json:"step"`
} `json:"rangeQuery,omitempty"`
// Timeout Query timeout in seconds
Timeout *int64 `json:"timeout,omitempty"`
// Type Provider type
Type PrometheusMetricProviderType `json:"type"`
}
PrometheusMetricProvider defines model for PrometheusMetricProvider.
type PrometheusMetricProviderType ¶ added in v1.3.0
type PrometheusMetricProviderType string
PrometheusMetricProviderType Provider type
const (
Prometheus PrometheusMetricProviderType = "prometheus"
)
Defines values for PrometheusMetricProviderType.
type ReferenceValue ¶
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 ReleaseTargetPreview ¶ added in v1.3.0
type ReleaseTargetPreview struct {
Deployment Deployment `json:"deployment"`
Environment Environment `json:"environment"`
System System `json:"system"`
}
ReleaseTargetPreview defines model for ReleaseTargetPreview.
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 ¶
func (r RequestDeploymentCreationResponse) Status() string
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 ¶
func (r RequestDeploymentDeletionResponse) Status() string
Status returns HTTPResponse.Status
func (RequestDeploymentDeletionResponse) StatusCode ¶
func (r RequestDeploymentDeletionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestDeploymentUpsertJSONRequestBody ¶ added in v1.2.0
type RequestDeploymentUpsertJSONRequestBody = UpsertDeploymentRequest
RequestDeploymentUpsertJSONRequestBody defines body for RequestDeploymentUpsert for application/json ContentType.
type RequestDeploymentUpsertResponse ¶ added in v1.2.0
type RequestDeploymentUpsertResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *DeploymentRequestAccepted
}
func ParseRequestDeploymentUpsertResponse ¶ added in v1.2.0
func ParseRequestDeploymentUpsertResponse(rsp *http.Response) (*RequestDeploymentUpsertResponse, error)
ParseRequestDeploymentUpsertResponse parses an HTTP response from a RequestDeploymentUpsertWithResponse call
func (RequestDeploymentUpsertResponse) Status ¶ added in v1.2.0
func (r RequestDeploymentUpsertResponse) Status() string
Status returns HTTPResponse.Status
func (RequestDeploymentUpsertResponse) StatusCode ¶ added in v1.2.0
func (r RequestDeploymentUpsertResponse) 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 ¶
func (r RequestDeploymentVariableDeletionResponse) Status() string
Status returns HTTPResponse.Status
func (RequestDeploymentVariableDeletionResponse) StatusCode ¶
func (r RequestDeploymentVariableDeletionResponse) StatusCode() int
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 ¶
func (r RequestDeploymentVariableUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (RequestDeploymentVariableUpdateResponse) StatusCode ¶
func (r RequestDeploymentVariableUpdateResponse) StatusCode() int
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 ¶
func (r RequestDeploymentVariableValueDeletionResponse) Status() string
Status returns HTTPResponse.Status
func (RequestDeploymentVariableValueDeletionResponse) StatusCode ¶
func (r RequestDeploymentVariableValueDeletionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestDeploymentVariableValueUpsertJSONRequestBody ¶ added in v1.2.0
type RequestDeploymentVariableValueUpsertJSONRequestBody = UpsertDeploymentVariableValueRequest
RequestDeploymentVariableValueUpsertJSONRequestBody defines body for RequestDeploymentVariableValueUpsert for application/json ContentType.
type RequestDeploymentVariableValueUpsertResponse ¶ added in v1.2.0
type RequestDeploymentVariableValueUpsertResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *DeploymentVariableValueRequestAccepted
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseRequestDeploymentVariableValueUpsertResponse ¶ added in v1.2.0
func ParseRequestDeploymentVariableValueUpsertResponse(rsp *http.Response) (*RequestDeploymentVariableValueUpsertResponse, error)
ParseRequestDeploymentVariableValueUpsertResponse parses an HTTP response from a RequestDeploymentVariableValueUpsertWithResponse call
func (RequestDeploymentVariableValueUpsertResponse) Status ¶ added in v1.2.0
func (r RequestDeploymentVariableValueUpsertResponse) Status() string
Status returns HTTPResponse.Status
func (RequestDeploymentVariableValueUpsertResponse) StatusCode ¶ added in v1.2.0
func (r RequestDeploymentVariableValueUpsertResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestDeploymentVersionUpdateJSONRequestBody ¶ added in v1.2.0
type RequestDeploymentVersionUpdateJSONRequestBody = UpdateDeploymentVersionRequest
RequestDeploymentVersionUpdateJSONRequestBody defines body for RequestDeploymentVersionUpdate for application/json ContentType.
type RequestDeploymentVersionUpdateResponse ¶ added in v1.2.0
type RequestDeploymentVersionUpdateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *DeploymentVersion
JSON400 *ErrorResponse
}
func ParseRequestDeploymentVersionUpdateResponse ¶ added in v1.2.0
func ParseRequestDeploymentVersionUpdateResponse(rsp *http.Response) (*RequestDeploymentVersionUpdateResponse, error)
ParseRequestDeploymentVersionUpdateResponse parses an HTTP response from a RequestDeploymentVersionUpdateWithResponse call
func (RequestDeploymentVersionUpdateResponse) Status ¶ added in v1.2.0
func (r RequestDeploymentVersionUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (RequestDeploymentVersionUpdateResponse) StatusCode ¶ added in v1.2.0
func (r RequestDeploymentVersionUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
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 ¶
func (r RequestEnvironmentCreationResponse) Status() string
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 ¶
func (r RequestEnvironmentDeletionResponse) Status() string
Status returns HTTPResponse.Status
func (RequestEnvironmentDeletionResponse) StatusCode ¶
func (r RequestEnvironmentDeletionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEnvironmentUpsertJSONRequestBody ¶ added in v1.2.0
type RequestEnvironmentUpsertJSONRequestBody = UpsertEnvironmentRequest
RequestEnvironmentUpsertJSONRequestBody defines body for RequestEnvironmentUpsert for application/json ContentType.
type RequestEnvironmentUpsertResponse ¶ added in v1.2.0
type RequestEnvironmentUpsertResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *EnvironmentRequestAccepted
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseRequestEnvironmentUpsertResponse ¶ added in v1.2.0
func ParseRequestEnvironmentUpsertResponse(rsp *http.Response) (*RequestEnvironmentUpsertResponse, error)
ParseRequestEnvironmentUpsertResponse parses an HTTP response from a RequestEnvironmentUpsertWithResponse call
func (RequestEnvironmentUpsertResponse) Status ¶ added in v1.2.0
func (r RequestEnvironmentUpsertResponse) Status() string
Status returns HTTPResponse.Status
func (RequestEnvironmentUpsertResponse) StatusCode ¶ added in v1.2.0
func (r RequestEnvironmentUpsertResponse) 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 ¶
func (r RequestJobAgentDeletionResponse) Status() string
Status returns HTTPResponse.Status
func (RequestJobAgentDeletionResponse) StatusCode ¶
func (r RequestJobAgentDeletionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestJobAgentUpsertJSONRequestBody ¶ added in v1.2.0
type RequestJobAgentUpsertJSONRequestBody = UpsertJobAgentRequest
RequestJobAgentUpsertJSONRequestBody defines body for RequestJobAgentUpsert for application/json ContentType.
type RequestJobAgentUpsertResponse ¶ added in v1.2.0
type RequestJobAgentUpsertResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *JobAgentRequestAccepted
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseRequestJobAgentUpsertResponse ¶ added in v1.2.0
func ParseRequestJobAgentUpsertResponse(rsp *http.Response) (*RequestJobAgentUpsertResponse, error)
ParseRequestJobAgentUpsertResponse parses an HTTP response from a RequestJobAgentUpsertWithResponse call
func (RequestJobAgentUpsertResponse) Status ¶ added in v1.2.0
func (r RequestJobAgentUpsertResponse) Status() string
Status returns HTTPResponse.Status
func (RequestJobAgentUpsertResponse) StatusCode ¶ added in v1.2.0
func (r RequestJobAgentUpsertResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestJobStatusUpsertJSONRequestBody ¶ added in v1.2.0
type RequestJobStatusUpsertJSONRequestBody = JobStatus
RequestJobStatusUpsertJSONRequestBody defines body for RequestJobStatusUpsert for application/json ContentType.
type RequestJobStatusUpsertResponse ¶ added in v1.2.0
type RequestJobStatusUpsertResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *JobStatusRequestAccepted
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseRequestJobStatusUpsertResponse ¶ added in v1.2.0
func ParseRequestJobStatusUpsertResponse(rsp *http.Response) (*RequestJobStatusUpsertResponse, error)
ParseRequestJobStatusUpsertResponse parses an HTTP response from a RequestJobStatusUpsertWithResponse call
func (RequestJobStatusUpsertResponse) Status ¶ added in v1.2.0
func (r RequestJobStatusUpsertResponse) Status() string
Status returns HTTPResponse.Status
func (RequestJobStatusUpsertResponse) StatusCode ¶ added in v1.2.0
func (r RequestJobStatusUpsertResponse) 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 ¶
func (r RequestPolicyCreationResponse) Status() string
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 ¶
func (r RequestPolicyDeletionResponse) Status() string
Status returns HTTPResponse.Status
func (RequestPolicyDeletionResponse) StatusCode ¶
func (r RequestPolicyDeletionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestPolicyUpsertJSONRequestBody ¶ added in v1.2.0
type RequestPolicyUpsertJSONRequestBody = UpsertPolicyRequest
RequestPolicyUpsertJSONRequestBody defines body for RequestPolicyUpsert for application/json ContentType.
type RequestPolicyUpsertResponse ¶ added in v1.2.0
type RequestPolicyUpsertResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *PolicyRequestAccepted
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseRequestPolicyUpsertResponse ¶ added in v1.2.0
func ParseRequestPolicyUpsertResponse(rsp *http.Response) (*RequestPolicyUpsertResponse, error)
ParseRequestPolicyUpsertResponse parses an HTTP response from a RequestPolicyUpsertWithResponse call
func (RequestPolicyUpsertResponse) Status ¶ added in v1.2.0
func (r RequestPolicyUpsertResponse) Status() string
Status returns HTTPResponse.Status
func (RequestPolicyUpsertResponse) StatusCode ¶ added in v1.2.0
func (r RequestPolicyUpsertResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestRelationshipRuleUpsertJSONRequestBody ¶ added in v1.2.0
type RequestRelationshipRuleUpsertJSONRequestBody = UpsertRelationshipRuleRequest
RequestRelationshipRuleUpsertJSONRequestBody defines body for RequestRelationshipRuleUpsert for application/json ContentType.
type RequestRelationshipRuleUpsertResponse ¶ added in v1.2.0
type RequestRelationshipRuleUpsertResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *RelationshipRule
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseRequestRelationshipRuleUpsertResponse ¶ added in v1.2.0
func ParseRequestRelationshipRuleUpsertResponse(rsp *http.Response) (*RequestRelationshipRuleUpsertResponse, error)
ParseRequestRelationshipRuleUpsertResponse parses an HTTP response from a RequestRelationshipRuleUpsertWithResponse call
func (RequestRelationshipRuleUpsertResponse) Status ¶ added in v1.2.0
func (r RequestRelationshipRuleUpsertResponse) Status() string
Status returns HTTPResponse.Status
func (RequestRelationshipRuleUpsertResponse) StatusCode ¶ added in v1.2.0
func (r RequestRelationshipRuleUpsertResponse) 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 ¶
func (r RequestResourceDeletionByIdentifierResponse) Status() string
Status returns HTTPResponse.Status
func (RequestResourceDeletionByIdentifierResponse) StatusCode ¶
func (r RequestResourceDeletionByIdentifierResponse) StatusCode() int
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 *ResourceProvider
JSON400 *ErrorResponse
}
func ParseRequestResourceProviderUpsertResponse ¶
func ParseRequestResourceProviderUpsertResponse(rsp *http.Response) (*RequestResourceProviderUpsertResponse, error)
ParseRequestResourceProviderUpsertResponse parses an HTTP response from a RequestResourceProviderUpsertWithResponse call
func (RequestResourceProviderUpsertResponse) Status ¶
func (r RequestResourceProviderUpsertResponse) Status() string
Status returns HTTPResponse.Status
func (RequestResourceProviderUpsertResponse) StatusCode ¶
func (r RequestResourceProviderUpsertResponse) StatusCode() int
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 ¶
func (r RequestResourceVariablesUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (RequestResourceVariablesUpdateResponse) StatusCode ¶
func (r RequestResourceVariablesUpdateResponse) StatusCode() int
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 ¶
func (r RequestSystemCreationResponse) Status() string
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 ¶
func (r RequestSystemDeletionResponse) Status() string
Status returns HTTPResponse.Status
func (RequestSystemDeletionResponse) StatusCode ¶
func (r RequestSystemDeletionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestSystemUpsertJSONRequestBody ¶ added in v1.2.0
type RequestSystemUpsertJSONRequestBody = UpsertSystemRequest
RequestSystemUpsertJSONRequestBody defines body for RequestSystemUpsert for application/json ContentType.
type RequestSystemUpsertResponse ¶ added in v1.2.0
type RequestSystemUpsertResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *SystemRequestAccepted
}
func ParseRequestSystemUpsertResponse ¶ added in v1.2.0
func ParseRequestSystemUpsertResponse(rsp *http.Response) (*RequestSystemUpsertResponse, error)
ParseRequestSystemUpsertResponse parses an HTTP response from a RequestSystemUpsertWithResponse call
func (RequestSystemUpsertResponse) Status ¶ added in v1.2.0
func (r RequestSystemUpsertResponse) Status() string
Status returns HTTPResponse.Status
func (RequestSystemUpsertResponse) StatusCode ¶ added in v1.2.0
func (r RequestSystemUpsertResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestUserApprovalRecordUpsertJSONRequestBody ¶ added in v1.2.0
type RequestUserApprovalRecordUpsertJSONRequestBody = UpsertUserApprovalRecordRequest
RequestUserApprovalRecordUpsertJSONRequestBody defines body for RequestUserApprovalRecordUpsert for application/json ContentType.
type RequestUserApprovalRecordUpsertResponse ¶ added in v1.2.0
type RequestUserApprovalRecordUpsertResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *UserApprovalRecordRequestAccepted
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseRequestUserApprovalRecordUpsertResponse ¶ added in v1.2.0
func ParseRequestUserApprovalRecordUpsertResponse(rsp *http.Response) (*RequestUserApprovalRecordUpsertResponse, error)
ParseRequestUserApprovalRecordUpsertResponse parses an HTTP response from a RequestUserApprovalRecordUpsertWithResponse call
func (RequestUserApprovalRecordUpsertResponse) Status ¶ added in v1.2.0
func (r RequestUserApprovalRecordUpsertResponse) Status() string
Status returns HTTPResponse.Status
func (RequestUserApprovalRecordUpsertResponse) StatusCode ¶ added in v1.2.0
func (r RequestUserApprovalRecordUpsertResponse) StatusCode() int
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 ResourcePreviewRequest ¶ added in v1.3.0
type ResourcePreviewRequest struct {
Config map[string]interface{} `json:"config"`
Identifier string `json:"identifier"`
Kind string `json:"kind"`
Metadata map[string]string `json:"metadata"`
Name string `json:"name"`
Version string `json:"version"`
}
ResourcePreviewRequest defines model for ResourcePreviewRequest.
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 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 ResourceProviderSetRequestAccepted ¶ added in v1.3.0
type ResourceProviderSetRequestAccepted struct {
BatchId *string `json:"batchId,omitempty"`
Method string `json:"method"`
Ok bool `json:"ok"`
}
ResourceProviderSetRequestAccepted defines model for ResourceProviderSetRequestAccepted.
type ResourceRequestAccepted ¶
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 (*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 ¶
type SensitiveValue ¶
type SensitiveValue struct {
ValueHash string `json:"valueHash"`
}
SensitiveValue defines model for SensitiveValue.
type SetResourceProviderResourcesJSONBody ¶ added in v1.2.0
type SetResourceProviderResourcesJSONBody struct {
Resources []ResourceProviderResource `json:"resources"`
}
SetResourceProviderResourcesJSONBody defines parameters for SetResourceProviderResources.
type SetResourceProviderResourcesJSONRequestBody ¶ added in v1.2.0
type SetResourceProviderResourcesJSONRequestBody SetResourceProviderResourcesJSONBody
SetResourceProviderResourcesJSONRequestBody defines body for SetResourceProviderResources for application/json ContentType.
type SetResourceProviderResourcesResponse ¶ added in v1.2.0
type SetResourceProviderResourcesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *ResourceProviderSetRequestAccepted
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseSetResourceProviderResourcesResponse ¶ added in v1.2.0
func ParseSetResourceProviderResourcesResponse(rsp *http.Response) (*SetResourceProviderResourcesResponse, error)
ParseSetResourceProviderResourcesResponse parses an HTTP response from a SetResourceProviderResourcesWithResponse call
func (SetResourceProviderResourcesResponse) Status ¶ added in v1.2.0
func (r SetResourceProviderResourcesResponse) Status() string
Status returns HTTPResponse.Status
func (SetResourceProviderResourcesResponse) StatusCode ¶ added in v1.2.0
func (r SetResourceProviderResourcesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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 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 SystemDeploymentLink ¶ added in v1.4.0
type SystemDeploymentLink struct {
DeploymentId string `json:"deploymentId"`
SystemId string `json:"systemId"`
}
SystemDeploymentLink defines model for SystemDeploymentLink.
type SystemEnvironmentLink ¶ added in v1.4.0
type SystemEnvironmentLink struct {
EnvironmentId string `json:"environmentId"`
SystemId string `json:"systemId"`
}
SystemEnvironmentLink defines model for SystemEnvironmentLink.
type SystemRequestAccepted ¶
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 UnlinkDeploymentFromSystemResponse ¶ added in v1.3.0
type UnlinkDeploymentFromSystemResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *SystemRequestAccepted
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseUnlinkDeploymentFromSystemResponse ¶ added in v1.3.0
func ParseUnlinkDeploymentFromSystemResponse(rsp *http.Response) (*UnlinkDeploymentFromSystemResponse, error)
ParseUnlinkDeploymentFromSystemResponse parses an HTTP response from a UnlinkDeploymentFromSystemWithResponse call
func (UnlinkDeploymentFromSystemResponse) Status ¶ added in v1.3.0
func (r UnlinkDeploymentFromSystemResponse) Status() string
Status returns HTTPResponse.Status
func (UnlinkDeploymentFromSystemResponse) StatusCode ¶ added in v1.3.0
func (r UnlinkDeploymentFromSystemResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UnlinkEnvironmentFromSystemResponse ¶ added in v1.3.0
type UnlinkEnvironmentFromSystemResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *SystemRequestAccepted
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseUnlinkEnvironmentFromSystemResponse ¶ added in v1.3.0
func ParseUnlinkEnvironmentFromSystemResponse(rsp *http.Response) (*UnlinkEnvironmentFromSystemResponse, error)
ParseUnlinkEnvironmentFromSystemResponse parses an HTTP response from a UnlinkEnvironmentFromSystemWithResponse call
func (UnlinkEnvironmentFromSystemResponse) Status ¶ added in v1.3.0
func (r UnlinkEnvironmentFromSystemResponse) Status() string
Status returns HTTPResponse.Status
func (UnlinkEnvironmentFromSystemResponse) StatusCode ¶ added in v1.3.0
func (r UnlinkEnvironmentFromSystemResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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 UpdateWorkflow ¶ added in v1.3.0
type UpdateWorkflow struct {
Inputs []WorkflowInput `json:"inputs"`
Jobs []CreateWorkflowJobTemplate `json:"jobs"`
Name string `json:"name"`
}
UpdateWorkflow defines model for UpdateWorkflow.
type UpdateWorkflowJSONRequestBody ¶ added in v1.3.0
type UpdateWorkflowJSONRequestBody = UpdateWorkflow
UpdateWorkflowJSONRequestBody defines body for UpdateWorkflow for application/json ContentType.
type UpdateWorkflowResponse ¶ added in v1.3.0
type UpdateWorkflowResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *Workflow
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseUpdateWorkflowResponse ¶ added in v1.3.0
func ParseUpdateWorkflowResponse(rsp *http.Response) (*UpdateWorkflowResponse, error)
ParseUpdateWorkflowResponse parses an HTTP response from a UpdateWorkflowWithResponse call
func (UpdateWorkflowResponse) Status ¶ added in v1.3.0
func (r UpdateWorkflowResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateWorkflowResponse) StatusCode ¶ added in v1.3.0
func (r UpdateWorkflowResponse) 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"`
}
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"`
}
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"`
// 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"`
// Selector CEL expression for matching release targets. Use "true" to match all targets.
Selector string `json:"selector"`
}
UpsertPolicyRequest defines model for UpsertPolicyRequest.
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 ¶
func (t UpsertRelationshipRuleRequest_Matcher) AsCelMatcher() (CelMatcher, error)
AsCelMatcher returns the union data inside the UpsertRelationshipRuleRequest_Matcher as a CelMatcher
func (*UpsertRelationshipRuleRequest_Matcher) FromCelMatcher ¶
func (t *UpsertRelationshipRuleRequest_Matcher) FromCelMatcher(v CelMatcher) error
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 ¶
func (t *UpsertRelationshipRuleRequest_Matcher) MergeCelMatcher(v CelMatcher) error
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"`
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 (*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 ¶
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 Workflow ¶ added in v1.3.0
type Workflow struct {
Id string `json:"id"`
Inputs []WorkflowInput `json:"inputs"`
Jobs []WorkflowJobTemplate `json:"jobs"`
Name string `json:"name"`
}
Workflow defines model for Workflow.
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"`
Key string `json:"key"`
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) AsWorkflowObjectInput ¶ added in v1.3.0
func (t WorkflowInput) AsWorkflowObjectInput() (WorkflowObjectInput, error)
AsWorkflowObjectInput returns the union data inside the WorkflowInput as a WorkflowObjectInput
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) FromWorkflowObjectInput ¶ added in v1.3.0
func (t *WorkflowInput) FromWorkflowObjectInput(v WorkflowObjectInput) error
FromWorkflowObjectInput overwrites any union data inside the WorkflowInput as the provided WorkflowObjectInput
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) MergeWorkflowObjectInput ¶ added in v1.3.0
func (t *WorkflowInput) MergeWorkflowObjectInput(v WorkflowObjectInput) error
MergeWorkflowObjectInput performs a merge with any union data inside the WorkflowInput, using the provided WorkflowObjectInput
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 WorkflowJob ¶ added in v1.3.0
type WorkflowJob struct {
// Config Configuration for the job agent
Config map[string]interface{} `json:"config"`
Id string `json:"id"`
Index int `json:"index"`
// Ref Reference to the job agent
Ref string `json:"ref"`
WorkflowId string `json:"workflowId"`
}
WorkflowJob defines model for WorkflowJob.
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 WorkflowJobMatrix_AdditionalProperties ¶
type WorkflowJobMatrix_AdditionalProperties struct {
// contains filtered or unexported fields
}
WorkflowJobMatrix_AdditionalProperties defines model for WorkflowJobMatrix.AdditionalProperties.
func (WorkflowJobMatrix_AdditionalProperties) AsWorkflowJobMatrix0 ¶
func (t WorkflowJobMatrix_AdditionalProperties) AsWorkflowJobMatrix0() (WorkflowJobMatrix0, error)
AsWorkflowJobMatrix0 returns the union data inside the WorkflowJobMatrix_AdditionalProperties as a WorkflowJobMatrix0
func (WorkflowJobMatrix_AdditionalProperties) AsWorkflowJobMatrix1 ¶
func (t WorkflowJobMatrix_AdditionalProperties) AsWorkflowJobMatrix1() (WorkflowJobMatrix1, error)
AsWorkflowJobMatrix1 returns the union data inside the WorkflowJobMatrix_AdditionalProperties as a WorkflowJobMatrix1
func (*WorkflowJobMatrix_AdditionalProperties) FromWorkflowJobMatrix0 ¶
func (t *WorkflowJobMatrix_AdditionalProperties) FromWorkflowJobMatrix0(v WorkflowJobMatrix0) error
FromWorkflowJobMatrix0 overwrites any union data inside the WorkflowJobMatrix_AdditionalProperties as the provided WorkflowJobMatrix0
func (*WorkflowJobMatrix_AdditionalProperties) FromWorkflowJobMatrix1 ¶
func (t *WorkflowJobMatrix_AdditionalProperties) FromWorkflowJobMatrix1(v WorkflowJobMatrix1) error
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"`
// If CEL expression to determine if the job should run
If *string `json:"if,omitempty"`
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"`
Key string `json:"key"`
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"`
Key string `json:"key"`
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 WorkflowObjectInput ¶ added in v1.3.0
type WorkflowObjectInput struct {
Default *map[string]interface{} `json:"default,omitempty"`
Key string `json:"key"`
Type WorkflowObjectInputType `json:"type"`
}
WorkflowObjectInput defines model for WorkflowObjectInput.
type WorkflowObjectInputType ¶ added in v1.3.0
type WorkflowObjectInputType string
WorkflowObjectInputType defines model for WorkflowObjectInput.Type.
const (
Object WorkflowObjectInputType = "object"
)
Defines values for WorkflowObjectInputType.
type WorkflowRun ¶ added in v1.3.0
type WorkflowRun struct {
Id string `json:"id"`
Inputs map[string]interface{} `json:"inputs"`
WorkflowId string `json:"workflowId"`
}
WorkflowRun defines model for WorkflowRun.
type WorkflowSelectorArrayInput ¶
type WorkflowSelectorArrayInput struct {
Key string `json:"key"`
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"`
Key string `json:"key"`
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 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.