Documentation
¶
Index ¶
- func BuildCreatePayload(publishedTemplateCreateBody string, publishedTemplateCreateOrgID string, ...) (*publishedtemplate.CreatePayload, error)
- func BuildDeletePayload(publishedTemplateDeleteOrgID string, publishedTemplateDeleteTemplateID string, ...) (*publishedtemplate.DeletePayload, error)
- func BuildHidePayload(publishedTemplateHideOrgID string, publishedTemplateHideTemplateID string, ...) (*publishedtemplate.HidePayload, error)
- func BuildIndexPayload(publishedTemplateIndexOrgID string, publishedTemplateIndexView string, ...) (*publishedtemplate.IndexPayload, error)
- func BuildShowPayload(publishedTemplateShowOrgID string, publishedTemplateShowTemplateID string, ...) (*publishedtemplate.ShowPayload, error)
- func BuildUnhidePayload(publishedTemplateUnhideOrgID string, publishedTemplateUnhideTemplateID string, ...) (*publishedtemplate.UnhidePayload, error)
- func BuildUpdatePayload(publishedTemplateUpdateBody string, publishedTemplateUpdateOrgID string, ...) (*publishedtemplate.UpdatePayload, error)
- func CreatePublishedTemplatePath(orgID uint) string
- func DecodeCreateResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeDeleteResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeHideResponse(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 DecodeUnhideResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeUpdateResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DeletePublishedTemplatePath(orgID uint, templateID string) string
- func EncodeCreateRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeDeleteRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeHideRequest(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 EncodeShowRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeUnhideRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeUpdateRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func HidePublishedTemplatePath(orgID uint, templateID string) string
- func IndexPublishedTemplatePath(orgID uint) string
- func NewCreateBadGateway(body *CreateBadGatewayResponseBody) *goa.ServiceError
- func NewCreateBadRequest(body *CreateBadRequestResponseBody) *goa.ServiceError
- func NewCreateConflict(body *CreateConflictResponseBody, location string) *publishedtemplate.ConflictError
- func NewCreateForbidden(body *CreateForbiddenResponseBody) *goa.ServiceError
- func NewCreateInternalError(body *CreateInternalErrorResponseBody) *goa.ServiceError
- func NewCreateNotFound(body *CreateNotFoundResponseBody) *goa.ServiceError
- func NewCreateResultOK(body *CreateResponseBody) *publishedtemplate.CreateResult
- func NewCreateUnauthorized(body *CreateUnauthorizedResponseBody) *goa.ServiceError
- func NewDeleteBadGateway(body *DeleteBadGatewayResponseBody) *goa.ServiceError
- func NewDeleteBadRequest(body *DeleteBadRequestResponseBody) *goa.ServiceError
- func NewDeleteForbidden(body *DeleteForbiddenResponseBody) *goa.ServiceError
- func NewDeleteInternalError(body *DeleteInternalErrorResponseBody) *goa.ServiceError
- func NewDeleteNotFound(body *DeleteNotFoundResponseBody) *goa.ServiceError
- func NewDeleteUnauthorized(body *DeleteUnauthorizedResponseBody) *goa.ServiceError
- func NewHideBadGateway(body *HideBadGatewayResponseBody) *goa.ServiceError
- func NewHideBadRequest(body *HideBadRequestResponseBody) *goa.ServiceError
- func NewHideForbidden(body *HideForbiddenResponseBody) *goa.ServiceError
- func NewHideInternalError(body *HideInternalErrorResponseBody) *goa.ServiceError
- func NewHideNotFound(body *HideNotFoundResponseBody) *goa.ServiceError
- func NewHideUnauthorized(body *HideUnauthorizedResponseBody) *goa.ServiceError
- func NewIndexBadGateway(body *IndexBadGatewayResponseBody) *goa.ServiceError
- func NewIndexBadRequest(body *IndexBadRequestResponseBody) *goa.ServiceError
- func NewIndexForbidden(body *IndexForbiddenResponseBody) *goa.ServiceError
- func NewIndexInternalError(body *IndexInternalErrorResponseBody) *goa.ServiceError
- func NewIndexPublishedTemplateListNotModified(etag string) *publishedtemplateviews.PublishedTemplateListView
- func NewIndexPublishedTemplateListOK(body *IndexOKResponseBody, etag string) *publishedtemplateviews.PublishedTemplateListView
- func NewIndexUnauthorized(body *IndexUnauthorizedResponseBody) *goa.ServiceError
- 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 NewShowPublishedTemplateOK(body *ShowResponseBody) *publishedtemplateviews.PublishedTemplateView
- func NewShowUnauthorized(body *ShowUnauthorizedResponseBody) *goa.ServiceError
- func NewUnhideBadGateway(body *UnhideBadGatewayResponseBody) *goa.ServiceError
- func NewUnhideBadRequest(body *UnhideBadRequestResponseBody) *goa.ServiceError
- func NewUnhideForbidden(body *UnhideForbiddenResponseBody) *goa.ServiceError
- func NewUnhideInternalError(body *UnhideInternalErrorResponseBody) *goa.ServiceError
- func NewUnhideNotFound(body *UnhideNotFoundResponseBody) *goa.ServiceError
- func NewUnhideUnauthorized(body *UnhideUnauthorizedResponseBody) *goa.ServiceError
- func NewUpdateBadGateway(body *UpdateBadGatewayResponseBody) *goa.ServiceError
- func NewUpdateBadRequest(body *UpdateBadRequestResponseBody) *goa.ServiceError
- func NewUpdateForbidden(body *UpdateForbiddenResponseBody) *goa.ServiceError
- func NewUpdateInternalError(body *UpdateInternalErrorResponseBody) *goa.ServiceError
- func NewUpdateNotFound(body *UpdateNotFoundResponseBody) *goa.ServiceError
- func NewUpdateUnauthorized(body *UpdateUnauthorizedResponseBody) *goa.ServiceError
- func ShowPublishedTemplatePath(orgID uint, templateID string) string
- func UnhidePublishedTemplatePath(orgID uint, templateID string) string
- func UpdatePublishedTemplatePath(orgID uint, templateID string) string
- func ValidateCreateBadGatewayResponseBody(body *CreateBadGatewayResponseBody) (err error)
- func ValidateCreateBadRequestResponseBody(body *CreateBadRequestResponseBody) (err error)
- func ValidateCreateConflictResponseBody(body *CreateConflictResponseBody) (err error)
- func ValidateCreateForbiddenResponseBody(body *CreateForbiddenResponseBody) (err error)
- func ValidateCreateInternalErrorResponseBody(body *CreateInternalErrorResponseBody) (err error)
- func ValidateCreateNotFoundResponseBody(body *CreateNotFoundResponseBody) (err error)
- func ValidateCreateResponseBody(body *CreateResponseBody) (err error)
- func ValidateCreateUnauthorizedResponseBody(body *CreateUnauthorizedResponseBody) (err error)
- func ValidateCredentialsResponseBody(body *CredentialsResponseBody) (err error)
- func ValidateCredentialsTagResponseBody(body *CredentialsTagResponseBody) (err error)
- func ValidateDeleteBadGatewayResponseBody(body *DeleteBadGatewayResponseBody) (err error)
- func ValidateDeleteBadRequestResponseBody(body *DeleteBadRequestResponseBody) (err error)
- func ValidateDeleteForbiddenResponseBody(body *DeleteForbiddenResponseBody) (err error)
- func ValidateDeleteInternalErrorResponseBody(body *DeleteInternalErrorResponseBody) (err error)
- func ValidateDeleteNotFoundResponseBody(body *DeleteNotFoundResponseBody) (err error)
- func ValidateDeleteUnauthorizedResponseBody(body *DeleteUnauthorizedResponseBody) (err error)
- func ValidateHideBadGatewayResponseBody(body *HideBadGatewayResponseBody) (err error)
- func ValidateHideBadRequestResponseBody(body *HideBadRequestResponseBody) (err error)
- func ValidateHideForbiddenResponseBody(body *HideForbiddenResponseBody) (err error)
- func ValidateHideInternalErrorResponseBody(body *HideInternalErrorResponseBody) (err error)
- func ValidateHideNotFoundResponseBody(body *HideNotFoundResponseBody) (err error)
- func ValidateHideUnauthorizedResponseBody(body *HideUnauthorizedResponseBody) (err error)
- func ValidateIndexBadGatewayResponseBody(body *IndexBadGatewayResponseBody) (err error)
- func ValidateIndexBadRequestResponseBody(body *IndexBadRequestResponseBody) (err error)
- func ValidateIndexForbiddenResponseBody(body *IndexForbiddenResponseBody) (err error)
- func ValidateIndexInternalErrorResponseBody(body *IndexInternalErrorResponseBody) (err error)
- func ValidateIndexUnauthorizedResponseBody(body *IndexUnauthorizedResponseBody) (err error)
- func ValidateParameterResponseBody(body *ParameterResponseBody) (err error)
- func ValidatePermissionResponseBody(body *PermissionResponseBody) (err error)
- func ValidatePublishedTemplateCollectionResponseBody(body PublishedTemplateCollectionResponseBody) (err error)
- func ValidatePublishedTemplateResponseBody(body *PublishedTemplateResponseBody) (err error)
- func ValidateRegexpResponseBody(body *RegexpResponseBody) (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 ValidateUnhideBadGatewayResponseBody(body *UnhideBadGatewayResponseBody) (err error)
- func ValidateUnhideBadRequestResponseBody(body *UnhideBadRequestResponseBody) (err error)
- func ValidateUnhideForbiddenResponseBody(body *UnhideForbiddenResponseBody) (err error)
- func ValidateUnhideInternalErrorResponseBody(body *UnhideInternalErrorResponseBody) (err error)
- func ValidateUnhideNotFoundResponseBody(body *UnhideNotFoundResponseBody) (err error)
- func ValidateUnhideUnauthorizedResponseBody(body *UnhideUnauthorizedResponseBody) (err error)
- func ValidateUpdateBadGatewayResponseBody(body *UpdateBadGatewayResponseBody) (err error)
- func ValidateUpdateBadRequestResponseBody(body *UpdateBadRequestResponseBody) (err error)
- func ValidateUpdateForbiddenResponseBody(body *UpdateForbiddenResponseBody) (err error)
- func ValidateUpdateInternalErrorResponseBody(body *UpdateInternalErrorResponseBody) (err error)
- func ValidateUpdateNotFoundResponseBody(body *UpdateNotFoundResponseBody) (err error)
- func ValidateUpdateUnauthorizedResponseBody(body *UpdateUnauthorizedResponseBody) (err error)
- func ValidateUserResponseBody(body *UserResponseBody) (err error)
- type Client
- func (c *Client) BuildCreateRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildDeleteRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildHideRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildIndexRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildShowRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildUnhideRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildUpdateRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) Create() goa.Endpoint
- func (c *Client) Delete() goa.Endpoint
- func (c *Client) Hide() goa.Endpoint
- func (c *Client) Index() goa.Endpoint
- func (c *Client) Show() goa.Endpoint
- func (c *Client) Unhide() goa.Endpoint
- func (c *Client) Update() goa.Endpoint
- type CreateBadGatewayResponseBody
- type CreateBadRequestResponseBody
- type CreateConflictResponseBody
- type CreateForbiddenResponseBody
- type CreateInternalErrorResponseBody
- type CreateNotFoundResponseBody
- type CreateRequestBody
- type CreateResponseBody
- type CreateUnauthorizedResponseBody
- type CredentialsResponseBody
- type CredentialsTagResponseBody
- type DeleteBadGatewayResponseBody
- type DeleteBadRequestResponseBody
- type DeleteForbiddenResponseBody
- type DeleteInternalErrorResponseBody
- type DeleteNotFoundResponseBody
- type DeleteUnauthorizedResponseBody
- type HideBadGatewayResponseBody
- type HideBadRequestResponseBody
- type HideForbiddenResponseBody
- type HideInternalErrorResponseBody
- type HideNotFoundResponseBody
- type HideUnauthorizedResponseBody
- type IndexBadGatewayResponseBody
- type IndexBadRequestResponseBody
- type IndexForbiddenResponseBody
- type IndexInternalErrorResponseBody
- type IndexOKResponseBody
- type IndexUnauthorizedResponseBody
- type ParameterResponseBody
- type PermissionResponseBody
- type PublishedTemplateCollectionResponseBody
- type PublishedTemplateResponseBody
- type RegexpResponseBody
- type ShowBadGatewayResponseBody
- type ShowBadRequestResponseBody
- type ShowForbiddenResponseBody
- type ShowInternalErrorResponseBody
- type ShowNotFoundResponseBody
- type ShowResponseBody
- type ShowUnauthorizedResponseBody
- type UnhideBadGatewayResponseBody
- type UnhideBadRequestResponseBody
- type UnhideForbiddenResponseBody
- type UnhideInternalErrorResponseBody
- type UnhideNotFoundResponseBody
- type UnhideUnauthorizedResponseBody
- type UpdateBadGatewayResponseBody
- type UpdateBadRequestResponseBody
- type UpdateForbiddenResponseBody
- type UpdateInternalErrorResponseBody
- type UpdateNotFoundResponseBody
- type UpdateRequestBody
- type UpdateUnauthorizedResponseBody
- type UserResponseBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildCreatePayload ¶
func BuildCreatePayload(publishedTemplateCreateBody string, publishedTemplateCreateOrgID string, publishedTemplateCreateAPIVersion string, publishedTemplateCreateToken string) (*publishedtemplate.CreatePayload, error)
BuildCreatePayload builds the payload for the PublishedTemplate create endpoint from CLI flags.
func BuildDeletePayload ¶
func BuildDeletePayload(publishedTemplateDeleteOrgID string, publishedTemplateDeleteTemplateID string, publishedTemplateDeleteAPIVersion string, publishedTemplateDeleteToken string) (*publishedtemplate.DeletePayload, error)
BuildDeletePayload builds the payload for the PublishedTemplate delete endpoint from CLI flags.
func BuildHidePayload ¶
func BuildHidePayload(publishedTemplateHideOrgID string, publishedTemplateHideTemplateID string, publishedTemplateHideAPIVersion string, publishedTemplateHideToken string) (*publishedtemplate.HidePayload, error)
BuildHidePayload builds the payload for the PublishedTemplate hide endpoint from CLI flags.
func BuildIndexPayload ¶
func BuildIndexPayload(publishedTemplateIndexOrgID string, publishedTemplateIndexView string, publishedTemplateIndexShowHidden string, publishedTemplateIndexAPIVersion string, publishedTemplateIndexEtag string, publishedTemplateIndexToken string) (*publishedtemplate.IndexPayload, error)
BuildIndexPayload builds the payload for the PublishedTemplate index endpoint from CLI flags.
func BuildShowPayload ¶
func BuildShowPayload(publishedTemplateShowOrgID string, publishedTemplateShowTemplateID string, publishedTemplateShowView string, publishedTemplateShowAPIVersion string, publishedTemplateShowToken string) (*publishedtemplate.ShowPayload, error)
BuildShowPayload builds the payload for the PublishedTemplate show endpoint from CLI flags.
func BuildUnhidePayload ¶
func BuildUnhidePayload(publishedTemplateUnhideOrgID string, publishedTemplateUnhideTemplateID string, publishedTemplateUnhideAPIVersion string, publishedTemplateUnhideToken string) (*publishedtemplate.UnhidePayload, error)
BuildUnhidePayload builds the payload for the PublishedTemplate unhide endpoint from CLI flags.
func BuildUpdatePayload ¶
func BuildUpdatePayload(publishedTemplateUpdateBody string, publishedTemplateUpdateOrgID string, publishedTemplateUpdateTemplateID string, publishedTemplateUpdateAPIVersion string, publishedTemplateUpdateToken string) (*publishedtemplate.UpdatePayload, error)
BuildUpdatePayload builds the payload for the PublishedTemplate update endpoint from CLI flags.
func CreatePublishedTemplatePath ¶
CreatePublishedTemplatePath returns the URL path to the PublishedTemplate service create HTTP endpoint.
func DecodeCreateResponse ¶
func DecodeCreateResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeCreateResponse returns a decoder for responses returned by the PublishedTemplate create endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeCreateResponse 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
- "conflict" (type *publishedtemplate.ConflictError): http.StatusConflict
- error: internal error
func DecodeDeleteResponse ¶
func DecodeDeleteResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeDeleteResponse returns a decoder for responses returned by the PublishedTemplate delete endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeDeleteResponse 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 DecodeHideResponse ¶
func DecodeHideResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeHideResponse returns a decoder for responses returned by the PublishedTemplate hide endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeHideResponse 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 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 PublishedTemplate 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 PublishedTemplate 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 DecodeUnhideResponse ¶
func DecodeUnhideResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeUnhideResponse returns a decoder for responses returned by the PublishedTemplate unhide endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeUnhideResponse 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 DecodeUpdateResponse ¶
func DecodeUpdateResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeUpdateResponse returns a decoder for responses returned by the PublishedTemplate update endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeUpdateResponse 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 DeletePublishedTemplatePath ¶
DeletePublishedTemplatePath returns the URL path to the PublishedTemplate service delete HTTP endpoint.
func EncodeCreateRequest ¶
func EncodeCreateRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeCreateRequest returns an encoder for requests sent to the PublishedTemplate create server.
func EncodeDeleteRequest ¶
func EncodeDeleteRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeDeleteRequest returns an encoder for requests sent to the PublishedTemplate delete server.
func EncodeHideRequest ¶
func EncodeHideRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeHideRequest returns an encoder for requests sent to the PublishedTemplate hide 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 PublishedTemplate index 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 PublishedTemplate show server.
func EncodeUnhideRequest ¶
func EncodeUnhideRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeUnhideRequest returns an encoder for requests sent to the PublishedTemplate unhide server.
func EncodeUpdateRequest ¶
func EncodeUpdateRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeUpdateRequest returns an encoder for requests sent to the PublishedTemplate update server.
func HidePublishedTemplatePath ¶
HidePublishedTemplatePath returns the URL path to the PublishedTemplate service hide HTTP endpoint.
func IndexPublishedTemplatePath ¶
IndexPublishedTemplatePath returns the URL path to the PublishedTemplate service index HTTP endpoint.
func NewCreateBadGateway ¶
func NewCreateBadGateway(body *CreateBadGatewayResponseBody) *goa.ServiceError
NewCreateBadGateway builds a PublishedTemplate service create endpoint bad_gateway error.
func NewCreateBadRequest ¶
func NewCreateBadRequest(body *CreateBadRequestResponseBody) *goa.ServiceError
NewCreateBadRequest builds a PublishedTemplate service create endpoint bad_request error.
func NewCreateConflict ¶
func NewCreateConflict(body *CreateConflictResponseBody, location string) *publishedtemplate.ConflictError
NewCreateConflict builds a PublishedTemplate service create endpoint conflict error.
func NewCreateForbidden ¶
func NewCreateForbidden(body *CreateForbiddenResponseBody) *goa.ServiceError
NewCreateForbidden builds a PublishedTemplate service create endpoint forbidden error.
func NewCreateInternalError ¶
func NewCreateInternalError(body *CreateInternalErrorResponseBody) *goa.ServiceError
NewCreateInternalError builds a PublishedTemplate service create endpoint internal_error error.
func NewCreateNotFound ¶
func NewCreateNotFound(body *CreateNotFoundResponseBody) *goa.ServiceError
NewCreateNotFound builds a PublishedTemplate service create endpoint not_found error.
func NewCreateResultOK ¶
func NewCreateResultOK(body *CreateResponseBody) *publishedtemplate.CreateResult
NewCreateResultOK builds a "PublishedTemplate" service "create" endpoint result from a HTTP "OK" response.
func NewCreateUnauthorized ¶
func NewCreateUnauthorized(body *CreateUnauthorizedResponseBody) *goa.ServiceError
NewCreateUnauthorized builds a PublishedTemplate service create endpoint unauthorized error.
func NewDeleteBadGateway ¶
func NewDeleteBadGateway(body *DeleteBadGatewayResponseBody) *goa.ServiceError
NewDeleteBadGateway builds a PublishedTemplate service delete endpoint bad_gateway error.
func NewDeleteBadRequest ¶
func NewDeleteBadRequest(body *DeleteBadRequestResponseBody) *goa.ServiceError
NewDeleteBadRequest builds a PublishedTemplate service delete endpoint bad_request error.
func NewDeleteForbidden ¶
func NewDeleteForbidden(body *DeleteForbiddenResponseBody) *goa.ServiceError
NewDeleteForbidden builds a PublishedTemplate service delete endpoint forbidden error.
func NewDeleteInternalError ¶
func NewDeleteInternalError(body *DeleteInternalErrorResponseBody) *goa.ServiceError
NewDeleteInternalError builds a PublishedTemplate service delete endpoint internal_error error.
func NewDeleteNotFound ¶
func NewDeleteNotFound(body *DeleteNotFoundResponseBody) *goa.ServiceError
NewDeleteNotFound builds a PublishedTemplate service delete endpoint not_found error.
func NewDeleteUnauthorized ¶
func NewDeleteUnauthorized(body *DeleteUnauthorizedResponseBody) *goa.ServiceError
NewDeleteUnauthorized builds a PublishedTemplate service delete endpoint unauthorized error.
func NewHideBadGateway ¶
func NewHideBadGateway(body *HideBadGatewayResponseBody) *goa.ServiceError
NewHideBadGateway builds a PublishedTemplate service hide endpoint bad_gateway error.
func NewHideBadRequest ¶
func NewHideBadRequest(body *HideBadRequestResponseBody) *goa.ServiceError
NewHideBadRequest builds a PublishedTemplate service hide endpoint bad_request error.
func NewHideForbidden ¶
func NewHideForbidden(body *HideForbiddenResponseBody) *goa.ServiceError
NewHideForbidden builds a PublishedTemplate service hide endpoint forbidden error.
func NewHideInternalError ¶
func NewHideInternalError(body *HideInternalErrorResponseBody) *goa.ServiceError
NewHideInternalError builds a PublishedTemplate service hide endpoint internal_error error.
func NewHideNotFound ¶
func NewHideNotFound(body *HideNotFoundResponseBody) *goa.ServiceError
NewHideNotFound builds a PublishedTemplate service hide endpoint not_found error.
func NewHideUnauthorized ¶
func NewHideUnauthorized(body *HideUnauthorizedResponseBody) *goa.ServiceError
NewHideUnauthorized builds a PublishedTemplate service hide endpoint unauthorized error.
func NewIndexBadGateway ¶
func NewIndexBadGateway(body *IndexBadGatewayResponseBody) *goa.ServiceError
NewIndexBadGateway builds a PublishedTemplate service index endpoint bad_gateway error.
func NewIndexBadRequest ¶
func NewIndexBadRequest(body *IndexBadRequestResponseBody) *goa.ServiceError
NewIndexBadRequest builds a PublishedTemplate service index endpoint bad_request error.
func NewIndexForbidden ¶
func NewIndexForbidden(body *IndexForbiddenResponseBody) *goa.ServiceError
NewIndexForbidden builds a PublishedTemplate service index endpoint forbidden error.
func NewIndexInternalError ¶
func NewIndexInternalError(body *IndexInternalErrorResponseBody) *goa.ServiceError
NewIndexInternalError builds a PublishedTemplate service index endpoint internal_error error.
func NewIndexPublishedTemplateListNotModified ¶
func NewIndexPublishedTemplateListNotModified(etag string) *publishedtemplateviews.PublishedTemplateListView
NewIndexPublishedTemplateListNotModified builds a "PublishedTemplate" service "index" endpoint result from a HTTP "NotModified" response.
func NewIndexPublishedTemplateListOK ¶
func NewIndexPublishedTemplateListOK(body *IndexOKResponseBody, etag string) *publishedtemplateviews.PublishedTemplateListView
NewIndexPublishedTemplateListOK builds a "PublishedTemplate" service "index" endpoint result from a HTTP "OK" response.
func NewIndexUnauthorized ¶
func NewIndexUnauthorized(body *IndexUnauthorizedResponseBody) *goa.ServiceError
NewIndexUnauthorized builds a PublishedTemplate service index endpoint unauthorized error.
func NewShowBadGateway ¶
func NewShowBadGateway(body *ShowBadGatewayResponseBody) *goa.ServiceError
NewShowBadGateway builds a PublishedTemplate service show endpoint bad_gateway error.
func NewShowBadRequest ¶
func NewShowBadRequest(body *ShowBadRequestResponseBody) *goa.ServiceError
NewShowBadRequest builds a PublishedTemplate service show endpoint bad_request error.
func NewShowForbidden ¶
func NewShowForbidden(body *ShowForbiddenResponseBody) *goa.ServiceError
NewShowForbidden builds a PublishedTemplate service show endpoint forbidden error.
func NewShowInternalError ¶
func NewShowInternalError(body *ShowInternalErrorResponseBody) *goa.ServiceError
NewShowInternalError builds a PublishedTemplate service show endpoint internal_error error.
func NewShowNotFound ¶
func NewShowNotFound(body *ShowNotFoundResponseBody) *goa.ServiceError
NewShowNotFound builds a PublishedTemplate service show endpoint not_found error.
func NewShowPublishedTemplateOK ¶
func NewShowPublishedTemplateOK(body *ShowResponseBody) *publishedtemplateviews.PublishedTemplateView
NewShowPublishedTemplateOK builds a "PublishedTemplate" service "show" endpoint result from a HTTP "OK" response.
func NewShowUnauthorized ¶
func NewShowUnauthorized(body *ShowUnauthorizedResponseBody) *goa.ServiceError
NewShowUnauthorized builds a PublishedTemplate service show endpoint unauthorized error.
func NewUnhideBadGateway ¶
func NewUnhideBadGateway(body *UnhideBadGatewayResponseBody) *goa.ServiceError
NewUnhideBadGateway builds a PublishedTemplate service unhide endpoint bad_gateway error.
func NewUnhideBadRequest ¶
func NewUnhideBadRequest(body *UnhideBadRequestResponseBody) *goa.ServiceError
NewUnhideBadRequest builds a PublishedTemplate service unhide endpoint bad_request error.
func NewUnhideForbidden ¶
func NewUnhideForbidden(body *UnhideForbiddenResponseBody) *goa.ServiceError
NewUnhideForbidden builds a PublishedTemplate service unhide endpoint forbidden error.
func NewUnhideInternalError ¶
func NewUnhideInternalError(body *UnhideInternalErrorResponseBody) *goa.ServiceError
NewUnhideInternalError builds a PublishedTemplate service unhide endpoint internal_error error.
func NewUnhideNotFound ¶
func NewUnhideNotFound(body *UnhideNotFoundResponseBody) *goa.ServiceError
NewUnhideNotFound builds a PublishedTemplate service unhide endpoint not_found error.
func NewUnhideUnauthorized ¶
func NewUnhideUnauthorized(body *UnhideUnauthorizedResponseBody) *goa.ServiceError
NewUnhideUnauthorized builds a PublishedTemplate service unhide endpoint unauthorized error.
func NewUpdateBadGateway ¶
func NewUpdateBadGateway(body *UpdateBadGatewayResponseBody) *goa.ServiceError
NewUpdateBadGateway builds a PublishedTemplate service update endpoint bad_gateway error.
func NewUpdateBadRequest ¶
func NewUpdateBadRequest(body *UpdateBadRequestResponseBody) *goa.ServiceError
NewUpdateBadRequest builds a PublishedTemplate service update endpoint bad_request error.
func NewUpdateForbidden ¶
func NewUpdateForbidden(body *UpdateForbiddenResponseBody) *goa.ServiceError
NewUpdateForbidden builds a PublishedTemplate service update endpoint forbidden error.
func NewUpdateInternalError ¶
func NewUpdateInternalError(body *UpdateInternalErrorResponseBody) *goa.ServiceError
NewUpdateInternalError builds a PublishedTemplate service update endpoint internal_error error.
func NewUpdateNotFound ¶
func NewUpdateNotFound(body *UpdateNotFoundResponseBody) *goa.ServiceError
NewUpdateNotFound builds a PublishedTemplate service update endpoint not_found error.
func NewUpdateUnauthorized ¶
func NewUpdateUnauthorized(body *UpdateUnauthorizedResponseBody) *goa.ServiceError
NewUpdateUnauthorized builds a PublishedTemplate service update endpoint unauthorized error.
func ShowPublishedTemplatePath ¶
ShowPublishedTemplatePath returns the URL path to the PublishedTemplate service show HTTP endpoint.
func UnhidePublishedTemplatePath ¶
UnhidePublishedTemplatePath returns the URL path to the PublishedTemplate service unhide HTTP endpoint.
func UpdatePublishedTemplatePath ¶
UpdatePublishedTemplatePath returns the URL path to the PublishedTemplate service update HTTP endpoint.
func ValidateCreateBadGatewayResponseBody ¶ added in v1.0.6
func ValidateCreateBadGatewayResponseBody(body *CreateBadGatewayResponseBody) (err error)
ValidateCreateBadGatewayResponseBody runs the validations defined on create_bad_gateway_response_body
func ValidateCreateBadRequestResponseBody ¶ added in v1.0.6
func ValidateCreateBadRequestResponseBody(body *CreateBadRequestResponseBody) (err error)
ValidateCreateBadRequestResponseBody runs the validations defined on create_bad_request_response_body
func ValidateCreateConflictResponseBody ¶ added in v1.0.6
func ValidateCreateConflictResponseBody(body *CreateConflictResponseBody) (err error)
ValidateCreateConflictResponseBody runs the validations defined on create_conflict_response_body
func ValidateCreateForbiddenResponseBody ¶ added in v1.0.6
func ValidateCreateForbiddenResponseBody(body *CreateForbiddenResponseBody) (err error)
ValidateCreateForbiddenResponseBody runs the validations defined on create_forbidden_response_body
func ValidateCreateInternalErrorResponseBody ¶ added in v1.0.6
func ValidateCreateInternalErrorResponseBody(body *CreateInternalErrorResponseBody) (err error)
ValidateCreateInternalErrorResponseBody runs the validations defined on create_internal_error_response_body
func ValidateCreateNotFoundResponseBody ¶ added in v1.0.6
func ValidateCreateNotFoundResponseBody(body *CreateNotFoundResponseBody) (err error)
ValidateCreateNotFoundResponseBody runs the validations defined on create_not_found_response_body
func ValidateCreateResponseBody ¶ added in v1.0.6
func ValidateCreateResponseBody(body *CreateResponseBody) (err error)
ValidateCreateResponseBody runs the validations defined on CreateResponseBody
func ValidateCreateUnauthorizedResponseBody ¶ added in v1.0.6
func ValidateCreateUnauthorizedResponseBody(body *CreateUnauthorizedResponseBody) (err error)
ValidateCreateUnauthorizedResponseBody runs the validations defined on create_unauthorized_response_body
func ValidateCredentialsResponseBody ¶ added in v1.0.6
func ValidateCredentialsResponseBody(body *CredentialsResponseBody) (err error)
ValidateCredentialsResponseBody runs the validations defined on CredentialsResponseBody
func ValidateCredentialsTagResponseBody ¶ added in v1.0.6
func ValidateCredentialsTagResponseBody(body *CredentialsTagResponseBody) (err error)
ValidateCredentialsTagResponseBody runs the validations defined on CredentialsTagResponseBody
func ValidateDeleteBadGatewayResponseBody ¶ added in v1.0.6
func ValidateDeleteBadGatewayResponseBody(body *DeleteBadGatewayResponseBody) (err error)
ValidateDeleteBadGatewayResponseBody runs the validations defined on delete_bad_gateway_response_body
func ValidateDeleteBadRequestResponseBody ¶ added in v1.0.6
func ValidateDeleteBadRequestResponseBody(body *DeleteBadRequestResponseBody) (err error)
ValidateDeleteBadRequestResponseBody runs the validations defined on delete_bad_request_response_body
func ValidateDeleteForbiddenResponseBody ¶ added in v1.0.6
func ValidateDeleteForbiddenResponseBody(body *DeleteForbiddenResponseBody) (err error)
ValidateDeleteForbiddenResponseBody runs the validations defined on delete_forbidden_response_body
func ValidateDeleteInternalErrorResponseBody ¶ added in v1.0.6
func ValidateDeleteInternalErrorResponseBody(body *DeleteInternalErrorResponseBody) (err error)
ValidateDeleteInternalErrorResponseBody runs the validations defined on delete_internal_error_response_body
func ValidateDeleteNotFoundResponseBody ¶ added in v1.0.6
func ValidateDeleteNotFoundResponseBody(body *DeleteNotFoundResponseBody) (err error)
ValidateDeleteNotFoundResponseBody runs the validations defined on delete_not_found_response_body
func ValidateDeleteUnauthorizedResponseBody ¶ added in v1.0.6
func ValidateDeleteUnauthorizedResponseBody(body *DeleteUnauthorizedResponseBody) (err error)
ValidateDeleteUnauthorizedResponseBody runs the validations defined on delete_unauthorized_response_body
func ValidateHideBadGatewayResponseBody ¶ added in v1.0.6
func ValidateHideBadGatewayResponseBody(body *HideBadGatewayResponseBody) (err error)
ValidateHideBadGatewayResponseBody runs the validations defined on hide_bad_gateway_response_body
func ValidateHideBadRequestResponseBody ¶ added in v1.0.6
func ValidateHideBadRequestResponseBody(body *HideBadRequestResponseBody) (err error)
ValidateHideBadRequestResponseBody runs the validations defined on hide_bad_request_response_body
func ValidateHideForbiddenResponseBody ¶ added in v1.0.6
func ValidateHideForbiddenResponseBody(body *HideForbiddenResponseBody) (err error)
ValidateHideForbiddenResponseBody runs the validations defined on hide_forbidden_response_body
func ValidateHideInternalErrorResponseBody ¶ added in v1.0.6
func ValidateHideInternalErrorResponseBody(body *HideInternalErrorResponseBody) (err error)
ValidateHideInternalErrorResponseBody runs the validations defined on hide_internal_error_response_body
func ValidateHideNotFoundResponseBody ¶ added in v1.0.6
func ValidateHideNotFoundResponseBody(body *HideNotFoundResponseBody) (err error)
ValidateHideNotFoundResponseBody runs the validations defined on hide_not_found_response_body
func ValidateHideUnauthorizedResponseBody ¶ added in v1.0.6
func ValidateHideUnauthorizedResponseBody(body *HideUnauthorizedResponseBody) (err error)
ValidateHideUnauthorizedResponseBody runs the validations defined on hide_unauthorized_response_body
func ValidateIndexBadGatewayResponseBody ¶ added in v1.0.6
func ValidateIndexBadGatewayResponseBody(body *IndexBadGatewayResponseBody) (err error)
ValidateIndexBadGatewayResponseBody runs the validations defined on index_bad_gateway_response_body
func ValidateIndexBadRequestResponseBody ¶ added in v1.0.6
func ValidateIndexBadRequestResponseBody(body *IndexBadRequestResponseBody) (err error)
ValidateIndexBadRequestResponseBody runs the validations defined on index_bad_request_response_body
func ValidateIndexForbiddenResponseBody ¶ added in v1.0.6
func ValidateIndexForbiddenResponseBody(body *IndexForbiddenResponseBody) (err error)
ValidateIndexForbiddenResponseBody runs the validations defined on index_forbidden_response_body
func ValidateIndexInternalErrorResponseBody ¶ added in v1.0.6
func ValidateIndexInternalErrorResponseBody(body *IndexInternalErrorResponseBody) (err error)
ValidateIndexInternalErrorResponseBody runs the validations defined on index_internal_error_response_body
func ValidateIndexUnauthorizedResponseBody ¶ added in v1.0.6
func ValidateIndexUnauthorizedResponseBody(body *IndexUnauthorizedResponseBody) (err error)
ValidateIndexUnauthorizedResponseBody runs the validations defined on index_unauthorized_response_body
func ValidateParameterResponseBody ¶ added in v1.0.6
func ValidateParameterResponseBody(body *ParameterResponseBody) (err error)
ValidateParameterResponseBody runs the validations defined on ParameterResponseBody
func ValidatePermissionResponseBody ¶ added in v1.0.6
func ValidatePermissionResponseBody(body *PermissionResponseBody) (err error)
ValidatePermissionResponseBody runs the validations defined on PermissionResponseBody
func ValidatePublishedTemplateCollectionResponseBody ¶ added in v1.0.6
func ValidatePublishedTemplateCollectionResponseBody(body PublishedTemplateCollectionResponseBody) (err error)
ValidatePublishedTemplateCollectionResponseBody runs the validations defined on PublishedTemplateCollectionResponseBody
func ValidatePublishedTemplateResponseBody ¶ added in v1.0.6
func ValidatePublishedTemplateResponseBody(body *PublishedTemplateResponseBody) (err error)
ValidatePublishedTemplateResponseBody runs the validations defined on PublishedTemplateResponseBody
func ValidateRegexpResponseBody ¶ added in v1.0.6
func ValidateRegexpResponseBody(body *RegexpResponseBody) (err error)
ValidateRegexpResponseBody runs the validations defined on RegexpResponseBody
func ValidateShowBadGatewayResponseBody ¶ added in v1.0.6
func ValidateShowBadGatewayResponseBody(body *ShowBadGatewayResponseBody) (err error)
ValidateShowBadGatewayResponseBody runs the validations defined on show_bad_gateway_response_body
func ValidateShowBadRequestResponseBody ¶ added in v1.0.6
func ValidateShowBadRequestResponseBody(body *ShowBadRequestResponseBody) (err error)
ValidateShowBadRequestResponseBody runs the validations defined on show_bad_request_response_body
func ValidateShowForbiddenResponseBody ¶ added in v1.0.6
func ValidateShowForbiddenResponseBody(body *ShowForbiddenResponseBody) (err error)
ValidateShowForbiddenResponseBody runs the validations defined on show_forbidden_response_body
func ValidateShowInternalErrorResponseBody ¶ added in v1.0.6
func ValidateShowInternalErrorResponseBody(body *ShowInternalErrorResponseBody) (err error)
ValidateShowInternalErrorResponseBody runs the validations defined on show_internal_error_response_body
func ValidateShowNotFoundResponseBody ¶ added in v1.0.6
func ValidateShowNotFoundResponseBody(body *ShowNotFoundResponseBody) (err error)
ValidateShowNotFoundResponseBody runs the validations defined on show_not_found_response_body
func ValidateShowUnauthorizedResponseBody ¶ added in v1.0.6
func ValidateShowUnauthorizedResponseBody(body *ShowUnauthorizedResponseBody) (err error)
ValidateShowUnauthorizedResponseBody runs the validations defined on show_unauthorized_response_body
func ValidateUnhideBadGatewayResponseBody ¶ added in v1.0.6
func ValidateUnhideBadGatewayResponseBody(body *UnhideBadGatewayResponseBody) (err error)
ValidateUnhideBadGatewayResponseBody runs the validations defined on unhide_bad_gateway_response_body
func ValidateUnhideBadRequestResponseBody ¶ added in v1.0.6
func ValidateUnhideBadRequestResponseBody(body *UnhideBadRequestResponseBody) (err error)
ValidateUnhideBadRequestResponseBody runs the validations defined on unhide_bad_request_response_body
func ValidateUnhideForbiddenResponseBody ¶ added in v1.0.6
func ValidateUnhideForbiddenResponseBody(body *UnhideForbiddenResponseBody) (err error)
ValidateUnhideForbiddenResponseBody runs the validations defined on unhide_forbidden_response_body
func ValidateUnhideInternalErrorResponseBody ¶ added in v1.0.6
func ValidateUnhideInternalErrorResponseBody(body *UnhideInternalErrorResponseBody) (err error)
ValidateUnhideInternalErrorResponseBody runs the validations defined on unhide_internal_error_response_body
func ValidateUnhideNotFoundResponseBody ¶ added in v1.0.6
func ValidateUnhideNotFoundResponseBody(body *UnhideNotFoundResponseBody) (err error)
ValidateUnhideNotFoundResponseBody runs the validations defined on unhide_not_found_response_body
func ValidateUnhideUnauthorizedResponseBody ¶ added in v1.0.6
func ValidateUnhideUnauthorizedResponseBody(body *UnhideUnauthorizedResponseBody) (err error)
ValidateUnhideUnauthorizedResponseBody runs the validations defined on unhide_unauthorized_response_body
func ValidateUpdateBadGatewayResponseBody ¶ added in v1.0.6
func ValidateUpdateBadGatewayResponseBody(body *UpdateBadGatewayResponseBody) (err error)
ValidateUpdateBadGatewayResponseBody runs the validations defined on update_bad_gateway_response_body
func ValidateUpdateBadRequestResponseBody ¶ added in v1.0.6
func ValidateUpdateBadRequestResponseBody(body *UpdateBadRequestResponseBody) (err error)
ValidateUpdateBadRequestResponseBody runs the validations defined on update_bad_request_response_body
func ValidateUpdateForbiddenResponseBody ¶ added in v1.0.6
func ValidateUpdateForbiddenResponseBody(body *UpdateForbiddenResponseBody) (err error)
ValidateUpdateForbiddenResponseBody runs the validations defined on update_forbidden_response_body
func ValidateUpdateInternalErrorResponseBody ¶ added in v1.0.6
func ValidateUpdateInternalErrorResponseBody(body *UpdateInternalErrorResponseBody) (err error)
ValidateUpdateInternalErrorResponseBody runs the validations defined on update_internal_error_response_body
func ValidateUpdateNotFoundResponseBody ¶ added in v1.0.6
func ValidateUpdateNotFoundResponseBody(body *UpdateNotFoundResponseBody) (err error)
ValidateUpdateNotFoundResponseBody runs the validations defined on update_not_found_response_body
func ValidateUpdateUnauthorizedResponseBody ¶ added in v1.0.6
func ValidateUpdateUnauthorizedResponseBody(body *UpdateUnauthorizedResponseBody) (err error)
ValidateUpdateUnauthorizedResponseBody runs the validations defined on update_unauthorized_response_body
func ValidateUserResponseBody ¶ added in v1.0.6
func ValidateUserResponseBody(body *UserResponseBody) (err error)
ValidateUserResponseBody runs the validations defined on UserResponseBody
Types ¶
type Client ¶
type Client struct { // Create Doer is the HTTP client used to make requests to the create endpoint. CreateDoer goahttp.Doer // Update Doer is the HTTP client used to make requests to the update endpoint. UpdateDoer goahttp.Doer // Hide Doer is the HTTP client used to make requests to the hide endpoint. HideDoer goahttp.Doer // Unhide Doer is the HTTP client used to make requests to the unhide endpoint. UnhideDoer goahttp.Doer // Delete Doer is the HTTP client used to make requests to the delete endpoint. DeleteDoer goahttp.Doer // 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 // 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 PublishedTemplate 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 PublishedTemplate service servers.
func (*Client) BuildCreateRequest ¶
BuildCreateRequest instantiates a HTTP request object with method and path set to call the "PublishedTemplate" service "create" endpoint
func (*Client) BuildDeleteRequest ¶
BuildDeleteRequest instantiates a HTTP request object with method and path set to call the "PublishedTemplate" service "delete" endpoint
func (*Client) BuildHideRequest ¶
BuildHideRequest instantiates a HTTP request object with method and path set to call the "PublishedTemplate" service "hide" endpoint
func (*Client) BuildIndexRequest ¶
BuildIndexRequest instantiates a HTTP request object with method and path set to call the "PublishedTemplate" service "index" endpoint
func (*Client) BuildShowRequest ¶
BuildShowRequest instantiates a HTTP request object with method and path set to call the "PublishedTemplate" service "show" endpoint
func (*Client) BuildUnhideRequest ¶
BuildUnhideRequest instantiates a HTTP request object with method and path set to call the "PublishedTemplate" service "unhide" endpoint
func (*Client) BuildUpdateRequest ¶
BuildUpdateRequest instantiates a HTTP request object with method and path set to call the "PublishedTemplate" service "update" endpoint
func (*Client) Create ¶
Create returns an endpoint that makes HTTP requests to the PublishedTemplate service create server.
func (*Client) Delete ¶
Delete returns an endpoint that makes HTTP requests to the PublishedTemplate service delete server.
func (*Client) Hide ¶
Hide returns an endpoint that makes HTTP requests to the PublishedTemplate service hide server.
func (*Client) Index ¶
Index returns an endpoint that makes HTTP requests to the PublishedTemplate service index server.
func (*Client) Show ¶
Show returns an endpoint that makes HTTP requests to the PublishedTemplate service show server.
type CreateBadGatewayResponseBody ¶
type CreateBadGatewayResponseBody 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"` }
CreateBadGatewayResponseBody is the type of the "PublishedTemplate" service "create" endpoint HTTP response body for the "bad_gateway" error.
type CreateBadRequestResponseBody ¶
type CreateBadRequestResponseBody 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"` }
CreateBadRequestResponseBody is the type of the "PublishedTemplate" service "create" endpoint HTTP response body for the "bad_request" error.
type CreateConflictResponseBody ¶
type CreateConflictResponseBody struct { // a unique identifier for this particular occurrence of the problem. ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // name of error. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // updatable indicates whether a 'create' request error can be resolved by // making an 'update' request instead. It is used to indicate whether a // resource is built-in and whether the user has permission to modify it. Updatable *bool `form:"updatable,omitempty" json:"updatable,omitempty" xml:"updatable,omitempty"` }
CreateConflictResponseBody is the type of the "PublishedTemplate" service "create" endpoint HTTP response body for the "conflict" error.
type CreateForbiddenResponseBody ¶
type CreateForbiddenResponseBody 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"` }
CreateForbiddenResponseBody is the type of the "PublishedTemplate" service "create" endpoint HTTP response body for the "forbidden" error.
type CreateInternalErrorResponseBody ¶
type CreateInternalErrorResponseBody 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"` }
CreateInternalErrorResponseBody is the type of the "PublishedTemplate" service "create" endpoint HTTP response body for the "internal_error" error.
type CreateNotFoundResponseBody ¶
type CreateNotFoundResponseBody 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"` }
CreateNotFoundResponseBody is the type of the "PublishedTemplate" service "create" endpoint HTTP response body for the "not_found" error.
type CreateRequestBody ¶
type CreateRequestBody struct { // template_href is the href of the policy template to publish to the // organization. TemplateHref string `form:"template_href" json:"template_href" xml:"template_href"` }
CreateRequestBody is the type of the "PublishedTemplate" service "create" endpoint HTTP request body.
func NewCreateRequestBody ¶
func NewCreateRequestBody(p *publishedtemplate.CreatePayload) *CreateRequestBody
NewCreateRequestBody builds the HTTP request body from the payload of the "create" endpoint of the "PublishedTemplate" service.
type CreateResponseBody ¶
type CreateResponseBody struct {
Location *string `form:"location,omitempty" json:"location,omitempty" xml:"location,omitempty"`
}
CreateResponseBody is the type of the "PublishedTemplate" service "create" endpoint HTTP response body.
type CreateUnauthorizedResponseBody ¶
type CreateUnauthorizedResponseBody 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 *
CreateUnauthorizedResponseBody is the type of the "PublishedTemplate" service "create" endpoint HTTP response body for the "unauthorized" error.
type CredentialsResponseBody ¶ added in v1.0.6
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 ¶ added in v1.0.6
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 DeleteBadGatewayResponseBody ¶
type DeleteBadGatewayResponseBody 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"` }
DeleteBadGatewayResponseBody is the type of the "PublishedTemplate" service "delete" endpoint HTTP response body for the "bad_gateway" error.
type DeleteBadRequestResponseBody ¶
type DeleteBadRequestResponseBody 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"` }
DeleteBadRequestResponseBody is the type of the "PublishedTemplate" service "delete" endpoint HTTP response body for the "bad_request" error.
type DeleteForbiddenResponseBody ¶
type DeleteForbiddenResponseBody 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"` }
DeleteForbiddenResponseBody is the type of the "PublishedTemplate" service "delete" endpoint HTTP response body for the "forbidden" error.
type DeleteInternalErrorResponseBody ¶
type DeleteInternalErrorResponseBody 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"` }
DeleteInternalErrorResponseBody is the type of the "PublishedTemplate" service "delete" endpoint HTTP response body for the "internal_error" error.
type DeleteNotFoundResponseBody ¶
type DeleteNotFoundResponseBody 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"` }
DeleteNotFoundResponseBody is the type of the "PublishedTemplate" service "delete" endpoint HTTP response body for the "not_found" error.
type DeleteUnauthorizedResponseBody ¶
type DeleteUnauthorizedResponseBody 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 *
DeleteUnauthorizedResponseBody is the type of the "PublishedTemplate" service "delete" endpoint HTTP response body for the "unauthorized" error.
type HideBadGatewayResponseBody ¶
type HideBadGatewayResponseBody 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"` }
HideBadGatewayResponseBody is the type of the "PublishedTemplate" service "hide" endpoint HTTP response body for the "bad_gateway" error.
type HideBadRequestResponseBody ¶
type HideBadRequestResponseBody 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"` }
HideBadRequestResponseBody is the type of the "PublishedTemplate" service "hide" endpoint HTTP response body for the "bad_request" error.
type HideForbiddenResponseBody ¶
type HideForbiddenResponseBody 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"` }
HideForbiddenResponseBody is the type of the "PublishedTemplate" service "hide" endpoint HTTP response body for the "forbidden" error.
type HideInternalErrorResponseBody ¶
type HideInternalErrorResponseBody 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"` }
HideInternalErrorResponseBody is the type of the "PublishedTemplate" service "hide" endpoint HTTP response body for the "internal_error" error.
type HideNotFoundResponseBody ¶
type HideNotFoundResponseBody 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"` }
HideNotFoundResponseBody is the type of the "PublishedTemplate" service "hide" endpoint HTTP response body for the "not_found" error.
type HideUnauthorizedResponseBody ¶
type HideUnauthorizedResponseBody 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 *
HideUnauthorizedResponseBody is the type of the "PublishedTemplate" service "hide" endpoint HTTP response body for the "unauthorized" error.
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 "PublishedTemplate" 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 "PublishedTemplate" service "index" endpoint HTTP response body for the "bad_request" 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 "PublishedTemplate" 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 "PublishedTemplate" service "index" endpoint HTTP response body for the "internal_error" error.
type IndexOKResponseBody ¶
type IndexOKResponseBody struct { // count is the number of published templates in the list. Count *uint `form:"count,omitempty" json:"count,omitempty" xml:"count,omitempty"` // items is the array of published templates. Items PublishedTemplateCollectionResponseBody `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#published_template_list". Kind *string `form:"kind,omitempty" json:"kind,omitempty" xml:"kind,omitempty"` }
IndexOKResponseBody is the type of the "PublishedTemplate" service "index" endpoint HTTP response body.
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 "PublishedTemplate" 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 PublishedTemplateCollectionResponseBody ¶
type PublishedTemplateCollectionResponseBody []*PublishedTemplateResponseBody
PublishedTemplateCollectionResponseBody 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 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 "PublishedTemplate" 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 "PublishedTemplate" 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 "PublishedTemplate" 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 "PublishedTemplate" 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 "PublishedTemplate" service "show" endpoint HTTP response body for the "not_found" error.
type ShowResponseBody ¶
type ShowResponseBody 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"` }
ShowResponseBody is the type of the "PublishedTemplate" 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 "PublishedTemplate" service "show" endpoint HTTP response body for the "unauthorized" error.
type UnhideBadGatewayResponseBody ¶
type UnhideBadGatewayResponseBody 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"` }
UnhideBadGatewayResponseBody is the type of the "PublishedTemplate" service "unhide" endpoint HTTP response body for the "bad_gateway" error.
type UnhideBadRequestResponseBody ¶
type UnhideBadRequestResponseBody 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"` }
UnhideBadRequestResponseBody is the type of the "PublishedTemplate" service "unhide" endpoint HTTP response body for the "bad_request" error.
type UnhideForbiddenResponseBody ¶
type UnhideForbiddenResponseBody 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"` }
UnhideForbiddenResponseBody is the type of the "PublishedTemplate" service "unhide" endpoint HTTP response body for the "forbidden" error.
type UnhideInternalErrorResponseBody ¶
type UnhideInternalErrorResponseBody 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"` }
UnhideInternalErrorResponseBody is the type of the "PublishedTemplate" service "unhide" endpoint HTTP response body for the "internal_error" error.
type UnhideNotFoundResponseBody ¶
type UnhideNotFoundResponseBody 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"` }
UnhideNotFoundResponseBody is the type of the "PublishedTemplate" service "unhide" endpoint HTTP response body for the "not_found" error.
type UnhideUnauthorizedResponseBody ¶
type UnhideUnauthorizedResponseBody 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 *
UnhideUnauthorizedResponseBody is the type of the "PublishedTemplate" service "unhide" endpoint HTTP response body for the "unauthorized" error.
type UpdateBadGatewayResponseBody ¶
type UpdateBadGatewayResponseBody 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"` }
UpdateBadGatewayResponseBody is the type of the "PublishedTemplate" service "update" endpoint HTTP response body for the "bad_gateway" error.
type UpdateBadRequestResponseBody ¶
type UpdateBadRequestResponseBody 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"` }
UpdateBadRequestResponseBody is the type of the "PublishedTemplate" service "update" endpoint HTTP response body for the "bad_request" error.
type UpdateForbiddenResponseBody ¶
type UpdateForbiddenResponseBody 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"` }
UpdateForbiddenResponseBody is the type of the "PublishedTemplate" service "update" endpoint HTTP response body for the "forbidden" error.
type UpdateInternalErrorResponseBody ¶
type UpdateInternalErrorResponseBody 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"` }
UpdateInternalErrorResponseBody is the type of the "PublishedTemplate" service "update" endpoint HTTP response body for the "internal_error" error.
type UpdateNotFoundResponseBody ¶
type UpdateNotFoundResponseBody 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"` }
UpdateNotFoundResponseBody is the type of the "PublishedTemplate" service "update" endpoint HTTP response body for the "not_found" error.
type UpdateRequestBody ¶
type UpdateRequestBody struct { // template_href is the href of the policy template to publish to the // organization. TemplateHref string `form:"template_href" json:"template_href" xml:"template_href"` }
UpdateRequestBody is the type of the "PublishedTemplate" service "update" endpoint HTTP request body.
func NewUpdateRequestBody ¶
func NewUpdateRequestBody(p *publishedtemplate.UpdatePayload) *UpdateRequestBody
NewUpdateRequestBody builds the HTTP request body from the payload of the "update" endpoint of the "PublishedTemplate" service.
type UpdateUnauthorizedResponseBody ¶
type UpdateUnauthorizedResponseBody 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 *
UpdateUnauthorizedResponseBody is the type of the "PublishedTemplate" service "update" 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.