Documentation
¶
Index ¶
- func BuildCreateServicePayload(serviceCreateServiceBody string, serviceCreateServiceJWT string) (*service.CreateServicePayload, error)
- func BuildDeletePayload(serviceDeleteID string, serviceDeleteJWT string) (*service.DeletePayload, error)
- func BuildListPayload(serviceListLimit string, serviceListPage string, serviceListFilter string, ...) (*service.ListPayload, error)
- func BuildReadPayload(serviceReadID string, serviceReadJWT string) (*service.ReadPayload, error)
- func BuildUpdatePayload(serviceUpdateBody string, serviceUpdateID string, ...) (*service.UpdatePayload, error)
- func CreateServiceServicePath() string
- func DecodeCreateServiceResponse(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 DecodeListResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeReadResponse(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 DeleteServicePath(id string) string
- func EncodeCreateServiceRequest(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 EncodeListRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeReadRequest(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 ListServicePath() string
- func NewCreateServiceAlreadyCreated(body *CreateServiceAlreadyCreatedResponseBody) *service.ResourceAlreadyCreatedT
- func NewCreateServiceBadRequest(body *CreateServiceBadRequestResponseBody) *service.BadRequestT
- func NewCreateServiceInvalidCredential() *service.InvalidCredentialsT
- func NewCreateServiceInvalidParameter(body *CreateServiceInvalidParameterResponseBody) *service.InvalidParameterValue
- func NewCreateServiceInvalidScopes(body *CreateServiceInvalidScopesResponseBody) *service.InvalidScopesT
- func NewCreateServiceNotAuthorized() *service.UnauthorizedT
- func NewCreateServiceNotFound(body *CreateServiceNotFoundResponseBody) *service.ResourceNotFoundT
- func NewCreateServiceNotImplemented(body *CreateServiceNotImplementedResponseBody) *service.NotImplementedT
- func NewCreateServiceServiceStatusRTCreated(body *CreateServiceResponseBody) *serviceviews.ServiceStatusRTView
- func NewDeleteBadRequest(body *DeleteBadRequestResponseBody) *service.BadRequestT
- func NewDeleteInvalidCredential() *service.InvalidCredentialsT
- func NewDeleteInvalidScopes(body *DeleteInvalidScopesResponseBody) *service.InvalidScopesT
- func NewDeleteNotAuthorized() *service.UnauthorizedT
- func NewDeleteNotImplemented(body *DeleteNotImplementedResponseBody) *service.NotImplementedT
- func NewListBadRequest(body *ListBadRequestResponseBody) *service.BadRequestT
- func NewListInvalidCredential() *service.InvalidCredentialsT
- func NewListInvalidParameter(body *ListInvalidParameterResponseBody) *service.InvalidParameterValue
- func NewListInvalidScopes(body *ListInvalidScopesResponseBody) *service.InvalidScopesT
- func NewListNotAuthorized() *service.UnauthorizedT
- func NewListNotImplemented(body *ListNotImplementedResponseBody) *service.NotImplementedT
- func NewListServiceListRTOK(body *ListResponseBody) *serviceviews.ServiceListRTView
- func NewReadBadRequest(body *ReadBadRequestResponseBody) *service.BadRequestT
- func NewReadInvalidCredential() *service.InvalidCredentialsT
- func NewReadInvalidScopes(body *ReadInvalidScopesResponseBody) *service.InvalidScopesT
- func NewReadNotAuthorized() *service.UnauthorizedT
- func NewReadNotFound(body *ReadNotFoundResponseBody) *service.ResourceNotFoundT
- func NewReadNotImplemented(body *ReadNotImplementedResponseBody) *service.NotImplementedT
- func NewReadServiceStatusRTOK(body *ReadResponseBody) *serviceviews.ServiceStatusRTView
- func NewUpdateBadRequest(body *UpdateBadRequestResponseBody) *service.BadRequestT
- func NewUpdateInvalidCredential() *service.InvalidCredentialsT
- func NewUpdateInvalidParameter(body *UpdateInvalidParameterResponseBody) *service.InvalidParameterValue
- func NewUpdateInvalidScopes(body *UpdateInvalidScopesResponseBody) *service.InvalidScopesT
- func NewUpdateNotAuthorized() *service.UnauthorizedT
- func NewUpdateNotFound(body *UpdateNotFoundResponseBody) *service.ResourceNotFoundT
- func NewUpdateNotImplemented(body *UpdateNotImplementedResponseBody) *service.NotImplementedT
- func NewUpdateServiceStatusRTOK(body *UpdateResponseBody) *serviceviews.ServiceStatusRTView
- func ReadServicePath(id string) string
- func UpdateServicePath(id string) string
- func ValidateBasicWorkflowOptsTRequestBodyRequestBody(body *BasicWorkflowOptsTRequestBodyRequestBody) (err error)
- func ValidateCreateServiceAlreadyCreatedResponseBody(body *CreateServiceAlreadyCreatedResponseBody) (err error)
- func ValidateCreateServiceBadRequestResponseBody(body *CreateServiceBadRequestResponseBody) (err error)
- func ValidateCreateServiceInvalidParameterResponseBody(body *CreateServiceInvalidParameterResponseBody) (err error)
- func ValidateCreateServiceInvalidScopesResponseBody(body *CreateServiceInvalidScopesResponseBody) (err error)
- func ValidateCreateServiceNotFoundResponseBody(body *CreateServiceNotFoundResponseBody) (err error)
- func ValidateCreateServiceNotImplementedResponseBody(body *CreateServiceNotImplementedResponseBody) (err error)
- func ValidateDeleteBadRequestResponseBody(body *DeleteBadRequestResponseBody) (err error)
- func ValidateDeleteInvalidScopesResponseBody(body *DeleteInvalidScopesResponseBody) (err error)
- func ValidateDeleteNotImplementedResponseBody(body *DeleteNotImplementedResponseBody) (err error)
- func ValidateDescribedByTResponseBody(body *DescribedByTResponseBody) (err error)
- func ValidateListBadRequestResponseBody(body *ListBadRequestResponseBody) (err error)
- func ValidateListInvalidParameterResponseBody(body *ListInvalidParameterResponseBody) (err error)
- func ValidateListInvalidScopesResponseBody(body *ListInvalidScopesResponseBody) (err error)
- func ValidateListNotImplementedResponseBody(body *ListNotImplementedResponseBody) (err error)
- func ValidateNavTResponseBody(body *NavTResponseBody) (err error)
- func ValidateReadBadRequestResponseBody(body *ReadBadRequestResponseBody) (err error)
- func ValidateReadInvalidScopesResponseBody(body *ReadInvalidScopesResponseBody) (err error)
- func ValidateReadNotFoundResponseBody(body *ReadNotFoundResponseBody) (err error)
- func ValidateReadNotImplementedResponseBody(body *ReadNotImplementedResponseBody) (err error)
- func ValidateRefTResponseBody(body *RefTResponseBody) (err error)
- func ValidateReferenceTRequestBodyRequestBody(body *ReferenceTRequestBodyRequestBody) (err error)
- func ValidateSelfTResponseBody(body *SelfTResponseBody) (err error)
- func ValidateServiceListItemResponseBody(body *ServiceListItemResponseBody) (err error)
- func ValidateUpdateBadRequestResponseBody(body *UpdateBadRequestResponseBody) (err error)
- func ValidateUpdateInvalidParameterResponseBody(body *UpdateInvalidParameterResponseBody) (err error)
- func ValidateUpdateInvalidScopesResponseBody(body *UpdateInvalidScopesResponseBody) (err error)
- func ValidateUpdateNotFoundResponseBody(body *UpdateNotFoundResponseBody) (err error)
- func ValidateUpdateNotImplementedResponseBody(body *UpdateNotImplementedResponseBody) (err error)
- func ValidateWorkflowTRequestBodyRequestBody(body *WorkflowTRequestBodyRequestBody) (err error)
- type BasicWorkflowOptsTRequestBodyRequestBody
- type Client
- func (c *Client) BuildCreateServiceRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildDeleteRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildListRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildReadRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildUpdateRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) CreateService() goa.Endpoint
- func (c *Client) Delete() goa.Endpoint
- func (c *Client) List() goa.Endpoint
- func (c *Client) Read() goa.Endpoint
- func (c *Client) Update() goa.Endpoint
- type CreateServiceAlreadyCreatedResponseBody
- type CreateServiceBadRequestResponseBody
- type CreateServiceInvalidParameterResponseBody
- type CreateServiceInvalidScopesResponseBody
- type CreateServiceNotFoundResponseBody
- type CreateServiceNotImplementedResponseBody
- type CreateServiceRequestBody
- type CreateServiceResponseBody
- type DeleteBadRequestResponseBody
- type DeleteInvalidScopesResponseBody
- type DeleteNotImplementedResponseBody
- type DescribedByTResponseBody
- type ListBadRequestResponseBody
- type ListInvalidParameterResponseBody
- type ListInvalidScopesResponseBody
- type ListNotImplementedResponseBody
- type ListResponseBody
- type NavTResponseBody
- type ParameterDefT
- type ParameterDefTResponseBody
- type ParameterOptT
- type ParameterOptTResponseBody
- type ParameterTRequestBodyRequestBody
- type ParameterTResponseBody
- type ReadBadRequestResponseBody
- type ReadInvalidScopesResponseBody
- type ReadNotFoundResponseBody
- type ReadNotImplementedResponseBody
- type ReadResponseBody
- type RefTResponseBody
- type ReferenceTRequestBodyRequestBody
- type ResourceMemoryTRequestBodyRequestBody
- type SelfTResponseBody
- type ServiceListItemResponseBody
- type UpdateBadRequestResponseBody
- type UpdateInvalidParameterResponseBody
- type UpdateInvalidScopesResponseBody
- type UpdateNotFoundResponseBody
- type UpdateNotImplementedResponseBody
- type UpdateRequestBody
- type UpdateResponseBody
- type WorkflowTRequestBodyRequestBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildCreateServicePayload ¶ added in v0.27.0
func BuildCreateServicePayload(serviceCreateServiceBody string, serviceCreateServiceJWT string) (*service.CreateServicePayload, error)
BuildCreateServicePayload builds the payload for the service create_service endpoint from CLI flags.
func BuildDeletePayload ¶
func BuildDeletePayload(serviceDeleteID string, serviceDeleteJWT string) (*service.DeletePayload, error)
BuildDeletePayload builds the payload for the service delete endpoint from CLI flags.
func BuildListPayload ¶
func BuildListPayload(serviceListLimit string, serviceListPage string, serviceListFilter string, serviceListOrderBy string, serviceListOrderDesc string, serviceListAtTime string, serviceListJWT string) (*service.ListPayload, error)
BuildListPayload builds the payload for the service list endpoint from CLI flags.
func BuildReadPayload ¶
func BuildReadPayload(serviceReadID string, serviceReadJWT string) (*service.ReadPayload, error)
BuildReadPayload builds the payload for the service read endpoint from CLI flags.
func BuildUpdatePayload ¶
func BuildUpdatePayload(serviceUpdateBody string, serviceUpdateID string, serviceUpdateForceCreate string, serviceUpdateJWT string) (*service.UpdatePayload, error)
BuildUpdatePayload builds the payload for the service update endpoint from CLI flags.
func CreateServiceServicePath ¶ added in v0.27.0
func CreateServiceServicePath() string
CreateServiceServicePath returns the URL path to the service service create_service HTTP endpoint.
func DecodeCreateServiceResponse ¶ added in v0.27.0
func DecodeCreateServiceResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeCreateServiceResponse returns a decoder for responses returned by the service create_service endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeCreateServiceResponse may return the following errors:
- "bad-request" (type *service.BadRequestT): http.StatusBadRequest
- "invalid-credential" (type *service.InvalidCredentialsT): http.StatusBadRequest
- "invalid-parameter" (type *service.InvalidParameterValue): http.StatusUnprocessableEntity
- "invalid-scopes" (type *service.InvalidScopesT): http.StatusForbidden
- "not-implemented" (type *service.NotImplementedT): http.StatusNotImplemented
- "already-created" (type *service.ResourceAlreadyCreatedT): http.StatusConflict
- "not-found" (type *service.ResourceNotFoundT): http.StatusNotFound
- "not-authorized" (type *service.UnauthorizedT): http.StatusUnauthorized
- 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 service delete endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeDeleteResponse may return the following errors:
- "bad-request" (type *service.BadRequestT): http.StatusBadRequest
- "invalid-credential" (type *service.InvalidCredentialsT): http.StatusBadRequest
- "invalid-scopes" (type *service.InvalidScopesT): http.StatusForbidden
- "not-implemented" (type *service.NotImplementedT): http.StatusNotImplemented
- "not-authorized" (type *service.UnauthorizedT): http.StatusUnauthorized
- error: internal error
func DecodeListResponse ¶
func DecodeListResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeListResponse returns a decoder for responses returned by the service list endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeListResponse may return the following errors:
- "bad-request" (type *service.BadRequestT): http.StatusBadRequest
- "invalid-credential" (type *service.InvalidCredentialsT): http.StatusBadRequest
- "invalid-parameter" (type *service.InvalidParameterValue): http.StatusUnprocessableEntity
- "invalid-scopes" (type *service.InvalidScopesT): http.StatusForbidden
- "not-implemented" (type *service.NotImplementedT): http.StatusNotImplemented
- "not-authorized" (type *service.UnauthorizedT): http.StatusUnauthorized
- error: internal error
func DecodeReadResponse ¶
func DecodeReadResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeReadResponse returns a decoder for responses returned by the service read endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeReadResponse may return the following errors:
- "bad-request" (type *service.BadRequestT): http.StatusBadRequest
- "invalid-credential" (type *service.InvalidCredentialsT): http.StatusBadRequest
- "invalid-scopes" (type *service.InvalidScopesT): http.StatusForbidden
- "not-implemented" (type *service.NotImplementedT): http.StatusNotImplemented
- "not-found" (type *service.ResourceNotFoundT): http.StatusNotFound
- "not-authorized" (type *service.UnauthorizedT): http.StatusUnauthorized
- 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 service update endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeUpdateResponse may return the following errors:
- "bad-request" (type *service.BadRequestT): http.StatusBadRequest
- "invalid-credential" (type *service.InvalidCredentialsT): http.StatusBadRequest
- "invalid-parameter" (type *service.InvalidParameterValue): http.StatusUnprocessableEntity
- "invalid-scopes" (type *service.InvalidScopesT): http.StatusForbidden
- "not-implemented" (type *service.NotImplementedT): http.StatusNotImplemented
- "not-found" (type *service.ResourceNotFoundT): http.StatusNotFound
- "not-authorized" (type *service.UnauthorizedT): http.StatusUnauthorized
- error: internal error
func DeleteServicePath ¶
DeleteServicePath returns the URL path to the service service delete HTTP endpoint.
func EncodeCreateServiceRequest ¶ added in v0.27.0
func EncodeCreateServiceRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeCreateServiceRequest returns an encoder for requests sent to the service create_service 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 service delete server.
func EncodeListRequest ¶
func EncodeListRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeListRequest returns an encoder for requests sent to the service list server.
func EncodeReadRequest ¶ added in v0.25.0
func EncodeReadRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeReadRequest returns an encoder for requests sent to the service read 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 service update server.
func ListServicePath ¶
func ListServicePath() string
ListServicePath returns the URL path to the service service list HTTP endpoint.
func NewCreateServiceAlreadyCreated ¶ added in v0.27.0
func NewCreateServiceAlreadyCreated(body *CreateServiceAlreadyCreatedResponseBody) *service.ResourceAlreadyCreatedT
NewCreateServiceAlreadyCreated builds a service service create_service endpoint already-created error.
func NewCreateServiceBadRequest ¶ added in v0.27.0
func NewCreateServiceBadRequest(body *CreateServiceBadRequestResponseBody) *service.BadRequestT
NewCreateServiceBadRequest builds a service service create_service endpoint bad-request error.
func NewCreateServiceInvalidCredential ¶ added in v0.27.0
func NewCreateServiceInvalidCredential() *service.InvalidCredentialsT
NewCreateServiceInvalidCredential builds a service service create_service endpoint invalid-credential error.
func NewCreateServiceInvalidParameter ¶ added in v0.27.0
func NewCreateServiceInvalidParameter(body *CreateServiceInvalidParameterResponseBody) *service.InvalidParameterValue
NewCreateServiceInvalidParameter builds a service service create_service endpoint invalid-parameter error.
func NewCreateServiceInvalidScopes ¶ added in v0.27.0
func NewCreateServiceInvalidScopes(body *CreateServiceInvalidScopesResponseBody) *service.InvalidScopesT
NewCreateServiceInvalidScopes builds a service service create_service endpoint invalid-scopes error.
func NewCreateServiceNotAuthorized ¶ added in v0.27.0
func NewCreateServiceNotAuthorized() *service.UnauthorizedT
NewCreateServiceNotAuthorized builds a service service create_service endpoint not-authorized error.
func NewCreateServiceNotFound ¶ added in v0.27.0
func NewCreateServiceNotFound(body *CreateServiceNotFoundResponseBody) *service.ResourceNotFoundT
NewCreateServiceNotFound builds a service service create_service endpoint not-found error.
func NewCreateServiceNotImplemented ¶ added in v0.27.0
func NewCreateServiceNotImplemented(body *CreateServiceNotImplementedResponseBody) *service.NotImplementedT
NewCreateServiceNotImplemented builds a service service create_service endpoint not-implemented error.
func NewCreateServiceServiceStatusRTCreated ¶ added in v0.27.0
func NewCreateServiceServiceStatusRTCreated(body *CreateServiceResponseBody) *serviceviews.ServiceStatusRTView
NewCreateServiceServiceStatusRTCreated builds a "service" service "create_service" endpoint result from a HTTP "Created" response.
func NewDeleteBadRequest ¶
func NewDeleteBadRequest(body *DeleteBadRequestResponseBody) *service.BadRequestT
NewDeleteBadRequest builds a service service delete endpoint bad-request error.
func NewDeleteInvalidCredential ¶
func NewDeleteInvalidCredential() *service.InvalidCredentialsT
NewDeleteInvalidCredential builds a service service delete endpoint invalid-credential error.
func NewDeleteInvalidScopes ¶
func NewDeleteInvalidScopes(body *DeleteInvalidScopesResponseBody) *service.InvalidScopesT
NewDeleteInvalidScopes builds a service service delete endpoint invalid-scopes error.
func NewDeleteNotAuthorized ¶
func NewDeleteNotAuthorized() *service.UnauthorizedT
NewDeleteNotAuthorized builds a service service delete endpoint not-authorized error.
func NewDeleteNotImplemented ¶
func NewDeleteNotImplemented(body *DeleteNotImplementedResponseBody) *service.NotImplementedT
NewDeleteNotImplemented builds a service service delete endpoint not-implemented error.
func NewListBadRequest ¶
func NewListBadRequest(body *ListBadRequestResponseBody) *service.BadRequestT
NewListBadRequest builds a service service list endpoint bad-request error.
func NewListInvalidCredential ¶
func NewListInvalidCredential() *service.InvalidCredentialsT
NewListInvalidCredential builds a service service list endpoint invalid-credential error.
func NewListInvalidParameter ¶ added in v0.25.0
func NewListInvalidParameter(body *ListInvalidParameterResponseBody) *service.InvalidParameterValue
NewListInvalidParameter builds a service service list endpoint invalid-parameter error.
func NewListInvalidScopes ¶ added in v0.25.0
func NewListInvalidScopes(body *ListInvalidScopesResponseBody) *service.InvalidScopesT
NewListInvalidScopes builds a service service list endpoint invalid-scopes error.
func NewListNotAuthorized ¶
func NewListNotAuthorized() *service.UnauthorizedT
NewListNotAuthorized builds a service service list endpoint not-authorized error.
func NewListNotImplemented ¶
func NewListNotImplemented(body *ListNotImplementedResponseBody) *service.NotImplementedT
NewListNotImplemented builds a service service list endpoint not-implemented error.
func NewListServiceListRTOK ¶
func NewListServiceListRTOK(body *ListResponseBody) *serviceviews.ServiceListRTView
NewListServiceListRTOK builds a "service" service "list" endpoint result from a HTTP "OK" response.
func NewReadBadRequest ¶
func NewReadBadRequest(body *ReadBadRequestResponseBody) *service.BadRequestT
NewReadBadRequest builds a service service read endpoint bad-request error.
func NewReadInvalidCredential ¶
func NewReadInvalidCredential() *service.InvalidCredentialsT
NewReadInvalidCredential builds a service service read endpoint invalid-credential error.
func NewReadInvalidScopes ¶ added in v0.25.0
func NewReadInvalidScopes(body *ReadInvalidScopesResponseBody) *service.InvalidScopesT
NewReadInvalidScopes builds a service service read endpoint invalid-scopes error.
func NewReadNotAuthorized ¶
func NewReadNotAuthorized() *service.UnauthorizedT
NewReadNotAuthorized builds a service service read endpoint not-authorized error.
func NewReadNotFound ¶
func NewReadNotFound(body *ReadNotFoundResponseBody) *service.ResourceNotFoundT
NewReadNotFound builds a service service read endpoint not-found error.
func NewReadNotImplemented ¶
func NewReadNotImplemented(body *ReadNotImplementedResponseBody) *service.NotImplementedT
NewReadNotImplemented builds a service service read endpoint not-implemented error.
func NewReadServiceStatusRTOK ¶
func NewReadServiceStatusRTOK(body *ReadResponseBody) *serviceviews.ServiceStatusRTView
NewReadServiceStatusRTOK builds a "service" service "read" endpoint result from a HTTP "OK" response.
func NewUpdateBadRequest ¶
func NewUpdateBadRequest(body *UpdateBadRequestResponseBody) *service.BadRequestT
NewUpdateBadRequest builds a service service update endpoint bad-request error.
func NewUpdateInvalidCredential ¶
func NewUpdateInvalidCredential() *service.InvalidCredentialsT
NewUpdateInvalidCredential builds a service service update endpoint invalid-credential error.
func NewUpdateInvalidParameter ¶
func NewUpdateInvalidParameter(body *UpdateInvalidParameterResponseBody) *service.InvalidParameterValue
NewUpdateInvalidParameter builds a service service update endpoint invalid-parameter error.
func NewUpdateInvalidScopes ¶
func NewUpdateInvalidScopes(body *UpdateInvalidScopesResponseBody) *service.InvalidScopesT
NewUpdateInvalidScopes builds a service service update endpoint invalid-scopes error.
func NewUpdateNotAuthorized ¶
func NewUpdateNotAuthorized() *service.UnauthorizedT
NewUpdateNotAuthorized builds a service service update endpoint not-authorized error.
func NewUpdateNotFound ¶
func NewUpdateNotFound(body *UpdateNotFoundResponseBody) *service.ResourceNotFoundT
NewUpdateNotFound builds a service service update endpoint not-found error.
func NewUpdateNotImplemented ¶
func NewUpdateNotImplemented(body *UpdateNotImplementedResponseBody) *service.NotImplementedT
NewUpdateNotImplemented builds a service service update endpoint not-implemented error.
func NewUpdateServiceStatusRTOK ¶
func NewUpdateServiceStatusRTOK(body *UpdateResponseBody) *serviceviews.ServiceStatusRTView
NewUpdateServiceStatusRTOK builds a "service" service "update" endpoint result from a HTTP "OK" response.
func ReadServicePath ¶
ReadServicePath returns the URL path to the service service read HTTP endpoint.
func UpdateServicePath ¶
UpdateServicePath returns the URL path to the service service update HTTP endpoint.
func ValidateBasicWorkflowOptsTRequestBodyRequestBody ¶ added in v0.27.2
func ValidateBasicWorkflowOptsTRequestBodyRequestBody(body *BasicWorkflowOptsTRequestBodyRequestBody) (err error)
ValidateBasicWorkflowOptsTRequestBodyRequestBody runs the validations defined on BasicWorkflowOptsTRequestBodyRequestBody
func ValidateCreateServiceAlreadyCreatedResponseBody ¶ added in v0.27.0
func ValidateCreateServiceAlreadyCreatedResponseBody(body *CreateServiceAlreadyCreatedResponseBody) (err error)
ValidateCreateServiceAlreadyCreatedResponseBody runs the validations defined on create_service_already-created_response_body
func ValidateCreateServiceBadRequestResponseBody ¶ added in v0.27.0
func ValidateCreateServiceBadRequestResponseBody(body *CreateServiceBadRequestResponseBody) (err error)
ValidateCreateServiceBadRequestResponseBody runs the validations defined on create_service_bad-request_response_body
func ValidateCreateServiceInvalidParameterResponseBody ¶ added in v0.27.0
func ValidateCreateServiceInvalidParameterResponseBody(body *CreateServiceInvalidParameterResponseBody) (err error)
ValidateCreateServiceInvalidParameterResponseBody runs the validations defined on create_service_invalid-parameter_response_body
func ValidateCreateServiceInvalidScopesResponseBody ¶ added in v0.27.0
func ValidateCreateServiceInvalidScopesResponseBody(body *CreateServiceInvalidScopesResponseBody) (err error)
ValidateCreateServiceInvalidScopesResponseBody runs the validations defined on create_service_invalid-scopes_response_body
func ValidateCreateServiceNotFoundResponseBody ¶ added in v0.27.0
func ValidateCreateServiceNotFoundResponseBody(body *CreateServiceNotFoundResponseBody) (err error)
ValidateCreateServiceNotFoundResponseBody runs the validations defined on create_service_not-found_response_body
func ValidateCreateServiceNotImplementedResponseBody ¶ added in v0.27.0
func ValidateCreateServiceNotImplementedResponseBody(body *CreateServiceNotImplementedResponseBody) (err error)
ValidateCreateServiceNotImplementedResponseBody runs the validations defined on create_service_not-implemented_response_body
func ValidateDeleteBadRequestResponseBody ¶
func ValidateDeleteBadRequestResponseBody(body *DeleteBadRequestResponseBody) (err error)
ValidateDeleteBadRequestResponseBody runs the validations defined on delete_bad-request_response_body
func ValidateDeleteInvalidScopesResponseBody ¶
func ValidateDeleteInvalidScopesResponseBody(body *DeleteInvalidScopesResponseBody) (err error)
ValidateDeleteInvalidScopesResponseBody runs the validations defined on delete_invalid-scopes_response_body
func ValidateDeleteNotImplementedResponseBody ¶
func ValidateDeleteNotImplementedResponseBody(body *DeleteNotImplementedResponseBody) (err error)
ValidateDeleteNotImplementedResponseBody runs the validations defined on delete_not-implemented_response_body
func ValidateDescribedByTResponseBody ¶
func ValidateDescribedByTResponseBody(body *DescribedByTResponseBody) (err error)
ValidateDescribedByTResponseBody runs the validations defined on DescribedByTResponseBody
func ValidateListBadRequestResponseBody ¶
func ValidateListBadRequestResponseBody(body *ListBadRequestResponseBody) (err error)
ValidateListBadRequestResponseBody runs the validations defined on list_bad-request_response_body
func ValidateListInvalidParameterResponseBody ¶ added in v0.25.0
func ValidateListInvalidParameterResponseBody(body *ListInvalidParameterResponseBody) (err error)
ValidateListInvalidParameterResponseBody runs the validations defined on list_invalid-parameter_response_body
func ValidateListInvalidScopesResponseBody ¶ added in v0.25.0
func ValidateListInvalidScopesResponseBody(body *ListInvalidScopesResponseBody) (err error)
ValidateListInvalidScopesResponseBody runs the validations defined on list_invalid-scopes_response_body
func ValidateListNotImplementedResponseBody ¶
func ValidateListNotImplementedResponseBody(body *ListNotImplementedResponseBody) (err error)
ValidateListNotImplementedResponseBody runs the validations defined on list_not-implemented_response_body
func ValidateNavTResponseBody ¶
func ValidateNavTResponseBody(body *NavTResponseBody) (err error)
ValidateNavTResponseBody runs the validations defined on NavTResponseBody
func ValidateReadBadRequestResponseBody ¶
func ValidateReadBadRequestResponseBody(body *ReadBadRequestResponseBody) (err error)
ValidateReadBadRequestResponseBody runs the validations defined on read_bad-request_response_body
func ValidateReadInvalidScopesResponseBody ¶ added in v0.25.0
func ValidateReadInvalidScopesResponseBody(body *ReadInvalidScopesResponseBody) (err error)
ValidateReadInvalidScopesResponseBody runs the validations defined on read_invalid-scopes_response_body
func ValidateReadNotFoundResponseBody ¶
func ValidateReadNotFoundResponseBody(body *ReadNotFoundResponseBody) (err error)
ValidateReadNotFoundResponseBody runs the validations defined on read_not-found_response_body
func ValidateReadNotImplementedResponseBody ¶
func ValidateReadNotImplementedResponseBody(body *ReadNotImplementedResponseBody) (err error)
ValidateReadNotImplementedResponseBody runs the validations defined on read_not-implemented_response_body
func ValidateRefTResponseBody ¶
func ValidateRefTResponseBody(body *RefTResponseBody) (err error)
ValidateRefTResponseBody runs the validations defined on RefTResponseBody
func ValidateReferenceTRequestBodyRequestBody ¶
func ValidateReferenceTRequestBodyRequestBody(body *ReferenceTRequestBodyRequestBody) (err error)
ValidateReferenceTRequestBodyRequestBody runs the validations defined on ReferenceTRequestBodyRequestBody
func ValidateSelfTResponseBody ¶
func ValidateSelfTResponseBody(body *SelfTResponseBody) (err error)
ValidateSelfTResponseBody runs the validations defined on SelfTResponseBody
func ValidateServiceListItemResponseBody ¶
func ValidateServiceListItemResponseBody(body *ServiceListItemResponseBody) (err error)
ValidateServiceListItemResponseBody runs the validations defined on ServiceListItemResponseBody
func ValidateUpdateBadRequestResponseBody ¶
func ValidateUpdateBadRequestResponseBody(body *UpdateBadRequestResponseBody) (err error)
ValidateUpdateBadRequestResponseBody runs the validations defined on update_bad-request_response_body
func ValidateUpdateInvalidParameterResponseBody ¶
func ValidateUpdateInvalidParameterResponseBody(body *UpdateInvalidParameterResponseBody) (err error)
ValidateUpdateInvalidParameterResponseBody runs the validations defined on update_invalid-parameter_response_body
func ValidateUpdateInvalidScopesResponseBody ¶
func ValidateUpdateInvalidScopesResponseBody(body *UpdateInvalidScopesResponseBody) (err error)
ValidateUpdateInvalidScopesResponseBody runs the validations defined on update_invalid-scopes_response_body
func ValidateUpdateNotFoundResponseBody ¶
func ValidateUpdateNotFoundResponseBody(body *UpdateNotFoundResponseBody) (err error)
ValidateUpdateNotFoundResponseBody runs the validations defined on update_not-found_response_body
func ValidateUpdateNotImplementedResponseBody ¶
func ValidateUpdateNotImplementedResponseBody(body *UpdateNotImplementedResponseBody) (err error)
ValidateUpdateNotImplementedResponseBody runs the validations defined on update_not-implemented_response_body
func ValidateWorkflowTRequestBodyRequestBody ¶ added in v0.27.2
func ValidateWorkflowTRequestBodyRequestBody(body *WorkflowTRequestBodyRequestBody) (err error)
ValidateWorkflowTRequestBodyRequestBody runs the validations defined on WorkflowTRequestBodyRequestBody
Types ¶
type BasicWorkflowOptsTRequestBodyRequestBody ¶
type BasicWorkflowOptsTRequestBodyRequestBody struct { // container image name Image string `form:"image" json:"image" xml:"image"` // Command to start the container - needed for some container runtimes Command []string `form:"command" json:"command" xml:"command"` // Defines memory resource requests and limits Memory *ResourceMemoryTRequestBodyRequestBody `form:"memory,omitempty" json:"memory,omitempty" xml:"memory,omitempty"` // Defines cpu resource requests and limits // (see // https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu) CPU *ResourceMemoryTRequestBodyRequestBody `form:"cpu,omitempty" json:"cpu,omitempty" xml:"cpu,omitempty"` // Defines ephemeral storage resource requests and limits // (see // https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#local-ephemeral-storage) EphemeralStorage *ResourceMemoryTRequestBodyRequestBody `form:"ephemeral-storage,omitempty" json:"ephemeral-storage,omitempty" xml:"ephemeral-storage,omitempty"` }
BasicWorkflowOptsTRequestBodyRequestBody is used to define fields on request body types.
type Client ¶
type Client struct { // List Doer is the HTTP client used to make requests to the list endpoint. ListDoer goahttp.Doer // CreateService Doer is the HTTP client used to make requests to the // create_service endpoint. CreateServiceDoer goahttp.Doer // Read Doer is the HTTP client used to make requests to the read endpoint. ReadDoer goahttp.Doer // Update Doer is the HTTP client used to make requests to the update endpoint. UpdateDoer goahttp.Doer // Delete Doer is the HTTP client used to make requests to the delete endpoint. DeleteDoer 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 service 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 service service servers.
func (*Client) BuildCreateServiceRequest ¶ added in v0.27.0
func (c *Client) BuildCreateServiceRequest(ctx context.Context, v interface{}) (*http.Request, error)
BuildCreateServiceRequest instantiates a HTTP request object with method and path set to call the "service" service "create_service" endpoint
func (*Client) BuildDeleteRequest ¶
BuildDeleteRequest instantiates a HTTP request object with method and path set to call the "service" service "delete" endpoint
func (*Client) BuildListRequest ¶
BuildListRequest instantiates a HTTP request object with method and path set to call the "service" service "list" endpoint
func (*Client) BuildReadRequest ¶
BuildReadRequest instantiates a HTTP request object with method and path set to call the "service" service "read" endpoint
func (*Client) BuildUpdateRequest ¶
BuildUpdateRequest instantiates a HTTP request object with method and path set to call the "service" service "update" endpoint
func (*Client) CreateService ¶ added in v0.27.0
CreateService returns an endpoint that makes HTTP requests to the service service create_service server.
func (*Client) Delete ¶
Delete returns an endpoint that makes HTTP requests to the service service delete server.
func (*Client) List ¶
List returns an endpoint that makes HTTP requests to the service service list server.
type CreateServiceAlreadyCreatedResponseBody ¶ added in v0.27.0
type CreateServiceAlreadyCreatedResponseBody struct { // ID of already existing resource ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message of error Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
CreateServiceAlreadyCreatedResponseBody is the type of the "service" service "create_service" endpoint HTTP response body for the "already-created" error.
type CreateServiceBadRequestResponseBody ¶ added in v0.27.0
type CreateServiceBadRequestResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
CreateServiceBadRequestResponseBody is the type of the "service" service "create_service" endpoint HTTP response body for the "bad-request" error.
type CreateServiceInvalidParameterResponseBody ¶ added in v0.27.0
type CreateServiceInvalidParameterResponseBody struct { // message describing expected type or pattern. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // name of parameter. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // provided parameter value. Value *string `form:"value,omitempty" json:"value,omitempty" xml:"value,omitempty"` }
CreateServiceInvalidParameterResponseBody is the type of the "service" service "create_service" endpoint HTTP response body for the "invalid-parameter" error.
type CreateServiceInvalidScopesResponseBody ¶ added in v0.27.0
type CreateServiceInvalidScopesResponseBody struct { // ID of involved resource ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message of error Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
CreateServiceInvalidScopesResponseBody is the type of the "service" service "create_service" endpoint HTTP response body for the "invalid-scopes" error.
type CreateServiceNotFoundResponseBody ¶ added in v0.27.0
type CreateServiceNotFoundResponseBody struct { // ID of missing resource ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message of error Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
CreateServiceNotFoundResponseBody is the type of the "service" service "create_service" endpoint HTTP response body for the "not-found" error.
type CreateServiceNotImplementedResponseBody ¶ added in v0.27.0
type CreateServiceNotImplementedResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
CreateServiceNotImplementedResponseBody is the type of the "service" service "create_service" endpoint HTTP response body for the "not-implemented" error.
type CreateServiceRequestBody ¶ added in v0.27.0
type CreateServiceRequestBody struct { // Provider provided reference. Should to be a single string with punctuations // allowed. Might be changed, so please check result ProviderRef *string `form:"provider-ref,omitempty" json:"provider-ref,omitempty" xml:"provider-ref,omitempty"` // Reference to service provider ProviderID string `form:"provider-id" json:"provider-id" xml:"provider-id"` // More detailed description of the service Description string `form:"description" json:"description" xml:"description"` // Optional provider provided meta tags Metadata []*ParameterTRequestBodyRequestBody `form:"metadata,omitempty" json:"metadata,omitempty" xml:"metadata,omitempty"` // Reference to account revenues for this service should be credited to AccountID string `form:"account-id" json:"account-id" xml:"account-id"` // Reference to account revenues for this service should be credited to References []*ReferenceTRequestBodyRequestBody `form:"references,omitempty" json:"references,omitempty" xml:"references,omitempty"` // Link to banner image oprionally used for this service Banner *string `form:"banner,omitempty" json:"banner,omitempty" xml:"banner,omitempty"` // Definition of the workflow to use for executing this service Workflow *WorkflowTRequestBodyRequestBody `form:"workflow" json:"workflow" xml:"workflow"` // Reference to policy controlling access PolicyID *string `form:"policy-id,omitempty" json:"policy-id,omitempty" xml:"policy-id,omitempty"` // Optional provider provided name Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // Optional provider provided tags Tags []string `form:"tags,omitempty" json:"tags,omitempty" xml:"tags,omitempty"` // Service parameter definitions Parameters []*ParameterDefT `form:"parameters" json:"parameters" xml:"parameters"` }
CreateServiceRequestBody is the type of the "service" service "create_service" endpoint HTTP request body.
func NewCreateServiceRequestBody ¶ added in v0.27.0
func NewCreateServiceRequestBody(p *service.CreateServicePayload) *CreateServiceRequestBody
NewCreateServiceRequestBody builds the HTTP request body from the payload of the "create_service" endpoint of the "service" service.
type CreateServiceResponseBody ¶ added in v0.27.0
type CreateServiceResponseBody struct { // Service ID ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Provider provided ID. Needs to be a single string with punctuations allowed. // Might have been changed ProviderRef *string `form:"provider-ref,omitempty" json:"provider-ref,omitempty" xml:"provider-ref,omitempty"` // More detailed description of the service Description *string `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"` // Service status Status *string `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"` // Optional provider provided meta tags Metadata []*ParameterTResponseBody `form:"metadata,omitempty" json:"metadata,omitempty" xml:"metadata,omitempty"` // Reference to service provider Provider *RefTResponseBody `form:"provider,omitempty" json:"provider,omitempty" xml:"provider,omitempty"` // Reference to billable account Account *RefTResponseBody `form:"account,omitempty" json:"account,omitempty" xml:"account,omitempty"` Links *SelfTResponseBody `form:"links,omitempty" json:"links,omitempty" xml:"links,omitempty"` // Optional provider provided name Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // Optional provider provided tags Tags []string `form:"tags,omitempty" json:"tags,omitempty" xml:"tags,omitempty"` // Service parameter definitions Parameters []*ParameterDefTResponseBody `form:"parameters,omitempty" json:"parameters,omitempty" xml:"parameters,omitempty"` }
CreateServiceResponseBody is the type of the "service" service "create_service" endpoint HTTP response body.
type DeleteBadRequestResponseBody ¶
type DeleteBadRequestResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
DeleteBadRequestResponseBody is the type of the "service" service "delete" endpoint HTTP response body for the "bad-request" error.
type DeleteInvalidScopesResponseBody ¶
type DeleteInvalidScopesResponseBody struct { // ID of involved resource ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message of error Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
DeleteInvalidScopesResponseBody is the type of the "service" service "delete" endpoint HTTP response body for the "invalid-scopes" error.
type DeleteNotImplementedResponseBody ¶
type DeleteNotImplementedResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
DeleteNotImplementedResponseBody is the type of the "service" service "delete" endpoint HTTP response body for the "not-implemented" error.
type DescribedByTResponseBody ¶
type DescribedByTResponseBody struct { Href *string `form:"href,omitempty" json:"href,omitempty" xml:"href,omitempty"` Type *string `form:"type,omitempty" json:"type,omitempty" xml:"type,omitempty"` }
DescribedByTResponseBody is used to define fields on response body types.
type ListBadRequestResponseBody ¶
type ListBadRequestResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
ListBadRequestResponseBody is the type of the "service" service "list" endpoint HTTP response body for the "bad-request" error.
type ListInvalidParameterResponseBody ¶ added in v0.25.0
type ListInvalidParameterResponseBody struct { // message describing expected type or pattern. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // name of parameter. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // provided parameter value. Value *string `form:"value,omitempty" json:"value,omitempty" xml:"value,omitempty"` }
ListInvalidParameterResponseBody is the type of the "service" service "list" endpoint HTTP response body for the "invalid-parameter" error.
type ListInvalidScopesResponseBody ¶ added in v0.25.0
type ListInvalidScopesResponseBody struct { // ID of involved resource ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message of error Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
ListInvalidScopesResponseBody is the type of the "service" service "list" endpoint HTTP response body for the "invalid-scopes" error.
type ListNotImplementedResponseBody ¶
type ListNotImplementedResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
ListNotImplementedResponseBody is the type of the "service" service "list" endpoint HTTP response body for the "not-implemented" error.
type ListResponseBody ¶
type ListResponseBody struct { // Services Services []*ServiceListItemResponseBody `form:"services,omitempty" json:"services,omitempty" xml:"services,omitempty"` // Time at which this list was valid AtTime *string `form:"at-time,omitempty" json:"at-time,omitempty" xml:"at-time,omitempty"` // Navigation links Links *NavTResponseBody `form:"links,omitempty" json:"links,omitempty" xml:"links,omitempty"` }
ListResponseBody is the type of the "service" service "list" endpoint HTTP response body.
type NavTResponseBody ¶
type NavTResponseBody struct {}
NavTResponseBody is used to define fields on response body types.
type ParameterDefT ¶
type ParameterDefT struct { Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` Label *string `form:"label,omitempty" json:"label,omitempty" xml:"label,omitempty"` Type *string `form:"type,omitempty" json:"type,omitempty" xml:"type,omitempty"` Description *string `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"` Unit *string `form:"unit,omitempty" json:"unit,omitempty" xml:"unit,omitempty"` Constant *bool `form:"constant,omitempty" json:"constant,omitempty" xml:"constant,omitempty"` Optional *bool `form:"optional,omitempty" json:"optional,omitempty" xml:"optional,omitempty"` Default *string `form:"default,omitempty" json:"default,omitempty" xml:"default,omitempty"` Options []*ParameterOptT `form:"options,omitempty" json:"options,omitempty" xml:"options,omitempty"` }
ParameterDefT is used to define fields on request body types.
type ParameterDefTResponseBody ¶
type ParameterDefTResponseBody struct { Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` Label *string `form:"label,omitempty" json:"label,omitempty" xml:"label,omitempty"` Type *string `form:"type,omitempty" json:"type,omitempty" xml:"type,omitempty"` Description *string `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"` Unit *string `form:"unit,omitempty" json:"unit,omitempty" xml:"unit,omitempty"` Constant *bool `form:"constant,omitempty" json:"constant,omitempty" xml:"constant,omitempty"` Optional *bool `form:"optional,omitempty" json:"optional,omitempty" xml:"optional,omitempty"` Default *string `form:"default,omitempty" json:"default,omitempty" xml:"default,omitempty"` Options []*ParameterOptTResponseBody `form:"options,omitempty" json:"options,omitempty" xml:"options,omitempty"` }
ParameterDefTResponseBody is used to define fields on response body types.
type ParameterOptT ¶
type ParameterOptT struct { Value *string `form:"value,omitempty" json:"value,omitempty" xml:"value,omitempty"` Description *string `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"` }
ParameterOptT is used to define fields on request body types.
type ParameterOptTResponseBody ¶
type ParameterOptTResponseBody struct { Value *string `form:"value,omitempty" json:"value,omitempty" xml:"value,omitempty"` Description *string `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"` }
ParameterOptTResponseBody is used to define fields on response body types.
type ParameterTRequestBodyRequestBody ¶
type ParameterTRequestBodyRequestBody struct { Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` Value *string `form:"value,omitempty" json:"value,omitempty" xml:"value,omitempty"` }
ParameterTRequestBodyRequestBody is used to define fields on request body types.
type ParameterTResponseBody ¶
type ParameterTResponseBody struct { Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` Value *string `form:"value,omitempty" json:"value,omitempty" xml:"value,omitempty"` }
ParameterTResponseBody is used to define fields on response body types.
type ReadBadRequestResponseBody ¶
type ReadBadRequestResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
ReadBadRequestResponseBody is the type of the "service" service "read" endpoint HTTP response body for the "bad-request" error.
type ReadInvalidScopesResponseBody ¶ added in v0.25.0
type ReadInvalidScopesResponseBody struct { // ID of involved resource ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message of error Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
ReadInvalidScopesResponseBody is the type of the "service" service "read" endpoint HTTP response body for the "invalid-scopes" error.
type ReadNotFoundResponseBody ¶
type ReadNotFoundResponseBody struct { // ID of missing resource ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message of error Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
ReadNotFoundResponseBody is the type of the "service" service "read" endpoint HTTP response body for the "not-found" error.
type ReadNotImplementedResponseBody ¶
type ReadNotImplementedResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
ReadNotImplementedResponseBody is the type of the "service" service "read" endpoint HTTP response body for the "not-implemented" error.
type ReadResponseBody ¶
type ReadResponseBody struct { // Service ID ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Provider provided ID. Needs to be a single string with punctuations allowed. // Might have been changed ProviderRef *string `form:"provider-ref,omitempty" json:"provider-ref,omitempty" xml:"provider-ref,omitempty"` // More detailed description of the service Description *string `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"` // Service status Status *string `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"` // Optional provider provided meta tags Metadata []*ParameterTResponseBody `form:"metadata,omitempty" json:"metadata,omitempty" xml:"metadata,omitempty"` // Reference to service provider Provider *RefTResponseBody `form:"provider,omitempty" json:"provider,omitempty" xml:"provider,omitempty"` // Reference to billable account Account *RefTResponseBody `form:"account,omitempty" json:"account,omitempty" xml:"account,omitempty"` Links *SelfTResponseBody `form:"links,omitempty" json:"links,omitempty" xml:"links,omitempty"` // Optional provider provided name Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // Optional provider provided tags Tags []string `form:"tags,omitempty" json:"tags,omitempty" xml:"tags,omitempty"` // Service parameter definitions Parameters []*ParameterDefTResponseBody `form:"parameters,omitempty" json:"parameters,omitempty" xml:"parameters,omitempty"` }
ReadResponseBody is the type of the "service" service "read" endpoint HTTP response body.
type RefTResponseBody ¶
type RefTResponseBody struct { ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` Links *SelfTResponseBody `form:"links,omitempty" json:"links,omitempty" xml:"links,omitempty"` }
RefTResponseBody is used to define fields on response body types.
type ReferenceTRequestBodyRequestBody ¶
type ReferenceTRequestBodyRequestBody struct { // Title of reference document Title *string `form:"title,omitempty" json:"title,omitempty" xml:"title,omitempty"` // Link to document URI *string `form:"uri,omitempty" json:"uri,omitempty" xml:"uri,omitempty"` }
ReferenceTRequestBodyRequestBody is used to define fields on request body types.
type ResourceMemoryTRequestBodyRequestBody ¶
type ResourceMemoryTRequestBodyRequestBody struct { // minimal requirements [0] Request *string `form:"request,omitempty" json:"request,omitempty" xml:"request,omitempty"` // minimal requirements [system limit] Limit *string `form:"limit,omitempty" json:"limit,omitempty" xml:"limit,omitempty"` }
ResourceMemoryTRequestBodyRequestBody is used to define fields on request body types.
type SelfTResponseBody ¶
type SelfTResponseBody struct { Self *string `form:"self,omitempty" json:"self,omitempty" xml:"self,omitempty"` DescribedBy *DescribedByTResponseBody `form:"describedBy,omitempty" json:"describedBy,omitempty" xml:"describedBy,omitempty"` }
SelfTResponseBody is used to define fields on response body types.
type ServiceListItemResponseBody ¶
type ServiceListItemResponseBody struct { // Service ID ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Optional customer provided name Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // Optional description of the service Description *string `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"` // Optional provider link Provider *RefTResponseBody `form:"provider,omitempty" json:"provider,omitempty" xml:"provider,omitempty"` Links *SelfTResponseBody `form:"links,omitempty" json:"links,omitempty" xml:"links,omitempty"` }
ServiceListItemResponseBody is used to define fields on response body types.
type UpdateBadRequestResponseBody ¶
type UpdateBadRequestResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
UpdateBadRequestResponseBody is the type of the "service" service "update" endpoint HTTP response body for the "bad-request" error.
type UpdateInvalidParameterResponseBody ¶
type UpdateInvalidParameterResponseBody struct { // message describing expected type or pattern. Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` // name of parameter. Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // provided parameter value. Value *string `form:"value,omitempty" json:"value,omitempty" xml:"value,omitempty"` }
UpdateInvalidParameterResponseBody is the type of the "service" service "update" endpoint HTTP response body for the "invalid-parameter" error.
type UpdateInvalidScopesResponseBody ¶
type UpdateInvalidScopesResponseBody struct { // ID of involved resource ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message of error Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
UpdateInvalidScopesResponseBody is the type of the "service" service "update" endpoint HTTP response body for the "invalid-scopes" error.
type UpdateNotFoundResponseBody ¶
type UpdateNotFoundResponseBody struct { // ID of missing resource ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message of error Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
UpdateNotFoundResponseBody is the type of the "service" service "update" endpoint HTTP response body for the "not-found" error.
type UpdateNotImplementedResponseBody ¶
type UpdateNotImplementedResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
UpdateNotImplementedResponseBody is the type of the "service" service "update" endpoint HTTP response body for the "not-implemented" error.
type UpdateRequestBody ¶
type UpdateRequestBody struct { // Provider provided reference. Should to be a single string with punctuations // allowed. Might be changed, so please check result ProviderRef *string `form:"provider-ref,omitempty" json:"provider-ref,omitempty" xml:"provider-ref,omitempty"` // Reference to service provider ProviderID string `form:"provider-id" json:"provider-id" xml:"provider-id"` // More detailed description of the service Description string `form:"description" json:"description" xml:"description"` // Optional provider provided meta tags Metadata []*ParameterTRequestBodyRequestBody `form:"metadata,omitempty" json:"metadata,omitempty" xml:"metadata,omitempty"` // Reference to account revenues for this service should be credited to AccountID string `form:"account-id" json:"account-id" xml:"account-id"` // Reference to account revenues for this service should be credited to References []*ReferenceTRequestBodyRequestBody `form:"references,omitempty" json:"references,omitempty" xml:"references,omitempty"` // Link to banner image oprionally used for this service Banner *string `form:"banner,omitempty" json:"banner,omitempty" xml:"banner,omitempty"` // Definition of the workflow to use for executing this service Workflow *WorkflowTRequestBodyRequestBody `form:"workflow" json:"workflow" xml:"workflow"` // Reference to policy controlling access PolicyID *string `form:"policy-id,omitempty" json:"policy-id,omitempty" xml:"policy-id,omitempty"` // Optional provider provided name Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // Optional provider provided tags Tags []string `form:"tags,omitempty" json:"tags,omitempty" xml:"tags,omitempty"` // Service parameter definitions Parameters []*ParameterDefT `form:"parameters" json:"parameters" xml:"parameters"` }
UpdateRequestBody is the type of the "service" service "update" endpoint HTTP request body.
func NewUpdateRequestBody ¶
func NewUpdateRequestBody(p *service.UpdatePayload) *UpdateRequestBody
NewUpdateRequestBody builds the HTTP request body from the payload of the "update" endpoint of the "service" service.
type UpdateResponseBody ¶
type UpdateResponseBody struct { // Service ID ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Provider provided ID. Needs to be a single string with punctuations allowed. // Might have been changed ProviderRef *string `form:"provider-ref,omitempty" json:"provider-ref,omitempty" xml:"provider-ref,omitempty"` // More detailed description of the service Description *string `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"` // Service status Status *string `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"` // Optional provider provided meta tags Metadata []*ParameterTResponseBody `form:"metadata,omitempty" json:"metadata,omitempty" xml:"metadata,omitempty"` // Reference to service provider Provider *RefTResponseBody `form:"provider,omitempty" json:"provider,omitempty" xml:"provider,omitempty"` // Reference to billable account Account *RefTResponseBody `form:"account,omitempty" json:"account,omitempty" xml:"account,omitempty"` Links *SelfTResponseBody `form:"links,omitempty" json:"links,omitempty" xml:"links,omitempty"` // Optional provider provided name Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // Optional provider provided tags Tags []string `form:"tags,omitempty" json:"tags,omitempty" xml:"tags,omitempty"` // Service parameter definitions Parameters []*ParameterDefTResponseBody `form:"parameters,omitempty" json:"parameters,omitempty" xml:"parameters,omitempty"` }
UpdateResponseBody is the type of the "service" service "update" endpoint HTTP response body.
type WorkflowTRequestBodyRequestBody ¶
type WorkflowTRequestBodyRequestBody struct { // Type of workflow Type *string `form:"type,omitempty" json:"type,omitempty" xml:"type,omitempty"` // Type of workflow Basic *BasicWorkflowOptsTRequestBodyRequestBody `form:"basic,omitempty" json:"basic,omitempty" xml:"basic,omitempty"` // Defines the workflow using argo's WF schema Argo interface{} `form:"argo,omitempty" json:"argo,omitempty" xml:"argo,omitempty"` // Type specific options - left for backward compatibility, if possible use // type specific elements Opts interface{} `form:"opts,omitempty" json:"opts,omitempty" xml:"opts,omitempty"` }
WorkflowTRequestBodyRequestBody is used to define fields on request body types.