api

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

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

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

Package api holds the generated OpenAPI artifacts for the /api surface: request/response models (bound to internal/events via x-go-type — the events package stays the one canonical protocol definition), the std-http server router (ServerInterface + HandlerFromMux), and the typed Go client.

The hand-written contract is api/openapi.yaml at the repo root; the generated code is committed and CI verifies it is in sync. Wire-level compatibility is pinned by internal/server/testdata/wire.

Index

Constants

View Source
const (
	OidcScopes oidcContextKey = "oidc.Scopes"
)

Variables

This section is empty.

Functions

func Handler

func Handler(si ServerInterface) http.Handler

Handler creates http.Handler with routing matching OpenAPI spec.

func HandlerFromMux

func HandlerFromMux(si ServerInterface, m ServeMux) http.Handler

HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.

func HandlerFromMuxWithBaseURL

func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler

func HandlerWithOptions

func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler

HandlerWithOptions creates http.Handler with additional options

func NewAppendLogsRequest

func NewAppendLogsRequest(server string, body AppendLogsJSONRequestBody) (*http.Request, error)

NewAppendLogsRequest calls the generic AppendLogs builder with application/json body

func NewAppendLogsRequestWithBody

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

NewAppendLogsRequestWithBody generates requests for AppendLogs with any type of body

func NewCheckGateRequest

func NewCheckGateRequest(server string, body CheckGateJSONRequestBody) (*http.Request, error)

NewCheckGateRequest calls the generic CheckGate builder with application/json body

func NewCheckGateRequestWithBody

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

NewCheckGateRequestWithBody generates requests for CheckGate with any type of body

func NewFinalizeExecutionRequest

func NewFinalizeExecutionRequest(server string, body FinalizeExecutionJSONRequestBody) (*http.Request, error)

NewFinalizeExecutionRequest calls the generic FinalizeExecution builder with application/json body

func NewFinalizeExecutionRequestWithBody

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

NewFinalizeExecutionRequestWithBody generates requests for FinalizeExecution with any type of body

func NewGetExecutionRequest

func NewGetExecutionRequest(server string, id string) (*http.Request, error)

NewGetExecutionRequest generates requests for GetExecution

func NewInitExecutionRequest

func NewInitExecutionRequest(server string, body InitExecutionJSONRequestBody) (*http.Request, error)

NewInitExecutionRequest calls the generic InitExecution builder with application/json body

func NewInitExecutionRequestWithBody

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

NewInitExecutionRequestWithBody generates requests for InitExecution with any type of body

func NewListApprovalsRequest

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

NewListApprovalsRequest generates requests for ListApprovals

func NewListClaimsRequest

func NewListClaimsRequest(server string, body ListClaimsJSONRequestBody) (*http.Request, error)

NewListClaimsRequest calls the generic ListClaims builder with application/json body

func NewListClaimsRequestWithBody

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

NewListClaimsRequestWithBody generates requests for ListClaims with any type of body

func NewListExecutionsRequest

func NewListExecutionsRequest(server string, params *ListExecutionsParams) (*http.Request, error)

NewListExecutionsRequest generates requests for ListExecutions

func NewReleaseClaimsRequest

func NewReleaseClaimsRequest(server string, body ReleaseClaimsJSONRequestBody) (*http.Request, error)

NewReleaseClaimsRequest calls the generic ReleaseClaims builder with application/json body

func NewReleaseClaimsRequestWithBody

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

NewReleaseClaimsRequestWithBody generates requests for ReleaseClaims with any type of body

func NewReportPhaseRequest

func NewReportPhaseRequest(server string, body ReportPhaseJSONRequestBody) (*http.Request, error)

NewReportPhaseRequest calls the generic ReportPhase builder with application/json body

func NewReportPhaseRequestWithBody

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

NewReportPhaseRequestWithBody generates requests for ReportPhase with any type of body

func NewRevokeGateRequest

func NewRevokeGateRequest(server string, body RevokeGateJSONRequestBody) (*http.Request, error)

NewRevokeGateRequest calls the generic RevokeGate builder with application/json body

func NewRevokeGateRequestWithBody

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

NewRevokeGateRequestWithBody generates requests for RevokeGate with any type of body

func NewUpdateStackRequest

func NewUpdateStackRequest(server string, body UpdateStackJSONRequestBody) (*http.Request, error)

NewUpdateStackRequest calls the generic UpdateStack builder with application/json body

func NewUpdateStackRequestWithBody

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

NewUpdateStackRequestWithBody generates requests for UpdateStack with any type of body

Types

type AppendLogsJSONRequestBody

type AppendLogsJSONRequestBody = LogChunk

AppendLogsJSONRequestBody defines body for AppendLogs for application/json ContentType.

type AppendLogsResponse

type AppendLogsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseAppendLogsResponse

func ParseAppendLogsResponse(rsp *http.Response) (*AppendLogsResponse, error)

ParseAppendLogsResponse parses an HTTP response from a AppendLogsWithResponse call

func (AppendLogsResponse) ContentType

func (r AppendLogsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AppendLogsResponse) Status

func (r AppendLogsResponse) Status() string

Status returns HTTPResponse.Status

func (AppendLogsResponse) StatusCode

func (r AppendLogsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Category

type Category = events.Category

Category A classification label matched by a stack.

type CheckGateJSONRequestBody

type CheckGateJSONRequestBody = GateCheck

CheckGateJSONRequestBody defines body for CheckGate for application/json ContentType.

type CheckGateResponse

type CheckGateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GateCheckOK
	JSON409      *CodedError
	JSON500      *CodedError
	JSON503      *CodedError
}

func ParseCheckGateResponse

func ParseCheckGateResponse(rsp *http.Response) (*CheckGateResponse, error)

ParseCheckGateResponse parses an HTTP response from a CheckGateWithResponse call

func (CheckGateResponse) ContentType

func (r CheckGateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CheckGateResponse) Status

func (r CheckGateResponse) Status() string

Status returns HTTPResponse.Status

func (CheckGateResponse) StatusCode

func (r CheckGateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Claim

type Claim = events.Claim

Claim One apply-lock claim row.

type ClaimsListRequest

type ClaimsListRequest struct {
	Environment string `json:"environment"`
}

ClaimsListRequest defines model for ClaimsListRequest.

type ClaimsReleaseRequest

type ClaimsReleaseRequest struct {
	Environment string `json:"environment"`
	Pr          int    `json:"pr"`

	// Stack Empty releases all of the PR's claims in the environment.
	Stack string `json:"stack"`
}

ClaimsReleaseRequest defines model for ClaimsReleaseRequest.

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) AppendLogs

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

func (*Client) AppendLogsWithBody

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

func (*Client) CheckGate

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

func (*Client) CheckGateWithBody

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

func (*Client) FinalizeExecution

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

func (*Client) FinalizeExecutionWithBody

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

func (*Client) GetExecution

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

func (*Client) InitExecution

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

func (*Client) InitExecutionWithBody

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

func (*Client) ListApprovals

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

func (*Client) ListClaims

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

func (*Client) ListClaimsWithBody

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

func (*Client) ListExecutions

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

func (*Client) ReleaseClaims

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

func (*Client) ReleaseClaimsWithBody

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

func (*Client) ReportPhase

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

func (*Client) ReportPhaseWithBody

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

func (*Client) RevokeGate

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

func (*Client) RevokeGateWithBody

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

func (*Client) UpdateStack

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

func (*Client) UpdateStackWithBody

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

type ClientInterface

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

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

	ListClaims(ctx context.Context, body ListClaimsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	ReleaseClaims(ctx context.Context, body ReleaseClaimsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// ListExecutions request
	ListExecutions(ctx context.Context, params *ListExecutionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	FinalizeExecution(ctx context.Context, body FinalizeExecutionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	CheckGate(ctx context.Context, body CheckGateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	RevokeGate(ctx context.Context, body RevokeGateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	InitExecution(ctx context.Context, body InitExecutionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	AppendLogs(ctx context.Context, body AppendLogsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	ReportPhase(ctx context.Context, body ReportPhaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	UpdateStack(ctx context.Context, body UpdateStackJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

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

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

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

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

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

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

func (*ClientWithResponses) AppendLogsWithBodyWithResponse

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

AppendLogsWithBodyWithResponse request with arbitrary body returning *AppendLogsResponse

func (*ClientWithResponses) AppendLogsWithResponse

func (c *ClientWithResponses) AppendLogsWithResponse(ctx context.Context, body AppendLogsJSONRequestBody, reqEditors ...RequestEditorFn) (*AppendLogsResponse, error)

func (*ClientWithResponses) CheckGateWithBodyWithResponse

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

CheckGateWithBodyWithResponse request with arbitrary body returning *CheckGateResponse

func (*ClientWithResponses) CheckGateWithResponse

func (c *ClientWithResponses) CheckGateWithResponse(ctx context.Context, body CheckGateJSONRequestBody, reqEditors ...RequestEditorFn) (*CheckGateResponse, error)

func (*ClientWithResponses) FinalizeExecutionWithBodyWithResponse

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

FinalizeExecutionWithBodyWithResponse request with arbitrary body returning *FinalizeExecutionResponse

func (*ClientWithResponses) FinalizeExecutionWithResponse

func (c *ClientWithResponses) FinalizeExecutionWithResponse(ctx context.Context, body FinalizeExecutionJSONRequestBody, reqEditors ...RequestEditorFn) (*FinalizeExecutionResponse, error)

func (*ClientWithResponses) GetExecutionWithResponse

func (c *ClientWithResponses) GetExecutionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetExecutionResponse, error)

GetExecutionWithResponse request returning *GetExecutionResponse

func (*ClientWithResponses) InitExecutionWithBodyWithResponse

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

InitExecutionWithBodyWithResponse request with arbitrary body returning *InitExecutionResponse

func (*ClientWithResponses) InitExecutionWithResponse

func (c *ClientWithResponses) InitExecutionWithResponse(ctx context.Context, body InitExecutionJSONRequestBody, reqEditors ...RequestEditorFn) (*InitExecutionResponse, error)

func (*ClientWithResponses) ListApprovalsWithResponse

func (c *ClientWithResponses) ListApprovalsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListApprovalsResponse, error)

ListApprovalsWithResponse request returning *ListApprovalsResponse

func (*ClientWithResponses) ListClaimsWithBodyWithResponse

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

ListClaimsWithBodyWithResponse request with arbitrary body returning *ListClaimsResponse

func (*ClientWithResponses) ListClaimsWithResponse

func (c *ClientWithResponses) ListClaimsWithResponse(ctx context.Context, body ListClaimsJSONRequestBody, reqEditors ...RequestEditorFn) (*ListClaimsResponse, error)

func (*ClientWithResponses) ListExecutionsWithResponse

func (c *ClientWithResponses) ListExecutionsWithResponse(ctx context.Context, params *ListExecutionsParams, reqEditors ...RequestEditorFn) (*ListExecutionsResponse, error)

ListExecutionsWithResponse request returning *ListExecutionsResponse

func (*ClientWithResponses) ReleaseClaimsWithBodyWithResponse

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

ReleaseClaimsWithBodyWithResponse request with arbitrary body returning *ReleaseClaimsResponse

func (*ClientWithResponses) ReleaseClaimsWithResponse

func (c *ClientWithResponses) ReleaseClaimsWithResponse(ctx context.Context, body ReleaseClaimsJSONRequestBody, reqEditors ...RequestEditorFn) (*ReleaseClaimsResponse, error)

func (*ClientWithResponses) ReportPhaseWithBodyWithResponse

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

ReportPhaseWithBodyWithResponse request with arbitrary body returning *ReportPhaseResponse

func (*ClientWithResponses) ReportPhaseWithResponse

func (c *ClientWithResponses) ReportPhaseWithResponse(ctx context.Context, body ReportPhaseJSONRequestBody, reqEditors ...RequestEditorFn) (*ReportPhaseResponse, error)

func (*ClientWithResponses) RevokeGateWithBodyWithResponse

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

RevokeGateWithBodyWithResponse request with arbitrary body returning *RevokeGateResponse

func (*ClientWithResponses) RevokeGateWithResponse

func (c *ClientWithResponses) RevokeGateWithResponse(ctx context.Context, body RevokeGateJSONRequestBody, reqEditors ...RequestEditorFn) (*RevokeGateResponse, error)

func (*ClientWithResponses) UpdateStackWithBodyWithResponse

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

UpdateStackWithBodyWithResponse request with arbitrary body returning *UpdateStackResponse

func (*ClientWithResponses) UpdateStackWithResponse

func (c *ClientWithResponses) UpdateStackWithResponse(ctx context.Context, body UpdateStackJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateStackResponse, error)

type ClientWithResponsesInterface

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

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

	ListClaimsWithResponse(ctx context.Context, body ListClaimsJSONRequestBody, reqEditors ...RequestEditorFn) (*ListClaimsResponse, error)

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

	ReleaseClaimsWithResponse(ctx context.Context, body ReleaseClaimsJSONRequestBody, reqEditors ...RequestEditorFn) (*ReleaseClaimsResponse, error)

	// GetExecutionWithResponse request
	GetExecutionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetExecutionResponse, error)

	// ListExecutionsWithResponse request
	ListExecutionsWithResponse(ctx context.Context, params *ListExecutionsParams, reqEditors ...RequestEditorFn) (*ListExecutionsResponse, error)

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

	FinalizeExecutionWithResponse(ctx context.Context, body FinalizeExecutionJSONRequestBody, reqEditors ...RequestEditorFn) (*FinalizeExecutionResponse, error)

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

	CheckGateWithResponse(ctx context.Context, body CheckGateJSONRequestBody, reqEditors ...RequestEditorFn) (*CheckGateResponse, error)

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

	RevokeGateWithResponse(ctx context.Context, body RevokeGateJSONRequestBody, reqEditors ...RequestEditorFn) (*RevokeGateResponse, error)

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

	InitExecutionWithResponse(ctx context.Context, body InitExecutionJSONRequestBody, reqEditors ...RequestEditorFn) (*InitExecutionResponse, error)

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

	AppendLogsWithResponse(ctx context.Context, body AppendLogsJSONRequestBody, reqEditors ...RequestEditorFn) (*AppendLogsResponse, error)

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

	ReportPhaseWithResponse(ctx context.Context, body ReportPhaseJSONRequestBody, reqEditors ...RequestEditorFn) (*ReportPhaseResponse, error)

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

	UpdateStackWithResponse(ctx context.Context, body UpdateStackJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateStackResponse, error)
}

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

type CodedError

type CodedError struct {
	// Code e.g. GATE-001, GATE-002, GATE-003, SRV-001
	Code    string `json:"code"`
	Message string `json:"message"`
}

CodedError Machine-readable error: HTTP status carries the coarse class, code the precise condition callers switch on.

type Counts

type Counts = events.Counts

Counts A stack's per-kind operation tally (zero counts omitted).

type Edge

type Edge = events.Edge

Edge A dependency: from must run before to.

type ExecutionDetail

type ExecutionDetail struct {
	// CheckRunID A database nullable int64, serialized raw (historical accident, preserved for wire compatibility).
	CheckRunID     NullInt64 `json:"CheckRunID"`
	CreatedAt      time.Time `json:"CreatedAt"`
	Environment    string    `json:"Environment"`
	ID             string    `json:"ID"`
	LogURL         string    `json:"LogURL"`
	PR             int       `json:"PR"`
	Phase          string    `json:"Phase"`
	Repo           string    `json:"Repo"`
	ReportMarkdown string    `json:"ReportMarkdown"`
	Rev            int       `json:"Rev"`
	SHA            string    `json:"SHA"`

	// Status Execution-level status (in_progress/success/failure).
	Status        string             `json:"Status"`
	StatusContext string             `json:"StatusContext"`
	SupersededBy  string             `json:"SupersededBy"`
	Gates         []StoredGateTarget `json:"gates"`

	// Graph The changed subgraph for one execution.
	Graph Graph `json:"graph"`

	// VerifyExecutionId Latest verify execution for the same (pr, environment), "" when none. Additive (2026-07) — snake_case unlike its legacy siblings.
	VerifyExecutionId string `json:"verify_execution_id"`
}

ExecutionDetail The full execution read. Top-level and gate keys are PascalCase with a raw NullInt64 (see getExecution).

type ExecutionSummary

type ExecutionSummary struct {
	// Context The commit-status context the run drives (e.g. plan/<env>, apply/<env>, verify/<env>).
	Context     string    `json:"context"`
	CreatedAt   time.Time `json:"created_at"`
	Environment string    `json:"environment"`
	Id          string    `json:"id"`
	LogUrl      string    `json:"log_url"`

	// Phase Current lifecycle phase ("" before the first phase event).
	Phase string `json:"phase"`
	Pr    int    `json:"pr"`
	Repo  string `json:"repo"`
	Sha   string `json:"sha"`

	// Status Execution-level status (in_progress/success/failure).
	Status string `json:"status"`

	// SupersededBy Id of the execution that superseded this one ("" when live).
	SupersededBy string `json:"superseded_by"`
}

ExecutionSummary One execution in a list view — everything but the graph and the rendered report.

type Finalize

type Finalize = events.Finalize

Finalize Records the terminal plan state.

type FinalizeExecutionJSONRequestBody

type FinalizeExecutionJSONRequestBody = Finalize

FinalizeExecutionJSONRequestBody defines body for FinalizeExecution for application/json ContentType.

type FinalizeExecutionResponse

type FinalizeExecutionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseFinalizeExecutionResponse

func ParseFinalizeExecutionResponse(rsp *http.Response) (*FinalizeExecutionResponse, error)

ParseFinalizeExecutionResponse parses an HTTP response from a FinalizeExecutionWithResponse call

func (FinalizeExecutionResponse) ContentType

func (r FinalizeExecutionResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (FinalizeExecutionResponse) Status

func (r FinalizeExecutionResponse) Status() string

Status returns HTTPResponse.Status

func (FinalizeExecutionResponse) StatusCode

func (r FinalizeExecutionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GateCheck

type GateCheck = events.GateCheck

GateCheck defines model for GateCheck.

type GateCheckOK

type GateCheckOK struct {
	// Requester Leased requester SA the apply impersonates; empty for a clean/no-gate pass.
	Requester string `json:"requester"`
}

GateCheckOK A passing gate check.

type GateRevoke

type GateRevoke = events.GateRevoke

GateRevoke defines model for GateRevoke.

type GateTarget

type GateTarget = events.GateTarget

GateTarget One thing that must be approved: a classification class against a target (e.g. a cloud project).

type GetExecutionResponse

type GetExecutionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ExecutionDetail
}

func ParseGetExecutionResponse

func ParseGetExecutionResponse(rsp *http.Response) (*GetExecutionResponse, error)

ParseGetExecutionResponse parses an HTTP response from a GetExecutionWithResponse call

func (GetExecutionResponse) ContentType

func (r GetExecutionResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetExecutionResponse) Status

func (r GetExecutionResponse) Status() string

Status returns HTTPResponse.Status

func (GetExecutionResponse) StatusCode

func (r GetExecutionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Graph

type Graph = events.Graph

Graph The changed subgraph for one execution.

type HttpRequestDoer

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

Doer performs HTTP requests.

The standard http.Client implements this interface.

type Init

type Init = events.Init

Init Registers an execution and its changed subgraph.

type InitExecutionJSONRequestBody

type InitExecutionJSONRequestBody = Init

InitExecutionJSONRequestBody defines body for InitExecution for application/json ContentType.

type InitExecutionResponse

type InitExecutionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseInitExecutionResponse

func ParseInitExecutionResponse(rsp *http.Response) (*InitExecutionResponse, error)

ParseInitExecutionResponse parses an HTTP response from a InitExecutionWithResponse call

func (InitExecutionResponse) ContentType

func (r InitExecutionResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (InitExecutionResponse) Status

func (r InitExecutionResponse) Status() string

Status returns HTTPResponse.Status

func (InitExecutionResponse) StatusCode

func (r InitExecutionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error

type ListApprovalsResponse

type ListApprovalsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]PendingApproval
}

func ParseListApprovalsResponse

func ParseListApprovalsResponse(rsp *http.Response) (*ListApprovalsResponse, error)

ParseListApprovalsResponse parses an HTTP response from a ListApprovalsWithResponse call

func (ListApprovalsResponse) ContentType

func (r ListApprovalsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListApprovalsResponse) Status

func (r ListApprovalsResponse) Status() string

Status returns HTTPResponse.Status

func (ListApprovalsResponse) StatusCode

func (r ListApprovalsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListClaimsJSONRequestBody

type ListClaimsJSONRequestBody = ClaimsListRequest

ListClaimsJSONRequestBody defines body for ListClaims for application/json ContentType.

type ListClaimsResponse

type ListClaimsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Claim
}

func ParseListClaimsResponse

func ParseListClaimsResponse(rsp *http.Response) (*ListClaimsResponse, error)

ParseListClaimsResponse parses an HTTP response from a ListClaimsWithResponse call

func (ListClaimsResponse) ContentType

func (r ListClaimsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListClaimsResponse) Status

func (r ListClaimsResponse) Status() string

Status returns HTTPResponse.Status

func (ListClaimsResponse) StatusCode

func (r ListClaimsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListExecutionsParams

type ListExecutionsParams struct {
	// Pr Only executions for this pull request.
	Pr    *int `form:"pr,omitempty" json:"pr,omitempty"`
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}

ListExecutionsParams defines parameters for ListExecutions.

type ListExecutionsResponse

type ListExecutionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]ExecutionSummary
}

func ParseListExecutionsResponse

func ParseListExecutionsResponse(rsp *http.Response) (*ListExecutionsResponse, error)

ParseListExecutionsResponse parses an HTTP response from a ListExecutionsWithResponse call

func (ListExecutionsResponse) ContentType

func (r ListExecutionsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListExecutionsResponse) Status

func (r ListExecutionsResponse) Status() string

Status returns HTTPResponse.Status

func (ListExecutionsResponse) StatusCode

func (r ListExecutionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LogChunk

type LogChunk = events.LogChunk

LogChunk A slice of one stack's combined output.

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type NullInt64

type NullInt64 struct {
	Int64 int64 `json:"Int64"`
	Valid bool  `json:"Valid"`
}

NullInt64 A database nullable int64, serialized raw (historical accident, preserved for wire compatibility).

type PendingApproval

type PendingApproval struct {
	Class       string `json:"class"`
	Environment string `json:"environment"`

	// GrantName The approval-backend grant resource name ("" until a grant exists).
	GrantName string `json:"grant_name"`
	Pr        int    `json:"pr"`

	// Repo Repo of the PR's latest execution in this environment ("" when none).
	Repo string `json:"repo"`

	// Requester Leased requester SA for this grant.
	Requester string `json:"requester"`

	// State Backend grant state (e.g. AWAITING, ACTIVATING, DENIED, REVOKED).
	State  string `json:"state"`
	Target string `json:"target"`
}

PendingApproval One gate target awaiting human action, with its PR context.

type Phase

type Phase = events.Phase

Phase Execution-wide lifecycle phase.

type PhaseEvent

type PhaseEvent = events.PhaseEvent

PhaseEvent Narrates a lifecycle phase transition (may arrive before Init).

type ReleaseClaimsJSONRequestBody

type ReleaseClaimsJSONRequestBody = ClaimsReleaseRequest

ReleaseClaimsJSONRequestBody defines body for ReleaseClaims for application/json ContentType.

type ReleaseClaimsResponse

type ReleaseClaimsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseReleaseClaimsResponse

func ParseReleaseClaimsResponse(rsp *http.Response) (*ReleaseClaimsResponse, error)

ParseReleaseClaimsResponse parses an HTTP response from a ReleaseClaimsWithResponse call

func (ReleaseClaimsResponse) ContentType

func (r ReleaseClaimsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ReleaseClaimsResponse) Status

func (r ReleaseClaimsResponse) Status() string

Status returns HTTPResponse.Status

func (ReleaseClaimsResponse) StatusCode

func (r ReleaseClaimsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReportPhaseJSONRequestBody

type ReportPhaseJSONRequestBody = PhaseEvent

ReportPhaseJSONRequestBody defines body for ReportPhase for application/json ContentType.

type ReportPhaseResponse

type ReportPhaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseReportPhaseResponse

func ParseReportPhaseResponse(rsp *http.Response) (*ReportPhaseResponse, error)

ParseReportPhaseResponse parses an HTTP response from a ReportPhaseWithResponse call

func (ReportPhaseResponse) ContentType

func (r ReportPhaseResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ReportPhaseResponse) Status

func (r ReportPhaseResponse) Status() string

Status returns HTTPResponse.Status

func (ReportPhaseResponse) StatusCode

func (r ReportPhaseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

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

RequestEditorFn is the function signature for the RequestEditor callback function

type RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

func (*RequiredHeaderError) Error

func (e *RequiredHeaderError) Error() string

func (*RequiredHeaderError) Unwrap

func (e *RequiredHeaderError) Unwrap() error

type RequiredParamError

type RequiredParamError struct {
	ParamName string
}

func (*RequiredParamError) Error

func (e *RequiredParamError) Error() string

type RevokeGateJSONRequestBody

type RevokeGateJSONRequestBody = GateRevoke

RevokeGateJSONRequestBody defines body for RevokeGate for application/json ContentType.

type RevokeGateResponse

type RevokeGateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseRevokeGateResponse

func ParseRevokeGateResponse(rsp *http.Response) (*RevokeGateResponse, error)

ParseRevokeGateResponse parses an HTTP response from a RevokeGateWithResponse call

func (RevokeGateResponse) ContentType

func (r RevokeGateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RevokeGateResponse) Status

func (r RevokeGateResponse) Status() string

Status returns HTTPResponse.Status

func (RevokeGateResponse) StatusCode

func (r RevokeGateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ServeMux

type ServeMux interface {
	HandleFunc(pattern string, handler func(http.ResponseWriter, *http.Request))
	http.Handler
}

ServeMux is an abstraction of http.ServeMux.

type ServerInterface

type ServerInterface interface {
	// List gate targets awaiting human action, across all PRs
	// (GET /api/approvals)
	ListApprovals(w http.ResponseWriter, r *http.Request)
	// List the apply-lock claims for an environment
	// (POST /api/claims/list)
	ListClaims(w http.ResponseWriter, r *http.Request)
	// Admin-release one stack's claim or all of a PR's claims
	// (POST /api/claims/release)
	ReleaseClaims(w http.ResponseWriter, r *http.Request)
	// Read one execution's full state
	// (GET /api/execution/{id})
	GetExecution(w http.ResponseWriter, r *http.Request, id string)
	// List executions, newest first
	// (GET /api/executions)
	ListExecutions(w http.ResponseWriter, r *http.Request, params ListExecutionsParams)
	// Record the terminal plan state
	// (POST /api/finalize)
	FinalizeExecution(w http.ResponseWriter, r *http.Request)
	// Apply-time, fail-closed gate pre-check
	// (POST /api/gate/check)
	CheckGate(w http.ResponseWriter, r *http.Request)
	// Revoke the grants requested for (pr, environment)
	// (POST /api/gate/revoke)
	RevokeGate(w http.ResponseWriter, r *http.Request)
	// Register an execution and its changed subgraph
	// (POST /api/init)
	InitExecution(w http.ResponseWriter, r *http.Request)
	// Ingest a per-stack output chunk
	// (POST /api/logs)
	AppendLogs(w http.ResponseWriter, r *http.Request)
	// Narrate a lifecycle phase transition
	// (POST /api/phase)
	ReportPhase(w http.ResponseWriter, r *http.Request)
	// Tick a single stack's status
	// (POST /api/update)
	UpdateStack(w http.ResponseWriter, r *http.Request)
}

ServerInterface represents all server handlers.

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler            ServerInterface
	HandlerMiddlewares []MiddlewareFunc
	ErrorHandlerFunc   func(w http.ResponseWriter, r *http.Request, err error)
}

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) AppendLogs

func (siw *ServerInterfaceWrapper) AppendLogs(w http.ResponseWriter, r *http.Request)

AppendLogs operation middleware

func (*ServerInterfaceWrapper) CheckGate

func (siw *ServerInterfaceWrapper) CheckGate(w http.ResponseWriter, r *http.Request)

CheckGate operation middleware

func (*ServerInterfaceWrapper) FinalizeExecution

func (siw *ServerInterfaceWrapper) FinalizeExecution(w http.ResponseWriter, r *http.Request)

FinalizeExecution operation middleware

func (*ServerInterfaceWrapper) GetExecution

func (siw *ServerInterfaceWrapper) GetExecution(w http.ResponseWriter, r *http.Request)

GetExecution operation middleware

func (*ServerInterfaceWrapper) InitExecution

func (siw *ServerInterfaceWrapper) InitExecution(w http.ResponseWriter, r *http.Request)

InitExecution operation middleware

func (*ServerInterfaceWrapper) ListApprovals

func (siw *ServerInterfaceWrapper) ListApprovals(w http.ResponseWriter, r *http.Request)

ListApprovals operation middleware

func (*ServerInterfaceWrapper) ListClaims

func (siw *ServerInterfaceWrapper) ListClaims(w http.ResponseWriter, r *http.Request)

ListClaims operation middleware

func (*ServerInterfaceWrapper) ListExecutions

func (siw *ServerInterfaceWrapper) ListExecutions(w http.ResponseWriter, r *http.Request)

ListExecutions operation middleware

func (*ServerInterfaceWrapper) ReleaseClaims

func (siw *ServerInterfaceWrapper) ReleaseClaims(w http.ResponseWriter, r *http.Request)

ReleaseClaims operation middleware

func (*ServerInterfaceWrapper) ReportPhase

func (siw *ServerInterfaceWrapper) ReportPhase(w http.ResponseWriter, r *http.Request)

ReportPhase operation middleware

func (*ServerInterfaceWrapper) RevokeGate

func (siw *ServerInterfaceWrapper) RevokeGate(w http.ResponseWriter, r *http.Request)

RevokeGate operation middleware

func (*ServerInterfaceWrapper) UpdateStack

func (siw *ServerInterfaceWrapper) UpdateStack(w http.ResponseWriter, r *http.Request)

UpdateStack operation middleware

type StackState

type StackState = events.StackState

StackState One node in the execution graph.

type Status

type Status = events.Status

Status Per-stack lifecycle status. Decoding rejects unknown non-empty values (WIRE-001); an omitted/empty status is tolerated.

type StdHTTPServerOptions

type StdHTTPServerOptions struct {
	BaseURL          string
	BaseRouter       ServeMux
	Middlewares      []MiddlewareFunc
	ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type StoredGateTarget

type StoredGateTarget struct {
	Class string `json:"Class"`

	// GrantName The approval-backend grant resource name (may be empty).
	GrantName string `json:"GrantName"`

	// Requester Leased requester SA for this grant.
	Requester string `json:"Requester"`

	// State Backend grant state (e.g. REQUESTED, ACTIVE, DENIED, REVOKED).
	State  string `json:"State"`
	Target string `json:"Target"`
}

StoredGateTarget A recorded gate target with its grant state (PascalCase keys).

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

func (*UnescapedCookieParamError) Error

func (e *UnescapedCookieParamError) Error() string

func (*UnescapedCookieParamError) Unwrap

func (e *UnescapedCookieParamError) Unwrap() error

type UnmarshalingParamError

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

func (*UnmarshalingParamError) Error

func (e *UnmarshalingParamError) Error() string

func (*UnmarshalingParamError) Unwrap

func (e *UnmarshalingParamError) Unwrap() error

type Update

type Update = events.Update

Update Ticks a single stack's status.

type UpdateStackJSONRequestBody

type UpdateStackJSONRequestBody = Update

UpdateStackJSONRequestBody defines body for UpdateStack for application/json ContentType.

type UpdateStackResponse

type UpdateStackResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseUpdateStackResponse

func ParseUpdateStackResponse(rsp *http.Response) (*UpdateStackResponse, error)

ParseUpdateStackResponse parses an HTTP response from a UpdateStackWithResponse call

func (UpdateStackResponse) ContentType

func (r UpdateStackResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateStackResponse) Status

func (r UpdateStackResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateStackResponse) StatusCode

func (r UpdateStackResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

Jump to

Keyboard shortcuts

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