Documentation ¶
Index ¶
- func BuildIndexEscalationsPayload(archivedIncidentIndexEscalationsProjectID string, ...) (*archivedincident.IndexEscalationsPayload, error)
- func BuildIndexPayload(archivedIncidentIndexProjectID string, archivedIncidentIndexView string, ...) (*archivedincident.IndexPayload, error)
- func BuildIndexResolutionsPayload(archivedIncidentIndexResolutionsProjectID string, ...) (*archivedincident.IndexResolutionsPayload, error)
- func BuildShowPayload(archivedIncidentShowProjectID string, archivedIncidentShowIncidentID string, ...) (*archivedincident.ShowPayload, error)
- func DecodeIndexEscalationsResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeIndexResolutionsResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeIndexResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeShowResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func EncodeIndexEscalationsRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeIndexRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeIndexResolutionsRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeShowRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func IndexArchivedIncidentPath(projectID uint) string
- func IndexEscalationsArchivedIncidentPath(projectID uint, incidentID string) string
- func IndexResolutionsArchivedIncidentPath(projectID uint, incidentID string) string
- func NewIndexArchivedIncidentListNotModified(etag string) *archivedincidentviews.ArchivedIncidentListView
- func NewIndexArchivedIncidentListOK(body *IndexOKResponseBody, etag string) *archivedincidentviews.ArchivedIncidentListView
- func NewIndexBadGateway(body *IndexBadGatewayResponseBody) *goa.ServiceError
- func NewIndexBadRequest(body *IndexBadRequestResponseBody) *goa.ServiceError
- func NewIndexEscalationsBadGateway(body *IndexEscalationsBadGatewayResponseBody) *goa.ServiceError
- func NewIndexEscalationsBadRequest(body *IndexEscalationsBadRequestResponseBody) *goa.ServiceError
- func NewIndexEscalationsEscalationsOK(body *IndexEscalationsResponseBody) *archivedincidentviews.EscalationsView
- func NewIndexEscalationsForbidden(body *IndexEscalationsForbiddenResponseBody) *goa.ServiceError
- func NewIndexEscalationsInternalError(body *IndexEscalationsInternalErrorResponseBody) *goa.ServiceError
- func NewIndexEscalationsNotFound(body *IndexEscalationsNotFoundResponseBody) *goa.ServiceError
- func NewIndexEscalationsUnauthorized(body *IndexEscalationsUnauthorizedResponseBody) *goa.ServiceError
- func NewIndexForbidden(body *IndexForbiddenResponseBody) *goa.ServiceError
- func NewIndexInternalError(body *IndexInternalErrorResponseBody) *goa.ServiceError
- func NewIndexResolutionsBadGateway(body *IndexResolutionsBadGatewayResponseBody) *goa.ServiceError
- func NewIndexResolutionsBadRequest(body *IndexResolutionsBadRequestResponseBody) *goa.ServiceError
- func NewIndexResolutionsForbidden(body *IndexResolutionsForbiddenResponseBody) *goa.ServiceError
- func NewIndexResolutionsInternalError(body *IndexResolutionsInternalErrorResponseBody) *goa.ServiceError
- func NewIndexResolutionsNotFound(body *IndexResolutionsNotFoundResponseBody) *goa.ServiceError
- func NewIndexResolutionsResolutionsOK(body *IndexResolutionsResponseBody) *archivedincidentviews.ResolutionsView
- func NewIndexResolutionsUnauthorized(body *IndexResolutionsUnauthorizedResponseBody) *goa.ServiceError
- func NewIndexResolutionsUnprocessableEntity(body *IndexResolutionsUnprocessableEntityResponseBody) *goa.ServiceError
- func NewIndexUnauthorized(body *IndexUnauthorizedResponseBody) *goa.ServiceError
- func NewShowArchivedIncidentNotModified(etag string) *archivedincidentviews.ArchivedIncidentView
- func NewShowArchivedIncidentOK(body *ShowOKResponseBody, etag string) *archivedincidentviews.ArchivedIncidentView
- func NewShowBadGateway(body *ShowBadGatewayResponseBody) *goa.ServiceError
- func NewShowBadRequest(body *ShowBadRequestResponseBody) *goa.ServiceError
- func NewShowForbidden(body *ShowForbiddenResponseBody) *goa.ServiceError
- func NewShowInternalError(body *ShowInternalErrorResponseBody) *goa.ServiceError
- func NewShowNotFound(body *ShowNotFoundResponseBody) *goa.ServiceError
- func NewShowUnauthorized(body *ShowUnauthorizedResponseBody) *goa.ServiceError
- func ShowArchivedIncidentPath(projectID uint, incidentID string) string
- func ValidateAppliedPolicyResponseBody(body *AppliedPolicyResponseBody) (err error)
- func ValidateApprovalRequestResponseBody(body *ApprovalRequestResponseBody) (err error)
- func ValidateApprovalSubject(body *ApprovalSubject) (err error)
- func ValidateArchivedIncidentCollectionResponseBody(body ArchivedIncidentCollectionResponseBody) (err error)
- func ValidateArchivedIncidentResponseBody(body *ArchivedIncidentResponseBody) (err error)
- func ValidateConfigurationOptionResponseBody(body *ConfigurationOptionResponseBody) (err error)
- func ValidateCredentialsResponseBody(body *CredentialsResponseBody) (err error)
- func ValidateCredentialsTagResponseBody(body *CredentialsTagResponseBody) (err error)
- func ValidateEscalationActionResponseBody(body *EscalationActionResponseBody) (err error)
- func ValidateEscalationResponseBody(body *EscalationResponseBody) (err error)
- func ValidateIndexBadGatewayResponseBody(body *IndexBadGatewayResponseBody) (err error)
- func ValidateIndexBadRequestResponseBody(body *IndexBadRequestResponseBody) (err error)
- func ValidateIndexEscalationsBadGatewayResponseBody(body *IndexEscalationsBadGatewayResponseBody) (err error)
- func ValidateIndexEscalationsBadRequestResponseBody(body *IndexEscalationsBadRequestResponseBody) (err error)
- func ValidateIndexEscalationsForbiddenResponseBody(body *IndexEscalationsForbiddenResponseBody) (err error)
- func ValidateIndexEscalationsInternalErrorResponseBody(body *IndexEscalationsInternalErrorResponseBody) (err error)
- func ValidateIndexEscalationsNotFoundResponseBody(body *IndexEscalationsNotFoundResponseBody) (err error)
- func ValidateIndexEscalationsUnauthorizedResponseBody(body *IndexEscalationsUnauthorizedResponseBody) (err error)
- func ValidateIndexForbiddenResponseBody(body *IndexForbiddenResponseBody) (err error)
- func ValidateIndexInternalErrorResponseBody(body *IndexInternalErrorResponseBody) (err error)
- func ValidateIndexResolutionsBadGatewayResponseBody(body *IndexResolutionsBadGatewayResponseBody) (err error)
- func ValidateIndexResolutionsBadRequestResponseBody(body *IndexResolutionsBadRequestResponseBody) (err error)
- func ValidateIndexResolutionsForbiddenResponseBody(body *IndexResolutionsForbiddenResponseBody) (err error)
- func ValidateIndexResolutionsInternalErrorResponseBody(body *IndexResolutionsInternalErrorResponseBody) (err error)
- func ValidateIndexResolutionsNotFoundResponseBody(body *IndexResolutionsNotFoundResponseBody) (err error)
- func ValidateIndexResolutionsUnauthorizedResponseBody(body *IndexResolutionsUnauthorizedResponseBody) (err error)
- func ValidateIndexResolutionsUnprocessableEntityResponseBody(body *IndexResolutionsUnprocessableEntityResponseBody) (err error)
- func ValidateIndexUnauthorizedResponseBody(body *IndexUnauthorizedResponseBody) (err error)
- func ValidateParameterResponseBody(body *ParameterResponseBody) (err error)
- func ValidatePermissionResponseBody(body *PermissionResponseBody) (err error)
- func ValidatePolicyTemplateResponseBody(body *PolicyTemplateResponseBody) (err error)
- func ValidateProjectResponseBody(body *ProjectResponseBody) (err error)
- func ValidatePublishedTemplateResponseBody(body *PublishedTemplateResponseBody) (err error)
- func ValidateRegexpResponseBody(body *RegexpResponseBody) (err error)
- func ValidateResolutionActionResponseBody(body *ResolutionActionResponseBody) (err error)
- func ValidateResolutionResponseBody(body *ResolutionResponseBody) (err error)
- func ValidateShowBadGatewayResponseBody(body *ShowBadGatewayResponseBody) (err error)
- func ValidateShowBadRequestResponseBody(body *ShowBadRequestResponseBody) (err error)
- func ValidateShowForbiddenResponseBody(body *ShowForbiddenResponseBody) (err error)
- func ValidateShowInternalErrorResponseBody(body *ShowInternalErrorResponseBody) (err error)
- func ValidateShowNotFoundResponseBody(body *ShowNotFoundResponseBody) (err error)
- func ValidateShowUnauthorizedResponseBody(body *ShowUnauthorizedResponseBody) (err error)
- func ValidateUserResponseBody(body *UserResponseBody) (err error)
- type AppliedPolicyResponseBody
- type ApprovalRequestResponseBody
- type ApprovalSubject
- type ArchivedIncidentCollectionResponseBody
- type ArchivedIncidentResponseBody
- type Client
- func (c *Client) BuildIndexEscalationsRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildIndexRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildIndexResolutionsRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildShowRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) Index() goa.Endpoint
- func (c *Client) IndexEscalations() goa.Endpoint
- func (c *Client) IndexResolutions() goa.Endpoint
- func (c *Client) Show() goa.Endpoint
- type ConfigurationOptionResponseBody
- type CredentialsResponseBody
- type CredentialsTagResponseBody
- type EscalationActionResponseBody
- type EscalationResponseBody
- type IndexBadGatewayResponseBody
- type IndexBadRequestResponseBody
- type IndexEscalationsBadGatewayResponseBody
- type IndexEscalationsBadRequestResponseBody
- type IndexEscalationsForbiddenResponseBody
- type IndexEscalationsInternalErrorResponseBody
- type IndexEscalationsNotFoundResponseBody
- type IndexEscalationsResponseBody
- type IndexEscalationsUnauthorizedResponseBody
- type IndexForbiddenResponseBody
- type IndexInternalErrorResponseBody
- type IndexOKResponseBody
- type IndexResolutionsBadGatewayResponseBody
- type IndexResolutionsBadRequestResponseBody
- type IndexResolutionsForbiddenResponseBody
- type IndexResolutionsInternalErrorResponseBody
- type IndexResolutionsNotFoundResponseBody
- type IndexResolutionsResponseBody
- type IndexResolutionsUnauthorizedResponseBody
- type IndexResolutionsUnprocessableEntityResponseBody
- type IndexUnauthorizedResponseBody
- type ParameterResponseBody
- type PermissionResponseBody
- type PolicyTemplateResponseBody
- type ProjectResponseBody
- type PublishedTemplateResponseBody
- type RegexpResponseBody
- type ResolutionActionResponseBody
- type ResolutionResponseBody
- type ShowBadGatewayResponseBody
- type ShowBadRequestResponseBody
- type ShowForbiddenResponseBody
- type ShowInternalErrorResponseBody
- type ShowNotFoundResponseBody
- type ShowOKResponseBody
- type ShowUnauthorizedResponseBody
- type UserResponseBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildIndexEscalationsPayload ¶
func BuildIndexEscalationsPayload(archivedIncidentIndexEscalationsProjectID string, archivedIncidentIndexEscalationsIncidentID string, archivedIncidentIndexEscalationsAPIVersion string, archivedIncidentIndexEscalationsToken string) (*archivedincident.IndexEscalationsPayload, error)
BuildIndexEscalationsPayload builds the payload for the ArchivedIncident index_escalations endpoint from CLI flags.
func BuildIndexPayload ¶
func BuildIndexPayload(archivedIncidentIndexProjectID string, archivedIncidentIndexView string, archivedIncidentIndexState string, archivedIncidentIndexAppliedPolicyID string, archivedIncidentIndexAPIVersion string, archivedIncidentIndexEtag string, archivedIncidentIndexToken string) (*archivedincident.IndexPayload, error)
BuildIndexPayload builds the payload for the ArchivedIncident index endpoint from CLI flags.
func BuildIndexResolutionsPayload ¶
func BuildIndexResolutionsPayload(archivedIncidentIndexResolutionsProjectID string, archivedIncidentIndexResolutionsIncidentID string, archivedIncidentIndexResolutionsAPIVersion string, archivedIncidentIndexResolutionsToken string) (*archivedincident.IndexResolutionsPayload, error)
BuildIndexResolutionsPayload builds the payload for the ArchivedIncident index_resolutions endpoint from CLI flags.
func BuildShowPayload ¶
func BuildShowPayload(archivedIncidentShowProjectID string, archivedIncidentShowIncidentID string, archivedIncidentShowView string, archivedIncidentShowAPIVersion string, archivedIncidentShowEtag string, archivedIncidentShowToken string) (*archivedincident.ShowPayload, error)
BuildShowPayload builds the payload for the ArchivedIncident show endpoint from CLI flags.
func DecodeIndexEscalationsResponse ¶
func DecodeIndexEscalationsResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeIndexEscalationsResponse returns a decoder for responses returned by the ArchivedIncident index_escalations endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeIndexEscalationsResponse may return the following errors:
- "not_found" (type *goa.ServiceError): http.StatusNotFound
- "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
- "forbidden" (type *goa.ServiceError): http.StatusForbidden
- "bad_request" (type *goa.ServiceError): http.StatusBadRequest
- "bad_gateway" (type *goa.ServiceError): http.StatusBadGateway
- "internal_error" (type *goa.ServiceError): http.StatusInternalServerError
- error: internal error
func DecodeIndexResolutionsResponse ¶
func DecodeIndexResolutionsResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeIndexResolutionsResponse returns a decoder for responses returned by the ArchivedIncident index_resolutions endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeIndexResolutionsResponse may return the following errors:
- "not_found" (type *goa.ServiceError): http.StatusNotFound
- "unprocessable_entity" (type *goa.ServiceError): http.StatusUnprocessableEntity
- "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
- "forbidden" (type *goa.ServiceError): http.StatusForbidden
- "bad_request" (type *goa.ServiceError): http.StatusBadRequest
- "bad_gateway" (type *goa.ServiceError): http.StatusBadGateway
- "internal_error" (type *goa.ServiceError): http.StatusInternalServerError
- error: internal error
func DecodeIndexResponse ¶
func DecodeIndexResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeIndexResponse returns a decoder for responses returned by the ArchivedIncident index endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeIndexResponse may return the following errors:
- "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
- "forbidden" (type *goa.ServiceError): http.StatusForbidden
- "bad_request" (type *goa.ServiceError): http.StatusBadRequest
- "bad_gateway" (type *goa.ServiceError): http.StatusBadGateway
- "internal_error" (type *goa.ServiceError): http.StatusInternalServerError
- error: internal error
func DecodeShowResponse ¶
func DecodeShowResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeShowResponse returns a decoder for responses returned by the ArchivedIncident show endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeShowResponse may return the following errors:
- "not_found" (type *goa.ServiceError): http.StatusNotFound
- "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
- "forbidden" (type *goa.ServiceError): http.StatusForbidden
- "bad_request" (type *goa.ServiceError): http.StatusBadRequest
- "bad_gateway" (type *goa.ServiceError): http.StatusBadGateway
- "internal_error" (type *goa.ServiceError): http.StatusInternalServerError
- error: internal error
func EncodeIndexEscalationsRequest ¶
func EncodeIndexEscalationsRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeIndexEscalationsRequest returns an encoder for requests sent to the ArchivedIncident index_escalations server.
func EncodeIndexRequest ¶
func EncodeIndexRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeIndexRequest returns an encoder for requests sent to the ArchivedIncident index server.
func EncodeIndexResolutionsRequest ¶
func EncodeIndexResolutionsRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeIndexResolutionsRequest returns an encoder for requests sent to the ArchivedIncident index_resolutions server.
func EncodeShowRequest ¶
func EncodeShowRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeShowRequest returns an encoder for requests sent to the ArchivedIncident show server.
func IndexArchivedIncidentPath ¶
IndexArchivedIncidentPath returns the URL path to the ArchivedIncident service index HTTP endpoint.
func IndexEscalationsArchivedIncidentPath ¶
IndexEscalationsArchivedIncidentPath returns the URL path to the ArchivedIncident service index_escalations HTTP endpoint.
func IndexResolutionsArchivedIncidentPath ¶
IndexResolutionsArchivedIncidentPath returns the URL path to the ArchivedIncident service index_resolutions HTTP endpoint.
func NewIndexArchivedIncidentListNotModified ¶
func NewIndexArchivedIncidentListNotModified(etag string) *archivedincidentviews.ArchivedIncidentListView
NewIndexArchivedIncidentListNotModified builds a "ArchivedIncident" service "index" endpoint result from a HTTP "NotModified" response.
func NewIndexArchivedIncidentListOK ¶
func NewIndexArchivedIncidentListOK(body *IndexOKResponseBody, etag string) *archivedincidentviews.ArchivedIncidentListView
NewIndexArchivedIncidentListOK builds a "ArchivedIncident" service "index" endpoint result from a HTTP "OK" response.
func NewIndexBadGateway ¶
func NewIndexBadGateway(body *IndexBadGatewayResponseBody) *goa.ServiceError
NewIndexBadGateway builds a ArchivedIncident service index endpoint bad_gateway error.
func NewIndexBadRequest ¶
func NewIndexBadRequest(body *IndexBadRequestResponseBody) *goa.ServiceError
NewIndexBadRequest builds a ArchivedIncident service index endpoint bad_request error.
func NewIndexEscalationsBadGateway ¶
func NewIndexEscalationsBadGateway(body *IndexEscalationsBadGatewayResponseBody) *goa.ServiceError
NewIndexEscalationsBadGateway builds a ArchivedIncident service index_escalations endpoint bad_gateway error.
func NewIndexEscalationsBadRequest ¶
func NewIndexEscalationsBadRequest(body *IndexEscalationsBadRequestResponseBody) *goa.ServiceError
NewIndexEscalationsBadRequest builds a ArchivedIncident service index_escalations endpoint bad_request error.
func NewIndexEscalationsEscalationsOK ¶
func NewIndexEscalationsEscalationsOK(body *IndexEscalationsResponseBody) *archivedincidentviews.EscalationsView
NewIndexEscalationsEscalationsOK builds a "ArchivedIncident" service "index_escalations" endpoint result from a HTTP "OK" response.
func NewIndexEscalationsForbidden ¶
func NewIndexEscalationsForbidden(body *IndexEscalationsForbiddenResponseBody) *goa.ServiceError
NewIndexEscalationsForbidden builds a ArchivedIncident service index_escalations endpoint forbidden error.
func NewIndexEscalationsInternalError ¶
func NewIndexEscalationsInternalError(body *IndexEscalationsInternalErrorResponseBody) *goa.ServiceError
NewIndexEscalationsInternalError builds a ArchivedIncident service index_escalations endpoint internal_error error.
func NewIndexEscalationsNotFound ¶
func NewIndexEscalationsNotFound(body *IndexEscalationsNotFoundResponseBody) *goa.ServiceError
NewIndexEscalationsNotFound builds a ArchivedIncident service index_escalations endpoint not_found error.
func NewIndexEscalationsUnauthorized ¶
func NewIndexEscalationsUnauthorized(body *IndexEscalationsUnauthorizedResponseBody) *goa.ServiceError
NewIndexEscalationsUnauthorized builds a ArchivedIncident service index_escalations endpoint unauthorized error.
func NewIndexForbidden ¶
func NewIndexForbidden(body *IndexForbiddenResponseBody) *goa.ServiceError
NewIndexForbidden builds a ArchivedIncident service index endpoint forbidden error.
func NewIndexInternalError ¶
func NewIndexInternalError(body *IndexInternalErrorResponseBody) *goa.ServiceError
NewIndexInternalError builds a ArchivedIncident service index endpoint internal_error error.
func NewIndexResolutionsBadGateway ¶
func NewIndexResolutionsBadGateway(body *IndexResolutionsBadGatewayResponseBody) *goa.ServiceError
NewIndexResolutionsBadGateway builds a ArchivedIncident service index_resolutions endpoint bad_gateway error.
func NewIndexResolutionsBadRequest ¶
func NewIndexResolutionsBadRequest(body *IndexResolutionsBadRequestResponseBody) *goa.ServiceError
NewIndexResolutionsBadRequest builds a ArchivedIncident service index_resolutions endpoint bad_request error.
func NewIndexResolutionsForbidden ¶
func NewIndexResolutionsForbidden(body *IndexResolutionsForbiddenResponseBody) *goa.ServiceError
NewIndexResolutionsForbidden builds a ArchivedIncident service index_resolutions endpoint forbidden error.
func NewIndexResolutionsInternalError ¶
func NewIndexResolutionsInternalError(body *IndexResolutionsInternalErrorResponseBody) *goa.ServiceError
NewIndexResolutionsInternalError builds a ArchivedIncident service index_resolutions endpoint internal_error error.
func NewIndexResolutionsNotFound ¶
func NewIndexResolutionsNotFound(body *IndexResolutionsNotFoundResponseBody) *goa.ServiceError
NewIndexResolutionsNotFound builds a ArchivedIncident service index_resolutions endpoint not_found error.
func NewIndexResolutionsResolutionsOK ¶
func NewIndexResolutionsResolutionsOK(body *IndexResolutionsResponseBody) *archivedincidentviews.ResolutionsView
NewIndexResolutionsResolutionsOK builds a "ArchivedIncident" service "index_resolutions" endpoint result from a HTTP "OK" response.
func NewIndexResolutionsUnauthorized ¶
func NewIndexResolutionsUnauthorized(body *IndexResolutionsUnauthorizedResponseBody) *goa.ServiceError
NewIndexResolutionsUnauthorized builds a ArchivedIncident service index_resolutions endpoint unauthorized error.
func NewIndexResolutionsUnprocessableEntity ¶
func NewIndexResolutionsUnprocessableEntity(body *IndexResolutionsUnprocessableEntityResponseBody) *goa.ServiceError
NewIndexResolutionsUnprocessableEntity builds a ArchivedIncident service index_resolutions endpoint unprocessable_entity error.
func NewIndexUnauthorized ¶
func NewIndexUnauthorized(body *IndexUnauthorizedResponseBody) *goa.ServiceError
NewIndexUnauthorized builds a ArchivedIncident service index endpoint unauthorized error.
func NewShowArchivedIncidentNotModified ¶
func NewShowArchivedIncidentNotModified(etag string) *archivedincidentviews.ArchivedIncidentView
NewShowArchivedIncidentNotModified builds a "ArchivedIncident" service "show" endpoint result from a HTTP "NotModified" response.
func NewShowArchivedIncidentOK ¶
func NewShowArchivedIncidentOK(body *ShowOKResponseBody, etag string) *archivedincidentviews.ArchivedIncidentView
NewShowArchivedIncidentOK builds a "ArchivedIncident" service "show" endpoint result from a HTTP "OK" response.
func NewShowBadGateway ¶
func NewShowBadGateway(body *ShowBadGatewayResponseBody) *goa.ServiceError
NewShowBadGateway builds a ArchivedIncident service show endpoint bad_gateway error.
func NewShowBadRequest ¶
func NewShowBadRequest(body *ShowBadRequestResponseBody) *goa.ServiceError
NewShowBadRequest builds a ArchivedIncident service show endpoint bad_request error.
func NewShowForbidden ¶
func NewShowForbidden(body *ShowForbiddenResponseBody) *goa.ServiceError
NewShowForbidden builds a ArchivedIncident service show endpoint forbidden error.
func NewShowInternalError ¶
func NewShowInternalError(body *ShowInternalErrorResponseBody) *goa.ServiceError
NewShowInternalError builds a ArchivedIncident service show endpoint internal_error error.
func NewShowNotFound ¶
func NewShowNotFound(body *ShowNotFoundResponseBody) *goa.ServiceError
NewShowNotFound builds a ArchivedIncident service show endpoint not_found error.
func NewShowUnauthorized ¶
func NewShowUnauthorized(body *ShowUnauthorizedResponseBody) *goa.ServiceError
NewShowUnauthorized builds a ArchivedIncident service show endpoint unauthorized error.
func ShowArchivedIncidentPath ¶
ShowArchivedIncidentPath returns the URL path to the ArchivedIncident service show HTTP endpoint.
func ValidateAppliedPolicyResponseBody ¶
func ValidateAppliedPolicyResponseBody(body *AppliedPolicyResponseBody) (err error)
ValidateAppliedPolicyResponseBody runs the validations defined on AppliedPolicyResponseBody
func ValidateApprovalRequestResponseBody ¶
func ValidateApprovalRequestResponseBody(body *ApprovalRequestResponseBody) (err error)
ValidateApprovalRequestResponseBody runs the validations defined on ApprovalRequestResponseBody
func ValidateApprovalSubject ¶
func ValidateApprovalSubject(body *ApprovalSubject) (err error)
ValidateApprovalSubject runs the validations defined on ApprovalSubject
func ValidateArchivedIncidentCollectionResponseBody ¶
func ValidateArchivedIncidentCollectionResponseBody(body ArchivedIncidentCollectionResponseBody) (err error)
ValidateArchivedIncidentCollectionResponseBody runs the validations defined on ArchivedIncidentCollectionResponseBody
func ValidateArchivedIncidentResponseBody ¶
func ValidateArchivedIncidentResponseBody(body *ArchivedIncidentResponseBody) (err error)
ValidateArchivedIncidentResponseBody runs the validations defined on ArchivedIncidentResponseBody
func ValidateConfigurationOptionResponseBody ¶
func ValidateConfigurationOptionResponseBody(body *ConfigurationOptionResponseBody) (err error)
ValidateConfigurationOptionResponseBody runs the validations defined on ConfigurationOptionResponseBody
func ValidateCredentialsResponseBody ¶
func ValidateCredentialsResponseBody(body *CredentialsResponseBody) (err error)
ValidateCredentialsResponseBody runs the validations defined on CredentialsResponseBody
func ValidateCredentialsTagResponseBody ¶
func ValidateCredentialsTagResponseBody(body *CredentialsTagResponseBody) (err error)
ValidateCredentialsTagResponseBody runs the validations defined on CredentialsTagResponseBody
func ValidateEscalationActionResponseBody ¶
func ValidateEscalationActionResponseBody(body *EscalationActionResponseBody) (err error)
ValidateEscalationActionResponseBody runs the validations defined on EscalationActionResponseBody
func ValidateEscalationResponseBody ¶
func ValidateEscalationResponseBody(body *EscalationResponseBody) (err error)
ValidateEscalationResponseBody runs the validations defined on EscalationResponseBody
func ValidateIndexBadGatewayResponseBody ¶
func ValidateIndexBadGatewayResponseBody(body *IndexBadGatewayResponseBody) (err error)
ValidateIndexBadGatewayResponseBody runs the validations defined on index_bad_gateway_response_body
func ValidateIndexBadRequestResponseBody ¶
func ValidateIndexBadRequestResponseBody(body *IndexBadRequestResponseBody) (err error)
ValidateIndexBadRequestResponseBody runs the validations defined on index_bad_request_response_body
func ValidateIndexEscalationsBadGatewayResponseBody ¶
func ValidateIndexEscalationsBadGatewayResponseBody(body *IndexEscalationsBadGatewayResponseBody) (err error)
ValidateIndexEscalationsBadGatewayResponseBody runs the validations defined on index_escalations_bad_gateway_response_body
func ValidateIndexEscalationsBadRequestResponseBody ¶
func ValidateIndexEscalationsBadRequestResponseBody(body *IndexEscalationsBadRequestResponseBody) (err error)
ValidateIndexEscalationsBadRequestResponseBody runs the validations defined on index_escalations_bad_request_response_body
func ValidateIndexEscalationsForbiddenResponseBody ¶
func ValidateIndexEscalationsForbiddenResponseBody(body *IndexEscalationsForbiddenResponseBody) (err error)
ValidateIndexEscalationsForbiddenResponseBody runs the validations defined on index_escalations_forbidden_response_body
func ValidateIndexEscalationsInternalErrorResponseBody ¶
func ValidateIndexEscalationsInternalErrorResponseBody(body *IndexEscalationsInternalErrorResponseBody) (err error)
ValidateIndexEscalationsInternalErrorResponseBody runs the validations defined on index_escalations_internal_error_response_body
func ValidateIndexEscalationsNotFoundResponseBody ¶
func ValidateIndexEscalationsNotFoundResponseBody(body *IndexEscalationsNotFoundResponseBody) (err error)
ValidateIndexEscalationsNotFoundResponseBody runs the validations defined on index_escalations_not_found_response_body
func ValidateIndexEscalationsUnauthorizedResponseBody ¶
func ValidateIndexEscalationsUnauthorizedResponseBody(body *IndexEscalationsUnauthorizedResponseBody) (err error)
ValidateIndexEscalationsUnauthorizedResponseBody runs the validations defined on index_escalations_unauthorized_response_body
func ValidateIndexForbiddenResponseBody ¶
func ValidateIndexForbiddenResponseBody(body *IndexForbiddenResponseBody) (err error)
ValidateIndexForbiddenResponseBody runs the validations defined on index_forbidden_response_body
func ValidateIndexInternalErrorResponseBody ¶
func ValidateIndexInternalErrorResponseBody(body *IndexInternalErrorResponseBody) (err error)
ValidateIndexInternalErrorResponseBody runs the validations defined on index_internal_error_response_body
func ValidateIndexResolutionsBadGatewayResponseBody ¶
func ValidateIndexResolutionsBadGatewayResponseBody(body *IndexResolutionsBadGatewayResponseBody) (err error)
ValidateIndexResolutionsBadGatewayResponseBody runs the validations defined on index_resolutions_bad_gateway_response_body
func ValidateIndexResolutionsBadRequestResponseBody ¶
func ValidateIndexResolutionsBadRequestResponseBody(body *IndexResolutionsBadRequestResponseBody) (err error)
ValidateIndexResolutionsBadRequestResponseBody runs the validations defined on index_resolutions_bad_request_response_body
func ValidateIndexResolutionsForbiddenResponseBody ¶
func ValidateIndexResolutionsForbiddenResponseBody(body *IndexResolutionsForbiddenResponseBody) (err error)
ValidateIndexResolutionsForbiddenResponseBody runs the validations defined on index_resolutions_forbidden_response_body
func ValidateIndexResolutionsInternalErrorResponseBody ¶
func ValidateIndexResolutionsInternalErrorResponseBody(body *IndexResolutionsInternalErrorResponseBody) (err error)
ValidateIndexResolutionsInternalErrorResponseBody runs the validations defined on index_resolutions_internal_error_response_body
func ValidateIndexResolutionsNotFoundResponseBody ¶
func ValidateIndexResolutionsNotFoundResponseBody(body *IndexResolutionsNotFoundResponseBody) (err error)
ValidateIndexResolutionsNotFoundResponseBody runs the validations defined on index_resolutions_not_found_response_body
func ValidateIndexResolutionsUnauthorizedResponseBody ¶
func ValidateIndexResolutionsUnauthorizedResponseBody(body *IndexResolutionsUnauthorizedResponseBody) (err error)
ValidateIndexResolutionsUnauthorizedResponseBody runs the validations defined on index_resolutions_unauthorized_response_body
func ValidateIndexResolutionsUnprocessableEntityResponseBody ¶
func ValidateIndexResolutionsUnprocessableEntityResponseBody(body *IndexResolutionsUnprocessableEntityResponseBody) (err error)
ValidateIndexResolutionsUnprocessableEntityResponseBody runs the validations defined on index_resolutions_unprocessable_entity_response_body
func ValidateIndexUnauthorizedResponseBody ¶
func ValidateIndexUnauthorizedResponseBody(body *IndexUnauthorizedResponseBody) (err error)
ValidateIndexUnauthorizedResponseBody runs the validations defined on index_unauthorized_response_body
func ValidateParameterResponseBody ¶
func ValidateParameterResponseBody(body *ParameterResponseBody) (err error)
ValidateParameterResponseBody runs the validations defined on ParameterResponseBody
func ValidatePermissionResponseBody ¶
func ValidatePermissionResponseBody(body *PermissionResponseBody) (err error)
ValidatePermissionResponseBody runs the validations defined on PermissionResponseBody
func ValidatePolicyTemplateResponseBody ¶
func ValidatePolicyTemplateResponseBody(body *PolicyTemplateResponseBody) (err error)
ValidatePolicyTemplateResponseBody runs the validations defined on PolicyTemplateResponseBody
func ValidateProjectResponseBody ¶
func ValidateProjectResponseBody(body *ProjectResponseBody) (err error)
ValidateProjectResponseBody runs the validations defined on ProjectResponseBody
func ValidatePublishedTemplateResponseBody ¶
func ValidatePublishedTemplateResponseBody(body *PublishedTemplateResponseBody) (err error)
ValidatePublishedTemplateResponseBody runs the validations defined on PublishedTemplateResponseBody
func ValidateRegexpResponseBody ¶
func ValidateRegexpResponseBody(body *RegexpResponseBody) (err error)
ValidateRegexpResponseBody runs the validations defined on RegexpResponseBody
func ValidateResolutionActionResponseBody ¶
func ValidateResolutionActionResponseBody(body *ResolutionActionResponseBody) (err error)
ValidateResolutionActionResponseBody runs the validations defined on ResolutionActionResponseBody
func ValidateResolutionResponseBody ¶
func ValidateResolutionResponseBody(body *ResolutionResponseBody) (err error)
ValidateResolutionResponseBody runs the validations defined on ResolutionResponseBody
func ValidateShowBadGatewayResponseBody ¶
func ValidateShowBadGatewayResponseBody(body *ShowBadGatewayResponseBody) (err error)
ValidateShowBadGatewayResponseBody runs the validations defined on show_bad_gateway_response_body
func ValidateShowBadRequestResponseBody ¶
func ValidateShowBadRequestResponseBody(body *ShowBadRequestResponseBody) (err error)
ValidateShowBadRequestResponseBody runs the validations defined on show_bad_request_response_body
func ValidateShowForbiddenResponseBody ¶
func ValidateShowForbiddenResponseBody(body *ShowForbiddenResponseBody) (err error)
ValidateShowForbiddenResponseBody runs the validations defined on show_forbidden_response_body
func ValidateShowInternalErrorResponseBody ¶
func ValidateShowInternalErrorResponseBody(body *ShowInternalErrorResponseBody) (err error)
ValidateShowInternalErrorResponseBody runs the validations defined on show_internal_error_response_body
func ValidateShowNotFoundResponseBody ¶
func ValidateShowNotFoundResponseBody(body *ShowNotFoundResponseBody) (err error)
ValidateShowNotFoundResponseBody runs the validations defined on show_not_found_response_body
func ValidateShowUnauthorizedResponseBody ¶
func ValidateShowUnauthorizedResponseBody(body *ShowUnauthorizedResponseBody) (err error)
ValidateShowUnauthorizedResponseBody runs the validations defined on show_unauthorized_response_body
func ValidateUserResponseBody ¶
func ValidateUserResponseBody(body *UserResponseBody) (err error)
ValidateUserResponseBody runs the validations defined on UserResponseBody
Types ¶
type AppliedPolicyResponseBody ¶
type AppliedPolicyResponseBody struct { // id identifies an applied policy by ID. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // policy_aggregate_id is set if applied policy is part of an policy aggregate. PolicyAggregateID *string `form:"policy_aggregate_id,omitempty" json:"policy_aggregate_id,omitempty" xml:"policy_aggregate_id,omitempty"` // incident_aggregate_id is set if applied incident is part of an policy // aggregate. IncidentAggregateID *string `form:"incident_aggregate_id,omitempty" json:"incident_aggregate_id,omitempty" xml:"incident_aggregate_id,omitempty"` // name provides a name for this specific application of the policy. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // Project represents a RightScale project and provides some information about // the project. Project *ProjectResponseBody `form:"project,omitempty" json:"project,omitempty" xml:"project,omitempty"` // href is the href of the applied policy. Href *string `form:"href,omitempty" json:"href,omitempty" xml:"href,omitempty"` // policy_template links to key attributes of the policy template from which // the applied policy originated. PolicyTemplate *PolicyTemplateResponseBody `form:"policy_template,omitempty" json:"policy_template,omitempty" xml:"policy_template,omitempty"` // published_template links to key attributes of the published template from // which the applied policy originated. PublishedTemplate *PublishedTemplateResponseBody `form:"published_template,omitempty" json:"published_template,omitempty" xml:"published_template,omitempty"` // description provides a human readable description for this specific // application of the policy. Description *string `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"` // doc_link is a HTTP URI to a page containing detailed documentation for the // policy. DocLink *string `form:"doc_link,omitempty" json:"doc_link,omitempty" xml:"doc_link,omitempty"` // info is an arbitrary set of key/value pairs that provide additional // information such as the policy author, support contact information, etc. Info map[string]string `form:"info,omitempty" json:"info,omitempty" xml:"info,omitempty"` // created_by is the RightScale user that applied the policy. CreatedBy *UserResponseBody `form:"created_by,omitempty" json:"created_by,omitempty" xml:"created_by,omitempty"` // created_at is the applied policy creation timestamp in RFC3339 format. CreatedAt *string `form:"created_at,omitempty" json:"created_at,omitempty" xml:"created_at,omitempty"` // updated_at is the applied policy update timestamp in RFC3339 format. UpdatedAt *string `form:"updated_at,omitempty" json:"updated_at,omitempty" xml:"updated_at,omitempty"` // severity defines the severity level of incidents raised from this applied // policy. Severity *string `form:"severity,omitempty" json:"severity,omitempty" xml:"severity,omitempty"` // category is the type categorization of the applied policy. Category *string `form:"category,omitempty" json:"category,omitempty" xml:"category,omitempty"` // frequency specifies the frequency with which to run policy evaluations Frequency *string `form:"frequency,omitempty" json:"frequency,omitempty" xml:"frequency,omitempty"` // dry_run is a flag used for testing a policy so that an incident can be // raised without performing an action. DryRun *bool `form:"dry_run,omitempty" json:"dry_run,omitempty" xml:"dry_run,omitempty"` // skip_approvals means that any approval actions will be skipped and all // actions automatically run. SkipApprovals *bool `form:"skip_approvals,omitempty" json:"skip_approvals,omitempty" xml:"skip_approvals,omitempty"` // options lists the configuration options used to parameterize the policy. Options []*ConfigurationOptionResponseBody `form:"options,omitempty" json:"options,omitempty" xml:"options,omitempty"` // credentials map of credentials to use. The key in the map is the credential // name from the PolicyTemplate and the value is the credential identifier from // the Credentials management page. Credentials map[string]string `form:"credentials,omitempty" json:"credentials,omitempty" xml:"credentials,omitempty"` // status is used to identify the current status of the applied policy. Status *string `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"` // error is the error message returned if the evaluation failed. On success // this attribute is empty. Error *string `form:"error,omitempty" json:"error,omitempty" xml:"error,omitempty"` // errored_at is the applied policy error timestamp in RFC3339 format. On // success this attribute is empty. ErroredAt *string `form:"errored_at,omitempty" json:"errored_at,omitempty" xml:"errored_at,omitempty"` // scope is whether the policy is managed at an org-wide or project level. Scope *string `form:"scope,omitempty" json:"scope,omitempty" xml:"scope,omitempty"` // kind is "gov#applied_policy". Kind *string `form:"kind,omitempty" json:"kind,omitempty" xml:"kind,omitempty"` }
AppliedPolicyResponseBody is used to define fields on response body types.
type ApprovalRequestResponseBody ¶
type ApprovalRequestResponseBody struct { // id identifies an approval request by ID. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // project_id is the ID of the project where this approval request is created. ProjectID *uint `form:"project_id,omitempty" json:"project_id,omitempty" xml:"project_id,omitempty"` // href is the href of the approval request Href *string `form:"href,omitempty" json:"href,omitempty" xml:"href,omitempty"` // label is a short title for this approval request Label *string `form:"label,omitempty" json:"label,omitempty" xml:"label,omitempty"` // description describes the details for this approval request. Description *string `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"` // subject is the subject of the approval. Subject *ApprovalSubject `form:"subject,omitempty" json:"subject,omitempty" xml:"subject,omitempty"` // created_at is the approval request creation timestamp in RFC3339 format. CreatedAt *string `form:"created_at,omitempty" json:"created_at,omitempty" xml:"created_at,omitempty"` // updated_at is the last update timestamp in RFC3339 format. UpdatedAt *string `form:"updated_at,omitempty" json:"updated_at,omitempty" xml:"updated_at,omitempty"` // parameters is a list of parameters required for approval request. Parameters map[string]*ParameterResponseBody `form:"parameters,omitempty" json:"parameters,omitempty" xml:"parameters,omitempty"` // status is the status of this approval request. Status *string `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"` // options lists the configuration options used to parameterize the approval // request. Options []*ConfigurationOptionResponseBody `form:"options,omitempty" json:"options,omitempty" xml:"options,omitempty"` // approved_by is the RightScale user that approved this approval request. ApprovedBy *UserResponseBody `form:"approved_by,omitempty" json:"approved_by,omitempty" xml:"approved_by,omitempty"` // approved_at is the approval timestamp in RFC3339 format. ApprovedAt *string `form:"approved_at,omitempty" json:"approved_at,omitempty" xml:"approved_at,omitempty"` // denial_comment is a comment that explains the reason for denial, if relevant. DenialComment *string `form:"denial_comment,omitempty" json:"denial_comment,omitempty" xml:"denial_comment,omitempty"` // denied_by is the RightScale user that denied this approval request. DeniedBy *UserResponseBody `form:"denied_by,omitempty" json:"denied_by,omitempty" xml:"denied_by,omitempty"` // denied_at is the denial timestamp in RFC3339 format. DeniedAt *string `form:"denied_at,omitempty" json:"denied_at,omitempty" xml:"denied_at,omitempty"` // kind is "gov#approval_request". Kind *string `form:"kind,omitempty" json:"kind,omitempty" xml:"kind,omitempty"` }
ApprovalRequestResponseBody is used to define fields on response body types.
type ApprovalSubject ¶
type ApprovalSubject struct { // kind is the kind of subject Kind *string `form:"kind,omitempty" json:"kind,omitempty" xml:"kind,omitempty"` // href is the href of the subject. Href *string `form:"href,omitempty" json:"href,omitempty" xml:"href,omitempty"` }
ApprovalSubject is used to define fields on response body types.
type ArchivedIncidentCollectionResponseBody ¶
type ArchivedIncidentCollectionResponseBody []*ArchivedIncidentResponseBody
ArchivedIncidentCollectionResponseBody is used to define fields on response body types.
type ArchivedIncidentResponseBody ¶
type ArchivedIncidentResponseBody struct { // id is the ID of the archived incident, must be unique in the project. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Project represents a RightScale project and provides some information about // the project. Project *ProjectResponseBody `form:"project,omitempty" json:"project,omitempty" xml:"project,omitempty"` // href is the href of the archived incident. Href *string `form:"href,omitempty" json:"href,omitempty" xml:"href,omitempty"` // applied_policy links to key attributes of the applied policy that initiated // the incident. AppliedPolicy *AppliedPolicyResponseBody `form:"applied_policy,omitempty" json:"applied_policy,omitempty" xml:"applied_policy,omitempty"` // summary is a summary of the incident. Summary *string `form:"summary,omitempty" json:"summary,omitempty" xml:"summary,omitempty"` // message is a description of the incident. Detail *string `form:"detail,omitempty" json:"detail,omitempty" xml:"detail,omitempty"` // data is the data about the resources that violate the policy. Data interface{} `form:"data,omitempty" json:"data,omitempty" xml:"data,omitempty"` // The number of items in violation data. ViolationDataCount *uint `form:"violation_data_count,omitempty" json:"violation_data_count,omitempty" xml:"violation_data_count,omitempty"` // created_at is the incident creation timestamp in RFC3339 format. CreatedAt *string `form:"created_at,omitempty" json:"created_at,omitempty" xml:"created_at,omitempty"` // updated_at is the incident update timestamp in RFC3339 format. UpdatedAt *string `form:"updated_at,omitempty" json:"updated_at,omitempty" xml:"updated_at,omitempty"` // resolved_at is the incident resolution timestamp in RFC3339 format. ResolvedAt *string `form:"resolved_at,omitempty" json:"resolved_at,omitempty" xml:"resolved_at,omitempty"` // resolved_by is the RightScale user that resolved the incident if it was // resolved manually. ResolvedBy *UserResponseBody `form:"resolved_by,omitempty" json:"resolved_by,omitempty" xml:"resolved_by,omitempty"` // resolution_message is an optional explaination of why the incident is // resolved. ResolutionMessage *string `form:"resolution_message,omitempty" json:"resolution_message,omitempty" xml:"resolution_message,omitempty"` // state represents the current handling status of the incident. State *string `form:"state,omitempty" json:"state,omitempty" xml:"state,omitempty"` // severity defines the severity level of the incident. Severity *string `form:"severity,omitempty" json:"severity,omitempty" xml:"severity,omitempty"` // category is the type categorization of the incident. Category *string `form:"category,omitempty" json:"category,omitempty" xml:"category,omitempty"` // options lists the configuration options used to parameterize the policy that // created the incident. Options []*ConfigurationOptionResponseBody `form:"options,omitempty" json:"options,omitempty" xml:"options,omitempty"` // dry_run is a flag used for testing a policy, that determines whether this // incident should trigger escalation actions. DryRun *bool `form:"dry_run,omitempty" json:"dry_run,omitempty" xml:"dry_run,omitempty"` // action_failed indicates whether any of the incident's actions failed during // execution. ActionFailed *bool `form:"action_failed,omitempty" json:"action_failed,omitempty" xml:"action_failed,omitempty"` // kind is "gov#archived_incident". Kind *string `form:"kind,omitempty" json:"kind,omitempty" xml:"kind,omitempty"` // etag is an HTTP ETag for the incident. Etag *string `form:"etag,omitempty" json:"etag,omitempty" xml:"etag,omitempty"` // not_modified is a flag used internally that indicates how to encode the HTTP // response (i.e. 200 or 304). NotModified *string `form:"not_modified,omitempty" json:"not_modified,omitempty" xml:"not_modified,omitempty"` }
ArchivedIncidentResponseBody is used to define fields on response body types.
type Client ¶
type Client struct { // Show Doer is the HTTP client used to make requests to the show endpoint. ShowDoer goahttp.Doer // Index Doer is the HTTP client used to make requests to the index endpoint. IndexDoer goahttp.Doer // IndexEscalations Doer is the HTTP client used to make requests to the // index_escalations endpoint. IndexEscalationsDoer goahttp.Doer // IndexResolutions Doer is the HTTP client used to make requests to the // index_resolutions endpoint. IndexResolutionsDoer goahttp.Doer // CORS Doer is the HTTP client used to make requests to the endpoint. CORSDoer 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 ArchivedIncident 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 ArchivedIncident service servers.
func (*Client) BuildIndexEscalationsRequest ¶
func (c *Client) BuildIndexEscalationsRequest(ctx context.Context, v interface{}) (*http.Request, error)
BuildIndexEscalationsRequest instantiates a HTTP request object with method and path set to call the "ArchivedIncident" service "index_escalations" endpoint
func (*Client) BuildIndexRequest ¶
BuildIndexRequest instantiates a HTTP request object with method and path set to call the "ArchivedIncident" service "index" endpoint
func (*Client) BuildIndexResolutionsRequest ¶
func (c *Client) BuildIndexResolutionsRequest(ctx context.Context, v interface{}) (*http.Request, error)
BuildIndexResolutionsRequest instantiates a HTTP request object with method and path set to call the "ArchivedIncident" service "index_resolutions" endpoint
func (*Client) BuildShowRequest ¶
BuildShowRequest instantiates a HTTP request object with method and path set to call the "ArchivedIncident" service "show" endpoint
func (*Client) Index ¶
Index returns an endpoint that makes HTTP requests to the ArchivedIncident service index server.
func (*Client) IndexEscalations ¶
IndexEscalations returns an endpoint that makes HTTP requests to the ArchivedIncident service index_escalations server.
func (*Client) IndexResolutions ¶
IndexResolutions returns an endpoint that makes HTTP requests to the ArchivedIncident service index_resolutions server.
type ConfigurationOptionResponseBody ¶
type ConfigurationOptionResponseBody struct { // name of option Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // label of option Label *string `form:"label,omitempty" json:"label,omitempty" xml:"label,omitempty"` // type of option Type *string `form:"type,omitempty" json:"type,omitempty" xml:"type,omitempty"` // value of option Value interface{} `form:"value,omitempty" json:"value,omitempty" xml:"value,omitempty"` // no_echo determines whether the value of the configuration option should be // hidden in UIs and API responses. NoEcho *bool `form:"no_echo,omitempty" json:"no_echo,omitempty" xml:"no_echo,omitempty"` }
ConfigurationOptionResponseBody is used to define fields on response body types.
type CredentialsResponseBody ¶
type CredentialsResponseBody struct { // Name in policy template source code Name *string `json:"name"` // Schemes of credentials service resource supported. Schemes []string `json:"schemes"` // Label for the auth reference Label *string `json:"label"` // Description of what types of permissions need to be provided by auth. Description *string `json:"description"` // Tags is an optional filter to only show credentials matching a certain tag. Tags []*CredentialsTagResponseBody `json:"tags"` }
CredentialsResponseBody is used to define fields on response body types.
type CredentialsTagResponseBody ¶
type CredentialsTagResponseBody struct { // Key is the tag key. Key *string `json:"key"` // Value is the tag value. Value *string `json:"value"` }
CredentialsTagResponseBody is used to define fields on response body types.
type EscalationActionResponseBody ¶
type EscalationActionResponseBody struct { // type is the type of the action. Type *string `form:"type,omitempty" json:"type,omitempty" xml:"type,omitempty"` // status is the status of the action. Status *string `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"` // started_at is the time when the action was started. StartedAt *string `form:"started_at,omitempty" json:"started_at,omitempty" xml:"started_at,omitempty"` // finished_at is the time when the action was finished. FinishedAt *string `form:"finished_at,omitempty" json:"finished_at,omitempty" xml:"finished_at,omitempty"` // error is any error occurred when handling the action. Error *string `form:"error,omitempty" json:"error,omitempty" xml:"error,omitempty"` // approval_request is the approval request resource (if the type is // request_approval). ApprovalRequest *ApprovalRequestResponseBody `form:"approval_request,omitempty" json:"approval_request,omitempty" xml:"approval_request,omitempty"` // process_href is the href of a cloud workflow process. Required if the type // is cloud_workflow. ProcessHref *string `form:"process_href,omitempty" json:"process_href,omitempty" xml:"process_href,omitempty"` }
EscalationActionResponseBody is used to define fields on response body types.
type EscalationResponseBody ¶
type EscalationResponseBody struct { // status is the status of the set of escalation actions. Status *string `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"` // name is the name of the escalation. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // actions is the list of individual actions. Actions []*EscalationActionResponseBody `form:"actions,omitempty" json:"actions,omitempty" xml:"actions,omitempty"` }
EscalationResponseBody is used to define fields on response body types.
type IndexBadGatewayResponseBody ¶
type IndexBadGatewayResponseBody 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"` }
IndexBadGatewayResponseBody is the type of the "ArchivedIncident" service "index" endpoint HTTP response body for the "bad_gateway" error.
type IndexBadRequestResponseBody ¶
type IndexBadRequestResponseBody 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"` }
IndexBadRequestResponseBody is the type of the "ArchivedIncident" service "index" endpoint HTTP response body for the "bad_request" error.
type IndexEscalationsBadGatewayResponseBody ¶
type IndexEscalationsBadGatewayResponseBody 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"` }
IndexEscalationsBadGatewayResponseBody is the type of the "ArchivedIncident" service "index_escalations" endpoint HTTP response body for the "bad_gateway" error.
type IndexEscalationsBadRequestResponseBody ¶
type IndexEscalationsBadRequestResponseBody 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"` }
IndexEscalationsBadRequestResponseBody is the type of the "ArchivedIncident" service "index_escalations" endpoint HTTP response body for the "bad_request" error.
type IndexEscalationsForbiddenResponseBody ¶
type IndexEscalationsForbiddenResponseBody 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"` }
IndexEscalationsForbiddenResponseBody is the type of the "ArchivedIncident" service "index_escalations" endpoint HTTP response body for the "forbidden" error.
type IndexEscalationsInternalErrorResponseBody ¶
type IndexEscalationsInternalErrorResponseBody 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"` }
IndexEscalationsInternalErrorResponseBody is the type of the "ArchivedIncident" service "index_escalations" endpoint HTTP response body for the "internal_error" error.
type IndexEscalationsNotFoundResponseBody ¶
type IndexEscalationsNotFoundResponseBody 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"` }
IndexEscalationsNotFoundResponseBody is the type of the "ArchivedIncident" service "index_escalations" endpoint HTTP response body for the "not_found" error.
type IndexEscalationsResponseBody ¶
type IndexEscalationsResponseBody struct { // status is the status of all of the escalations. Status *string `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"` // escalations is the set of escalations. Escalations []*EscalationResponseBody `form:"escalations,omitempty" json:"escalations,omitempty" xml:"escalations,omitempty"` // started_at is the time when the incident handling is started. StartedAt *string `form:"started_at,omitempty" json:"started_at,omitempty" xml:"started_at,omitempty"` // finished_at is the time when the incident handling is finished. It exists // when the status is completed or failed. FinishedAt *string `form:"finished_at,omitempty" json:"finished_at,omitempty" xml:"finished_at,omitempty"` }
IndexEscalationsResponseBody is the type of the "ArchivedIncident" service "index_escalations" endpoint HTTP response body.
type IndexEscalationsUnauthorizedResponseBody ¶
type IndexEscalationsUnauthorizedResponseBody struct { 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"` }Name *
IndexEscalationsUnauthorizedResponseBody is the type of the "ArchivedIncident" service "index_escalations" endpoint HTTP response body for the "unauthorized" error.
type IndexForbiddenResponseBody ¶
type IndexForbiddenResponseBody 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"` }
IndexForbiddenResponseBody is the type of the "ArchivedIncident" service "index" endpoint HTTP response body for the "forbidden" error.
type IndexInternalErrorResponseBody ¶
type IndexInternalErrorResponseBody 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"` }
IndexInternalErrorResponseBody is the type of the "ArchivedIncident" service "index" endpoint HTTP response body for the "internal_error" error.
type IndexOKResponseBody ¶
type IndexOKResponseBody struct { // count is the number of incidents in the list. Count *uint `form:"count,omitempty" json:"count,omitempty" xml:"count,omitempty"` // items is the array of archived incidents. Items ArchivedIncidentCollectionResponseBody `form:"items,omitempty" json:"items,omitempty" xml:"items,omitempty"` // not_modified is a flag used internally that indicates how to encode the HTTP // response (i.e. 200 or 304). NotModified *string `form:"not_modified,omitempty" json:"not_modified,omitempty" xml:"not_modified,omitempty"` // kind is "gov#archived_incident_list". Kind *string `form:"kind,omitempty" json:"kind,omitempty" xml:"kind,omitempty"` }
IndexOKResponseBody is the type of the "ArchivedIncident" service "index" endpoint HTTP response body.
type IndexResolutionsBadGatewayResponseBody ¶
type IndexResolutionsBadGatewayResponseBody 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"` }
IndexResolutionsBadGatewayResponseBody is the type of the "ArchivedIncident" service "index_resolutions" endpoint HTTP response body for the "bad_gateway" error.
type IndexResolutionsBadRequestResponseBody ¶
type IndexResolutionsBadRequestResponseBody 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"` }
IndexResolutionsBadRequestResponseBody is the type of the "ArchivedIncident" service "index_resolutions" endpoint HTTP response body for the "bad_request" error.
type IndexResolutionsForbiddenResponseBody ¶
type IndexResolutionsForbiddenResponseBody 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"` }
IndexResolutionsForbiddenResponseBody is the type of the "ArchivedIncident" service "index_resolutions" endpoint HTTP response body for the "forbidden" error.
type IndexResolutionsInternalErrorResponseBody ¶
type IndexResolutionsInternalErrorResponseBody 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"` }
IndexResolutionsInternalErrorResponseBody is the type of the "ArchivedIncident" service "index_resolutions" endpoint HTTP response body for the "internal_error" error.
type IndexResolutionsNotFoundResponseBody ¶
type IndexResolutionsNotFoundResponseBody 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"` }
IndexResolutionsNotFoundResponseBody is the type of the "ArchivedIncident" service "index_resolutions" endpoint HTTP response body for the "not_found" error.
type IndexResolutionsResponseBody ¶
type IndexResolutionsResponseBody struct { // status is the status of all of the resolutions. Status *string `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"` // resolutions is the set of resolutions. Resolutions []*ResolutionResponseBody `form:"resolutions,omitempty" json:"resolutions,omitempty" xml:"resolutions,omitempty"` // started_at is the time when the incident handling is started. StartedAt *string `form:"started_at,omitempty" json:"started_at,omitempty" xml:"started_at,omitempty"` // finished_at is the time when the incident handling is finished. It exists // when the status is completed or failed. FinishedAt *string `form:"finished_at,omitempty" json:"finished_at,omitempty" xml:"finished_at,omitempty"` }
IndexResolutionsResponseBody is the type of the "ArchivedIncident" service "index_resolutions" endpoint HTTP response body.
type IndexResolutionsUnauthorizedResponseBody ¶
type IndexResolutionsUnauthorizedResponseBody struct { 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"` }Name *
IndexResolutionsUnauthorizedResponseBody is the type of the "ArchivedIncident" service "index_resolutions" endpoint HTTP response body for the "unauthorized" error.
type IndexResolutionsUnprocessableEntityResponseBody ¶
type IndexResolutionsUnprocessableEntityResponseBody 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"` }
IndexResolutionsUnprocessableEntityResponseBody is the type of the "ArchivedIncident" service "index_resolutions" endpoint HTTP response body for the "unprocessable_entity" error.
type IndexUnauthorizedResponseBody ¶
type IndexUnauthorizedResponseBody struct { 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"` }Name *
IndexUnauthorizedResponseBody is the type of the "ArchivedIncident" service "index" endpoint HTTP response body for the "unauthorized" error.
type ParameterResponseBody ¶
type ParameterResponseBody struct { // Name of the parameter Name *string `json:"name"` // Type of the parameter Type *string `json:"type"` // Label to show in the UI Label *string `json:"label"` // The index of this parameter in the list Index *uint `json:"index"` // The category used to group parameters Category *string `json:"category"` // Description of the parameter Description *string `json:"description"` // The default value for the parameter Default interface{} `json:"default"` // no_echo determines whether the value of the parameter should be hidden in // UIs and API responses. NoEcho *bool `json:"no_echo"` // List of values allowed for this parameter AllowedValues []interface{} `json:"allowed_values"` // The minimum length of a string parameter MinLength *uint `json:"min_length"` // The maximum length of a string parameter MaxLength *uint `json:"max_length"` // The minimum value of a number parmameter MinValue *float64 `json:"min_value"` // The maximum value of a number parameter MaxValue *float64 `json:"max_value"` // The regular expression pattern used to validate a string parameter AllowedPattern *RegexpResponseBody `json:"allowed_pattern"` // The description used for constraints ConstraintDescription *string `json:"constraint_description"` }
ParameterResponseBody is used to define fields on response body types.
type PermissionResponseBody ¶
type PermissionResponseBody struct { // Name of a permission Name *string `json:"name"` // Label is used in the UI Label *string `json:"label"` // List of resource names the permission is applied to Resources []string `json:"resources"` // List of action names the permission is applied to Actions []string `json:"actions"` }
PermissionResponseBody is used to define fields on response body types.
type PolicyTemplateResponseBody ¶
type PolicyTemplateResponseBody struct { // id identifies a policy template by ID. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // name is the unique name of the policy template in the project. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // project_id is the ID of the project that the policy template applies to. ProjectID *uint `form:"project_id,omitempty" json:"project_id,omitempty" xml:"project_id,omitempty"` // rs_pt_ver is the policy engine version. RsPtVer *uint `form:"rs_pt_ver,omitempty" json:"rs_pt_ver,omitempty" xml:"rs_pt_ver,omitempty"` // short_description is the short description of the policy template. ShortDescription *string `form:"short_description,omitempty" json:"short_description,omitempty" xml:"short_description,omitempty"` // long_description is the long description of the policy template. The content // can be markdown. LongDescription *string `form:"long_description,omitempty" json:"long_description,omitempty" xml:"long_description,omitempty"` // doc_link is an HTTP URI to a page containing detailed documentation for the // policy. DocLink *string `form:"doc_link,omitempty" json:"doc_link,omitempty" xml:"doc_link,omitempty"` // info is an arbitrary set of key/value pairs that provide additional // information such as the policy author, support contact information, etc. Info map[string]string `form:"info,omitempty" json:"info,omitempty" xml:"info,omitempty"` // default_frequency defines the interval the template will be run unless set // differently during application. DefaultFrequency *string `form:"default_frequency,omitempty" json:"default_frequency,omitempty" xml:"default_frequency,omitempty"` // href is the href of the policy template. Href *string `form:"href,omitempty" json:"href,omitempty" xml:"href,omitempty"` // filename is the name of the file that was uploaded to create the policy // template. Filename *string `form:"filename,omitempty" json:"filename,omitempty" xml:"filename,omitempty"` // source is the policy template source code. Source *string `form:"source,omitempty" json:"source,omitempty" xml:"source,omitempty"` // fingerprint is a SHA created during compilation. It is used to determine if // the template is outdated. Fingerprint *string `form:"fingerprint,omitempty" json:"fingerprint,omitempty" xml:"fingerprint,omitempty"` // category is the type categorization of the policy template. Category *string `form:"category,omitempty" json:"category,omitempty" xml:"category,omitempty"` // created_by is the RightScale user that created the policy template. CreatedBy *UserResponseBody `form:"created_by,omitempty" json:"created_by,omitempty" xml:"created_by,omitempty"` // created_at is the policy template creation timestamp in RFC3339 format. CreatedAt *string `form:"created_at,omitempty" json:"created_at,omitempty" xml:"created_at,omitempty"` // updated_by is the RightScale user that updated the policy template. UpdatedBy *UserResponseBody `form:"updated_by,omitempty" json:"updated_by,omitempty" xml:"updated_by,omitempty"` // updated_at is the last update timestamp in RFC3339 format. UpdatedAt *string `form:"updated_at,omitempty" json:"updated_at,omitempty" xml:"updated_at,omitempty"` // permissions is a list of permissions required to run the policy. Permissions map[string]*PermissionResponseBody `form:"permissions,omitempty" json:"permissions,omitempty" xml:"permissions,omitempty"` // required_roles is a list of governance roles, derived from permissions, // required to run the policy. RequiredRoles []string `form:"required_roles,omitempty" json:"required_roles,omitempty" xml:"required_roles,omitempty"` // parameters is a list of parameters required to apply the policy. Parameters map[string]*ParameterResponseBody `form:"parameters,omitempty" json:"parameters,omitempty" xml:"parameters,omitempty"` // severity defines the severity level of incidents raised from this policy // template. Severity *string `form:"severity,omitempty" json:"severity,omitempty" xml:"severity,omitempty"` // tenancy indicates whether this template can be run across multiple projects // or is restricted to a single project. Tenancy *string `form:"tenancy,omitempty" json:"tenancy,omitempty" xml:"tenancy,omitempty"` // credentials is a list of authorization for external APIs needed to run the // policy. Credentials map[string]*CredentialsResponseBody `form:"credentials,omitempty" json:"credentials,omitempty" xml:"credentials,omitempty"` // kind is "gov#policy_template". Kind *string `form:"kind,omitempty" json:"kind,omitempty" xml:"kind,omitempty"` }
PolicyTemplateResponseBody is used to define fields on response body types.
type ProjectResponseBody ¶
type ProjectResponseBody struct { // id is the Project ID ID *uint `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // name is the Project Name Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // org_id is the RightScale Organization ID OrgID *uint `form:"org_id,omitempty" json:"org_id,omitempty" xml:"org_id,omitempty"` // org_name is the RightScale Organization Name OrgName *string `form:"org_name,omitempty" json:"org_name,omitempty" xml:"org_name,omitempty"` }
ProjectResponseBody is used to define fields on response body types.
type PublishedTemplateResponseBody ¶
type PublishedTemplateResponseBody struct { // id identifies a published template by ID. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // name is the unique name of the published template in the organization. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // org_id is the ID of the organization that the published template belongs to. OrgID *uint `form:"org_id,omitempty" json:"org_id,omitempty" xml:"org_id,omitempty"` // project_id is the ID of the project that the published template is published // from. ProjectID *uint `form:"project_id,omitempty" json:"project_id,omitempty" xml:"project_id,omitempty"` // policy_template_id is the ID of the policy template from which the published // template originated. PolicyTemplateID *string `form:"policy_template_id,omitempty" json:"policy_template_id,omitempty" xml:"policy_template_id,omitempty"` // policy_template_url is the full URL to the policy template from which the // published template originated. PolicyTemplateURL *string `form:"policy_template_url,omitempty" json:"policy_template_url,omitempty" xml:"policy_template_url,omitempty"` // policy_template_fingerprint is fingerprint of the policy template. It is // used to determine if the policy template that this was published from is // outdated. PolicyTemplateFingerprint *string `` /* 133-byte string literal not displayed */ // rs_pt_ver is the policy engine version. RsPtVer *uint `form:"rs_pt_ver,omitempty" json:"rs_pt_ver,omitempty" xml:"rs_pt_ver,omitempty"` // short_description is the short description of the published template. ShortDescription *string `form:"short_description,omitempty" json:"short_description,omitempty" xml:"short_description,omitempty"` // long_description is the long description of the published template. The // content can be markdown. LongDescription *string `form:"long_description,omitempty" json:"long_description,omitempty" xml:"long_description,omitempty"` // doc_link is a HTTP URI to a page containing detailed documentation for the // policy. DocLink *string `form:"doc_link,omitempty" json:"doc_link,omitempty" xml:"doc_link,omitempty"` // info is an arbitrary set of key/value pairs that provide additional // information such as the policy author, support contact information, etc. Info map[string]string `form:"info,omitempty" json:"info,omitempty" xml:"info,omitempty"` // default_frequency defines the interval the template will be run unless set // differently during application. DefaultFrequency *string `form:"default_frequency,omitempty" json:"default_frequency,omitempty" xml:"default_frequency,omitempty"` // href is the self-referential href of the published template. Href *string `form:"href,omitempty" json:"href,omitempty" xml:"href,omitempty"` // filename is the name of the file that was uploaded to create the policy // template. Filename *string `form:"filename,omitempty" json:"filename,omitempty" xml:"filename,omitempty"` // source is published template source code. Source *string `form:"source,omitempty" json:"source,omitempty" xml:"source,omitempty"` // fingerprint is a SHA created during compilation. It is used to determine if // the policy template that this was published from is outdated. Fingerprint *string `form:"fingerprint,omitempty" json:"fingerprint,omitempty" xml:"fingerprint,omitempty"` // category is the type categorization of the published template. Category *string `form:"category,omitempty" json:"category,omitempty" xml:"category,omitempty"` // created_by is the RightScale user that created the published template. CreatedBy *UserResponseBody `form:"created_by,omitempty" json:"created_by,omitempty" xml:"created_by,omitempty"` // created_at is the published template creation timestamp in RFC3339 format. CreatedAt *string `form:"created_at,omitempty" json:"created_at,omitempty" xml:"created_at,omitempty"` // updated_by is the RightScale user that updated the published template. UpdatedBy *UserResponseBody `form:"updated_by,omitempty" json:"updated_by,omitempty" xml:"updated_by,omitempty"` // updated_at is the published template update timestamp in RFC3339 format. UpdatedAt *string `form:"updated_at,omitempty" json:"updated_at,omitempty" xml:"updated_at,omitempty"` // permissions is a list of permissions required to run the policy. Permissions map[string]*PermissionResponseBody `form:"permissions,omitempty" json:"permissions,omitempty" xml:"permissions,omitempty"` // required_roles is a list of governance roles, derived from permissions, // required to run the policy. RequiredRoles []string `form:"required_roles,omitempty" json:"required_roles,omitempty" xml:"required_roles,omitempty"` // parameters is a list of parameters required to apply the policy. Parameters map[string]*ParameterResponseBody `form:"parameters,omitempty" json:"parameters,omitempty" xml:"parameters,omitempty"` // severity defines the severity level of incidents raised from this published // template. Severity *string `form:"severity,omitempty" json:"severity,omitempty" xml:"severity,omitempty"` // built_in is a flag to indicate whether the published template is a // "built-in" RS-supplied template. BuiltIn *bool `form:"built_in,omitempty" json:"built_in,omitempty" xml:"built_in,omitempty"` // hidden is a flag to indicate whether the published template is hidden. Hidden *bool `form:"hidden,omitempty" json:"hidden,omitempty" xml:"hidden,omitempty"` // hidden_by is the RightScale user that marked the published template as // hidden. HiddenBy *UserResponseBody `form:"hidden_by,omitempty" json:"hidden_by,omitempty" xml:"hidden_by,omitempty"` // hidden_at is the hidden at timestamp in RFC3339 format. HiddenAt *string `form:"hidden_at,omitempty" json:"hidden_at,omitempty" xml:"hidden_at,omitempty"` // tenancy indicates whether this template can be run across multiple projects // or is restricted to a single project. Tenancy *string `form:"tenancy,omitempty" json:"tenancy,omitempty" xml:"tenancy,omitempty"` // credentials is a list of authorization for external APIs needed to run the // policy. Credentials map[string]*CredentialsResponseBody `form:"credentials,omitempty" json:"credentials,omitempty" xml:"credentials,omitempty"` // kind is "gov#published_template". Kind *string `form:"kind,omitempty" json:"kind,omitempty" xml:"kind,omitempty"` }
PublishedTemplateResponseBody is used to define fields on response body types.
type RegexpResponseBody ¶
type RegexpResponseBody struct { // Pattern is the regular expression pattern. Pattern *string `json:"pattern"` // Options are the regular expression options. Options i (case insensitve) and // m (match over newlines) supported. Options *string `json:"options"` }
RegexpResponseBody is used to define fields on response body types.
type ResolutionActionResponseBody ¶
type ResolutionActionResponseBody struct { // type is the type of the action. Type *string `form:"type,omitempty" json:"type,omitempty" xml:"type,omitempty"` // status is the status of the action. Status *string `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"` // started_at is the time when the action was started. StartedAt *string `form:"started_at,omitempty" json:"started_at,omitempty" xml:"started_at,omitempty"` // finished_at is the time when the action was finished. FinishedAt *string `form:"finished_at,omitempty" json:"finished_at,omitempty" xml:"finished_at,omitempty"` // error is any error occurred when handling the action. Error *string `form:"error,omitempty" json:"error,omitempty" xml:"error,omitempty"` // approval_request is the approval request resource (if the type is // request_approval). ApprovalRequest *ApprovalRequestResponseBody `form:"approval_request,omitempty" json:"approval_request,omitempty" xml:"approval_request,omitempty"` // process_href is the href of a cloud workflow process. Required if the type // is cloud_workflow. ProcessHref *string `form:"process_href,omitempty" json:"process_href,omitempty" xml:"process_href,omitempty"` }
ResolutionActionResponseBody is used to define fields on response body types.
type ResolutionResponseBody ¶
type ResolutionResponseBody struct { // status is the status of the set of resolution actions. Status *string `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"` // name is the name of the resolution. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // actions is the list of individual actions. Actions []*ResolutionActionResponseBody `form:"actions,omitempty" json:"actions,omitempty" xml:"actions,omitempty"` }
ResolutionResponseBody is used to define fields on response body types.
type ShowBadGatewayResponseBody ¶
type ShowBadGatewayResponseBody 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"` }
ShowBadGatewayResponseBody is the type of the "ArchivedIncident" service "show" endpoint HTTP response body for the "bad_gateway" error.
type ShowBadRequestResponseBody ¶
type ShowBadRequestResponseBody 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"` }
ShowBadRequestResponseBody is the type of the "ArchivedIncident" service "show" endpoint HTTP response body for the "bad_request" error.
type ShowForbiddenResponseBody ¶
type ShowForbiddenResponseBody 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"` }
ShowForbiddenResponseBody is the type of the "ArchivedIncident" service "show" endpoint HTTP response body for the "forbidden" error.
type ShowInternalErrorResponseBody ¶
type ShowInternalErrorResponseBody 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"` }
ShowInternalErrorResponseBody is the type of the "ArchivedIncident" service "show" endpoint HTTP response body for the "internal_error" error.
type ShowNotFoundResponseBody ¶
type ShowNotFoundResponseBody 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"` }
ShowNotFoundResponseBody is the type of the "ArchivedIncident" service "show" endpoint HTTP response body for the "not_found" error.
type ShowOKResponseBody ¶
type ShowOKResponseBody struct { // id is the ID of the archived incident, must be unique in the project. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Project represents a RightScale project and provides some information about // the project. Project *ProjectResponseBody `form:"project,omitempty" json:"project,omitempty" xml:"project,omitempty"` // href is the href of the archived incident. Href *string `form:"href,omitempty" json:"href,omitempty" xml:"href,omitempty"` // applied_policy links to key attributes of the applied policy that initiated // the incident. AppliedPolicy *AppliedPolicyResponseBody `form:"applied_policy,omitempty" json:"applied_policy,omitempty" xml:"applied_policy,omitempty"` // summary is a summary of the incident. Summary *string `form:"summary,omitempty" json:"summary,omitempty" xml:"summary,omitempty"` // message is a description of the incident. Detail *string `form:"detail,omitempty" json:"detail,omitempty" xml:"detail,omitempty"` // data is the data about the resources that violate the policy. Data interface{} `form:"data,omitempty" json:"data,omitempty" xml:"data,omitempty"` // The number of items in violation data. ViolationDataCount *uint `form:"violation_data_count,omitempty" json:"violation_data_count,omitempty" xml:"violation_data_count,omitempty"` // created_at is the incident creation timestamp in RFC3339 format. CreatedAt *string `form:"created_at,omitempty" json:"created_at,omitempty" xml:"created_at,omitempty"` // updated_at is the incident update timestamp in RFC3339 format. UpdatedAt *string `form:"updated_at,omitempty" json:"updated_at,omitempty" xml:"updated_at,omitempty"` // resolved_at is the incident resolution timestamp in RFC3339 format. ResolvedAt *string `form:"resolved_at,omitempty" json:"resolved_at,omitempty" xml:"resolved_at,omitempty"` // resolved_by is the RightScale user that resolved the incident if it was // resolved manually. ResolvedBy *UserResponseBody `form:"resolved_by,omitempty" json:"resolved_by,omitempty" xml:"resolved_by,omitempty"` // resolution_message is an optional explaination of why the incident is // resolved. ResolutionMessage *string `form:"resolution_message,omitempty" json:"resolution_message,omitempty" xml:"resolution_message,omitempty"` // state represents the current handling status of the incident. State *string `form:"state,omitempty" json:"state,omitempty" xml:"state,omitempty"` // severity defines the severity level of the incident. Severity *string `form:"severity,omitempty" json:"severity,omitempty" xml:"severity,omitempty"` // category is the type categorization of the incident. Category *string `form:"category,omitempty" json:"category,omitempty" xml:"category,omitempty"` // options lists the configuration options used to parameterize the policy that // created the incident. Options []*ConfigurationOptionResponseBody `form:"options,omitempty" json:"options,omitempty" xml:"options,omitempty"` // dry_run is a flag used for testing a policy, that determines whether this // incident should trigger escalation actions. DryRun *bool `form:"dry_run,omitempty" json:"dry_run,omitempty" xml:"dry_run,omitempty"` // action_failed indicates whether any of the incident's actions failed during // execution. ActionFailed *bool `form:"action_failed,omitempty" json:"action_failed,omitempty" xml:"action_failed,omitempty"` // kind is "gov#archived_incident". Kind *string `form:"kind,omitempty" json:"kind,omitempty" xml:"kind,omitempty"` // not_modified is a flag used internally that indicates how to encode the HTTP // response (i.e. 200 or 304). NotModified *string `form:"not_modified,omitempty" json:"not_modified,omitempty" xml:"not_modified,omitempty"` }
ShowOKResponseBody is the type of the "ArchivedIncident" service "show" endpoint HTTP response body.
type ShowUnauthorizedResponseBody ¶
type ShowUnauthorizedResponseBody struct { 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"` }Name *
ShowUnauthorizedResponseBody is the type of the "ArchivedIncident" service "show" endpoint HTTP response body for the "unauthorized" error.
type UserResponseBody ¶
type UserResponseBody struct { // ID of user ID *uint `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // email of user Email *string `form:"email,omitempty" json:"email,omitempty" xml:"email,omitempty"` // name of user, usually of the form 'First Last' Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` }
UserResponseBody is used to define fields on response body types.