Documentation
¶
Index ¶
- func BuildCreateEnvironmentPayload(environmentsCreateEnvironmentBody string, ...) (*environments.CreateEnvironmentPayload, error)
- func BuildDeleteEnvironmentPayload(environmentsDeleteEnvironmentSlug string, ...) (*environments.DeleteEnvironmentPayload, error)
- func BuildListEnvironmentsPayload(environmentsListEnvironmentsSessionToken string, ...) (*environments.ListEnvironmentsPayload, error)
- func BuildUpdateEnvironmentPayload(environmentsUpdateEnvironmentBody string, ...) (*environments.UpdateEnvironmentPayload, error)
- func CreateEnvironmentEnvironmentsPath() string
- func DecodeCreateEnvironmentResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)
- func DecodeDeleteEnvironmentResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)
- func DecodeListEnvironmentsResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)
- func DecodeUpdateEnvironmentResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)
- func DeleteEnvironmentEnvironmentsPath() string
- func EncodeCreateEnvironmentRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error
- func EncodeDeleteEnvironmentRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error
- func EncodeListEnvironmentsRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error
- func EncodeUpdateEnvironmentRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error
- func ListEnvironmentsEnvironmentsPath() string
- func NewCreateEnvironmentBadRequest(body *CreateEnvironmentBadRequestResponseBody) *goa.ServiceError
- func NewCreateEnvironmentConflict(body *CreateEnvironmentConflictResponseBody) *goa.ServiceError
- func NewCreateEnvironmentEnvironmentOK(body *CreateEnvironmentResponseBody) *types.Environment
- func NewCreateEnvironmentForbidden(body *CreateEnvironmentForbiddenResponseBody) *goa.ServiceError
- func NewCreateEnvironmentGatewayError(body *CreateEnvironmentGatewayErrorResponseBody) *goa.ServiceError
- func NewCreateEnvironmentInvalid(body *CreateEnvironmentInvalidResponseBody) *goa.ServiceError
- func NewCreateEnvironmentInvariantViolation(body *CreateEnvironmentInvariantViolationResponseBody) *goa.ServiceError
- func NewCreateEnvironmentNotFound(body *CreateEnvironmentNotFoundResponseBody) *goa.ServiceError
- func NewCreateEnvironmentUnauthorized(body *CreateEnvironmentUnauthorizedResponseBody) *goa.ServiceError
- func NewCreateEnvironmentUnexpected(body *CreateEnvironmentUnexpectedResponseBody) *goa.ServiceError
- func NewCreateEnvironmentUnsupportedMedia(body *CreateEnvironmentUnsupportedMediaResponseBody) *goa.ServiceError
- func NewDeleteEnvironmentBadRequest(body *DeleteEnvironmentBadRequestResponseBody) *goa.ServiceError
- func NewDeleteEnvironmentConflict(body *DeleteEnvironmentConflictResponseBody) *goa.ServiceError
- func NewDeleteEnvironmentForbidden(body *DeleteEnvironmentForbiddenResponseBody) *goa.ServiceError
- func NewDeleteEnvironmentGatewayError(body *DeleteEnvironmentGatewayErrorResponseBody) *goa.ServiceError
- func NewDeleteEnvironmentInvalid(body *DeleteEnvironmentInvalidResponseBody) *goa.ServiceError
- func NewDeleteEnvironmentInvariantViolation(body *DeleteEnvironmentInvariantViolationResponseBody) *goa.ServiceError
- func NewDeleteEnvironmentNotFound(body *DeleteEnvironmentNotFoundResponseBody) *goa.ServiceError
- func NewDeleteEnvironmentUnauthorized(body *DeleteEnvironmentUnauthorizedResponseBody) *goa.ServiceError
- func NewDeleteEnvironmentUnexpected(body *DeleteEnvironmentUnexpectedResponseBody) *goa.ServiceError
- func NewDeleteEnvironmentUnsupportedMedia(body *DeleteEnvironmentUnsupportedMediaResponseBody) *goa.ServiceError
- func NewListEnvironmentsBadRequest(body *ListEnvironmentsBadRequestResponseBody) *goa.ServiceError
- func NewListEnvironmentsConflict(body *ListEnvironmentsConflictResponseBody) *goa.ServiceError
- func NewListEnvironmentsForbidden(body *ListEnvironmentsForbiddenResponseBody) *goa.ServiceError
- func NewListEnvironmentsGatewayError(body *ListEnvironmentsGatewayErrorResponseBody) *goa.ServiceError
- func NewListEnvironmentsInvalid(body *ListEnvironmentsInvalidResponseBody) *goa.ServiceError
- func NewListEnvironmentsInvariantViolation(body *ListEnvironmentsInvariantViolationResponseBody) *goa.ServiceError
- func NewListEnvironmentsNotFound(body *ListEnvironmentsNotFoundResponseBody) *goa.ServiceError
- func NewListEnvironmentsResultOK(body *ListEnvironmentsResponseBody) *environments.ListEnvironmentsResult
- func NewListEnvironmentsUnauthorized(body *ListEnvironmentsUnauthorizedResponseBody) *goa.ServiceError
- func NewListEnvironmentsUnexpected(body *ListEnvironmentsUnexpectedResponseBody) *goa.ServiceError
- func NewListEnvironmentsUnsupportedMedia(body *ListEnvironmentsUnsupportedMediaResponseBody) *goa.ServiceError
- func NewUpdateEnvironmentBadRequest(body *UpdateEnvironmentBadRequestResponseBody) *goa.ServiceError
- func NewUpdateEnvironmentConflict(body *UpdateEnvironmentConflictResponseBody) *goa.ServiceError
- func NewUpdateEnvironmentEnvironmentOK(body *UpdateEnvironmentResponseBody) *types.Environment
- func NewUpdateEnvironmentForbidden(body *UpdateEnvironmentForbiddenResponseBody) *goa.ServiceError
- func NewUpdateEnvironmentGatewayError(body *UpdateEnvironmentGatewayErrorResponseBody) *goa.ServiceError
- func NewUpdateEnvironmentInvalid(body *UpdateEnvironmentInvalidResponseBody) *goa.ServiceError
- func NewUpdateEnvironmentInvariantViolation(body *UpdateEnvironmentInvariantViolationResponseBody) *goa.ServiceError
- func NewUpdateEnvironmentNotFound(body *UpdateEnvironmentNotFoundResponseBody) *goa.ServiceError
- func NewUpdateEnvironmentUnauthorized(body *UpdateEnvironmentUnauthorizedResponseBody) *goa.ServiceError
- func NewUpdateEnvironmentUnexpected(body *UpdateEnvironmentUnexpectedResponseBody) *goa.ServiceError
- func NewUpdateEnvironmentUnsupportedMedia(body *UpdateEnvironmentUnsupportedMediaResponseBody) *goa.ServiceError
- func UpdateEnvironmentEnvironmentsPath() string
- func ValidateCreateEnvironmentBadRequestResponseBody(body *CreateEnvironmentBadRequestResponseBody) (err error)
- func ValidateCreateEnvironmentConflictResponseBody(body *CreateEnvironmentConflictResponseBody) (err error)
- func ValidateCreateEnvironmentForbiddenResponseBody(body *CreateEnvironmentForbiddenResponseBody) (err error)
- func ValidateCreateEnvironmentGatewayErrorResponseBody(body *CreateEnvironmentGatewayErrorResponseBody) (err error)
- func ValidateCreateEnvironmentInvalidResponseBody(body *CreateEnvironmentInvalidResponseBody) (err error)
- func ValidateCreateEnvironmentInvariantViolationResponseBody(body *CreateEnvironmentInvariantViolationResponseBody) (err error)
- func ValidateCreateEnvironmentNotFoundResponseBody(body *CreateEnvironmentNotFoundResponseBody) (err error)
- func ValidateCreateEnvironmentResponseBody(body *CreateEnvironmentResponseBody) (err error)
- func ValidateCreateEnvironmentUnauthorizedResponseBody(body *CreateEnvironmentUnauthorizedResponseBody) (err error)
- func ValidateCreateEnvironmentUnexpectedResponseBody(body *CreateEnvironmentUnexpectedResponseBody) (err error)
- func ValidateCreateEnvironmentUnsupportedMediaResponseBody(body *CreateEnvironmentUnsupportedMediaResponseBody) (err error)
- func ValidateDeleteEnvironmentBadRequestResponseBody(body *DeleteEnvironmentBadRequestResponseBody) (err error)
- func ValidateDeleteEnvironmentConflictResponseBody(body *DeleteEnvironmentConflictResponseBody) (err error)
- func ValidateDeleteEnvironmentForbiddenResponseBody(body *DeleteEnvironmentForbiddenResponseBody) (err error)
- func ValidateDeleteEnvironmentGatewayErrorResponseBody(body *DeleteEnvironmentGatewayErrorResponseBody) (err error)
- func ValidateDeleteEnvironmentInvalidResponseBody(body *DeleteEnvironmentInvalidResponseBody) (err error)
- func ValidateDeleteEnvironmentInvariantViolationResponseBody(body *DeleteEnvironmentInvariantViolationResponseBody) (err error)
- func ValidateDeleteEnvironmentNotFoundResponseBody(body *DeleteEnvironmentNotFoundResponseBody) (err error)
- func ValidateDeleteEnvironmentUnauthorizedResponseBody(body *DeleteEnvironmentUnauthorizedResponseBody) (err error)
- func ValidateDeleteEnvironmentUnexpectedResponseBody(body *DeleteEnvironmentUnexpectedResponseBody) (err error)
- func ValidateDeleteEnvironmentUnsupportedMediaResponseBody(body *DeleteEnvironmentUnsupportedMediaResponseBody) (err error)
- func ValidateEnvironmentEntryResponseBody(body *EnvironmentEntryResponseBody) (err error)
- func ValidateEnvironmentResponseBody(body *EnvironmentResponseBody) (err error)
- func ValidateListEnvironmentsBadRequestResponseBody(body *ListEnvironmentsBadRequestResponseBody) (err error)
- func ValidateListEnvironmentsConflictResponseBody(body *ListEnvironmentsConflictResponseBody) (err error)
- func ValidateListEnvironmentsForbiddenResponseBody(body *ListEnvironmentsForbiddenResponseBody) (err error)
- func ValidateListEnvironmentsGatewayErrorResponseBody(body *ListEnvironmentsGatewayErrorResponseBody) (err error)
- func ValidateListEnvironmentsInvalidResponseBody(body *ListEnvironmentsInvalidResponseBody) (err error)
- func ValidateListEnvironmentsInvariantViolationResponseBody(body *ListEnvironmentsInvariantViolationResponseBody) (err error)
- func ValidateListEnvironmentsNotFoundResponseBody(body *ListEnvironmentsNotFoundResponseBody) (err error)
- func ValidateListEnvironmentsResponseBody(body *ListEnvironmentsResponseBody) (err error)
- func ValidateListEnvironmentsUnauthorizedResponseBody(body *ListEnvironmentsUnauthorizedResponseBody) (err error)
- func ValidateListEnvironmentsUnexpectedResponseBody(body *ListEnvironmentsUnexpectedResponseBody) (err error)
- func ValidateListEnvironmentsUnsupportedMediaResponseBody(body *ListEnvironmentsUnsupportedMediaResponseBody) (err error)
- func ValidateUpdateEnvironmentBadRequestResponseBody(body *UpdateEnvironmentBadRequestResponseBody) (err error)
- func ValidateUpdateEnvironmentConflictResponseBody(body *UpdateEnvironmentConflictResponseBody) (err error)
- func ValidateUpdateEnvironmentForbiddenResponseBody(body *UpdateEnvironmentForbiddenResponseBody) (err error)
- func ValidateUpdateEnvironmentGatewayErrorResponseBody(body *UpdateEnvironmentGatewayErrorResponseBody) (err error)
- func ValidateUpdateEnvironmentInvalidResponseBody(body *UpdateEnvironmentInvalidResponseBody) (err error)
- func ValidateUpdateEnvironmentInvariantViolationResponseBody(body *UpdateEnvironmentInvariantViolationResponseBody) (err error)
- func ValidateUpdateEnvironmentNotFoundResponseBody(body *UpdateEnvironmentNotFoundResponseBody) (err error)
- func ValidateUpdateEnvironmentResponseBody(body *UpdateEnvironmentResponseBody) (err error)
- func ValidateUpdateEnvironmentUnauthorizedResponseBody(body *UpdateEnvironmentUnauthorizedResponseBody) (err error)
- func ValidateUpdateEnvironmentUnexpectedResponseBody(body *UpdateEnvironmentUnexpectedResponseBody) (err error)
- func ValidateUpdateEnvironmentUnsupportedMediaResponseBody(body *UpdateEnvironmentUnsupportedMediaResponseBody) (err error)
- type Client
- func (c *Client) BuildCreateEnvironmentRequest(ctx context.Context, v any) (*http.Request, error)
- func (c *Client) BuildDeleteEnvironmentRequest(ctx context.Context, v any) (*http.Request, error)
- func (c *Client) BuildListEnvironmentsRequest(ctx context.Context, v any) (*http.Request, error)
- func (c *Client) BuildUpdateEnvironmentRequest(ctx context.Context, v any) (*http.Request, error)
- func (c *Client) CreateEnvironment() goa.Endpoint
- func (c *Client) DeleteEnvironment() goa.Endpoint
- func (c *Client) ListEnvironments() goa.Endpoint
- func (c *Client) UpdateEnvironment() goa.Endpoint
- type CreateEnvironmentBadRequestResponseBody
- type CreateEnvironmentConflictResponseBody
- type CreateEnvironmentForbiddenResponseBody
- type CreateEnvironmentGatewayErrorResponseBody
- type CreateEnvironmentInvalidResponseBody
- type CreateEnvironmentInvariantViolationResponseBody
- type CreateEnvironmentNotFoundResponseBody
- type CreateEnvironmentRequestBody
- type CreateEnvironmentResponseBody
- type CreateEnvironmentUnauthorizedResponseBody
- type CreateEnvironmentUnexpectedResponseBody
- type CreateEnvironmentUnsupportedMediaResponseBody
- type DeleteEnvironmentBadRequestResponseBody
- type DeleteEnvironmentConflictResponseBody
- type DeleteEnvironmentForbiddenResponseBody
- type DeleteEnvironmentGatewayErrorResponseBody
- type DeleteEnvironmentInvalidResponseBody
- type DeleteEnvironmentInvariantViolationResponseBody
- type DeleteEnvironmentNotFoundResponseBody
- type DeleteEnvironmentUnauthorizedResponseBody
- type DeleteEnvironmentUnexpectedResponseBody
- type DeleteEnvironmentUnsupportedMediaResponseBody
- type EnvironmentEntryInputRequestBody
- type EnvironmentEntryResponseBody
- type EnvironmentResponseBody
- type ListEnvironmentsBadRequestResponseBody
- type ListEnvironmentsConflictResponseBody
- type ListEnvironmentsForbiddenResponseBody
- type ListEnvironmentsGatewayErrorResponseBody
- type ListEnvironmentsInvalidResponseBody
- type ListEnvironmentsInvariantViolationResponseBody
- type ListEnvironmentsNotFoundResponseBody
- type ListEnvironmentsResponseBody
- type ListEnvironmentsUnauthorizedResponseBody
- type ListEnvironmentsUnexpectedResponseBody
- type ListEnvironmentsUnsupportedMediaResponseBody
- type UpdateEnvironmentBadRequestResponseBody
- type UpdateEnvironmentConflictResponseBody
- type UpdateEnvironmentForbiddenResponseBody
- type UpdateEnvironmentGatewayErrorResponseBody
- type UpdateEnvironmentInvalidResponseBody
- type UpdateEnvironmentInvariantViolationResponseBody
- type UpdateEnvironmentNotFoundResponseBody
- type UpdateEnvironmentRequestBody
- type UpdateEnvironmentResponseBody
- type UpdateEnvironmentUnauthorizedResponseBody
- type UpdateEnvironmentUnexpectedResponseBody
- type UpdateEnvironmentUnsupportedMediaResponseBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildCreateEnvironmentPayload ¶
func BuildCreateEnvironmentPayload(environmentsCreateEnvironmentBody string, environmentsCreateEnvironmentSessionToken string, environmentsCreateEnvironmentProjectSlugInput string) (*environments.CreateEnvironmentPayload, error)
BuildCreateEnvironmentPayload builds the payload for the environments createEnvironment endpoint from CLI flags.
func BuildDeleteEnvironmentPayload ¶
func BuildDeleteEnvironmentPayload(environmentsDeleteEnvironmentSlug string, environmentsDeleteEnvironmentSessionToken string, environmentsDeleteEnvironmentProjectSlugInput string) (*environments.DeleteEnvironmentPayload, error)
BuildDeleteEnvironmentPayload builds the payload for the environments deleteEnvironment endpoint from CLI flags.
func BuildListEnvironmentsPayload ¶
func BuildListEnvironmentsPayload(environmentsListEnvironmentsSessionToken string, environmentsListEnvironmentsProjectSlugInput string) (*environments.ListEnvironmentsPayload, error)
BuildListEnvironmentsPayload builds the payload for the environments listEnvironments endpoint from CLI flags.
func BuildUpdateEnvironmentPayload ¶
func BuildUpdateEnvironmentPayload(environmentsUpdateEnvironmentBody string, environmentsUpdateEnvironmentSlug string, environmentsUpdateEnvironmentSessionToken string, environmentsUpdateEnvironmentProjectSlugInput string) (*environments.UpdateEnvironmentPayload, error)
BuildUpdateEnvironmentPayload builds the payload for the environments updateEnvironment endpoint from CLI flags.
func CreateEnvironmentEnvironmentsPath ¶
func CreateEnvironmentEnvironmentsPath() string
CreateEnvironmentEnvironmentsPath returns the URL path to the environments service createEnvironment HTTP endpoint.
func DecodeCreateEnvironmentResponse ¶
func DecodeCreateEnvironmentResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)
DecodeCreateEnvironmentResponse returns a decoder for responses returned by the environments createEnvironment endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeCreateEnvironmentResponse may return the following errors:
- "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
- "forbidden" (type *goa.ServiceError): http.StatusForbidden
- "bad_request" (type *goa.ServiceError): http.StatusBadRequest
- "not_found" (type *goa.ServiceError): http.StatusNotFound
- "conflict" (type *goa.ServiceError): http.StatusConflict
- "unsupported_media" (type *goa.ServiceError): http.StatusUnsupportedMediaType
- "invalid" (type *goa.ServiceError): http.StatusUnprocessableEntity
- "invariant_violation" (type *goa.ServiceError): http.StatusInternalServerError
- "unexpected" (type *goa.ServiceError): http.StatusInternalServerError
- "gateway_error" (type *goa.ServiceError): http.StatusBadGateway
- error: internal error
func DecodeDeleteEnvironmentResponse ¶
func DecodeDeleteEnvironmentResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)
DecodeDeleteEnvironmentResponse returns a decoder for responses returned by the environments deleteEnvironment endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeDeleteEnvironmentResponse may return the following errors:
- "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
- "forbidden" (type *goa.ServiceError): http.StatusForbidden
- "bad_request" (type *goa.ServiceError): http.StatusBadRequest
- "not_found" (type *goa.ServiceError): http.StatusNotFound
- "conflict" (type *goa.ServiceError): http.StatusConflict
- "unsupported_media" (type *goa.ServiceError): http.StatusUnsupportedMediaType
- "invalid" (type *goa.ServiceError): http.StatusUnprocessableEntity
- "invariant_violation" (type *goa.ServiceError): http.StatusInternalServerError
- "unexpected" (type *goa.ServiceError): http.StatusInternalServerError
- "gateway_error" (type *goa.ServiceError): http.StatusBadGateway
- error: internal error
func DecodeListEnvironmentsResponse ¶
func DecodeListEnvironmentsResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)
DecodeListEnvironmentsResponse returns a decoder for responses returned by the environments listEnvironments endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeListEnvironmentsResponse may return the following errors:
- "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
- "forbidden" (type *goa.ServiceError): http.StatusForbidden
- "bad_request" (type *goa.ServiceError): http.StatusBadRequest
- "not_found" (type *goa.ServiceError): http.StatusNotFound
- "conflict" (type *goa.ServiceError): http.StatusConflict
- "unsupported_media" (type *goa.ServiceError): http.StatusUnsupportedMediaType
- "invalid" (type *goa.ServiceError): http.StatusUnprocessableEntity
- "invariant_violation" (type *goa.ServiceError): http.StatusInternalServerError
- "unexpected" (type *goa.ServiceError): http.StatusInternalServerError
- "gateway_error" (type *goa.ServiceError): http.StatusBadGateway
- error: internal error
func DecodeUpdateEnvironmentResponse ¶
func DecodeUpdateEnvironmentResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)
DecodeUpdateEnvironmentResponse returns a decoder for responses returned by the environments updateEnvironment endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeUpdateEnvironmentResponse may return the following errors:
- "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
- "forbidden" (type *goa.ServiceError): http.StatusForbidden
- "bad_request" (type *goa.ServiceError): http.StatusBadRequest
- "not_found" (type *goa.ServiceError): http.StatusNotFound
- "conflict" (type *goa.ServiceError): http.StatusConflict
- "unsupported_media" (type *goa.ServiceError): http.StatusUnsupportedMediaType
- "invalid" (type *goa.ServiceError): http.StatusUnprocessableEntity
- "invariant_violation" (type *goa.ServiceError): http.StatusInternalServerError
- "unexpected" (type *goa.ServiceError): http.StatusInternalServerError
- "gateway_error" (type *goa.ServiceError): http.StatusBadGateway
- error: internal error
func DeleteEnvironmentEnvironmentsPath ¶
func DeleteEnvironmentEnvironmentsPath() string
DeleteEnvironmentEnvironmentsPath returns the URL path to the environments service deleteEnvironment HTTP endpoint.
func EncodeCreateEnvironmentRequest ¶
func EncodeCreateEnvironmentRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error
EncodeCreateEnvironmentRequest returns an encoder for requests sent to the environments createEnvironment server.
func EncodeDeleteEnvironmentRequest ¶
func EncodeDeleteEnvironmentRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error
EncodeDeleteEnvironmentRequest returns an encoder for requests sent to the environments deleteEnvironment server.
func EncodeListEnvironmentsRequest ¶
func EncodeListEnvironmentsRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error
EncodeListEnvironmentsRequest returns an encoder for requests sent to the environments listEnvironments server.
func EncodeUpdateEnvironmentRequest ¶
func EncodeUpdateEnvironmentRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error
EncodeUpdateEnvironmentRequest returns an encoder for requests sent to the environments updateEnvironment server.
func ListEnvironmentsEnvironmentsPath ¶
func ListEnvironmentsEnvironmentsPath() string
ListEnvironmentsEnvironmentsPath returns the URL path to the environments service listEnvironments HTTP endpoint.
func NewCreateEnvironmentBadRequest ¶
func NewCreateEnvironmentBadRequest(body *CreateEnvironmentBadRequestResponseBody) *goa.ServiceError
NewCreateEnvironmentBadRequest builds a environments service createEnvironment endpoint bad_request error.
func NewCreateEnvironmentConflict ¶
func NewCreateEnvironmentConflict(body *CreateEnvironmentConflictResponseBody) *goa.ServiceError
NewCreateEnvironmentConflict builds a environments service createEnvironment endpoint conflict error.
func NewCreateEnvironmentEnvironmentOK ¶
func NewCreateEnvironmentEnvironmentOK(body *CreateEnvironmentResponseBody) *types.Environment
NewCreateEnvironmentEnvironmentOK builds a "environments" service "createEnvironment" endpoint result from a HTTP "OK" response.
func NewCreateEnvironmentForbidden ¶
func NewCreateEnvironmentForbidden(body *CreateEnvironmentForbiddenResponseBody) *goa.ServiceError
NewCreateEnvironmentForbidden builds a environments service createEnvironment endpoint forbidden error.
func NewCreateEnvironmentGatewayError ¶
func NewCreateEnvironmentGatewayError(body *CreateEnvironmentGatewayErrorResponseBody) *goa.ServiceError
NewCreateEnvironmentGatewayError builds a environments service createEnvironment endpoint gateway_error error.
func NewCreateEnvironmentInvalid ¶
func NewCreateEnvironmentInvalid(body *CreateEnvironmentInvalidResponseBody) *goa.ServiceError
NewCreateEnvironmentInvalid builds a environments service createEnvironment endpoint invalid error.
func NewCreateEnvironmentInvariantViolation ¶
func NewCreateEnvironmentInvariantViolation(body *CreateEnvironmentInvariantViolationResponseBody) *goa.ServiceError
NewCreateEnvironmentInvariantViolation builds a environments service createEnvironment endpoint invariant_violation error.
func NewCreateEnvironmentNotFound ¶
func NewCreateEnvironmentNotFound(body *CreateEnvironmentNotFoundResponseBody) *goa.ServiceError
NewCreateEnvironmentNotFound builds a environments service createEnvironment endpoint not_found error.
func NewCreateEnvironmentUnauthorized ¶
func NewCreateEnvironmentUnauthorized(body *CreateEnvironmentUnauthorizedResponseBody) *goa.ServiceError
NewCreateEnvironmentUnauthorized builds a environments service createEnvironment endpoint unauthorized error.
func NewCreateEnvironmentUnexpected ¶
func NewCreateEnvironmentUnexpected(body *CreateEnvironmentUnexpectedResponseBody) *goa.ServiceError
NewCreateEnvironmentUnexpected builds a environments service createEnvironment endpoint unexpected error.
func NewCreateEnvironmentUnsupportedMedia ¶
func NewCreateEnvironmentUnsupportedMedia(body *CreateEnvironmentUnsupportedMediaResponseBody) *goa.ServiceError
NewCreateEnvironmentUnsupportedMedia builds a environments service createEnvironment endpoint unsupported_media error.
func NewDeleteEnvironmentBadRequest ¶
func NewDeleteEnvironmentBadRequest(body *DeleteEnvironmentBadRequestResponseBody) *goa.ServiceError
NewDeleteEnvironmentBadRequest builds a environments service deleteEnvironment endpoint bad_request error.
func NewDeleteEnvironmentConflict ¶
func NewDeleteEnvironmentConflict(body *DeleteEnvironmentConflictResponseBody) *goa.ServiceError
NewDeleteEnvironmentConflict builds a environments service deleteEnvironment endpoint conflict error.
func NewDeleteEnvironmentForbidden ¶
func NewDeleteEnvironmentForbidden(body *DeleteEnvironmentForbiddenResponseBody) *goa.ServiceError
NewDeleteEnvironmentForbidden builds a environments service deleteEnvironment endpoint forbidden error.
func NewDeleteEnvironmentGatewayError ¶
func NewDeleteEnvironmentGatewayError(body *DeleteEnvironmentGatewayErrorResponseBody) *goa.ServiceError
NewDeleteEnvironmentGatewayError builds a environments service deleteEnvironment endpoint gateway_error error.
func NewDeleteEnvironmentInvalid ¶
func NewDeleteEnvironmentInvalid(body *DeleteEnvironmentInvalidResponseBody) *goa.ServiceError
NewDeleteEnvironmentInvalid builds a environments service deleteEnvironment endpoint invalid error.
func NewDeleteEnvironmentInvariantViolation ¶
func NewDeleteEnvironmentInvariantViolation(body *DeleteEnvironmentInvariantViolationResponseBody) *goa.ServiceError
NewDeleteEnvironmentInvariantViolation builds a environments service deleteEnvironment endpoint invariant_violation error.
func NewDeleteEnvironmentNotFound ¶
func NewDeleteEnvironmentNotFound(body *DeleteEnvironmentNotFoundResponseBody) *goa.ServiceError
NewDeleteEnvironmentNotFound builds a environments service deleteEnvironment endpoint not_found error.
func NewDeleteEnvironmentUnauthorized ¶
func NewDeleteEnvironmentUnauthorized(body *DeleteEnvironmentUnauthorizedResponseBody) *goa.ServiceError
NewDeleteEnvironmentUnauthorized builds a environments service deleteEnvironment endpoint unauthorized error.
func NewDeleteEnvironmentUnexpected ¶
func NewDeleteEnvironmentUnexpected(body *DeleteEnvironmentUnexpectedResponseBody) *goa.ServiceError
NewDeleteEnvironmentUnexpected builds a environments service deleteEnvironment endpoint unexpected error.
func NewDeleteEnvironmentUnsupportedMedia ¶
func NewDeleteEnvironmentUnsupportedMedia(body *DeleteEnvironmentUnsupportedMediaResponseBody) *goa.ServiceError
NewDeleteEnvironmentUnsupportedMedia builds a environments service deleteEnvironment endpoint unsupported_media error.
func NewListEnvironmentsBadRequest ¶
func NewListEnvironmentsBadRequest(body *ListEnvironmentsBadRequestResponseBody) *goa.ServiceError
NewListEnvironmentsBadRequest builds a environments service listEnvironments endpoint bad_request error.
func NewListEnvironmentsConflict ¶
func NewListEnvironmentsConflict(body *ListEnvironmentsConflictResponseBody) *goa.ServiceError
NewListEnvironmentsConflict builds a environments service listEnvironments endpoint conflict error.
func NewListEnvironmentsForbidden ¶
func NewListEnvironmentsForbidden(body *ListEnvironmentsForbiddenResponseBody) *goa.ServiceError
NewListEnvironmentsForbidden builds a environments service listEnvironments endpoint forbidden error.
func NewListEnvironmentsGatewayError ¶
func NewListEnvironmentsGatewayError(body *ListEnvironmentsGatewayErrorResponseBody) *goa.ServiceError
NewListEnvironmentsGatewayError builds a environments service listEnvironments endpoint gateway_error error.
func NewListEnvironmentsInvalid ¶
func NewListEnvironmentsInvalid(body *ListEnvironmentsInvalidResponseBody) *goa.ServiceError
NewListEnvironmentsInvalid builds a environments service listEnvironments endpoint invalid error.
func NewListEnvironmentsInvariantViolation ¶
func NewListEnvironmentsInvariantViolation(body *ListEnvironmentsInvariantViolationResponseBody) *goa.ServiceError
NewListEnvironmentsInvariantViolation builds a environments service listEnvironments endpoint invariant_violation error.
func NewListEnvironmentsNotFound ¶
func NewListEnvironmentsNotFound(body *ListEnvironmentsNotFoundResponseBody) *goa.ServiceError
NewListEnvironmentsNotFound builds a environments service listEnvironments endpoint not_found error.
func NewListEnvironmentsResultOK ¶
func NewListEnvironmentsResultOK(body *ListEnvironmentsResponseBody) *environments.ListEnvironmentsResult
NewListEnvironmentsResultOK builds a "environments" service "listEnvironments" endpoint result from a HTTP "OK" response.
func NewListEnvironmentsUnauthorized ¶
func NewListEnvironmentsUnauthorized(body *ListEnvironmentsUnauthorizedResponseBody) *goa.ServiceError
NewListEnvironmentsUnauthorized builds a environments service listEnvironments endpoint unauthorized error.
func NewListEnvironmentsUnexpected ¶
func NewListEnvironmentsUnexpected(body *ListEnvironmentsUnexpectedResponseBody) *goa.ServiceError
NewListEnvironmentsUnexpected builds a environments service listEnvironments endpoint unexpected error.
func NewListEnvironmentsUnsupportedMedia ¶
func NewListEnvironmentsUnsupportedMedia(body *ListEnvironmentsUnsupportedMediaResponseBody) *goa.ServiceError
NewListEnvironmentsUnsupportedMedia builds a environments service listEnvironments endpoint unsupported_media error.
func NewUpdateEnvironmentBadRequest ¶
func NewUpdateEnvironmentBadRequest(body *UpdateEnvironmentBadRequestResponseBody) *goa.ServiceError
NewUpdateEnvironmentBadRequest builds a environments service updateEnvironment endpoint bad_request error.
func NewUpdateEnvironmentConflict ¶
func NewUpdateEnvironmentConflict(body *UpdateEnvironmentConflictResponseBody) *goa.ServiceError
NewUpdateEnvironmentConflict builds a environments service updateEnvironment endpoint conflict error.
func NewUpdateEnvironmentEnvironmentOK ¶
func NewUpdateEnvironmentEnvironmentOK(body *UpdateEnvironmentResponseBody) *types.Environment
NewUpdateEnvironmentEnvironmentOK builds a "environments" service "updateEnvironment" endpoint result from a HTTP "OK" response.
func NewUpdateEnvironmentForbidden ¶
func NewUpdateEnvironmentForbidden(body *UpdateEnvironmentForbiddenResponseBody) *goa.ServiceError
NewUpdateEnvironmentForbidden builds a environments service updateEnvironment endpoint forbidden error.
func NewUpdateEnvironmentGatewayError ¶
func NewUpdateEnvironmentGatewayError(body *UpdateEnvironmentGatewayErrorResponseBody) *goa.ServiceError
NewUpdateEnvironmentGatewayError builds a environments service updateEnvironment endpoint gateway_error error.
func NewUpdateEnvironmentInvalid ¶
func NewUpdateEnvironmentInvalid(body *UpdateEnvironmentInvalidResponseBody) *goa.ServiceError
NewUpdateEnvironmentInvalid builds a environments service updateEnvironment endpoint invalid error.
func NewUpdateEnvironmentInvariantViolation ¶
func NewUpdateEnvironmentInvariantViolation(body *UpdateEnvironmentInvariantViolationResponseBody) *goa.ServiceError
NewUpdateEnvironmentInvariantViolation builds a environments service updateEnvironment endpoint invariant_violation error.
func NewUpdateEnvironmentNotFound ¶
func NewUpdateEnvironmentNotFound(body *UpdateEnvironmentNotFoundResponseBody) *goa.ServiceError
NewUpdateEnvironmentNotFound builds a environments service updateEnvironment endpoint not_found error.
func NewUpdateEnvironmentUnauthorized ¶
func NewUpdateEnvironmentUnauthorized(body *UpdateEnvironmentUnauthorizedResponseBody) *goa.ServiceError
NewUpdateEnvironmentUnauthorized builds a environments service updateEnvironment endpoint unauthorized error.
func NewUpdateEnvironmentUnexpected ¶
func NewUpdateEnvironmentUnexpected(body *UpdateEnvironmentUnexpectedResponseBody) *goa.ServiceError
NewUpdateEnvironmentUnexpected builds a environments service updateEnvironment endpoint unexpected error.
func NewUpdateEnvironmentUnsupportedMedia ¶
func NewUpdateEnvironmentUnsupportedMedia(body *UpdateEnvironmentUnsupportedMediaResponseBody) *goa.ServiceError
NewUpdateEnvironmentUnsupportedMedia builds a environments service updateEnvironment endpoint unsupported_media error.
func UpdateEnvironmentEnvironmentsPath ¶
func UpdateEnvironmentEnvironmentsPath() string
UpdateEnvironmentEnvironmentsPath returns the URL path to the environments service updateEnvironment HTTP endpoint.
func ValidateCreateEnvironmentBadRequestResponseBody ¶
func ValidateCreateEnvironmentBadRequestResponseBody(body *CreateEnvironmentBadRequestResponseBody) (err error)
ValidateCreateEnvironmentBadRequestResponseBody runs the validations defined on createEnvironment_bad_request_response_body
func ValidateCreateEnvironmentConflictResponseBody ¶
func ValidateCreateEnvironmentConflictResponseBody(body *CreateEnvironmentConflictResponseBody) (err error)
ValidateCreateEnvironmentConflictResponseBody runs the validations defined on createEnvironment_conflict_response_body
func ValidateCreateEnvironmentForbiddenResponseBody ¶
func ValidateCreateEnvironmentForbiddenResponseBody(body *CreateEnvironmentForbiddenResponseBody) (err error)
ValidateCreateEnvironmentForbiddenResponseBody runs the validations defined on createEnvironment_forbidden_response_body
func ValidateCreateEnvironmentGatewayErrorResponseBody ¶
func ValidateCreateEnvironmentGatewayErrorResponseBody(body *CreateEnvironmentGatewayErrorResponseBody) (err error)
ValidateCreateEnvironmentGatewayErrorResponseBody runs the validations defined on createEnvironment_gateway_error_response_body
func ValidateCreateEnvironmentInvalidResponseBody ¶
func ValidateCreateEnvironmentInvalidResponseBody(body *CreateEnvironmentInvalidResponseBody) (err error)
ValidateCreateEnvironmentInvalidResponseBody runs the validations defined on createEnvironment_invalid_response_body
func ValidateCreateEnvironmentInvariantViolationResponseBody ¶
func ValidateCreateEnvironmentInvariantViolationResponseBody(body *CreateEnvironmentInvariantViolationResponseBody) (err error)
ValidateCreateEnvironmentInvariantViolationResponseBody runs the validations defined on createEnvironment_invariant_violation_response_body
func ValidateCreateEnvironmentNotFoundResponseBody ¶
func ValidateCreateEnvironmentNotFoundResponseBody(body *CreateEnvironmentNotFoundResponseBody) (err error)
ValidateCreateEnvironmentNotFoundResponseBody runs the validations defined on createEnvironment_not_found_response_body
func ValidateCreateEnvironmentResponseBody ¶
func ValidateCreateEnvironmentResponseBody(body *CreateEnvironmentResponseBody) (err error)
ValidateCreateEnvironmentResponseBody runs the validations defined on CreateEnvironmentResponseBody
func ValidateCreateEnvironmentUnauthorizedResponseBody ¶
func ValidateCreateEnvironmentUnauthorizedResponseBody(body *CreateEnvironmentUnauthorizedResponseBody) (err error)
ValidateCreateEnvironmentUnauthorizedResponseBody runs the validations defined on createEnvironment_unauthorized_response_body
func ValidateCreateEnvironmentUnexpectedResponseBody ¶
func ValidateCreateEnvironmentUnexpectedResponseBody(body *CreateEnvironmentUnexpectedResponseBody) (err error)
ValidateCreateEnvironmentUnexpectedResponseBody runs the validations defined on createEnvironment_unexpected_response_body
func ValidateCreateEnvironmentUnsupportedMediaResponseBody ¶
func ValidateCreateEnvironmentUnsupportedMediaResponseBody(body *CreateEnvironmentUnsupportedMediaResponseBody) (err error)
ValidateCreateEnvironmentUnsupportedMediaResponseBody runs the validations defined on createEnvironment_unsupported_media_response_body
func ValidateDeleteEnvironmentBadRequestResponseBody ¶
func ValidateDeleteEnvironmentBadRequestResponseBody(body *DeleteEnvironmentBadRequestResponseBody) (err error)
ValidateDeleteEnvironmentBadRequestResponseBody runs the validations defined on deleteEnvironment_bad_request_response_body
func ValidateDeleteEnvironmentConflictResponseBody ¶
func ValidateDeleteEnvironmentConflictResponseBody(body *DeleteEnvironmentConflictResponseBody) (err error)
ValidateDeleteEnvironmentConflictResponseBody runs the validations defined on deleteEnvironment_conflict_response_body
func ValidateDeleteEnvironmentForbiddenResponseBody ¶
func ValidateDeleteEnvironmentForbiddenResponseBody(body *DeleteEnvironmentForbiddenResponseBody) (err error)
ValidateDeleteEnvironmentForbiddenResponseBody runs the validations defined on deleteEnvironment_forbidden_response_body
func ValidateDeleteEnvironmentGatewayErrorResponseBody ¶
func ValidateDeleteEnvironmentGatewayErrorResponseBody(body *DeleteEnvironmentGatewayErrorResponseBody) (err error)
ValidateDeleteEnvironmentGatewayErrorResponseBody runs the validations defined on deleteEnvironment_gateway_error_response_body
func ValidateDeleteEnvironmentInvalidResponseBody ¶
func ValidateDeleteEnvironmentInvalidResponseBody(body *DeleteEnvironmentInvalidResponseBody) (err error)
ValidateDeleteEnvironmentInvalidResponseBody runs the validations defined on deleteEnvironment_invalid_response_body
func ValidateDeleteEnvironmentInvariantViolationResponseBody ¶
func ValidateDeleteEnvironmentInvariantViolationResponseBody(body *DeleteEnvironmentInvariantViolationResponseBody) (err error)
ValidateDeleteEnvironmentInvariantViolationResponseBody runs the validations defined on deleteEnvironment_invariant_violation_response_body
func ValidateDeleteEnvironmentNotFoundResponseBody ¶
func ValidateDeleteEnvironmentNotFoundResponseBody(body *DeleteEnvironmentNotFoundResponseBody) (err error)
ValidateDeleteEnvironmentNotFoundResponseBody runs the validations defined on deleteEnvironment_not_found_response_body
func ValidateDeleteEnvironmentUnauthorizedResponseBody ¶
func ValidateDeleteEnvironmentUnauthorizedResponseBody(body *DeleteEnvironmentUnauthorizedResponseBody) (err error)
ValidateDeleteEnvironmentUnauthorizedResponseBody runs the validations defined on deleteEnvironment_unauthorized_response_body
func ValidateDeleteEnvironmentUnexpectedResponseBody ¶
func ValidateDeleteEnvironmentUnexpectedResponseBody(body *DeleteEnvironmentUnexpectedResponseBody) (err error)
ValidateDeleteEnvironmentUnexpectedResponseBody runs the validations defined on deleteEnvironment_unexpected_response_body
func ValidateDeleteEnvironmentUnsupportedMediaResponseBody ¶
func ValidateDeleteEnvironmentUnsupportedMediaResponseBody(body *DeleteEnvironmentUnsupportedMediaResponseBody) (err error)
ValidateDeleteEnvironmentUnsupportedMediaResponseBody runs the validations defined on deleteEnvironment_unsupported_media_response_body
func ValidateEnvironmentEntryResponseBody ¶
func ValidateEnvironmentEntryResponseBody(body *EnvironmentEntryResponseBody) (err error)
ValidateEnvironmentEntryResponseBody runs the validations defined on EnvironmentEntryResponseBody
func ValidateEnvironmentResponseBody ¶
func ValidateEnvironmentResponseBody(body *EnvironmentResponseBody) (err error)
ValidateEnvironmentResponseBody runs the validations defined on EnvironmentResponseBody
func ValidateListEnvironmentsBadRequestResponseBody ¶
func ValidateListEnvironmentsBadRequestResponseBody(body *ListEnvironmentsBadRequestResponseBody) (err error)
ValidateListEnvironmentsBadRequestResponseBody runs the validations defined on listEnvironments_bad_request_response_body
func ValidateListEnvironmentsConflictResponseBody ¶
func ValidateListEnvironmentsConflictResponseBody(body *ListEnvironmentsConflictResponseBody) (err error)
ValidateListEnvironmentsConflictResponseBody runs the validations defined on listEnvironments_conflict_response_body
func ValidateListEnvironmentsForbiddenResponseBody ¶
func ValidateListEnvironmentsForbiddenResponseBody(body *ListEnvironmentsForbiddenResponseBody) (err error)
ValidateListEnvironmentsForbiddenResponseBody runs the validations defined on listEnvironments_forbidden_response_body
func ValidateListEnvironmentsGatewayErrorResponseBody ¶
func ValidateListEnvironmentsGatewayErrorResponseBody(body *ListEnvironmentsGatewayErrorResponseBody) (err error)
ValidateListEnvironmentsGatewayErrorResponseBody runs the validations defined on listEnvironments_gateway_error_response_body
func ValidateListEnvironmentsInvalidResponseBody ¶
func ValidateListEnvironmentsInvalidResponseBody(body *ListEnvironmentsInvalidResponseBody) (err error)
ValidateListEnvironmentsInvalidResponseBody runs the validations defined on listEnvironments_invalid_response_body
func ValidateListEnvironmentsInvariantViolationResponseBody ¶
func ValidateListEnvironmentsInvariantViolationResponseBody(body *ListEnvironmentsInvariantViolationResponseBody) (err error)
ValidateListEnvironmentsInvariantViolationResponseBody runs the validations defined on listEnvironments_invariant_violation_response_body
func ValidateListEnvironmentsNotFoundResponseBody ¶
func ValidateListEnvironmentsNotFoundResponseBody(body *ListEnvironmentsNotFoundResponseBody) (err error)
ValidateListEnvironmentsNotFoundResponseBody runs the validations defined on listEnvironments_not_found_response_body
func ValidateListEnvironmentsResponseBody ¶
func ValidateListEnvironmentsResponseBody(body *ListEnvironmentsResponseBody) (err error)
ValidateListEnvironmentsResponseBody runs the validations defined on ListEnvironmentsResponseBody
func ValidateListEnvironmentsUnauthorizedResponseBody ¶
func ValidateListEnvironmentsUnauthorizedResponseBody(body *ListEnvironmentsUnauthorizedResponseBody) (err error)
ValidateListEnvironmentsUnauthorizedResponseBody runs the validations defined on listEnvironments_unauthorized_response_body
func ValidateListEnvironmentsUnexpectedResponseBody ¶
func ValidateListEnvironmentsUnexpectedResponseBody(body *ListEnvironmentsUnexpectedResponseBody) (err error)
ValidateListEnvironmentsUnexpectedResponseBody runs the validations defined on listEnvironments_unexpected_response_body
func ValidateListEnvironmentsUnsupportedMediaResponseBody ¶
func ValidateListEnvironmentsUnsupportedMediaResponseBody(body *ListEnvironmentsUnsupportedMediaResponseBody) (err error)
ValidateListEnvironmentsUnsupportedMediaResponseBody runs the validations defined on listEnvironments_unsupported_media_response_body
func ValidateUpdateEnvironmentBadRequestResponseBody ¶
func ValidateUpdateEnvironmentBadRequestResponseBody(body *UpdateEnvironmentBadRequestResponseBody) (err error)
ValidateUpdateEnvironmentBadRequestResponseBody runs the validations defined on updateEnvironment_bad_request_response_body
func ValidateUpdateEnvironmentConflictResponseBody ¶
func ValidateUpdateEnvironmentConflictResponseBody(body *UpdateEnvironmentConflictResponseBody) (err error)
ValidateUpdateEnvironmentConflictResponseBody runs the validations defined on updateEnvironment_conflict_response_body
func ValidateUpdateEnvironmentForbiddenResponseBody ¶
func ValidateUpdateEnvironmentForbiddenResponseBody(body *UpdateEnvironmentForbiddenResponseBody) (err error)
ValidateUpdateEnvironmentForbiddenResponseBody runs the validations defined on updateEnvironment_forbidden_response_body
func ValidateUpdateEnvironmentGatewayErrorResponseBody ¶
func ValidateUpdateEnvironmentGatewayErrorResponseBody(body *UpdateEnvironmentGatewayErrorResponseBody) (err error)
ValidateUpdateEnvironmentGatewayErrorResponseBody runs the validations defined on updateEnvironment_gateway_error_response_body
func ValidateUpdateEnvironmentInvalidResponseBody ¶
func ValidateUpdateEnvironmentInvalidResponseBody(body *UpdateEnvironmentInvalidResponseBody) (err error)
ValidateUpdateEnvironmentInvalidResponseBody runs the validations defined on updateEnvironment_invalid_response_body
func ValidateUpdateEnvironmentInvariantViolationResponseBody ¶
func ValidateUpdateEnvironmentInvariantViolationResponseBody(body *UpdateEnvironmentInvariantViolationResponseBody) (err error)
ValidateUpdateEnvironmentInvariantViolationResponseBody runs the validations defined on updateEnvironment_invariant_violation_response_body
func ValidateUpdateEnvironmentNotFoundResponseBody ¶
func ValidateUpdateEnvironmentNotFoundResponseBody(body *UpdateEnvironmentNotFoundResponseBody) (err error)
ValidateUpdateEnvironmentNotFoundResponseBody runs the validations defined on updateEnvironment_not_found_response_body
func ValidateUpdateEnvironmentResponseBody ¶
func ValidateUpdateEnvironmentResponseBody(body *UpdateEnvironmentResponseBody) (err error)
ValidateUpdateEnvironmentResponseBody runs the validations defined on UpdateEnvironmentResponseBody
func ValidateUpdateEnvironmentUnauthorizedResponseBody ¶
func ValidateUpdateEnvironmentUnauthorizedResponseBody(body *UpdateEnvironmentUnauthorizedResponseBody) (err error)
ValidateUpdateEnvironmentUnauthorizedResponseBody runs the validations defined on updateEnvironment_unauthorized_response_body
func ValidateUpdateEnvironmentUnexpectedResponseBody ¶
func ValidateUpdateEnvironmentUnexpectedResponseBody(body *UpdateEnvironmentUnexpectedResponseBody) (err error)
ValidateUpdateEnvironmentUnexpectedResponseBody runs the validations defined on updateEnvironment_unexpected_response_body
func ValidateUpdateEnvironmentUnsupportedMediaResponseBody ¶
func ValidateUpdateEnvironmentUnsupportedMediaResponseBody(body *UpdateEnvironmentUnsupportedMediaResponseBody) (err error)
ValidateUpdateEnvironmentUnsupportedMediaResponseBody runs the validations defined on updateEnvironment_unsupported_media_response_body
Types ¶
type Client ¶
type Client struct {
// CreateEnvironment Doer is the HTTP client used to make requests to the
// createEnvironment endpoint.
CreateEnvironmentDoer goahttp.Doer
// ListEnvironments Doer is the HTTP client used to make requests to the
// listEnvironments endpoint.
ListEnvironmentsDoer goahttp.Doer
// UpdateEnvironment Doer is the HTTP client used to make requests to the
// updateEnvironment endpoint.
UpdateEnvironmentDoer goahttp.Doer
// DeleteEnvironment Doer is the HTTP client used to make requests to the
// deleteEnvironment endpoint.
DeleteEnvironmentDoer goahttp.Doer
// RestoreResponseBody controls whether the response bodies are reset after
// decoding so they can be read again.
RestoreResponseBody bool
// contains filtered or unexported fields
}
Client lists the environments service endpoint HTTP clients.
func NewClient ¶
func NewClient( scheme string, host string, doer goahttp.Doer, enc func(*http.Request) goahttp.Encoder, dec func(*http.Response) goahttp.Decoder, restoreBody bool, ) *Client
NewClient instantiates HTTP clients for all the environments service servers.
func (*Client) BuildCreateEnvironmentRequest ¶
BuildCreateEnvironmentRequest instantiates a HTTP request object with method and path set to call the "environments" service "createEnvironment" endpoint
func (*Client) BuildDeleteEnvironmentRequest ¶
BuildDeleteEnvironmentRequest instantiates a HTTP request object with method and path set to call the "environments" service "deleteEnvironment" endpoint
func (*Client) BuildListEnvironmentsRequest ¶
BuildListEnvironmentsRequest instantiates a HTTP request object with method and path set to call the "environments" service "listEnvironments" endpoint
func (*Client) BuildUpdateEnvironmentRequest ¶
BuildUpdateEnvironmentRequest instantiates a HTTP request object with method and path set to call the "environments" service "updateEnvironment" endpoint
func (*Client) CreateEnvironment ¶
CreateEnvironment returns an endpoint that makes HTTP requests to the environments service createEnvironment server.
func (*Client) DeleteEnvironment ¶
DeleteEnvironment returns an endpoint that makes HTTP requests to the environments service deleteEnvironment server.
func (*Client) ListEnvironments ¶
ListEnvironments returns an endpoint that makes HTTP requests to the environments service listEnvironments server.
func (*Client) UpdateEnvironment ¶
UpdateEnvironment returns an endpoint that makes HTTP requests to the environments service updateEnvironment server.
type CreateEnvironmentBadRequestResponseBody ¶
type CreateEnvironmentBadRequestResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
CreateEnvironmentBadRequestResponseBody is the type of the "environments" service "createEnvironment" endpoint HTTP response body for the "bad_request" error.
type CreateEnvironmentConflictResponseBody ¶
type CreateEnvironmentConflictResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
CreateEnvironmentConflictResponseBody is the type of the "environments" service "createEnvironment" endpoint HTTP response body for the "conflict" error.
type CreateEnvironmentForbiddenResponseBody ¶
type CreateEnvironmentForbiddenResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
CreateEnvironmentForbiddenResponseBody is the type of the "environments" service "createEnvironment" endpoint HTTP response body for the "forbidden" error.
type CreateEnvironmentGatewayErrorResponseBody ¶
type CreateEnvironmentGatewayErrorResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
CreateEnvironmentGatewayErrorResponseBody is the type of the "environments" service "createEnvironment" endpoint HTTP response body for the "gateway_error" error.
type CreateEnvironmentInvalidResponseBody ¶
type CreateEnvironmentInvalidResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
CreateEnvironmentInvalidResponseBody is the type of the "environments" service "createEnvironment" endpoint HTTP response body for the "invalid" error.
type CreateEnvironmentInvariantViolationResponseBody ¶
type CreateEnvironmentInvariantViolationResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
CreateEnvironmentInvariantViolationResponseBody is the type of the "environments" service "createEnvironment" endpoint HTTP response body for the "invariant_violation" error.
type CreateEnvironmentNotFoundResponseBody ¶
type CreateEnvironmentNotFoundResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
CreateEnvironmentNotFoundResponseBody is the type of the "environments" service "createEnvironment" endpoint HTTP response body for the "not_found" error.
type CreateEnvironmentRequestBody ¶
type CreateEnvironmentRequestBody struct {
// The organization ID this environment belongs to
OrganizationID string `form:"organization_id" json:"organization_id" xml:"organization_id"`
// The name of the environment
Name string `form:"name" json:"name" xml:"name"`
// Optional description of the environment
Description *string `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"`
// List of environment variable entries
Entries []*EnvironmentEntryInputRequestBody `form:"entries" json:"entries" xml:"entries"`
}
CreateEnvironmentRequestBody is the type of the "environments" service "createEnvironment" endpoint HTTP request body.
func NewCreateEnvironmentRequestBody ¶
func NewCreateEnvironmentRequestBody(p *environments.CreateEnvironmentPayload) *CreateEnvironmentRequestBody
NewCreateEnvironmentRequestBody builds the HTTP request body from the payload of the "createEnvironment" endpoint of the "environments" service.
type CreateEnvironmentResponseBody ¶
type CreateEnvironmentResponseBody struct {
// The ID of the environment
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// The organization ID this environment belongs to
OrganizationID *string `form:"organization_id,omitempty" json:"organization_id,omitempty" xml:"organization_id,omitempty"`
// The project ID this environment belongs to
ProjectID *string `form:"project_id,omitempty" json:"project_id,omitempty" xml:"project_id,omitempty"`
// The name of the environment
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// The slug identifier for the environment
Slug *string `form:"slug,omitempty" json:"slug,omitempty" xml:"slug,omitempty"`
// The description of the environment
Description *string `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"`
// List of environment entries
Entries []*EnvironmentEntryResponseBody `form:"entries,omitempty" json:"entries,omitempty" xml:"entries,omitempty"`
// The creation date of the environment
CreatedAt *string `form:"created_at,omitempty" json:"created_at,omitempty" xml:"created_at,omitempty"`
// When the environment was last updated
UpdatedAt *string `form:"updated_at,omitempty" json:"updated_at,omitempty" xml:"updated_at,omitempty"`
}
CreateEnvironmentResponseBody is the type of the "environments" service "createEnvironment" endpoint HTTP response body.
type CreateEnvironmentUnauthorizedResponseBody ¶
type CreateEnvironmentUnauthorizedResponseBody struct {
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
CreateEnvironmentUnauthorizedResponseBody is the type of the "environments" service "createEnvironment" endpoint HTTP response body for the "unauthorized" error.
type CreateEnvironmentUnexpectedResponseBody ¶
type CreateEnvironmentUnexpectedResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
CreateEnvironmentUnexpectedResponseBody is the type of the "environments" service "createEnvironment" endpoint HTTP response body for the "unexpected" error.
type CreateEnvironmentUnsupportedMediaResponseBody ¶
type CreateEnvironmentUnsupportedMediaResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
CreateEnvironmentUnsupportedMediaResponseBody is the type of the "environments" service "createEnvironment" endpoint HTTP response body for the "unsupported_media" error.
type DeleteEnvironmentBadRequestResponseBody ¶
type DeleteEnvironmentBadRequestResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
DeleteEnvironmentBadRequestResponseBody is the type of the "environments" service "deleteEnvironment" endpoint HTTP response body for the "bad_request" error.
type DeleteEnvironmentConflictResponseBody ¶
type DeleteEnvironmentConflictResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
DeleteEnvironmentConflictResponseBody is the type of the "environments" service "deleteEnvironment" endpoint HTTP response body for the "conflict" error.
type DeleteEnvironmentForbiddenResponseBody ¶
type DeleteEnvironmentForbiddenResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
DeleteEnvironmentForbiddenResponseBody is the type of the "environments" service "deleteEnvironment" endpoint HTTP response body for the "forbidden" error.
type DeleteEnvironmentGatewayErrorResponseBody ¶
type DeleteEnvironmentGatewayErrorResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
DeleteEnvironmentGatewayErrorResponseBody is the type of the "environments" service "deleteEnvironment" endpoint HTTP response body for the "gateway_error" error.
type DeleteEnvironmentInvalidResponseBody ¶
type DeleteEnvironmentInvalidResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
DeleteEnvironmentInvalidResponseBody is the type of the "environments" service "deleteEnvironment" endpoint HTTP response body for the "invalid" error.
type DeleteEnvironmentInvariantViolationResponseBody ¶
type DeleteEnvironmentInvariantViolationResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
DeleteEnvironmentInvariantViolationResponseBody is the type of the "environments" service "deleteEnvironment" endpoint HTTP response body for the "invariant_violation" error.
type DeleteEnvironmentNotFoundResponseBody ¶
type DeleteEnvironmentNotFoundResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
DeleteEnvironmentNotFoundResponseBody is the type of the "environments" service "deleteEnvironment" endpoint HTTP response body for the "not_found" error.
type DeleteEnvironmentUnauthorizedResponseBody ¶
type DeleteEnvironmentUnauthorizedResponseBody struct {
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
DeleteEnvironmentUnauthorizedResponseBody is the type of the "environments" service "deleteEnvironment" endpoint HTTP response body for the "unauthorized" error.
type DeleteEnvironmentUnexpectedResponseBody ¶
type DeleteEnvironmentUnexpectedResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
DeleteEnvironmentUnexpectedResponseBody is the type of the "environments" service "deleteEnvironment" endpoint HTTP response body for the "unexpected" error.
type DeleteEnvironmentUnsupportedMediaResponseBody ¶
type DeleteEnvironmentUnsupportedMediaResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
DeleteEnvironmentUnsupportedMediaResponseBody is the type of the "environments" service "deleteEnvironment" endpoint HTTP response body for the "unsupported_media" error.
type EnvironmentEntryInputRequestBody ¶
type EnvironmentEntryInputRequestBody struct {
// The name of the environment variable
Name string `form:"name" json:"name" xml:"name"`
// The value of the environment variable
Value string `form:"value" json:"value" xml:"value"`
}
EnvironmentEntryInputRequestBody is used to define fields on request body types.
type EnvironmentEntryResponseBody ¶
type EnvironmentEntryResponseBody struct {
// The name of the environment variable
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// Redacted values of the environment variable
Value *string `form:"value,omitempty" json:"value,omitempty" xml:"value,omitempty"`
// The creation date of the environment entry
CreatedAt *string `form:"created_at,omitempty" json:"created_at,omitempty" xml:"created_at,omitempty"`
// When the environment entry was last updated
UpdatedAt *string `form:"updated_at,omitempty" json:"updated_at,omitempty" xml:"updated_at,omitempty"`
}
EnvironmentEntryResponseBody is used to define fields on response body types.
type EnvironmentResponseBody ¶
type EnvironmentResponseBody struct {
// The ID of the environment
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// The organization ID this environment belongs to
OrganizationID *string `form:"organization_id,omitempty" json:"organization_id,omitempty" xml:"organization_id,omitempty"`
// The project ID this environment belongs to
ProjectID *string `form:"project_id,omitempty" json:"project_id,omitempty" xml:"project_id,omitempty"`
// The name of the environment
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// The slug identifier for the environment
Slug *string `form:"slug,omitempty" json:"slug,omitempty" xml:"slug,omitempty"`
// The description of the environment
Description *string `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"`
// List of environment entries
Entries []*EnvironmentEntryResponseBody `form:"entries,omitempty" json:"entries,omitempty" xml:"entries,omitempty"`
// The creation date of the environment
CreatedAt *string `form:"created_at,omitempty" json:"created_at,omitempty" xml:"created_at,omitempty"`
// When the environment was last updated
UpdatedAt *string `form:"updated_at,omitempty" json:"updated_at,omitempty" xml:"updated_at,omitempty"`
}
EnvironmentResponseBody is used to define fields on response body types.
type ListEnvironmentsBadRequestResponseBody ¶
type ListEnvironmentsBadRequestResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
ListEnvironmentsBadRequestResponseBody is the type of the "environments" service "listEnvironments" endpoint HTTP response body for the "bad_request" error.
type ListEnvironmentsConflictResponseBody ¶
type ListEnvironmentsConflictResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
ListEnvironmentsConflictResponseBody is the type of the "environments" service "listEnvironments" endpoint HTTP response body for the "conflict" error.
type ListEnvironmentsForbiddenResponseBody ¶
type ListEnvironmentsForbiddenResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
ListEnvironmentsForbiddenResponseBody is the type of the "environments" service "listEnvironments" endpoint HTTP response body for the "forbidden" error.
type ListEnvironmentsGatewayErrorResponseBody ¶
type ListEnvironmentsGatewayErrorResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
ListEnvironmentsGatewayErrorResponseBody is the type of the "environments" service "listEnvironments" endpoint HTTP response body for the "gateway_error" error.
type ListEnvironmentsInvalidResponseBody ¶
type ListEnvironmentsInvalidResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
ListEnvironmentsInvalidResponseBody is the type of the "environments" service "listEnvironments" endpoint HTTP response body for the "invalid" error.
type ListEnvironmentsInvariantViolationResponseBody ¶
type ListEnvironmentsInvariantViolationResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
ListEnvironmentsInvariantViolationResponseBody is the type of the "environments" service "listEnvironments" endpoint HTTP response body for the "invariant_violation" error.
type ListEnvironmentsNotFoundResponseBody ¶
type ListEnvironmentsNotFoundResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
ListEnvironmentsNotFoundResponseBody is the type of the "environments" service "listEnvironments" endpoint HTTP response body for the "not_found" error.
type ListEnvironmentsResponseBody ¶
type ListEnvironmentsResponseBody struct {
Environments []*EnvironmentResponseBody `form:"environments,omitempty" json:"environments,omitempty" xml:"environments,omitempty"`
}
ListEnvironmentsResponseBody is the type of the "environments" service "listEnvironments" endpoint HTTP response body.
type ListEnvironmentsUnauthorizedResponseBody ¶
type ListEnvironmentsUnauthorizedResponseBody struct {
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
ListEnvironmentsUnauthorizedResponseBody is the type of the "environments" service "listEnvironments" endpoint HTTP response body for the "unauthorized" error.
type ListEnvironmentsUnexpectedResponseBody ¶
type ListEnvironmentsUnexpectedResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
ListEnvironmentsUnexpectedResponseBody is the type of the "environments" service "listEnvironments" endpoint HTTP response body for the "unexpected" error.
type ListEnvironmentsUnsupportedMediaResponseBody ¶
type ListEnvironmentsUnsupportedMediaResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
ListEnvironmentsUnsupportedMediaResponseBody is the type of the "environments" service "listEnvironments" endpoint HTTP response body for the "unsupported_media" error.
type UpdateEnvironmentBadRequestResponseBody ¶
type UpdateEnvironmentBadRequestResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
UpdateEnvironmentBadRequestResponseBody is the type of the "environments" service "updateEnvironment" endpoint HTTP response body for the "bad_request" error.
type UpdateEnvironmentConflictResponseBody ¶
type UpdateEnvironmentConflictResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
UpdateEnvironmentConflictResponseBody is the type of the "environments" service "updateEnvironment" endpoint HTTP response body for the "conflict" error.
type UpdateEnvironmentForbiddenResponseBody ¶
type UpdateEnvironmentForbiddenResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
UpdateEnvironmentForbiddenResponseBody is the type of the "environments" service "updateEnvironment" endpoint HTTP response body for the "forbidden" error.
type UpdateEnvironmentGatewayErrorResponseBody ¶
type UpdateEnvironmentGatewayErrorResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
UpdateEnvironmentGatewayErrorResponseBody is the type of the "environments" service "updateEnvironment" endpoint HTTP response body for the "gateway_error" error.
type UpdateEnvironmentInvalidResponseBody ¶
type UpdateEnvironmentInvalidResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
UpdateEnvironmentInvalidResponseBody is the type of the "environments" service "updateEnvironment" endpoint HTTP response body for the "invalid" error.
type UpdateEnvironmentInvariantViolationResponseBody ¶
type UpdateEnvironmentInvariantViolationResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
UpdateEnvironmentInvariantViolationResponseBody is the type of the "environments" service "updateEnvironment" endpoint HTTP response body for the "invariant_violation" error.
type UpdateEnvironmentNotFoundResponseBody ¶
type UpdateEnvironmentNotFoundResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
UpdateEnvironmentNotFoundResponseBody is the type of the "environments" service "updateEnvironment" endpoint HTTP response body for the "not_found" error.
type UpdateEnvironmentRequestBody ¶
type UpdateEnvironmentRequestBody struct {
// The description of the environment
Description *string `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"`
// The name of the environment
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// List of environment entries to update or create
EntriesToUpdate []*EnvironmentEntryInputRequestBody `form:"entries_to_update" json:"entries_to_update" xml:"entries_to_update"`
// List of environment entry names to remove
EntriesToRemove []string `form:"entries_to_remove" json:"entries_to_remove" xml:"entries_to_remove"`
}
UpdateEnvironmentRequestBody is the type of the "environments" service "updateEnvironment" endpoint HTTP request body.
func NewUpdateEnvironmentRequestBody ¶
func NewUpdateEnvironmentRequestBody(p *environments.UpdateEnvironmentPayload) *UpdateEnvironmentRequestBody
NewUpdateEnvironmentRequestBody builds the HTTP request body from the payload of the "updateEnvironment" endpoint of the "environments" service.
type UpdateEnvironmentResponseBody ¶
type UpdateEnvironmentResponseBody struct {
// The ID of the environment
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// The organization ID this environment belongs to
OrganizationID *string `form:"organization_id,omitempty" json:"organization_id,omitempty" xml:"organization_id,omitempty"`
// The project ID this environment belongs to
ProjectID *string `form:"project_id,omitempty" json:"project_id,omitempty" xml:"project_id,omitempty"`
// The name of the environment
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// The slug identifier for the environment
Slug *string `form:"slug,omitempty" json:"slug,omitempty" xml:"slug,omitempty"`
// The description of the environment
Description *string `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"`
// List of environment entries
Entries []*EnvironmentEntryResponseBody `form:"entries,omitempty" json:"entries,omitempty" xml:"entries,omitempty"`
// The creation date of the environment
CreatedAt *string `form:"created_at,omitempty" json:"created_at,omitempty" xml:"created_at,omitempty"`
// When the environment was last updated
UpdatedAt *string `form:"updated_at,omitempty" json:"updated_at,omitempty" xml:"updated_at,omitempty"`
}
UpdateEnvironmentResponseBody is the type of the "environments" service "updateEnvironment" endpoint HTTP response body.
type UpdateEnvironmentUnauthorizedResponseBody ¶
type UpdateEnvironmentUnauthorizedResponseBody struct {
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
UpdateEnvironmentUnauthorizedResponseBody is the type of the "environments" service "updateEnvironment" endpoint HTTP response body for the "unauthorized" error.
type UpdateEnvironmentUnexpectedResponseBody ¶
type UpdateEnvironmentUnexpectedResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
UpdateEnvironmentUnexpectedResponseBody is the type of the "environments" service "updateEnvironment" endpoint HTTP response body for the "unexpected" error.
type UpdateEnvironmentUnsupportedMediaResponseBody ¶
type UpdateEnvironmentUnsupportedMediaResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
UpdateEnvironmentUnsupportedMediaResponseBody is the type of the "environments" service "updateEnvironment" endpoint HTTP response body for the "unsupported_media" error.