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 NewCreateDeploymentPlanRequest(server string, workspaceId string, deploymentId string, ...) (*http.Request, error)
- func NewCreateDeploymentPlanRequestWithBody(server string, workspaceId string, deploymentId string, contentType string, ...) (*http.Request, error)
- 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 NewCreateVariableSetRequest(server string, workspaceId string, body CreateVariableSetJSONRequestBody) (*http.Request, error)
- func NewCreateVariableSetRequestWithBody(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 NewCreateWorkflowRunRequest(server string, workspaceId string, workflowId string, ...) (*http.Request, error)
- func NewCreateWorkflowRunRequestWithBody(server string, workspaceId string, workflowId string, contentType string, ...) (*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 NewDeleteResourceProviderByNameRequest(server string, workspaceId string, name string) (*http.Request, error)
- func NewDeleteVariableSetRequest(server string, workspaceId string, variableSetId 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 NewGetDeploymentByNameRequest(server string, workspaceId string, name string) (*http.Request, error)
- func NewGetDeploymentPlanRequest(server string, workspaceId string, deploymentId string, planId string) (*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, variableId string) (*http.Request, error)
- func NewGetDeploymentVariableValueRequest(server string, workspaceId string, valueId string) (*http.Request, error)
- func NewGetDeploymentsForResourceRequest(server string, workspaceId string, identifier string, ...) (*http.Request, error)
- func NewGetEnvironmentByNameRequest(server string, workspaceId string, name 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 NewGetRelationshipRulesRequest(server string, workspaceId string, params *GetRelationshipRulesParams) (*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 NewGetReleaseTargetStatesRequest(server string, workspaceId string, params *GetReleaseTargetStatesParams, ...) (*http.Request, error)
- func NewGetReleaseTargetStatesRequestWithBody(server string, workspaceId string, params *GetReleaseTargetStatesParams, ...) (*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 NewGetResourceProviderResourcesRequest(server string, workspaceId string, name string) (*http.Request, error)
- func NewGetSystemRequest(server string, workspaceId string, systemId string) (*http.Request, error)
- func NewGetVariableSetRequest(server string, workspaceId string, variableSetId 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 NewListDeploymentVariablesByDeploymentRequest(server string, workspaceId string, deploymentId string, ...) (*http.Request, error)
- func NewListDeploymentVersionDependenciesRequest(server string, workspaceId string, deploymentVersionId 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 NewListVariableSetsRequest(server string, workspaceId string, params *ListVariableSetsParams) (*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, variableId string) (*http.Request, error)
- func NewRequestDeploymentVariableUpdateRequest(server string, workspaceId string, variableId string, ...) (*http.Request, error)
- func NewRequestDeploymentVariableUpdateRequestWithBody(server string, workspaceId string, variableId string, contentType string, ...) (*http.Request, error)
- func NewRequestDeploymentVariableValueDeletionRequest(server string, workspaceId string, valueId string) (*http.Request, error)
- func NewRequestDeploymentVariableValueUpsertRequest(server string, workspaceId string, valueId string, ...) (*http.Request, error)
- func NewRequestDeploymentVariableValueUpsertRequestWithBody(server string, workspaceId string, valueId string, contentType string, ...) (*http.Request, error)
- func NewRequestDeploymentVersionDependencyDeletionRequest(server string, workspaceId string, deploymentVersionId string, ...) (*http.Request, error)
- func NewRequestDeploymentVersionDependencyUpsertRequest(server string, workspaceId string, deploymentVersionId string, ...) (*http.Request, error)
- func NewRequestDeploymentVersionDependencyUpsertRequestWithBody(server string, workspaceId string, deploymentVersionId 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 NewSearchResourcesRequest(server string, workspaceId string, body SearchResourcesJSONRequestBody) (*http.Request, error)
- func NewSearchResourcesRequestWithBody(server string, workspaceId string, contentType string, body io.Reader) (*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 NewUpdateVariableSetRequest(server string, workspaceId string, variableSetId string, ...) (*http.Request, error)
- func NewUpdateVariableSetRequestWithBody(server string, workspaceId string, variableSetId string, contentType 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)
- func NewUpsertResourceByIdentifierRequest(server string, workspaceId string, identifier string, ...) (*http.Request, error)
- func NewUpsertResourceByIdentifierRequestWithBody(server string, workspaceId string, identifier string, contentType string, ...) (*http.Request, error)
- type AnyApprovalRule
- type ApprovalStatus
- type BooleanValue
- type Client
- func (c *Client) CreateDeploymentPlan(ctx context.Context, workspaceId string, deploymentId string, ...) (*http.Response, error)
- func (c *Client) CreateDeploymentPlanWithBody(ctx context.Context, workspaceId string, deploymentId string, ...) (*http.Response, error)
- 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) CreateVariableSet(ctx context.Context, workspaceId string, body CreateVariableSetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateVariableSetWithBody(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) CreateWorkflowRun(ctx context.Context, workspaceId string, workflowId string, ...) (*http.Response, error)
- func (c *Client) CreateWorkflowRunWithBody(ctx context.Context, workspaceId string, workflowId string, contentType string, ...) (*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) DeleteResourceProviderByName(ctx context.Context, workspaceId string, name string, ...) (*http.Response, error)
- func (c *Client) DeleteVariableSet(ctx context.Context, workspaceId string, variableSetId 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) GetDeploymentByName(ctx context.Context, workspaceId string, name string, ...) (*http.Response, error)
- func (c *Client) GetDeploymentPlan(ctx context.Context, workspaceId string, deploymentId string, planId 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, variableId string, ...) (*http.Response, error)
- func (c *Client) GetDeploymentVariableValue(ctx context.Context, workspaceId string, valueId 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) GetEnvironmentByName(ctx context.Context, workspaceId string, name 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) GetRelationshipRules(ctx context.Context, workspaceId string, params *GetRelationshipRulesParams, ...) (*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) GetReleaseTargetStates(ctx context.Context, workspaceId string, params *GetReleaseTargetStatesParams, ...) (*http.Response, error)
- func (c *Client) GetReleaseTargetStatesWithBody(ctx context.Context, workspaceId string, params *GetReleaseTargetStatesParams, ...) (*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) GetResourceProviderResources(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) GetVariableSet(ctx context.Context, workspaceId string, variableSetId 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) ListDeploymentVariablesByDeployment(ctx context.Context, workspaceId string, deploymentId string, ...) (*http.Response, error)
- func (c *Client) ListDeploymentVersionDependencies(ctx context.Context, workspaceId string, deploymentVersionId 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) ListVariableSets(ctx context.Context, workspaceId string, params *ListVariableSetsParams, ...) (*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, variableId string, ...) (*http.Response, error)
- func (c *Client) RequestDeploymentVariableUpdate(ctx context.Context, workspaceId string, variableId string, ...) (*http.Response, error)
- func (c *Client) RequestDeploymentVariableUpdateWithBody(ctx context.Context, workspaceId string, variableId string, contentType string, ...) (*http.Response, error)
- func (c *Client) RequestDeploymentVariableValueDeletion(ctx context.Context, workspaceId string, valueId string, ...) (*http.Response, error)
- func (c *Client) RequestDeploymentVariableValueUpsert(ctx context.Context, workspaceId string, valueId string, ...) (*http.Response, error)
- func (c *Client) RequestDeploymentVariableValueUpsertWithBody(ctx context.Context, workspaceId string, valueId string, contentType string, ...) (*http.Response, error)
- func (c *Client) RequestDeploymentVersionDependencyDeletion(ctx context.Context, workspaceId string, deploymentVersionId string, ...) (*http.Response, error)
- func (c *Client) RequestDeploymentVersionDependencyUpsert(ctx context.Context, workspaceId string, deploymentVersionId string, ...) (*http.Response, error)
- func (c *Client) RequestDeploymentVersionDependencyUpsertWithBody(ctx context.Context, workspaceId string, deploymentVersionId 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) SearchResources(ctx context.Context, workspaceId string, body SearchResourcesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SearchResourcesWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, ...) (*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) UpdateVariableSet(ctx context.Context, workspaceId string, variableSetId string, ...) (*http.Response, error)
- func (c *Client) UpdateVariableSetWithBody(ctx context.Context, workspaceId string, variableSetId 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)
- func (c *Client) UpsertResourceByIdentifier(ctx context.Context, workspaceId string, identifier string, ...) (*http.Response, error)
- func (c *Client) UpsertResourceByIdentifierWithBody(ctx context.Context, workspaceId string, identifier string, contentType string, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) CreateDeploymentPlanWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentId string, ...) (*CreateDeploymentPlanResponse, error)
- func (c *ClientWithResponses) CreateDeploymentPlanWithResponse(ctx context.Context, workspaceId string, deploymentId string, ...) (*CreateDeploymentPlanResponse, error)
- 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) CreateVariableSetWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, ...) (*CreateVariableSetResponse, error)
- func (c *ClientWithResponses) CreateVariableSetWithResponse(ctx context.Context, workspaceId string, body CreateVariableSetJSONRequestBody, ...) (*CreateVariableSetResponse, error)
- func (c *ClientWithResponses) CreateWorkflowRunWithBodyWithResponse(ctx context.Context, workspaceId string, workflowId string, contentType string, ...) (*CreateWorkflowRunResponse, error)
- func (c *ClientWithResponses) CreateWorkflowRunWithResponse(ctx context.Context, workspaceId string, workflowId string, ...) (*CreateWorkflowRunResponse, 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) DeleteResourceProviderByNameWithResponse(ctx context.Context, workspaceId string, name string, ...) (*DeleteResourceProviderByNameResponse, error)
- func (c *ClientWithResponses) DeleteVariableSetWithResponse(ctx context.Context, workspaceId string, variableSetId string, ...) (*DeleteVariableSetResponse, 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) GetDeploymentByNameWithResponse(ctx context.Context, workspaceId string, name string, ...) (*GetDeploymentByNameResponse, error)
- func (c *ClientWithResponses) GetDeploymentPlanWithResponse(ctx context.Context, workspaceId string, deploymentId string, planId string, ...) (*GetDeploymentPlanResponse, 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, valueId string, ...) (*GetDeploymentVariableValueResponse, error)
- func (c *ClientWithResponses) GetDeploymentVariableWithResponse(ctx context.Context, workspaceId string, variableId 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) GetEnvironmentByNameWithResponse(ctx context.Context, workspaceId string, name string, ...) (*GetEnvironmentByNameResponse, 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) GetRelationshipRulesWithResponse(ctx context.Context, workspaceId string, params *GetRelationshipRulesParams, ...) (*GetRelationshipRulesResponse, 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) GetReleaseTargetStatesWithBodyWithResponse(ctx context.Context, workspaceId string, params *GetReleaseTargetStatesParams, ...) (*GetReleaseTargetStatesResponse, error)
- func (c *ClientWithResponses) GetReleaseTargetStatesWithResponse(ctx context.Context, workspaceId string, params *GetReleaseTargetStatesParams, ...) (*GetReleaseTargetStatesResponse, 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) GetResourceProviderResourcesWithResponse(ctx context.Context, workspaceId string, name string, ...) (*GetResourceProviderResourcesResponse, error)
- func (c *ClientWithResponses) GetSystemWithResponse(ctx context.Context, workspaceId string, systemId string, ...) (*GetSystemResponse, error)
- func (c *ClientWithResponses) GetVariableSetWithResponse(ctx context.Context, workspaceId string, variableSetId string, ...) (*GetVariableSetResponse, 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) ListDeploymentVariablesByDeploymentWithResponse(ctx context.Context, workspaceId string, deploymentId string, ...) (*ListDeploymentVariablesByDeploymentResponse, error)
- func (c *ClientWithResponses) ListDeploymentVersionDependenciesWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, ...) (*ListDeploymentVersionDependenciesResponse, 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) ListVariableSetsWithResponse(ctx context.Context, workspaceId string, params *ListVariableSetsParams, ...) (*ListVariableSetsResponse, 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, variableId string, ...) (*RequestDeploymentVariableDeletionResponse, error)
- func (c *ClientWithResponses) RequestDeploymentVariableUpdateWithBodyWithResponse(ctx context.Context, workspaceId string, variableId string, contentType string, ...) (*RequestDeploymentVariableUpdateResponse, error)
- func (c *ClientWithResponses) RequestDeploymentVariableUpdateWithResponse(ctx context.Context, workspaceId string, variableId string, ...) (*RequestDeploymentVariableUpdateResponse, error)
- func (c *ClientWithResponses) RequestDeploymentVariableValueDeletionWithResponse(ctx context.Context, workspaceId string, valueId string, ...) (*RequestDeploymentVariableValueDeletionResponse, error)
- func (c *ClientWithResponses) RequestDeploymentVariableValueUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, valueId string, contentType string, ...) (*RequestDeploymentVariableValueUpsertResponse, error)
- func (c *ClientWithResponses) RequestDeploymentVariableValueUpsertWithResponse(ctx context.Context, workspaceId string, valueId string, ...) (*RequestDeploymentVariableValueUpsertResponse, error)
- func (c *ClientWithResponses) RequestDeploymentVersionDependencyDeletionWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, ...) (*RequestDeploymentVersionDependencyDeletionResponse, error)
- func (c *ClientWithResponses) RequestDeploymentVersionDependencyUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, ...) (*RequestDeploymentVersionDependencyUpsertResponse, error)
- func (c *ClientWithResponses) RequestDeploymentVersionDependencyUpsertWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, ...) (*RequestDeploymentVersionDependencyUpsertResponse, 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) SearchResourcesWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, ...) (*SearchResourcesResponse, error)
- func (c *ClientWithResponses) SearchResourcesWithResponse(ctx context.Context, workspaceId string, body SearchResourcesJSONRequestBody, ...) (*SearchResourcesResponse, 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) UpdateVariableSetWithBodyWithResponse(ctx context.Context, workspaceId string, variableSetId string, ...) (*UpdateVariableSetResponse, error)
- func (c *ClientWithResponses) UpdateVariableSetWithResponse(ctx context.Context, workspaceId string, variableSetId string, ...) (*UpdateVariableSetResponse, 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)
- func (c *ClientWithResponses) UpsertResourceByIdentifierWithBodyWithResponse(ctx context.Context, workspaceId string, identifier string, contentType string, ...) (*UpsertResourceByIdentifierResponse, error)
- func (c *ClientWithResponses) UpsertResourceByIdentifierWithResponse(ctx context.Context, workspaceId string, identifier string, ...) (*UpsertResourceByIdentifierResponse, error)
- type ClientWithResponsesInterface
- type CreateDeploymentPlanJSONRequestBody
- type CreateDeploymentPlanRequest
- type CreateDeploymentPlanResponse
- type CreateDeploymentRequest
- type CreateDeploymentVersionJSONRequestBody
- type CreateDeploymentVersionRequest
- type CreateDeploymentVersionResponse
- type CreateEnvironmentRequest
- type CreatePolicyRequest
- type CreatePolicyRule
- type CreateRelationshipRuleJSONRequestBody
- type CreateRelationshipRuleRequest
- type CreateRelationshipRuleResponse
- type CreateSystemRequest
- type CreateVariableSet
- type CreateVariableSetJSONRequestBody
- type CreateVariableSetResponse
- type CreateWorkflow
- type CreateWorkflowJSONRequestBody
- type CreateWorkflowJobAgent
- type CreateWorkflowResponse
- type CreateWorkflowRunJSONBody
- type CreateWorkflowRunJSONRequestBody
- type CreateWorkflowRunResponse
- type CreateWorkspaceJSONRequestBody
- type CreateWorkspaceRequest
- type CreateWorkspaceResponse
- type DatadogMetricProvider
- type DatadogMetricProviderAggregator
- type DatadogMetricProviderType
- type DeleteRelationshipResponse
- type DeleteResourceProviderByNameResponse
- type DeleteVariableSetResponse
- type DeleteWorkflowResponse
- type DeleteWorkspaceResponse
- type Deployment
- type DeploymentAndSystems
- type DeploymentDependencyRule
- type DeploymentPlan
- type DeploymentPlanStatus
- type DeploymentPlanSummary
- type DeploymentPlanTarget
- type DeploymentPlanTargetResult
- type DeploymentPlanTargetResultStatus
- type DeploymentPlanVersion
- type DeploymentRequestAccepted
- type DeploymentVariable
- type DeploymentVariableRequestAccepted
- type DeploymentVariableValue
- type DeploymentVariableValueRequestAccepted
- type DeploymentVariableWithValues
- type DeploymentVersion
- type DeploymentVersionDependency
- 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 GetDeploymentByNameResponse
- type GetDeploymentPlanResponse
- type GetDeploymentResponse
- type GetDeploymentSystemLinkResponse
- type GetDeploymentVariableResponse
- type GetDeploymentVariableValueResponse
- type GetDeploymentsForResourceParams
- type GetDeploymentsForResourceResponse
- type GetEnvironmentByNameResponse
- type GetEnvironmentResponse
- type GetEnvironmentSystemLinkResponse
- type GetJobAgentResponse
- type GetJobResponse
- type GetJobWithReleaseResponse
- type GetJobsForReleaseTargetParams
- type GetJobsForReleaseTargetResponse
- type GetJobsParams
- type GetJobsResponse
- type GetPolicyResponse
- type GetRelationshipRuleResponse
- type GetRelationshipRulesParams
- type GetRelationshipRulesResponse
- type GetReleaseResponse
- type GetReleaseTargetDesiredReleaseResponse
- type GetReleaseTargetForResourceInDeploymentResponse
- type GetReleaseTargetStateParams
- type GetReleaseTargetStateResponse
- type GetReleaseTargetStatesJSONBody
- type GetReleaseTargetStatesJSONRequestBody
- type GetReleaseTargetStatesParams
- type GetReleaseTargetStatesResponse
- type GetResourceByIdentifierResponse
- type GetResourceProviderByNameResponse
- type GetResourceProviderResourcesResponse
- type GetSystemResponse
- type GetVariableSetResponse
- 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 LinkDeploymentToSystemResponse
- type LinkEnvironmentToSystemResponse
- type ListDeploymentVariablesByDeploymentParams
- type ListDeploymentVariablesByDeploymentResponse
- type ListDeploymentVersionDependenciesResponse
- type ListDeploymentVersionsParams
- type ListDeploymentVersionsParamsOrder
- type ListDeploymentVersionsResponse
- type ListDeploymentsParams
- type ListDeploymentsResponse
- type ListEnvironmentsParams
- type ListEnvironmentsResponse
- type ListJobAgentsParams
- type ListJobAgentsResponse
- type ListPoliciesParams
- type ListPoliciesResponse
- type ListResourcesFilters
- type ListResourcesFiltersOrder
- type ListResourcesFiltersSortBy
- type ListSystemsParams
- type ListSystemsResponse
- type ListVariableSetsParams
- type ListVariableSetsResponse
- 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 PlanValidationOpaRule
- type Policy
- type PolicyRule
- type PreviewReleaseTargetsForResourceJSONRequestBody
- type PreviewReleaseTargetsForResourceParams
- type PreviewReleaseTargetsForResourceResponse
- type PrometheusMetricProvider
- type PrometheusMetricProviderType
- type ReferenceValue
- type RelationshipRule
- type Release
- type ReleaseTarget
- type ReleaseTargetPreview
- type ReleaseTargetState
- type ReleaseTargetStateResponse
- type ReleaseTargetStateResponseLatestJobVerificationsStatus
- type ReleaseTargetWithState
- type RequestDeploymentCreationJSONRequestBody
- type RequestDeploymentCreationResponse
- type RequestDeploymentDeletionResponse
- type RequestDeploymentUpsertJSONRequestBody
- type RequestDeploymentUpsertResponse
- type RequestDeploymentVariableDeletionResponse
- type RequestDeploymentVariableUpdateJSONRequestBody
- type RequestDeploymentVariableUpdateResponse
- type RequestDeploymentVariableValueDeletionResponse
- type RequestDeploymentVariableValueUpsertJSONRequestBody
- type RequestDeploymentVariableValueUpsertResponse
- type RequestDeploymentVersionDependencyDeletionResponse
- type RequestDeploymentVersionDependencyUpsertJSONRequestBody
- type RequestDeploymentVersionDependencyUpsertResponse
- 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 SearchResourcesJSONRequestBody
- type SearchResourcesResponse
- type SensitiveValue
- type SetResourceProviderResourcesJSONBody
- type SetResourceProviderResourcesJSONRequestBody
- type SetResourceProviderResourcesResponse
- type SleepMetricProvider
- type SleepMetricProviderType
- type StringValue
- type System
- type SystemDeploymentLink
- type SystemEnvironmentLink
- type SystemRequestAccepted
- type SystemWithLinkedEntities
- type TerraformCloudRunMetricProvider
- type TerraformCloudRunMetricProviderType
- type UnlinkDeploymentFromSystemResponse
- type UnlinkEnvironmentFromSystemResponse
- type UpdateDeploymentVersionRequest
- type UpdateVariableSet
- type UpdateVariableSetJSONRequestBody
- type UpdateVariableSetResponse
- type UpdateWorkflow
- type UpdateWorkflowJSONRequestBody
- type UpdateWorkflowResponse
- type UpdateWorkspaceJSONRequestBody
- type UpdateWorkspaceRequest
- type UpdateWorkspaceResponse
- type UpsertDeploymentRequest
- type UpsertDeploymentVariableRequest
- type UpsertDeploymentVariableValueRequest
- type UpsertDeploymentVersionDependencyRequest
- type UpsertEnvironmentRequest
- type UpsertJobAgentRequest
- type UpsertPolicyRequest
- type UpsertPolicyRule
- type UpsertRelationshipRuleRequest
- type UpsertResourceByIdentifierJSONRequestBody
- type UpsertResourceByIdentifierResponse
- type UpsertResourceProviderRequest
- type UpsertResourceRequest
- 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 VariableSet
- type VariableSetVariable
- type VariableSetWithVariables
- type VerificationMeasurement
- type VerificationMeasurementStatus
- type VerificationMetricSpec
- type VerificationMetricStatus
- type VerificationRule
- type VerificationRuleTriggerOn
- type VersionCooldownRule
- type VersionSelectorRule
- 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 WorkflowJobAgent
- 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 NewCreateDeploymentPlanRequest ¶ added in v1.6.5
func NewCreateDeploymentPlanRequest(server string, workspaceId string, deploymentId string, body CreateDeploymentPlanJSONRequestBody) (*http.Request, error)
NewCreateDeploymentPlanRequest calls the generic CreateDeploymentPlan builder with application/json body
func NewCreateDeploymentPlanRequestWithBody ¶ added in v1.6.5
func NewCreateDeploymentPlanRequestWithBody(server string, workspaceId string, deploymentId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateDeploymentPlanRequestWithBody generates requests for CreateDeploymentPlan with any type of body
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 NewCreateVariableSetRequest ¶ added in v1.9.0
func NewCreateVariableSetRequest(server string, workspaceId string, body CreateVariableSetJSONRequestBody) (*http.Request, error)
NewCreateVariableSetRequest calls the generic CreateVariableSet builder with application/json body
func NewCreateVariableSetRequestWithBody ¶ added in v1.9.0
func NewCreateVariableSetRequestWithBody(server string, workspaceId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateVariableSetRequestWithBody generates requests for CreateVariableSet 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 NewCreateWorkflowRunRequest ¶ added in v1.8.0
func NewCreateWorkflowRunRequest(server string, workspaceId string, workflowId string, body CreateWorkflowRunJSONRequestBody) (*http.Request, error)
NewCreateWorkflowRunRequest calls the generic CreateWorkflowRun builder with application/json body
func NewCreateWorkflowRunRequestWithBody ¶ added in v1.8.0
func NewCreateWorkflowRunRequestWithBody(server string, workspaceId string, workflowId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateWorkflowRunRequestWithBody generates requests for CreateWorkflowRun 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 NewDeleteResourceProviderByNameRequest ¶ added in v1.6.5
func NewDeleteResourceProviderByNameRequest(server string, workspaceId string, name string) (*http.Request, error)
NewDeleteResourceProviderByNameRequest generates requests for DeleteResourceProviderByName
func NewDeleteVariableSetRequest ¶ added in v1.9.0
func NewDeleteVariableSetRequest(server string, workspaceId string, variableSetId string) (*http.Request, error)
NewDeleteVariableSetRequest generates requests for DeleteVariableSet
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 NewGetDeploymentByNameRequest ¶ added in v1.12.0
func NewGetDeploymentByNameRequest(server string, workspaceId string, name string) (*http.Request, error)
NewGetDeploymentByNameRequest generates requests for GetDeploymentByName
func NewGetDeploymentPlanRequest ¶ added in v1.6.5
func NewGetDeploymentPlanRequest(server string, workspaceId string, deploymentId string, planId string) (*http.Request, error)
NewGetDeploymentPlanRequest generates requests for GetDeploymentPlan
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, variableId string) (*http.Request, error)
NewGetDeploymentVariableRequest generates requests for GetDeploymentVariable
func NewGetDeploymentVariableValueRequest ¶
func NewGetDeploymentVariableValueRequest(server string, workspaceId 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 NewGetEnvironmentByNameRequest ¶ added in v1.12.0
func NewGetEnvironmentByNameRequest(server string, workspaceId string, name string) (*http.Request, error)
NewGetEnvironmentByNameRequest generates requests for GetEnvironmentByName
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 NewGetRelationshipRulesRequest ¶ added in v1.5.1
func NewGetRelationshipRulesRequest(server string, workspaceId string, params *GetRelationshipRulesParams) (*http.Request, error)
NewGetRelationshipRulesRequest generates requests for GetRelationshipRules
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 NewGetReleaseTargetStatesRequest ¶ added in v1.6.4
func NewGetReleaseTargetStatesRequest(server string, workspaceId string, params *GetReleaseTargetStatesParams, body GetReleaseTargetStatesJSONRequestBody) (*http.Request, error)
NewGetReleaseTargetStatesRequest calls the generic GetReleaseTargetStates builder with application/json body
func NewGetReleaseTargetStatesRequestWithBody ¶ added in v1.6.4
func NewGetReleaseTargetStatesRequestWithBody(server string, workspaceId string, params *GetReleaseTargetStatesParams, contentType string, body io.Reader) (*http.Request, error)
NewGetReleaseTargetStatesRequestWithBody generates requests for GetReleaseTargetStates with any type of body
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 NewGetResourceProviderResourcesRequest ¶ added in v1.6.5
func NewGetResourceProviderResourcesRequest(server string, workspaceId string, name string) (*http.Request, error)
NewGetResourceProviderResourcesRequest generates requests for GetResourceProviderResources
func NewGetSystemRequest ¶
NewGetSystemRequest generates requests for GetSystem
func NewGetVariableSetRequest ¶ added in v1.9.0
func NewGetVariableSetRequest(server string, workspaceId string, variableSetId string) (*http.Request, error)
NewGetVariableSetRequest generates requests for GetVariableSet
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 NewListDeploymentVariablesByDeploymentRequest ¶ added in v1.6.1
func NewListDeploymentVariablesByDeploymentRequest(server string, workspaceId string, deploymentId string, params *ListDeploymentVariablesByDeploymentParams) (*http.Request, error)
NewListDeploymentVariablesByDeploymentRequest generates requests for ListDeploymentVariablesByDeployment
func NewListDeploymentVersionDependenciesRequest ¶ added in v1.12.0
func NewListDeploymentVersionDependenciesRequest(server string, workspaceId string, deploymentVersionId string) (*http.Request, error)
NewListDeploymentVersionDependenciesRequest generates requests for ListDeploymentVersionDependencies
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 NewListVariableSetsRequest ¶ added in v1.9.0
func NewListVariableSetsRequest(server string, workspaceId string, params *ListVariableSetsParams) (*http.Request, error)
NewListVariableSetsRequest generates requests for ListVariableSets
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, variableId string) (*http.Request, error)
NewRequestDeploymentVariableDeletionRequest generates requests for RequestDeploymentVariableDeletion
func NewRequestDeploymentVariableUpdateRequest ¶
func NewRequestDeploymentVariableUpdateRequest(server string, workspaceId 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, 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, valueId string) (*http.Request, error)
NewRequestDeploymentVariableValueDeletionRequest generates requests for RequestDeploymentVariableValueDeletion
func NewRequestDeploymentVariableValueUpsertRequest ¶ added in v1.2.0
func NewRequestDeploymentVariableValueUpsertRequest(server string, workspaceId 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, valueId string, contentType string, body io.Reader) (*http.Request, error)
NewRequestDeploymentVariableValueUpsertRequestWithBody generates requests for RequestDeploymentVariableValueUpsert with any type of body
func NewRequestDeploymentVersionDependencyDeletionRequest ¶ added in v1.12.0
func NewRequestDeploymentVersionDependencyDeletionRequest(server string, workspaceId string, deploymentVersionId string, dependencyDeploymentId string) (*http.Request, error)
NewRequestDeploymentVersionDependencyDeletionRequest generates requests for RequestDeploymentVersionDependencyDeletion
func NewRequestDeploymentVersionDependencyUpsertRequest ¶ added in v1.12.0
func NewRequestDeploymentVersionDependencyUpsertRequest(server string, workspaceId string, deploymentVersionId string, dependencyDeploymentId string, body RequestDeploymentVersionDependencyUpsertJSONRequestBody) (*http.Request, error)
NewRequestDeploymentVersionDependencyUpsertRequest calls the generic RequestDeploymentVersionDependencyUpsert builder with application/json body
func NewRequestDeploymentVersionDependencyUpsertRequestWithBody ¶ added in v1.12.0
func NewRequestDeploymentVersionDependencyUpsertRequestWithBody(server string, workspaceId string, deploymentVersionId string, dependencyDeploymentId string, contentType string, body io.Reader) (*http.Request, error)
NewRequestDeploymentVersionDependencyUpsertRequestWithBody generates requests for RequestDeploymentVersionDependencyUpsert 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 NewSearchResourcesRequest ¶ added in v1.10.0
func NewSearchResourcesRequest(server string, workspaceId string, body SearchResourcesJSONRequestBody) (*http.Request, error)
NewSearchResourcesRequest calls the generic SearchResources builder with application/json body
func NewSearchResourcesRequestWithBody ¶ added in v1.10.0
func NewSearchResourcesRequestWithBody(server string, workspaceId string, contentType string, body io.Reader) (*http.Request, error)
NewSearchResourcesRequestWithBody generates requests for SearchResources 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 NewUpdateVariableSetRequest ¶ added in v1.9.0
func NewUpdateVariableSetRequest(server string, workspaceId string, variableSetId string, body UpdateVariableSetJSONRequestBody) (*http.Request, error)
NewUpdateVariableSetRequest calls the generic UpdateVariableSet builder with application/json body
func NewUpdateVariableSetRequestWithBody ¶ added in v1.9.0
func NewUpdateVariableSetRequestWithBody(server string, workspaceId string, variableSetId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateVariableSetRequestWithBody generates requests for UpdateVariableSet with any type of body
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
func NewUpdateWorkspaceRequestWithBody ¶
func NewUpdateWorkspaceRequestWithBody(server string, workspaceId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateWorkspaceRequestWithBody generates requests for UpdateWorkspace with any type of body
func NewUpsertResourceByIdentifierRequest ¶ added in v1.8.0
func NewUpsertResourceByIdentifierRequest(server string, workspaceId string, identifier string, body UpsertResourceByIdentifierJSONRequestBody) (*http.Request, error)
NewUpsertResourceByIdentifierRequest calls the generic UpsertResourceByIdentifier builder with application/json body
func NewUpsertResourceByIdentifierRequestWithBody ¶ added in v1.8.0
func NewUpsertResourceByIdentifierRequestWithBody(server string, workspaceId string, identifier string, contentType string, body io.Reader) (*http.Request, error)
NewUpsertResourceByIdentifierRequestWithBody generates requests for UpsertResourceByIdentifier with any type of body
Types ¶
type AnyApprovalRule ¶
type AnyApprovalRule struct {
MinApprovals int32 `json:"minApprovals"`
}
AnyApprovalRule defines model for AnyApprovalRule.
type ApprovalStatus ¶
type ApprovalStatus string
ApprovalStatus defines model for ApprovalStatus.
const ( ApprovalStatusApproved ApprovalStatus = "approved" ApprovalStatusRejected ApprovalStatus = "rejected" )
Defines values for ApprovalStatus.
type 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) CreateDeploymentPlan ¶ added in v1.6.5
func (c *Client) CreateDeploymentPlan(ctx context.Context, workspaceId string, deploymentId string, body CreateDeploymentPlanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateDeploymentPlanWithBody ¶ added in v1.6.5
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) CreateVariableSet ¶ added in v1.9.0
func (c *Client) CreateVariableSet(ctx context.Context, workspaceId string, body CreateVariableSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateVariableSetWithBody ¶ added in v1.9.0
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) CreateWorkflowRun ¶ added in v1.8.0
func (c *Client) CreateWorkflowRun(ctx context.Context, workspaceId string, workflowId string, body CreateWorkflowRunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateWorkflowRunWithBody ¶ added in v1.8.0
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) DeleteResourceProviderByName ¶ added in v1.6.5
func (*Client) DeleteVariableSet ¶ added in v1.9.0
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) GetDeploymentByName ¶ added in v1.12.0
func (*Client) GetDeploymentPlan ¶ added in v1.6.5
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) GetEnvironmentByName ¶ added in v1.12.0
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) GetRelationshipRules ¶ added in v1.5.1
func (c *Client) GetRelationshipRules(ctx context.Context, workspaceId string, params *GetRelationshipRulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
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) GetReleaseTargetStates ¶ added in v1.6.4
func (c *Client) GetReleaseTargetStates(ctx context.Context, workspaceId string, params *GetReleaseTargetStatesParams, body GetReleaseTargetStatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetReleaseTargetStatesWithBody ¶ added in v1.6.4
func (*Client) GetResourceByIdentifier ¶
func (*Client) GetResourceProviderByName ¶
func (*Client) GetResourceProviderResources ¶ added in v1.6.5
func (*Client) GetVariableSet ¶ added in v1.9.0
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) ListDeploymentVariablesByDeployment ¶ added in v1.6.1
func (c *Client) ListDeploymentVariablesByDeployment(ctx context.Context, workspaceId string, deploymentId string, params *ListDeploymentVariablesByDeploymentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListDeploymentVersionDependencies ¶ added in v1.12.0
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) ListVariableSets ¶ added in v1.9.0
func (c *Client) ListVariableSets(ctx context.Context, workspaceId string, params *ListVariableSetsParams, 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 (c *Client) RequestDeploymentVariableUpdate(ctx context.Context, workspaceId string, variableId string, body RequestDeploymentVariableUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RequestDeploymentVariableUpdateWithBody ¶
func (*Client) RequestDeploymentVariableValueDeletion ¶
func (*Client) RequestDeploymentVariableValueUpsert ¶ added in v1.2.0
func (c *Client) RequestDeploymentVariableValueUpsert(ctx context.Context, workspaceId string, valueId string, body RequestDeploymentVariableValueUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RequestDeploymentVariableValueUpsertWithBody ¶ added in v1.2.0
func (*Client) RequestDeploymentVersionDependencyDeletion ¶ added in v1.12.0
func (*Client) RequestDeploymentVersionDependencyUpsert ¶ added in v1.12.0
func (*Client) RequestDeploymentVersionDependencyUpsertWithBody ¶ added in v1.12.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) SearchResources ¶ added in v1.10.0
func (c *Client) SearchResources(ctx context.Context, workspaceId string, body SearchResourcesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SearchResourcesWithBody ¶ added in v1.10.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) UpdateVariableSet ¶ added in v1.9.0
func (c *Client) UpdateVariableSet(ctx context.Context, workspaceId string, variableSetId string, body UpdateVariableSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateVariableSetWithBody ¶ added in v1.9.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 ¶
func (*Client) UpsertResourceByIdentifier ¶ added in v1.8.0
func (c *Client) UpsertResourceByIdentifier(ctx context.Context, workspaceId string, identifier string, body UpsertResourceByIdentifierJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface {
// ListWorkspaces request
ListWorkspaces(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateWorkspaceWithBody request with any body
CreateWorkspaceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateWorkspace(ctx context.Context, body CreateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWorkspaceBySlug request
GetWorkspaceBySlug(ctx context.Context, workspaceSlug string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteWorkspace request
DeleteWorkspace(ctx context.Context, workspaceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWorkspace request
GetWorkspace(ctx context.Context, workspaceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateWorkspaceWithBody request with any body
UpdateWorkspaceWithBody(ctx context.Context, workspaceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateWorkspace(ctx context.Context, workspaceId openapi_types.UUID, body UpdateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RequestDeploymentVariableValueDeletion request
RequestDeploymentVariableValueDeletion(ctx context.Context, workspaceId string, valueId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDeploymentVariableValue request
GetDeploymentVariableValue(ctx context.Context, workspaceId string, valueId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RequestDeploymentVariableValueUpsertWithBody request with any body
RequestDeploymentVariableValueUpsertWithBody(ctx context.Context, workspaceId string, valueId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RequestDeploymentVariableValueUpsert(ctx context.Context, workspaceId string, valueId string, body RequestDeploymentVariableValueUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RequestDeploymentVariableDeletion request
RequestDeploymentVariableDeletion(ctx context.Context, workspaceId string, variableId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDeploymentVariable request
GetDeploymentVariable(ctx context.Context, workspaceId string, variableId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RequestDeploymentVariableUpdateWithBody request with any body
RequestDeploymentVariableUpdateWithBody(ctx context.Context, workspaceId string, variableId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RequestDeploymentVariableUpdate(ctx context.Context, workspaceId string, variableId string, body RequestDeploymentVariableUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDeploymentVersionDependencies request
ListDeploymentVersionDependencies(ctx context.Context, workspaceId string, deploymentVersionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RequestDeploymentVersionDependencyDeletion request
RequestDeploymentVersionDependencyDeletion(ctx context.Context, workspaceId string, deploymentVersionId string, dependencyDeploymentId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RequestDeploymentVersionDependencyUpsertWithBody request with any body
RequestDeploymentVersionDependencyUpsertWithBody(ctx context.Context, workspaceId string, deploymentVersionId string, dependencyDeploymentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RequestDeploymentVersionDependencyUpsert(ctx context.Context, workspaceId string, deploymentVersionId string, dependencyDeploymentId string, body RequestDeploymentVersionDependencyUpsertJSONRequestBody, 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)
// GetDeploymentByName request
GetDeploymentByName(ctx context.Context, workspaceId string, name string, 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)
// CreateDeploymentPlanWithBody request with any body
CreateDeploymentPlanWithBody(ctx context.Context, workspaceId string, deploymentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDeploymentPlan(ctx context.Context, workspaceId string, deploymentId string, body CreateDeploymentPlanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDeploymentPlan request
GetDeploymentPlan(ctx context.Context, workspaceId string, deploymentId string, planId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDeploymentVariablesByDeployment request
ListDeploymentVariablesByDeployment(ctx context.Context, workspaceId string, deploymentId string, params *ListDeploymentVariablesByDeploymentParams, 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)
// GetEnvironmentByName request
GetEnvironmentByName(ctx context.Context, workspaceId string, name string, 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)
// GetRelationshipRules request
GetRelationshipRules(ctx context.Context, workspaceId string, params *GetRelationshipRulesParams, 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)
// GetReleaseTargetStatesWithBody request with any body
GetReleaseTargetStatesWithBody(ctx context.Context, workspaceId string, params *GetReleaseTargetStatesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetReleaseTargetStates(ctx context.Context, workspaceId string, params *GetReleaseTargetStatesParams, body GetReleaseTargetStatesJSONRequestBody, 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)
// DeleteResourceProviderByName request
DeleteResourceProviderByName(ctx context.Context, workspaceId string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetResourceProviderByName request
GetResourceProviderByName(ctx context.Context, workspaceId string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetResourceProviderResources request
GetResourceProviderResources(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)
// UpsertResourceByIdentifierWithBody request with any body
UpsertResourceByIdentifierWithBody(ctx context.Context, workspaceId string, identifier string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertResourceByIdentifier(ctx context.Context, workspaceId string, identifier string, body UpsertResourceByIdentifierJSONRequestBody, 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)
// SearchResourcesWithBody request with any body
SearchResourcesWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SearchResources(ctx context.Context, workspaceId string, body SearchResourcesJSONRequestBody, 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)
// ListVariableSets request
ListVariableSets(ctx context.Context, workspaceId string, params *ListVariableSetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVariableSetWithBody request with any body
CreateVariableSetWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVariableSet(ctx context.Context, workspaceId string, body CreateVariableSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteVariableSet request
DeleteVariableSet(ctx context.Context, workspaceId string, variableSetId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVariableSet request
GetVariableSet(ctx context.Context, workspaceId string, variableSetId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateVariableSetWithBody request with any body
UpdateVariableSetWithBody(ctx context.Context, workspaceId string, variableSetId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateVariableSet(ctx context.Context, workspaceId string, variableSetId string, body UpdateVariableSetJSONRequestBody, 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)
// CreateWorkflowRunWithBody request with any body
CreateWorkflowRunWithBody(ctx context.Context, workspaceId string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateWorkflowRun(ctx context.Context, workspaceId string, workflowId string, body CreateWorkflowRunJSONRequestBody, 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) CreateDeploymentPlanWithBodyWithResponse ¶ added in v1.6.5
func (c *ClientWithResponses) CreateDeploymentPlanWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDeploymentPlanResponse, error)
CreateDeploymentPlanWithBodyWithResponse request with arbitrary body returning *CreateDeploymentPlanResponse
func (*ClientWithResponses) CreateDeploymentPlanWithResponse ¶ added in v1.6.5
func (c *ClientWithResponses) CreateDeploymentPlanWithResponse(ctx context.Context, workspaceId string, deploymentId string, body CreateDeploymentPlanJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDeploymentPlanResponse, error)
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) CreateVariableSetWithBodyWithResponse ¶ added in v1.9.0
func (c *ClientWithResponses) CreateVariableSetWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVariableSetResponse, error)
CreateVariableSetWithBodyWithResponse request with arbitrary body returning *CreateVariableSetResponse
func (*ClientWithResponses) CreateVariableSetWithResponse ¶ added in v1.9.0
func (c *ClientWithResponses) CreateVariableSetWithResponse(ctx context.Context, workspaceId string, body CreateVariableSetJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVariableSetResponse, error)
func (*ClientWithResponses) CreateWorkflowRunWithBodyWithResponse ¶ added in v1.8.0
func (c *ClientWithResponses) CreateWorkflowRunWithBodyWithResponse(ctx context.Context, workspaceId string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkflowRunResponse, error)
CreateWorkflowRunWithBodyWithResponse request with arbitrary body returning *CreateWorkflowRunResponse
func (*ClientWithResponses) CreateWorkflowRunWithResponse ¶ added in v1.8.0
func (c *ClientWithResponses) CreateWorkflowRunWithResponse(ctx context.Context, workspaceId string, workflowId string, body CreateWorkflowRunJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWorkflowRunResponse, 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) DeleteResourceProviderByNameWithResponse ¶ added in v1.6.5
func (c *ClientWithResponses) DeleteResourceProviderByNameWithResponse(ctx context.Context, workspaceId string, name string, reqEditors ...RequestEditorFn) (*DeleteResourceProviderByNameResponse, error)
DeleteResourceProviderByNameWithResponse request returning *DeleteResourceProviderByNameResponse
func (*ClientWithResponses) DeleteVariableSetWithResponse ¶ added in v1.9.0
func (c *ClientWithResponses) DeleteVariableSetWithResponse(ctx context.Context, workspaceId string, variableSetId string, reqEditors ...RequestEditorFn) (*DeleteVariableSetResponse, error)
DeleteVariableSetWithResponse request returning *DeleteVariableSetResponse
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) GetDeploymentByNameWithResponse ¶ added in v1.12.0
func (c *ClientWithResponses) GetDeploymentByNameWithResponse(ctx context.Context, workspaceId string, name string, reqEditors ...RequestEditorFn) (*GetDeploymentByNameResponse, error)
GetDeploymentByNameWithResponse request returning *GetDeploymentByNameResponse
func (*ClientWithResponses) GetDeploymentPlanWithResponse ¶ added in v1.6.5
func (c *ClientWithResponses) GetDeploymentPlanWithResponse(ctx context.Context, workspaceId string, deploymentId string, planId string, reqEditors ...RequestEditorFn) (*GetDeploymentPlanResponse, error)
GetDeploymentPlanWithResponse request returning *GetDeploymentPlanResponse
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, valueId string, reqEditors ...RequestEditorFn) (*GetDeploymentVariableValueResponse, error)
GetDeploymentVariableValueWithResponse request returning *GetDeploymentVariableValueResponse
func (*ClientWithResponses) GetDeploymentVariableWithResponse ¶
func (c *ClientWithResponses) GetDeploymentVariableWithResponse(ctx context.Context, workspaceId 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) GetEnvironmentByNameWithResponse ¶ added in v1.12.0
func (c *ClientWithResponses) GetEnvironmentByNameWithResponse(ctx context.Context, workspaceId string, name string, reqEditors ...RequestEditorFn) (*GetEnvironmentByNameResponse, error)
GetEnvironmentByNameWithResponse request returning *GetEnvironmentByNameResponse
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) GetRelationshipRulesWithResponse ¶ added in v1.5.1
func (c *ClientWithResponses) GetRelationshipRulesWithResponse(ctx context.Context, workspaceId string, params *GetRelationshipRulesParams, reqEditors ...RequestEditorFn) (*GetRelationshipRulesResponse, error)
GetRelationshipRulesWithResponse request returning *GetRelationshipRulesResponse
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) GetReleaseTargetStatesWithBodyWithResponse ¶ added in v1.6.4
func (c *ClientWithResponses) GetReleaseTargetStatesWithBodyWithResponse(ctx context.Context, workspaceId string, params *GetReleaseTargetStatesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetReleaseTargetStatesResponse, error)
GetReleaseTargetStatesWithBodyWithResponse request with arbitrary body returning *GetReleaseTargetStatesResponse
func (*ClientWithResponses) GetReleaseTargetStatesWithResponse ¶ added in v1.6.4
func (c *ClientWithResponses) GetReleaseTargetStatesWithResponse(ctx context.Context, workspaceId string, params *GetReleaseTargetStatesParams, body GetReleaseTargetStatesJSONRequestBody, reqEditors ...RequestEditorFn) (*GetReleaseTargetStatesResponse, error)
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) GetResourceProviderResourcesWithResponse ¶ added in v1.6.5
func (c *ClientWithResponses) GetResourceProviderResourcesWithResponse(ctx context.Context, workspaceId string, name string, reqEditors ...RequestEditorFn) (*GetResourceProviderResourcesResponse, error)
GetResourceProviderResourcesWithResponse request returning *GetResourceProviderResourcesResponse
func (*ClientWithResponses) GetSystemWithResponse ¶
func (c *ClientWithResponses) GetSystemWithResponse(ctx context.Context, workspaceId string, systemId string, reqEditors ...RequestEditorFn) (*GetSystemResponse, error)
GetSystemWithResponse request returning *GetSystemResponse
func (*ClientWithResponses) GetVariableSetWithResponse ¶ added in v1.9.0
func (c *ClientWithResponses) GetVariableSetWithResponse(ctx context.Context, workspaceId string, variableSetId string, reqEditors ...RequestEditorFn) (*GetVariableSetResponse, error)
GetVariableSetWithResponse request returning *GetVariableSetResponse
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) ListDeploymentVariablesByDeploymentWithResponse ¶ added in v1.6.1
func (c *ClientWithResponses) ListDeploymentVariablesByDeploymentWithResponse(ctx context.Context, workspaceId string, deploymentId string, params *ListDeploymentVariablesByDeploymentParams, reqEditors ...RequestEditorFn) (*ListDeploymentVariablesByDeploymentResponse, error)
ListDeploymentVariablesByDeploymentWithResponse request returning *ListDeploymentVariablesByDeploymentResponse
func (*ClientWithResponses) ListDeploymentVersionDependenciesWithResponse ¶ added in v1.12.0
func (c *ClientWithResponses) ListDeploymentVersionDependenciesWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, reqEditors ...RequestEditorFn) (*ListDeploymentVersionDependenciesResponse, error)
ListDeploymentVersionDependenciesWithResponse request returning *ListDeploymentVersionDependenciesResponse
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) ListVariableSetsWithResponse ¶ added in v1.9.0
func (c *ClientWithResponses) ListVariableSetsWithResponse(ctx context.Context, workspaceId string, params *ListVariableSetsParams, reqEditors ...RequestEditorFn) (*ListVariableSetsResponse, error)
ListVariableSetsWithResponse request returning *ListVariableSetsResponse
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, variableId string, reqEditors ...RequestEditorFn) (*RequestDeploymentVariableDeletionResponse, error)
RequestDeploymentVariableDeletionWithResponse request returning *RequestDeploymentVariableDeletionResponse
func (*ClientWithResponses) RequestDeploymentVariableUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) RequestDeploymentVariableUpdateWithBodyWithResponse(ctx context.Context, workspaceId 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, variableId string, body RequestDeploymentVariableUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestDeploymentVariableUpdateResponse, error)
func (*ClientWithResponses) RequestDeploymentVariableValueDeletionWithResponse ¶
func (c *ClientWithResponses) RequestDeploymentVariableValueDeletionWithResponse(ctx context.Context, workspaceId 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, 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, valueId string, body RequestDeploymentVariableValueUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestDeploymentVariableValueUpsertResponse, error)
func (*ClientWithResponses) RequestDeploymentVersionDependencyDeletionWithResponse ¶ added in v1.12.0
func (c *ClientWithResponses) RequestDeploymentVersionDependencyDeletionWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, dependencyDeploymentId string, reqEditors ...RequestEditorFn) (*RequestDeploymentVersionDependencyDeletionResponse, error)
RequestDeploymentVersionDependencyDeletionWithResponse request returning *RequestDeploymentVersionDependencyDeletionResponse
func (*ClientWithResponses) RequestDeploymentVersionDependencyUpsertWithBodyWithResponse ¶ added in v1.12.0
func (c *ClientWithResponses) RequestDeploymentVersionDependencyUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, dependencyDeploymentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestDeploymentVersionDependencyUpsertResponse, error)
RequestDeploymentVersionDependencyUpsertWithBodyWithResponse request with arbitrary body returning *RequestDeploymentVersionDependencyUpsertResponse
func (*ClientWithResponses) RequestDeploymentVersionDependencyUpsertWithResponse ¶ added in v1.12.0
func (c *ClientWithResponses) RequestDeploymentVersionDependencyUpsertWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, dependencyDeploymentId string, body RequestDeploymentVersionDependencyUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestDeploymentVersionDependencyUpsertResponse, 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) SearchResourcesWithBodyWithResponse ¶ added in v1.10.0
func (c *ClientWithResponses) SearchResourcesWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchResourcesResponse, error)
SearchResourcesWithBodyWithResponse request with arbitrary body returning *SearchResourcesResponse
func (*ClientWithResponses) SearchResourcesWithResponse ¶ added in v1.10.0
func (c *ClientWithResponses) SearchResourcesWithResponse(ctx context.Context, workspaceId string, body SearchResourcesJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchResourcesResponse, 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) UpdateVariableSetWithBodyWithResponse ¶ added in v1.9.0
func (c *ClientWithResponses) UpdateVariableSetWithBodyWithResponse(ctx context.Context, workspaceId string, variableSetId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateVariableSetResponse, error)
UpdateVariableSetWithBodyWithResponse request with arbitrary body returning *UpdateVariableSetResponse
func (*ClientWithResponses) UpdateVariableSetWithResponse ¶ added in v1.9.0
func (c *ClientWithResponses) UpdateVariableSetWithResponse(ctx context.Context, workspaceId string, variableSetId string, body UpdateVariableSetJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateVariableSetResponse, error)
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)
func (*ClientWithResponses) UpsertResourceByIdentifierWithBodyWithResponse ¶ added in v1.8.0
func (c *ClientWithResponses) UpsertResourceByIdentifierWithBodyWithResponse(ctx context.Context, workspaceId string, identifier string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertResourceByIdentifierResponse, error)
UpsertResourceByIdentifierWithBodyWithResponse request with arbitrary body returning *UpsertResourceByIdentifierResponse
func (*ClientWithResponses) UpsertResourceByIdentifierWithResponse ¶ added in v1.8.0
func (c *ClientWithResponses) UpsertResourceByIdentifierWithResponse(ctx context.Context, workspaceId string, identifier string, body UpsertResourceByIdentifierJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertResourceByIdentifierResponse, 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)
// RequestDeploymentVariableValueDeletionWithResponse request
RequestDeploymentVariableValueDeletionWithResponse(ctx context.Context, workspaceId string, valueId string, reqEditors ...RequestEditorFn) (*RequestDeploymentVariableValueDeletionResponse, error)
// GetDeploymentVariableValueWithResponse request
GetDeploymentVariableValueWithResponse(ctx context.Context, workspaceId string, valueId string, reqEditors ...RequestEditorFn) (*GetDeploymentVariableValueResponse, error)
// RequestDeploymentVariableValueUpsertWithBodyWithResponse request with any body
RequestDeploymentVariableValueUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, valueId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestDeploymentVariableValueUpsertResponse, error)
RequestDeploymentVariableValueUpsertWithResponse(ctx context.Context, workspaceId string, valueId string, body RequestDeploymentVariableValueUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestDeploymentVariableValueUpsertResponse, error)
// RequestDeploymentVariableDeletionWithResponse request
RequestDeploymentVariableDeletionWithResponse(ctx context.Context, workspaceId string, variableId string, reqEditors ...RequestEditorFn) (*RequestDeploymentVariableDeletionResponse, error)
// GetDeploymentVariableWithResponse request
GetDeploymentVariableWithResponse(ctx context.Context, workspaceId string, variableId string, reqEditors ...RequestEditorFn) (*GetDeploymentVariableResponse, error)
// RequestDeploymentVariableUpdateWithBodyWithResponse request with any body
RequestDeploymentVariableUpdateWithBodyWithResponse(ctx context.Context, workspaceId string, variableId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestDeploymentVariableUpdateResponse, error)
RequestDeploymentVariableUpdateWithResponse(ctx context.Context, workspaceId string, variableId string, body RequestDeploymentVariableUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestDeploymentVariableUpdateResponse, error)
// ListDeploymentVersionDependenciesWithResponse request
ListDeploymentVersionDependenciesWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, reqEditors ...RequestEditorFn) (*ListDeploymentVersionDependenciesResponse, error)
// RequestDeploymentVersionDependencyDeletionWithResponse request
RequestDeploymentVersionDependencyDeletionWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, dependencyDeploymentId string, reqEditors ...RequestEditorFn) (*RequestDeploymentVersionDependencyDeletionResponse, error)
// RequestDeploymentVersionDependencyUpsertWithBodyWithResponse request with any body
RequestDeploymentVersionDependencyUpsertWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, dependencyDeploymentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestDeploymentVersionDependencyUpsertResponse, error)
RequestDeploymentVersionDependencyUpsertWithResponse(ctx context.Context, workspaceId string, deploymentVersionId string, dependencyDeploymentId string, body RequestDeploymentVersionDependencyUpsertJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestDeploymentVersionDependencyUpsertResponse, 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)
// GetDeploymentByNameWithResponse request
GetDeploymentByNameWithResponse(ctx context.Context, workspaceId string, name string, reqEditors ...RequestEditorFn) (*GetDeploymentByNameResponse, 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)
// CreateDeploymentPlanWithBodyWithResponse request with any body
CreateDeploymentPlanWithBodyWithResponse(ctx context.Context, workspaceId string, deploymentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDeploymentPlanResponse, error)
CreateDeploymentPlanWithResponse(ctx context.Context, workspaceId string, deploymentId string, body CreateDeploymentPlanJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDeploymentPlanResponse, error)
// GetDeploymentPlanWithResponse request
GetDeploymentPlanWithResponse(ctx context.Context, workspaceId string, deploymentId string, planId string, reqEditors ...RequestEditorFn) (*GetDeploymentPlanResponse, error)
// ListDeploymentVariablesByDeploymentWithResponse request
ListDeploymentVariablesByDeploymentWithResponse(ctx context.Context, workspaceId string, deploymentId string, params *ListDeploymentVariablesByDeploymentParams, reqEditors ...RequestEditorFn) (*ListDeploymentVariablesByDeploymentResponse, 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)
// GetEnvironmentByNameWithResponse request
GetEnvironmentByNameWithResponse(ctx context.Context, workspaceId string, name string, reqEditors ...RequestEditorFn) (*GetEnvironmentByNameResponse, 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)
// GetRelationshipRulesWithResponse request
GetRelationshipRulesWithResponse(ctx context.Context, workspaceId string, params *GetRelationshipRulesParams, reqEditors ...RequestEditorFn) (*GetRelationshipRulesResponse, 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)
// GetReleaseTargetStatesWithBodyWithResponse request with any body
GetReleaseTargetStatesWithBodyWithResponse(ctx context.Context, workspaceId string, params *GetReleaseTargetStatesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetReleaseTargetStatesResponse, error)
GetReleaseTargetStatesWithResponse(ctx context.Context, workspaceId string, params *GetReleaseTargetStatesParams, body GetReleaseTargetStatesJSONRequestBody, reqEditors ...RequestEditorFn) (*GetReleaseTargetStatesResponse, 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)
// DeleteResourceProviderByNameWithResponse request
DeleteResourceProviderByNameWithResponse(ctx context.Context, workspaceId string, name string, reqEditors ...RequestEditorFn) (*DeleteResourceProviderByNameResponse, error)
// GetResourceProviderByNameWithResponse request
GetResourceProviderByNameWithResponse(ctx context.Context, workspaceId string, name string, reqEditors ...RequestEditorFn) (*GetResourceProviderByNameResponse, error)
// GetResourceProviderResourcesWithResponse request
GetResourceProviderResourcesWithResponse(ctx context.Context, workspaceId string, name string, reqEditors ...RequestEditorFn) (*GetResourceProviderResourcesResponse, 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)
// UpsertResourceByIdentifierWithBodyWithResponse request with any body
UpsertResourceByIdentifierWithBodyWithResponse(ctx context.Context, workspaceId string, identifier string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertResourceByIdentifierResponse, error)
UpsertResourceByIdentifierWithResponse(ctx context.Context, workspaceId string, identifier string, body UpsertResourceByIdentifierJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertResourceByIdentifierResponse, 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)
// SearchResourcesWithBodyWithResponse request with any body
SearchResourcesWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchResourcesResponse, error)
SearchResourcesWithResponse(ctx context.Context, workspaceId string, body SearchResourcesJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchResourcesResponse, 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)
// ListVariableSetsWithResponse request
ListVariableSetsWithResponse(ctx context.Context, workspaceId string, params *ListVariableSetsParams, reqEditors ...RequestEditorFn) (*ListVariableSetsResponse, error)
// CreateVariableSetWithBodyWithResponse request with any body
CreateVariableSetWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVariableSetResponse, error)
CreateVariableSetWithResponse(ctx context.Context, workspaceId string, body CreateVariableSetJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVariableSetResponse, error)
// DeleteVariableSetWithResponse request
DeleteVariableSetWithResponse(ctx context.Context, workspaceId string, variableSetId string, reqEditors ...RequestEditorFn) (*DeleteVariableSetResponse, error)
// GetVariableSetWithResponse request
GetVariableSetWithResponse(ctx context.Context, workspaceId string, variableSetId string, reqEditors ...RequestEditorFn) (*GetVariableSetResponse, error)
// UpdateVariableSetWithBodyWithResponse request with any body
UpdateVariableSetWithBodyWithResponse(ctx context.Context, workspaceId string, variableSetId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateVariableSetResponse, error)
UpdateVariableSetWithResponse(ctx context.Context, workspaceId string, variableSetId string, body UpdateVariableSetJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateVariableSetResponse, 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)
// CreateWorkflowRunWithBodyWithResponse request with any body
CreateWorkflowRunWithBodyWithResponse(ctx context.Context, workspaceId string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkflowRunResponse, error)
CreateWorkflowRunWithResponse(ctx context.Context, workspaceId string, workflowId string, body CreateWorkflowRunJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWorkflowRunResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreateDeploymentPlanJSONRequestBody ¶ added in v1.6.5
type CreateDeploymentPlanJSONRequestBody = CreateDeploymentPlanRequest
CreateDeploymentPlanJSONRequestBody defines body for CreateDeploymentPlan for application/json ContentType.
type CreateDeploymentPlanRequest ¶ added in v1.6.5
type CreateDeploymentPlanRequest struct {
// Metadata Arbitrary key-value metadata for the plan (e.g. GitHub PR links, CI run URLs)
Metadata *map[string]string `json:"metadata,omitempty"`
Version DeploymentPlanVersion `json:"version"`
}
CreateDeploymentPlanRequest defines model for CreateDeploymentPlanRequest.
type CreateDeploymentPlanResponse ¶ added in v1.6.5
type CreateDeploymentPlanResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DeploymentPlan
JSON202 *DeploymentPlan
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseCreateDeploymentPlanResponse ¶ added in v1.6.5
func ParseCreateDeploymentPlanResponse(rsp *http.Response) (*CreateDeploymentPlanResponse, error)
ParseCreateDeploymentPlanResponse parses an HTTP response from a CreateDeploymentPlanWithResponse call
func (CreateDeploymentPlanResponse) Status ¶ added in v1.6.5
func (r CreateDeploymentPlanResponse) Status() string
Status returns HTTPResponse.Status
func (CreateDeploymentPlanResponse) StatusCode ¶ added in v1.6.5
func (r CreateDeploymentPlanResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateDeploymentRequest ¶
type CreateDeploymentRequest struct {
Description *string `json:"description,omitempty"`
JobAgentConfig *map[string]interface{} `json:"jobAgentConfig,omitempty"`
// JobAgentSelector CEL expression to match job agents
JobAgentSelector *string `json:"jobAgentSelector,omitempty"`
Metadata *map[string]string `json:"metadata,omitempty"`
Name string `json:"name"`
// ResourceSelector CEL expression to determine if the deployment should be used
ResourceSelector *string `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"`
// Dependencies Map of dependency deployment ID to a CEL version selector evaluated against that deployment's current release on the same resource. Inserted atomically with the version so reconciliation cannot fire before edges are attached.
Dependencies *map[string]struct {
// VersionSelector CEL expression evaluated against the dependency deployment's current release version on the same resource.
VersionSelector string `json:"versionSelector"`
} `json:"dependencies,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
JSON200 *DeploymentVersion
JSON400 *ErrorResponse
JSON404 *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 CEL expression to determine if the environment should be used
ResourceSelector *string `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 *[]CreatePolicyRule `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 CreatePolicyRule ¶ added in v1.6.3
type CreatePolicyRule struct {
AnyApproval *AnyApprovalRule `json:"anyApproval,omitempty"`
DeploymentDependency *DeploymentDependencyRule `json:"deploymentDependency,omitempty"`
DeploymentWindow *DeploymentWindowRule `json:"deploymentWindow,omitempty"`
EnvironmentProgression *EnvironmentProgressionRule `json:"environmentProgression,omitempty"`
GradualRollout *GradualRolloutRule `json:"gradualRollout,omitempty"`
PlanValidationOpa *PlanValidationOpaRule `json:"planValidationOpa,omitempty"`
Retry *RetryRule `json:"retry,omitempty"`
Verification *VerificationRule `json:"verification,omitempty"`
VersionCooldown *VersionCooldownRule `json:"versionCooldown,omitempty"`
VersionSelector *VersionSelectorRule `json:"versionSelector,omitempty"`
}
CreatePolicyRule defines model for CreatePolicyRule.
type CreateRelationshipRuleJSONRequestBody ¶
type CreateRelationshipRuleJSONRequestBody = CreateRelationshipRuleRequest
CreateRelationshipRuleJSONRequestBody defines body for CreateRelationshipRule for application/json ContentType.
type CreateRelationshipRuleRequest ¶
type CreateRelationshipRuleRequest struct {
Cel string `json:"cel"`
Description *string `json:"description,omitempty"`
Metadata map[string]string `json:"metadata"`
Name string `json:"name"`
Reference string `json:"reference"`
}
CreateRelationshipRuleRequest defines model for CreateRelationshipRuleRequest.
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 CreateVariableSet ¶ added in v1.9.0
type CreateVariableSet struct {
Description *string `json:"description,omitempty"`
Name string `json:"name"`
Priority *int `json:"priority,omitempty"`
// Selector A CEL expression to select which release targets this variable set applies to
Selector string `json:"selector"`
Variables []VariableSetVariable `json:"variables"`
}
CreateVariableSet defines model for CreateVariableSet.
type CreateVariableSetJSONRequestBody ¶ added in v1.9.0
type CreateVariableSetJSONRequestBody = CreateVariableSet
CreateVariableSetJSONRequestBody defines body for CreateVariableSet for application/json ContentType.
type CreateVariableSetResponse ¶ added in v1.9.0
type CreateVariableSetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *VariableSet
JSON400 *ErrorResponse
}
func ParseCreateVariableSetResponse ¶ added in v1.9.0
func ParseCreateVariableSetResponse(rsp *http.Response) (*CreateVariableSetResponse, error)
ParseCreateVariableSetResponse parses an HTTP response from a CreateVariableSetWithResponse call
func (CreateVariableSetResponse) Status ¶ added in v1.9.0
func (r CreateVariableSetResponse) Status() string
Status returns HTTPResponse.Status
func (CreateVariableSetResponse) StatusCode ¶ added in v1.9.0
func (r CreateVariableSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateWorkflow ¶ added in v1.3.0
type CreateWorkflow struct {
Inputs []WorkflowInput `json:"inputs"`
JobAgents []CreateWorkflowJobAgent `json:"jobAgents"`
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 CreateWorkflowJobAgent ¶ added in v1.8.0
type CreateWorkflowJobAgent struct {
// Config Configuration for the job agent
Config map[string]interface{} `json:"config"`
Name string `json:"name"`
// Ref Reference to the job agent
Ref string `json:"ref"`
// Selector CEL expression to determine if the job agent should dispatch a job
Selector string `json:"selector"`
}
CreateWorkflowJobAgent defines model for CreateWorkflowJobAgent.
type CreateWorkflowResponse ¶ added in v1.3.0
type CreateWorkflowResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *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 CreateWorkflowRunJSONBody ¶ added in v1.8.0
type CreateWorkflowRunJSONBody struct {
// Inputs Input values for the workflow run.
Inputs map[string]interface{} `json:"inputs"`
}
CreateWorkflowRunJSONBody defines parameters for CreateWorkflowRun.
type CreateWorkflowRunJSONRequestBody ¶ added in v1.8.0
type CreateWorkflowRunJSONRequestBody CreateWorkflowRunJSONBody
CreateWorkflowRunJSONRequestBody defines body for CreateWorkflowRun for application/json ContentType.
type CreateWorkflowRunResponse ¶ added in v1.8.0
type CreateWorkflowRunResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *WorkflowRun
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseCreateWorkflowRunResponse ¶ added in v1.8.0
func ParseCreateWorkflowRunResponse(rsp *http.Response) (*CreateWorkflowRunResponse, error)
ParseCreateWorkflowRunResponse parses an HTTP response from a CreateWorkflowRunWithResponse call
func (CreateWorkflowRunResponse) Status ¶ added in v1.8.0
func (r CreateWorkflowRunResponse) Status() string
Status returns HTTPResponse.Status
func (CreateWorkflowRunResponse) StatusCode ¶ added in v1.8.0
func (r CreateWorkflowRunResponse) 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 DeleteResourceProviderByNameResponse ¶ added in v1.6.5
type DeleteResourceProviderByNameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *ResourceProvider
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseDeleteResourceProviderByNameResponse ¶ added in v1.6.5
func ParseDeleteResourceProviderByNameResponse(rsp *http.Response) (*DeleteResourceProviderByNameResponse, error)
ParseDeleteResourceProviderByNameResponse parses an HTTP response from a DeleteResourceProviderByNameWithResponse call
func (DeleteResourceProviderByNameResponse) Status ¶ added in v1.6.5
func (r DeleteResourceProviderByNameResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteResourceProviderByNameResponse) StatusCode ¶ added in v1.6.5
func (r DeleteResourceProviderByNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteVariableSetResponse ¶ added in v1.9.0
type DeleteVariableSetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *VariableSet
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseDeleteVariableSetResponse ¶ added in v1.9.0
func ParseDeleteVariableSetResponse(rsp *http.Response) (*DeleteVariableSetResponse, error)
ParseDeleteVariableSetResponse parses an HTTP response from a DeleteVariableSetWithResponse call
func (DeleteVariableSetResponse) Status ¶ added in v1.9.0
func (r DeleteVariableSetResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteVariableSetResponse) StatusCode ¶ added in v1.9.0
func (r DeleteVariableSetResponse) 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"`
// JobAgentSelector CEL expression to match job agents
JobAgentSelector string `json:"jobAgentSelector"`
Metadata *map[string]string `json:"metadata,omitempty"`
Name string `json:"name"`
// ResourceSelector CEL expression to determine if the deployment should be used
ResourceSelector *string `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. The expression can reference both deployment properties (deployment.id, deployment.name, deployment.slug, deployment.metadata) and the currently deployed version properties (version.id, version.tag, version.name, version.status, version.metadata, version.createdAt). For example: deployment.name == 'db-migration' && version.tag.startsWith('v2.').
DependsOn string `json:"dependsOn"`
}
DeploymentDependencyRule defines model for DeploymentDependencyRule.
type DeploymentPlan ¶ added in v1.6.5
type DeploymentPlan struct {
Id string `json:"id"`
Status DeploymentPlanStatus `json:"status"`
Summary *DeploymentPlanSummary `json:"summary,omitempty"`
Targets []DeploymentPlanTarget `json:"targets"`
}
DeploymentPlan defines model for DeploymentPlan.
type DeploymentPlanStatus ¶ added in v1.6.5
type DeploymentPlanStatus string
DeploymentPlanStatus defines model for DeploymentPlan.Status.
const ( DeploymentPlanStatusCompleted DeploymentPlanStatus = "completed" DeploymentPlanStatusComputing DeploymentPlanStatus = "computing" DeploymentPlanStatusFailed DeploymentPlanStatus = "failed" )
Defines values for DeploymentPlanStatus.
type DeploymentPlanSummary ¶ added in v1.6.5
type DeploymentPlanSummary struct {
Changed int `json:"changed"`
Errored int `json:"errored"`
Total int `json:"total"`
Unchanged int `json:"unchanged"`
Unsupported *int `json:"unsupported,omitempty"`
}
DeploymentPlanSummary defines model for DeploymentPlanSummary.
type DeploymentPlanTarget ¶ added in v1.6.5
type DeploymentPlanTarget struct {
EnvironmentId string `json:"environmentId"`
EnvironmentName string `json:"environmentName"`
// HasChanges True if any result for this target has changes
HasChanges bool `json:"hasChanges"`
ResourceId string `json:"resourceId"`
ResourceName string `json:"resourceName"`
Results []DeploymentPlanTargetResult `json:"results"`
}
DeploymentPlanTarget defines model for DeploymentPlanTarget.
type DeploymentPlanTargetResult ¶ added in v1.11.0
type DeploymentPlanTargetResult struct {
// ContentHash Hash of the rendered output for change detection
ContentHash string `json:"contentHash"`
// Current Full rendered output of the currently deployed state
Current string `json:"current"`
HasChanges bool `json:"hasChanges"`
Id string `json:"id"`
// Message Agent message (e.g. error explanation or summary)
Message string `json:"message"`
// Proposed Full rendered output of the proposed version
Proposed string `json:"proposed"`
Status DeploymentPlanTargetResultStatus `json:"status"`
}
DeploymentPlanTargetResult defines model for DeploymentPlanTargetResult.
type DeploymentPlanTargetResultStatus ¶ added in v1.11.0
type DeploymentPlanTargetResultStatus string
DeploymentPlanTargetResultStatus defines model for DeploymentPlanTargetResult.Status.
const ( DeploymentPlanTargetResultStatusCompleted DeploymentPlanTargetResultStatus = "completed" DeploymentPlanTargetResultStatusComputing DeploymentPlanTargetResultStatus = "computing" DeploymentPlanTargetResultStatusErrored DeploymentPlanTargetResultStatus = "errored" DeploymentPlanTargetResultStatusUnsupported DeploymentPlanTargetResultStatus = "unsupported" )
Defines values for DeploymentPlanTargetResultStatus.
type DeploymentPlanVersion ¶ added in v1.6.5
type DeploymentPlanVersion struct {
Config *map[string]interface{} `json:"config,omitempty"`
JobAgentConfig *map[string]interface{} `json:"jobAgentConfig,omitempty"`
Metadata *map[string]string `json:"metadata,omitempty"`
// Name Display name for the proposed version (defaults to tag if omitted)
Name *string `json:"name,omitempty"`
// Tag Version tag for the proposed deployment (e.g. pr-123-abc123)
Tag string `json:"tag"`
}
DeploymentPlanVersion defines model for DeploymentPlanVersion.
type DeploymentRequestAccepted ¶
DeploymentRequestAccepted defines model for DeploymentRequestAccepted.
type DeploymentVariable ¶
type DeploymentVariable struct {
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 A CEL expression to select which resources this value applies to
ResourceSelector *string `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 DeploymentVersionDependency ¶ added in v1.12.0
type DeploymentVersionDependency struct {
DependencyDeploymentId string `json:"dependencyDeploymentId"`
DeploymentVersionId string `json:"deploymentVersionId"`
// VersionSelector CEL expression evaluated against the dependency deployment's current release version on the same resource.
VersionSelector string `json:"versionSelector"`
}
DeploymentVersionDependency defines model for DeploymentVersionDependency.
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 CEL expression to determine if the environment should be used
ResourceSelector *string `json:"resourceSelector,omitempty"`
}
Environment defines model for Environment.
type EnvironmentProgressionRule ¶
type EnvironmentProgressionRule struct {
// DependsOnEnvironmentSelector CEL expression to match the environment(s) that must have a successful release before this environment can proceed.
DependsOnEnvironmentSelector string `json:"dependsOnEnvironmentSelector"`
// MaximumAgeHours Maximum age of dependency deployment before blocking progression (prevents stale promotions)
MaximumAgeHours *int32 `json:"maximumAgeHours,omitempty"`
// MinimumSoakTimeMinutes Minimum time to wait after the depends on environment is in a success state before the current environment can be deployed. Defaults to 0 if not provided.
MinimumSoakTimeMinutes *int32 `json:"minimumSoakTimeMinutes,omitempty"`
MinimumSuccessPercentage *float32 `json:"minimumSuccessPercentage,omitempty"`
// RequireVerificationPassed If true, jobs must also have passed verification to count toward the success percentage
RequireVerificationPassed *bool `json:"requireVerificationPassed,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 CEL expression to determine if the environment should be used
ResourceSelector *string `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 GetDeploymentByNameResponse ¶ added in v1.12.0
type GetDeploymentByNameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DeploymentWithVariablesAndSystems
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseGetDeploymentByNameResponse ¶ added in v1.12.0
func ParseGetDeploymentByNameResponse(rsp *http.Response) (*GetDeploymentByNameResponse, error)
ParseGetDeploymentByNameResponse parses an HTTP response from a GetDeploymentByNameWithResponse call
func (GetDeploymentByNameResponse) Status ¶ added in v1.12.0
func (r GetDeploymentByNameResponse) Status() string
Status returns HTTPResponse.Status
func (GetDeploymentByNameResponse) StatusCode ¶ added in v1.12.0
func (r GetDeploymentByNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDeploymentPlanResponse ¶ added in v1.6.5
type GetDeploymentPlanResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DeploymentPlan
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseGetDeploymentPlanResponse ¶ added in v1.6.5
func ParseGetDeploymentPlanResponse(rsp *http.Response) (*GetDeploymentPlanResponse, error)
ParseGetDeploymentPlanResponse parses an HTTP response from a GetDeploymentPlanWithResponse call
func (GetDeploymentPlanResponse) Status ¶ added in v1.6.5
func (r GetDeploymentPlanResponse) Status() string
Status returns HTTPResponse.Status
func (GetDeploymentPlanResponse) StatusCode ¶ added in v1.6.5
func (r GetDeploymentPlanResponse) 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 GetEnvironmentByNameResponse ¶ added in v1.12.0
type GetEnvironmentByNameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *EnvironmentWithSystems
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseGetEnvironmentByNameResponse ¶ added in v1.12.0
func ParseGetEnvironmentByNameResponse(rsp *http.Response) (*GetEnvironmentByNameResponse, error)
ParseGetEnvironmentByNameResponse parses an HTTP response from a GetEnvironmentByNameWithResponse call
func (GetEnvironmentByNameResponse) Status ¶ added in v1.12.0
func (r GetEnvironmentByNameResponse) Status() string
Status returns HTTPResponse.Status
func (GetEnvironmentByNameResponse) StatusCode ¶ added in v1.12.0
func (r GetEnvironmentByNameResponse) 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 GetRelationshipRulesParams ¶ added in v1.5.1
type GetRelationshipRulesParams struct {
// Offset Number of items to skip
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// Limit Maximum number of items to return
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
GetRelationshipRulesParams defines parameters for GetRelationshipRules.
type GetRelationshipRulesResponse ¶ added in v1.5.1
type GetRelationshipRulesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Items []RelationshipRule `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 ParseGetRelationshipRulesResponse ¶ added in v1.5.1
func ParseGetRelationshipRulesResponse(rsp *http.Response) (*GetRelationshipRulesResponse, error)
ParseGetRelationshipRulesResponse parses an HTTP response from a GetRelationshipRulesWithResponse call
func (GetRelationshipRulesResponse) Status ¶ added in v1.5.1
func (r GetRelationshipRulesResponse) Status() string
Status returns HTTPResponse.Status
func (GetRelationshipRulesResponse) StatusCode ¶ added in v1.5.1
func (r GetRelationshipRulesResponse) 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 *ReleaseTargetStateResponse
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 GetReleaseTargetStatesJSONBody ¶ added in v1.6.4
type GetReleaseTargetStatesJSONBody struct {
DeploymentId string `json:"deploymentId"`
EnvironmentId string `json:"environmentId"`
}
GetReleaseTargetStatesJSONBody defines parameters for GetReleaseTargetStates.
type GetReleaseTargetStatesJSONRequestBody ¶ added in v1.6.4
type GetReleaseTargetStatesJSONRequestBody GetReleaseTargetStatesJSONBody
GetReleaseTargetStatesJSONRequestBody defines body for GetReleaseTargetStates for application/json ContentType.
type GetReleaseTargetStatesParams ¶ added in v1.6.4
type GetReleaseTargetStatesParams 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"`
}
GetReleaseTargetStatesParams defines parameters for GetReleaseTargetStates.
type GetReleaseTargetStatesResponse ¶ added in v1.6.4
type GetReleaseTargetStatesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Items []ReleaseTargetWithState `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 ParseGetReleaseTargetStatesResponse ¶ added in v1.6.4
func ParseGetReleaseTargetStatesResponse(rsp *http.Response) (*GetReleaseTargetStatesResponse, error)
ParseGetReleaseTargetStatesResponse parses an HTTP response from a GetReleaseTargetStatesWithResponse call
func (GetReleaseTargetStatesResponse) Status ¶ added in v1.6.4
func (r GetReleaseTargetStatesResponse) Status() string
Status returns HTTPResponse.Status
func (GetReleaseTargetStatesResponse) StatusCode ¶ added in v1.6.4
func (r GetReleaseTargetStatesResponse) 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 GetResourceProviderResourcesResponse ¶ added in v1.6.5
type GetResourceProviderResourcesResponse 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"`
}
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseGetResourceProviderResourcesResponse ¶ added in v1.6.5
func ParseGetResourceProviderResourcesResponse(rsp *http.Response) (*GetResourceProviderResourcesResponse, error)
ParseGetResourceProviderResourcesResponse parses an HTTP response from a GetResourceProviderResourcesWithResponse call
func (GetResourceProviderResourcesResponse) Status ¶ added in v1.6.5
func (r GetResourceProviderResourcesResponse) Status() string
Status returns HTTPResponse.Status
func (GetResourceProviderResourcesResponse) StatusCode ¶ added in v1.6.5
func (r GetResourceProviderResourcesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSystemResponse ¶
type GetSystemResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SystemWithLinkedEntities
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 GetVariableSetResponse ¶ added in v1.9.0
type GetVariableSetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *VariableSetWithVariables
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseGetVariableSetResponse ¶ added in v1.9.0
func ParseGetVariableSetResponse(rsp *http.Response) (*GetVariableSetResponse, error)
ParseGetVariableSetResponse parses an HTTP response from a GetVariableSetWithResponse call
func (GetVariableSetResponse) Status ¶ added in v1.9.0
func (r GetVariableSetResponse) Status() string
Status returns HTTPResponse.Status
func (GetVariableSetResponse) StatusCode ¶ added in v1.9.0
func (r GetVariableSetResponse) 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 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 ListDeploymentVariablesByDeploymentParams ¶ added in v1.6.1
type ListDeploymentVariablesByDeploymentParams 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"`
}
ListDeploymentVariablesByDeploymentParams defines parameters for ListDeploymentVariablesByDeployment.
type ListDeploymentVariablesByDeploymentResponse ¶ added in v1.6.1
type ListDeploymentVariablesByDeploymentResponse 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 ParseListDeploymentVariablesByDeploymentResponse ¶ added in v1.6.1
func ParseListDeploymentVariablesByDeploymentResponse(rsp *http.Response) (*ListDeploymentVariablesByDeploymentResponse, error)
ParseListDeploymentVariablesByDeploymentResponse parses an HTTP response from a ListDeploymentVariablesByDeploymentWithResponse call
func (ListDeploymentVariablesByDeploymentResponse) Status ¶ added in v1.6.1
func (r ListDeploymentVariablesByDeploymentResponse) Status() string
Status returns HTTPResponse.Status
func (ListDeploymentVariablesByDeploymentResponse) StatusCode ¶ added in v1.6.1
func (r ListDeploymentVariablesByDeploymentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDeploymentVersionDependenciesResponse ¶ added in v1.12.0
type ListDeploymentVersionDependenciesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]DeploymentVersionDependency
JSON404 *ErrorResponse
}
func ParseListDeploymentVersionDependenciesResponse ¶ added in v1.12.0
func ParseListDeploymentVersionDependenciesResponse(rsp *http.Response) (*ListDeploymentVersionDependenciesResponse, error)
ParseListDeploymentVersionDependenciesResponse parses an HTTP response from a ListDeploymentVersionDependenciesWithResponse call
func (ListDeploymentVersionDependenciesResponse) Status ¶ added in v1.12.0
func (r ListDeploymentVersionDependenciesResponse) Status() string
Status returns HTTPResponse.Status
func (ListDeploymentVersionDependenciesResponse) StatusCode ¶ added in v1.12.0
func (r ListDeploymentVersionDependenciesResponse) 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"`
// Order Sort order for results
Order *ListDeploymentVersionsParamsOrder `form:"order,omitempty" json:"order,omitempty"`
// Cel CEL expression to filter the results
Cel *string `form:"cel,omitempty" json:"cel,omitempty"`
}
ListDeploymentVersionsParams defines parameters for ListDeploymentVersions.
type ListDeploymentVersionsParamsOrder ¶ added in v1.9.0
type ListDeploymentVersionsParamsOrder string
ListDeploymentVersionsParamsOrder defines parameters for ListDeploymentVersions.
const ( ListDeploymentVersionsParamsOrderAsc ListDeploymentVersionsParamsOrder = "asc" ListDeploymentVersionsParamsOrderDesc ListDeploymentVersionsParamsOrder = "desc" )
Defines values for ListDeploymentVersionsParamsOrder.
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"`
// Cel CEL expression to filter the results
Cel *string `form:"cel,omitempty" json:"cel,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 ListResourcesFilters ¶ added in v1.10.0
type ListResourcesFilters struct {
Identifiers *[]string `json:"identifiers,omitempty"`
Kinds *[]string `json:"kinds,omitempty"`
Limit *int `json:"limit,omitempty"`
// Metadata Exact metadata key/value matches
Metadata *map[string]string `json:"metadata,omitempty"`
Offset *int `json:"offset,omitempty"`
Order *ListResourcesFiltersOrder `json:"order,omitempty"`
ProviderIds *[]string `json:"providerIds,omitempty"`
// Query Text search on name or identifier
Query *string `json:"query,omitempty"`
SortBy *ListResourcesFiltersSortBy `json:"sortBy,omitempty"`
Versions *[]string `json:"versions,omitempty"`
}
ListResourcesFilters defines model for ListResourcesFilters.
type ListResourcesFiltersOrder ¶ added in v1.10.0
type ListResourcesFiltersOrder string
ListResourcesFiltersOrder defines model for ListResourcesFilters.Order.
const ( ListResourcesFiltersOrderAsc ListResourcesFiltersOrder = "asc" ListResourcesFiltersOrderDesc ListResourcesFiltersOrder = "desc" )
Defines values for ListResourcesFiltersOrder.
type ListResourcesFiltersSortBy ¶ added in v1.10.0
type ListResourcesFiltersSortBy string
ListResourcesFiltersSortBy defines model for ListResourcesFilters.SortBy.
const ( CreatedAt ListResourcesFiltersSortBy = "createdAt" Kind ListResourcesFiltersSortBy = "kind" Name ListResourcesFiltersSortBy = "name" UpdatedAt ListResourcesFiltersSortBy = "updatedAt" )
Defines values for ListResourcesFiltersSortBy.
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 ListVariableSetsParams ¶ added in v1.9.0
type ListVariableSetsParams 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"`
}
ListVariableSetsParams defines parameters for ListVariableSets.
type ListVariableSetsResponse ¶ added in v1.9.0
type ListVariableSetsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Items []VariableSetWithVariables `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 ParseListVariableSetsResponse ¶ added in v1.9.0
func ParseListVariableSetsResponse(rsp *http.Response) (*ListVariableSetsResponse, error)
ParseListVariableSetsResponse parses an HTTP response from a ListVariableSetsWithResponse call
func (ListVariableSetsResponse) Status ¶ added in v1.9.0
func (r ListVariableSetsResponse) Status() string
Status returns HTTPResponse.Status
func (ListVariableSetsResponse) StatusCode ¶ added in v1.9.0
func (r ListVariableSetsResponse) 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 PlanValidationOpaRule ¶ added in v1.12.0
type PlanValidationOpaRule struct {
Description *string `json:"description,omitempty"`
// Name Human-readable rule name; used in check output to identify which rule produced a violation.
Name string `json:"name"`
// Rego Rego v1 source code. Must define a `deny` rule set following the Conftest convention (deny contains msg if { ... }).
Rego string `json:"rego"`
}
PlanValidationOpaRule defines model for PlanValidationOpaRule.
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 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"`
PlanValidationOpa *PlanValidationOpaRule `json:"planValidationOpa,omitempty"`
PolicyId string `json:"policyId"`
Retry *RetryRule `json:"retry,omitempty"`
Verification *VerificationRule `json:"verification,omitempty"`
VersionCooldown *VersionCooldownRule `json:"versionCooldown,omitempty"`
VersionSelector *VersionSelectorRule `json:"versionSelector,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 RelationshipRule ¶
type RelationshipRule struct {
Cel string `json:"cel"`
Description *string `json:"description,omitempty"`
Id string `json:"id"`
Metadata map[string]string `json:"metadata"`
Name string `json:"name"`
Reference string `json:"reference"`
WorkspaceId string `json:"workspaceId"`
}
RelationshipRule defines model for RelationshipRule.
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 ReleaseTargetStateResponse ¶ added in v1.8.0
type ReleaseTargetStateResponse struct {
CurrentRelease *Release `json:"currentRelease,omitempty"`
DesiredRelease *Release `json:"desiredRelease,omitempty"`
LatestJob *struct {
Job Job `json:"job"`
Verifications []struct {
CreatedAt time.Time `json:"createdAt"`
Id string `json:"id"`
JobId string `json:"jobId"`
Message *string `json:"message,omitempty"`
Metrics []VerificationMetricStatus `json:"metrics"`
// Status Computed aggregate status of this verification
Status ReleaseTargetStateResponseLatestJobVerificationsStatus `json:"status"`
} `json:"verifications"`
} `json:"latestJob,omitempty"`
}
ReleaseTargetStateResponse defines model for ReleaseTargetStateResponse.
type ReleaseTargetStateResponseLatestJobVerificationsStatus ¶ added in v1.8.0
type ReleaseTargetStateResponseLatestJobVerificationsStatus string
ReleaseTargetStateResponseLatestJobVerificationsStatus Computed aggregate status of this verification
const ( ReleaseTargetStateResponseLatestJobVerificationsStatusFailed ReleaseTargetStateResponseLatestJobVerificationsStatus = "failed" ReleaseTargetStateResponseLatestJobVerificationsStatusPassed ReleaseTargetStateResponseLatestJobVerificationsStatus = "passed" ReleaseTargetStateResponseLatestJobVerificationsStatusRunning ReleaseTargetStateResponseLatestJobVerificationsStatus = "running" )
Defines values for ReleaseTargetStateResponseLatestJobVerificationsStatus.
type ReleaseTargetWithState ¶ added in v1.6.4
type ReleaseTargetWithState struct {
ReleaseTarget ReleaseTarget `json:"releaseTarget"`
State ReleaseTargetState `json:"state"`
}
ReleaseTargetWithState defines model for ReleaseTargetWithState.
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
JSON400 *ErrorResponse
JSON409 *ErrorResponse
}
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
JSON400 *ErrorResponse
JSON409 *ErrorResponse
}
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 RequestDeploymentVersionDependencyDeletionResponse ¶ added in v1.12.0
type RequestDeploymentVersionDependencyDeletionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *DeploymentRequestAccepted
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseRequestDeploymentVersionDependencyDeletionResponse ¶ added in v1.12.0
func ParseRequestDeploymentVersionDependencyDeletionResponse(rsp *http.Response) (*RequestDeploymentVersionDependencyDeletionResponse, error)
ParseRequestDeploymentVersionDependencyDeletionResponse parses an HTTP response from a RequestDeploymentVersionDependencyDeletionWithResponse call
func (RequestDeploymentVersionDependencyDeletionResponse) Status ¶ added in v1.12.0
func (r RequestDeploymentVersionDependencyDeletionResponse) Status() string
Status returns HTTPResponse.Status
func (RequestDeploymentVersionDependencyDeletionResponse) StatusCode ¶ added in v1.12.0
func (r RequestDeploymentVersionDependencyDeletionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestDeploymentVersionDependencyUpsertJSONRequestBody ¶ added in v1.12.0
type RequestDeploymentVersionDependencyUpsertJSONRequestBody = UpsertDeploymentVersionDependencyRequest
RequestDeploymentVersionDependencyUpsertJSONRequestBody defines body for RequestDeploymentVersionDependencyUpsert for application/json ContentType.
type RequestDeploymentVersionDependencyUpsertResponse ¶ added in v1.12.0
type RequestDeploymentVersionDependencyUpsertResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *DeploymentRequestAccepted
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseRequestDeploymentVersionDependencyUpsertResponse ¶ added in v1.12.0
func ParseRequestDeploymentVersionDependencyUpsertResponse(rsp *http.Response) (*RequestDeploymentVersionDependencyUpsertResponse, error)
ParseRequestDeploymentVersionDependencyUpsertResponse parses an HTTP response from a RequestDeploymentVersionDependencyUpsertWithResponse call
func (RequestDeploymentVersionDependencyUpsertResponse) Status ¶ added in v1.12.0
func (r RequestDeploymentVersionDependencyUpsertResponse) Status() string
Status returns HTTPResponse.Status
func (RequestDeploymentVersionDependencyUpsertResponse) StatusCode ¶ added in v1.12.0
func (r RequestDeploymentVersionDependencyUpsertResponse) 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
JSON400 *ErrorResponse
JSON409 *ErrorResponse
}
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
JSON409 *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 *Policy
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 *Policy
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 *Policy
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 SearchResourcesJSONRequestBody ¶ added in v1.10.0
type SearchResourcesJSONRequestBody = ListResourcesFilters
SearchResourcesJSONRequestBody defines body for SearchResources for application/json ContentType.
type SearchResourcesResponse ¶ added in v1.10.0
type SearchResourcesResponse 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"`
}
JSON400 *ErrorResponse
}
func ParseSearchResourcesResponse ¶ added in v1.10.0
func ParseSearchResourcesResponse(rsp *http.Response) (*SearchResourcesResponse, error)
ParseSearchResourcesResponse parses an HTTP response from a SearchResourcesWithResponse call
func (SearchResourcesResponse) Status ¶ added in v1.10.0
func (r SearchResourcesResponse) Status() string
Status returns HTTPResponse.Status
func (SearchResourcesResponse) StatusCode ¶ added in v1.10.0
func (r SearchResourcesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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 SystemWithLinkedEntities ¶ added in v1.5.1
type SystemWithLinkedEntities struct {
Deployments []Deployment `json:"deployments"`
Description *string `json:"description,omitempty"`
Environments []Environment `json:"environments"`
Id string `json:"id"`
Metadata *map[string]string `json:"metadata,omitempty"`
Name string `json:"name"`
Slug string `json:"slug"`
WorkspaceId string `json:"workspaceId"`
}
SystemWithLinkedEntities defines model for SystemWithLinkedEntities.
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 UpdateVariableSet ¶ added in v1.9.0
type UpdateVariableSet struct {
Description *string `json:"description,omitempty"`
Name *string `json:"name,omitempty"`
Priority *int `json:"priority,omitempty"`
Selector *string `json:"selector,omitempty"`
Variables *[]VariableSetVariable `json:"variables,omitempty"`
}
UpdateVariableSet defines model for UpdateVariableSet.
type UpdateVariableSetJSONRequestBody ¶ added in v1.9.0
type UpdateVariableSetJSONRequestBody = UpdateVariableSet
UpdateVariableSetJSONRequestBody defines body for UpdateVariableSet for application/json ContentType.
type UpdateVariableSetResponse ¶ added in v1.9.0
type UpdateVariableSetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *VariableSet
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseUpdateVariableSetResponse ¶ added in v1.9.0
func ParseUpdateVariableSetResponse(rsp *http.Response) (*UpdateVariableSetResponse, error)
ParseUpdateVariableSetResponse parses an HTTP response from a UpdateVariableSetWithResponse call
func (UpdateVariableSetResponse) Status ¶ added in v1.9.0
func (r UpdateVariableSetResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateVariableSetResponse) StatusCode ¶ added in v1.9.0
func (r UpdateVariableSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateWorkflow ¶ added in v1.3.0
type UpdateWorkflow struct {
Inputs []WorkflowInput `json:"inputs"`
JobAgents []CreateWorkflowJobAgent `json:"jobAgents"`
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"`
// JobAgentSelector CEL expression to match job agents
JobAgentSelector *string `json:"jobAgentSelector,omitempty"`
Metadata *map[string]string `json:"metadata,omitempty"`
Name string `json:"name"`
// ResourceSelector CEL expression to determine if the deployment should be used
ResourceSelector *string `json:"resourceSelector,omitempty"`
Slug string `json:"slug"`
}
UpsertDeploymentRequest defines model for UpsertDeploymentRequest.
type UpsertDeploymentVariableRequest ¶
type UpsertDeploymentVariableRequest struct {
DeploymentId string `json:"deploymentId"`
Description *string `json:"description,omitempty"`
Key string `json:"key"`
}
UpsertDeploymentVariableRequest defines model for UpsertDeploymentVariableRequest.
type UpsertDeploymentVariableValueRequest ¶
type UpsertDeploymentVariableValueRequest struct {
DeploymentVariableId string `json:"deploymentVariableId"`
Priority int64 `json:"priority"`
// ResourceSelector A CEL expression to select which resources this value applies to
ResourceSelector *string `json:"resourceSelector,omitempty"`
Value Value `json:"value"`
}
UpsertDeploymentVariableValueRequest defines model for UpsertDeploymentVariableValueRequest.
type UpsertDeploymentVersionDependencyRequest ¶ added in v1.12.0
type UpsertDeploymentVersionDependencyRequest struct {
// VersionSelector CEL expression evaluated against the dependency deployment's current release version on the same resource.
VersionSelector string `json:"versionSelector"`
}
UpsertDeploymentVersionDependencyRequest defines model for UpsertDeploymentVersionDependencyRequest.
type UpsertEnvironmentRequest ¶
type UpsertEnvironmentRequest struct {
Description *string `json:"description,omitempty"`
Metadata *map[string]string `json:"metadata,omitempty"`
Name string `json:"name"`
// ResourceSelector CEL expression to determine if the environment should be used
ResourceSelector *string `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 []UpsertPolicyRule `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 UpsertPolicyRule ¶ added in v1.6.4
type UpsertPolicyRule struct {
AnyApproval *AnyApprovalRule `json:"anyApproval,omitempty"`
CreatedAt *string `json:"createdAt,omitempty"`
DeploymentDependency *DeploymentDependencyRule `json:"deploymentDependency,omitempty"`
DeploymentWindow *DeploymentWindowRule `json:"deploymentWindow,omitempty"`
EnvironmentProgression *EnvironmentProgressionRule `json:"environmentProgression,omitempty"`
GradualRollout *GradualRolloutRule `json:"gradualRollout,omitempty"`
Id *string `json:"id,omitempty"`
PlanValidationOpa *PlanValidationOpaRule `json:"planValidationOpa,omitempty"`
PolicyId *string `json:"policyId,omitempty"`
Retry *RetryRule `json:"retry,omitempty"`
Verification *VerificationRule `json:"verification,omitempty"`
VersionCooldown *VersionCooldownRule `json:"versionCooldown,omitempty"`
VersionSelector *VersionSelectorRule `json:"versionSelector,omitempty"`
}
UpsertPolicyRule defines model for UpsertPolicyRule.
type UpsertRelationshipRuleRequest ¶
type UpsertRelationshipRuleRequest struct {
Cel string `json:"cel"`
Description *string `json:"description,omitempty"`
Metadata map[string]string `json:"metadata"`
Name string `json:"name"`
Reference string `json:"reference"`
}
UpsertRelationshipRuleRequest defines model for UpsertRelationshipRuleRequest.
type UpsertResourceByIdentifierJSONRequestBody ¶ added in v1.8.0
type UpsertResourceByIdentifierJSONRequestBody = UpsertResourceRequest
UpsertResourceByIdentifierJSONRequestBody defines body for UpsertResourceByIdentifier for application/json ContentType.
type UpsertResourceByIdentifierResponse ¶ added in v1.8.0
type UpsertResourceByIdentifierResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *ResourceRequestAccepted
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseUpsertResourceByIdentifierResponse ¶ added in v1.8.0
func ParseUpsertResourceByIdentifierResponse(rsp *http.Response) (*UpsertResourceByIdentifierResponse, error)
ParseUpsertResourceByIdentifierResponse parses an HTTP response from a UpsertResourceByIdentifierWithResponse call
func (UpsertResourceByIdentifierResponse) Status ¶ added in v1.8.0
func (r UpsertResourceByIdentifierResponse) Status() string
Status returns HTTPResponse.Status
func (UpsertResourceByIdentifierResponse) StatusCode ¶ added in v1.8.0
func (r UpsertResourceByIdentifierResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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 UpsertResourceRequest ¶ added in v1.8.0
type UpsertResourceRequest struct {
Config *map[string]interface{} `json:"config,omitempty"`
Kind string `json:"kind"`
Metadata *map[string]string `json:"metadata,omitempty"`
Name string `json:"name"`
Variables *map[string]interface{} `json:"variables,omitempty"`
Version string `json:"version"`
}
UpsertResourceRequest defines model for UpsertResourceRequest.
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 VariableSet ¶ added in v1.9.0
type VariableSet struct {
CreatedAt time.Time `json:"createdAt"`
Description string `json:"description"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Priority int `json:"priority"`
// Selector A CEL expression to select which release targets this variable set applies to
Selector string `json:"selector"`
UpdatedAt time.Time `json:"updatedAt"`
}
VariableSet defines model for VariableSet.
type VariableSetVariable ¶ added in v1.9.0
VariableSetVariable defines model for VariableSetVariable.
type VariableSetWithVariables ¶ added in v1.9.0
type VariableSetWithVariables struct {
CreatedAt time.Time `json:"createdAt"`
Description string `json:"description"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Priority int `json:"priority"`
// Selector A CEL expression to select which release targets this variable set applies to
Selector string `json:"selector"`
UpdatedAt time.Time `json:"updatedAt"`
Variables []VariableSetVariable `json:"variables"`
}
VariableSetWithVariables defines model for VariableSetWithVariables.
type VerificationMeasurement ¶ added in v1.8.0
type VerificationMeasurement struct {
// Data Raw measurement data
Data *map[string]interface{} `json:"data,omitempty"`
// MeasuredAt When measurement was taken
MeasuredAt time.Time `json:"measuredAt"`
// Message Measurement result message
Message *string `json:"message,omitempty"`
// Status Status of a verification measurement
Status VerificationMeasurementStatus `json:"status"`
}
VerificationMeasurement defines model for VerificationMeasurement.
type VerificationMeasurementStatus ¶ added in v1.8.0
type VerificationMeasurementStatus string
VerificationMeasurementStatus Status of a verification measurement
const ( VerificationMeasurementStatusFailed VerificationMeasurementStatus = "failed" VerificationMeasurementStatusInconclusive VerificationMeasurementStatus = "inconclusive" VerificationMeasurementStatusPassed VerificationMeasurementStatus = "passed" )
Defines values for VerificationMeasurementStatus.
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 VerificationMetricStatus ¶ added in v1.8.0
type VerificationMetricStatus 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"`
// Measurements Individual verification measurements taken for this metric
Measurements []VerificationMeasurement `json:"measurements"`
// 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"`
}
VerificationMetricStatus defines model for VerificationMetricStatus.
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 VersionSelectorRule ¶ added in v1.6.3
type VersionSelectorRule struct {
// Description Human-readable description of what this version selector does. Example: "Only deploy v2.x versions to staging environments"
Description *string `json:"description,omitempty"`
// Selector CEL expression to select which versions are eligible for deployment.
Selector string `json:"selector"`
}
VersionSelectorRule defines model for VersionSelectorRule.
type Workflow ¶ added in v1.3.0
type Workflow struct {
Id string `json:"id"`
Inputs []WorkflowInput `json:"inputs"`
JobAgents []WorkflowJobAgent `json:"jobAgents"`
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 WorkflowJobAgent ¶ added in v1.8.0
type WorkflowJobAgent struct {
// Config Configuration for the job agent
Config map[string]interface{} `json:"config"`
Name string `json:"name"`
// Ref Reference to the job agent
Ref string `json:"ref"`
// Selector CEL expression to determine if the job agent should dispatch a job
Selector string `json:"selector"`
}
WorkflowJobAgent defines model for WorkflowJobAgent.
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 CEL expression for the default selector.
Default *string `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.