Documentation ¶
Index ¶
- Constants
- type CreateService
- type CreateServiceBadRequest
- type CreateServiceCreated
- type CreateServiceHandler
- type CreateServiceHandlerFunc
- type CreateServiceParams
- type CreateServiceTooManyRequests
- func (o *CreateServiceTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreateServiceTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateServiceTooManyRequests
- func (o *CreateServiceTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateServiceURL
- func (o *CreateServiceURL) Build() (*url.URL, error)
- func (o *CreateServiceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateServiceURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateServiceURL) SetBasePath(bp string)
- func (o *CreateServiceURL) String() string
- func (o *CreateServiceURL) StringFull(scheme, host string) string
- func (o *CreateServiceURL) WithBasePath(bp string) *CreateServiceURL
- type CreateServiceUnauthorized
- type DeleteService
- type DeleteServiceBadRequest
- type DeleteServiceConflict
- type DeleteServiceHandler
- type DeleteServiceHandlerFunc
- type DeleteServiceOK
- type DeleteServiceParams
- type DeleteServiceTooManyRequests
- func (o *DeleteServiceTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DeleteServiceTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteServiceTooManyRequests
- func (o *DeleteServiceTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteServiceURL
- func (o *DeleteServiceURL) Build() (*url.URL, error)
- func (o *DeleteServiceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteServiceURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteServiceURL) SetBasePath(bp string)
- func (o *DeleteServiceURL) String() string
- func (o *DeleteServiceURL) StringFull(scheme, host string) string
- func (o *DeleteServiceURL) WithBasePath(bp string) *DeleteServiceURL
- type DeleteServiceUnauthorized
- type DetailService
- type DetailServiceHandler
- type DetailServiceHandlerFunc
- type DetailServiceNotFound
- type DetailServiceOK
- type DetailServiceParams
- type DetailServiceTooManyRequests
- func (o *DetailServiceTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DetailServiceTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailServiceTooManyRequests
- func (o *DetailServiceTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailServiceURL
- func (o *DetailServiceURL) Build() (*url.URL, error)
- func (o *DetailServiceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DetailServiceURL) Must(u *url.URL, err error) *url.URL
- func (o *DetailServiceURL) SetBasePath(bp string)
- func (o *DetailServiceURL) String() string
- func (o *DetailServiceURL) StringFull(scheme, host string) string
- func (o *DetailServiceURL) WithBasePath(bp string) *DetailServiceURL
- type DetailServiceUnauthorized
- type ListServiceConfig
- type ListServiceConfigBadRequest
- func (o *ListServiceConfigBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServiceConfigBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceConfigBadRequest
- func (o *ListServiceConfigBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServiceConfigHandler
- type ListServiceConfigHandlerFunc
- type ListServiceConfigOK
- type ListServiceConfigParams
- type ListServiceConfigTooManyRequests
- func (o *ListServiceConfigTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServiceConfigTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceConfigTooManyRequests
- func (o *ListServiceConfigTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServiceConfigURL
- func (o *ListServiceConfigURL) Build() (*url.URL, error)
- func (o *ListServiceConfigURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListServiceConfigURL) Must(u *url.URL, err error) *url.URL
- func (o *ListServiceConfigURL) SetBasePath(bp string)
- func (o *ListServiceConfigURL) String() string
- func (o *ListServiceConfigURL) StringFull(scheme, host string) string
- func (o *ListServiceConfigURL) WithBasePath(bp string) *ListServiceConfigURL
- type ListServiceConfigUnauthorized
- func (o *ListServiceConfigUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServiceConfigUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceConfigUnauthorized
- func (o *ListServiceConfigUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServiceEdgeRouters
- type ListServiceEdgeRoutersBadRequest
- func (o *ListServiceEdgeRoutersBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServiceEdgeRoutersBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceEdgeRoutersBadRequest
- func (o *ListServiceEdgeRoutersBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServiceEdgeRoutersHandler
- type ListServiceEdgeRoutersHandlerFunc
- type ListServiceEdgeRoutersOK
- func (o *ListServiceEdgeRoutersOK) SetPayload(payload *rest_model.ListEdgeRoutersEnvelope)
- func (o *ListServiceEdgeRoutersOK) WithPayload(payload *rest_model.ListEdgeRoutersEnvelope) *ListServiceEdgeRoutersOK
- func (o *ListServiceEdgeRoutersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServiceEdgeRoutersParams
- type ListServiceEdgeRoutersTooManyRequests
- func (o *ListServiceEdgeRoutersTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServiceEdgeRoutersTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceEdgeRoutersTooManyRequests
- func (o *ListServiceEdgeRoutersTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServiceEdgeRoutersURL
- func (o *ListServiceEdgeRoutersURL) Build() (*url.URL, error)
- func (o *ListServiceEdgeRoutersURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListServiceEdgeRoutersURL) Must(u *url.URL, err error) *url.URL
- func (o *ListServiceEdgeRoutersURL) SetBasePath(bp string)
- func (o *ListServiceEdgeRoutersURL) String() string
- func (o *ListServiceEdgeRoutersURL) StringFull(scheme, host string) string
- func (o *ListServiceEdgeRoutersURL) WithBasePath(bp string) *ListServiceEdgeRoutersURL
- type ListServiceEdgeRoutersUnauthorized
- func (o *ListServiceEdgeRoutersUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServiceEdgeRoutersUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceEdgeRoutersUnauthorized
- func (o *ListServiceEdgeRoutersUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServiceIdentities
- type ListServiceIdentitiesBadRequest
- func (o *ListServiceIdentitiesBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServiceIdentitiesBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceIdentitiesBadRequest
- func (o *ListServiceIdentitiesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServiceIdentitiesHandler
- type ListServiceIdentitiesHandlerFunc
- type ListServiceIdentitiesOK
- func (o *ListServiceIdentitiesOK) SetPayload(payload *rest_model.ListIdentitiesEnvelope)
- func (o *ListServiceIdentitiesOK) WithPayload(payload *rest_model.ListIdentitiesEnvelope) *ListServiceIdentitiesOK
- func (o *ListServiceIdentitiesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServiceIdentitiesParams
- type ListServiceIdentitiesTooManyRequests
- func (o *ListServiceIdentitiesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServiceIdentitiesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceIdentitiesTooManyRequests
- func (o *ListServiceIdentitiesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServiceIdentitiesURL
- func (o *ListServiceIdentitiesURL) Build() (*url.URL, error)
- func (o *ListServiceIdentitiesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListServiceIdentitiesURL) Must(u *url.URL, err error) *url.URL
- func (o *ListServiceIdentitiesURL) SetBasePath(bp string)
- func (o *ListServiceIdentitiesURL) String() string
- func (o *ListServiceIdentitiesURL) StringFull(scheme, host string) string
- func (o *ListServiceIdentitiesURL) WithBasePath(bp string) *ListServiceIdentitiesURL
- type ListServiceIdentitiesUnauthorized
- func (o *ListServiceIdentitiesUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServiceIdentitiesUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceIdentitiesUnauthorized
- func (o *ListServiceIdentitiesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServiceServiceEdgeRouterPolicies
- type ListServiceServiceEdgeRouterPoliciesBadRequest
- func (o *ListServiceServiceEdgeRouterPoliciesBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServiceServiceEdgeRouterPoliciesBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceServiceEdgeRouterPoliciesBadRequest
- func (o *ListServiceServiceEdgeRouterPoliciesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServiceServiceEdgeRouterPoliciesHandler
- type ListServiceServiceEdgeRouterPoliciesHandlerFunc
- type ListServiceServiceEdgeRouterPoliciesOK
- func (o *ListServiceServiceEdgeRouterPoliciesOK) SetPayload(payload *rest_model.ListServiceEdgeRouterPoliciesEnvelope)
- func (o *ListServiceServiceEdgeRouterPoliciesOK) WithPayload(payload *rest_model.ListServiceEdgeRouterPoliciesEnvelope) *ListServiceServiceEdgeRouterPoliciesOK
- func (o *ListServiceServiceEdgeRouterPoliciesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServiceServiceEdgeRouterPoliciesParams
- type ListServiceServiceEdgeRouterPoliciesTooManyRequests
- func (o *ListServiceServiceEdgeRouterPoliciesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServiceServiceEdgeRouterPoliciesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceServiceEdgeRouterPoliciesTooManyRequests
- func (o *ListServiceServiceEdgeRouterPoliciesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServiceServiceEdgeRouterPoliciesURL
- func (o *ListServiceServiceEdgeRouterPoliciesURL) Build() (*url.URL, error)
- func (o *ListServiceServiceEdgeRouterPoliciesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListServiceServiceEdgeRouterPoliciesURL) Must(u *url.URL, err error) *url.URL
- func (o *ListServiceServiceEdgeRouterPoliciesURL) SetBasePath(bp string)
- func (o *ListServiceServiceEdgeRouterPoliciesURL) String() string
- func (o *ListServiceServiceEdgeRouterPoliciesURL) StringFull(scheme, host string) string
- func (o *ListServiceServiceEdgeRouterPoliciesURL) WithBasePath(bp string) *ListServiceServiceEdgeRouterPoliciesURL
- type ListServiceServiceEdgeRouterPoliciesUnauthorized
- func (o *ListServiceServiceEdgeRouterPoliciesUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServiceServiceEdgeRouterPoliciesUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceServiceEdgeRouterPoliciesUnauthorized
- func (o *ListServiceServiceEdgeRouterPoliciesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServiceServicePolicies
- type ListServiceServicePoliciesBadRequest
- func (o *ListServiceServicePoliciesBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServiceServicePoliciesBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceServicePoliciesBadRequest
- func (o *ListServiceServicePoliciesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServiceServicePoliciesHandler
- type ListServiceServicePoliciesHandlerFunc
- type ListServiceServicePoliciesOK
- func (o *ListServiceServicePoliciesOK) SetPayload(payload *rest_model.ListServicePoliciesEnvelope)
- func (o *ListServiceServicePoliciesOK) WithPayload(payload *rest_model.ListServicePoliciesEnvelope) *ListServiceServicePoliciesOK
- func (o *ListServiceServicePoliciesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServiceServicePoliciesParams
- type ListServiceServicePoliciesTooManyRequests
- func (o *ListServiceServicePoliciesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServiceServicePoliciesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceServicePoliciesTooManyRequests
- func (o *ListServiceServicePoliciesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServiceServicePoliciesURL
- func (o *ListServiceServicePoliciesURL) Build() (*url.URL, error)
- func (o *ListServiceServicePoliciesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListServiceServicePoliciesURL) Must(u *url.URL, err error) *url.URL
- func (o *ListServiceServicePoliciesURL) SetBasePath(bp string)
- func (o *ListServiceServicePoliciesURL) String() string
- func (o *ListServiceServicePoliciesURL) StringFull(scheme, host string) string
- func (o *ListServiceServicePoliciesURL) WithBasePath(bp string) *ListServiceServicePoliciesURL
- type ListServiceServicePoliciesUnauthorized
- func (o *ListServiceServicePoliciesUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServiceServicePoliciesUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceServicePoliciesUnauthorized
- func (o *ListServiceServicePoliciesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServiceTerminators
- type ListServiceTerminatorsBadRequest
- func (o *ListServiceTerminatorsBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServiceTerminatorsBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceTerminatorsBadRequest
- func (o *ListServiceTerminatorsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServiceTerminatorsHandler
- type ListServiceTerminatorsHandlerFunc
- type ListServiceTerminatorsOK
- func (o *ListServiceTerminatorsOK) SetPayload(payload *rest_model.ListTerminatorsEnvelope)
- func (o *ListServiceTerminatorsOK) WithPayload(payload *rest_model.ListTerminatorsEnvelope) *ListServiceTerminatorsOK
- func (o *ListServiceTerminatorsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServiceTerminatorsParams
- type ListServiceTerminatorsTooManyRequests
- func (o *ListServiceTerminatorsTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServiceTerminatorsTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceTerminatorsTooManyRequests
- func (o *ListServiceTerminatorsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServiceTerminatorsURL
- func (o *ListServiceTerminatorsURL) Build() (*url.URL, error)
- func (o *ListServiceTerminatorsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListServiceTerminatorsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListServiceTerminatorsURL) SetBasePath(bp string)
- func (o *ListServiceTerminatorsURL) String() string
- func (o *ListServiceTerminatorsURL) StringFull(scheme, host string) string
- func (o *ListServiceTerminatorsURL) WithBasePath(bp string) *ListServiceTerminatorsURL
- type ListServiceTerminatorsUnauthorized
- func (o *ListServiceTerminatorsUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServiceTerminatorsUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceTerminatorsUnauthorized
- func (o *ListServiceTerminatorsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServices
- type ListServicesBadRequest
- type ListServicesHandler
- type ListServicesHandlerFunc
- type ListServicesOK
- type ListServicesParams
- type ListServicesTooManyRequests
- func (o *ListServicesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServicesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServicesTooManyRequests
- func (o *ListServicesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServicesURL
- func (o *ListServicesURL) Build() (*url.URL, error)
- func (o *ListServicesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListServicesURL) Must(u *url.URL, err error) *url.URL
- func (o *ListServicesURL) SetBasePath(bp string)
- func (o *ListServicesURL) String() string
- func (o *ListServicesURL) StringFull(scheme, host string) string
- func (o *ListServicesURL) WithBasePath(bp string) *ListServicesURL
- type ListServicesUnauthorized
- type PatchService
- type PatchServiceBadRequest
- type PatchServiceHandler
- type PatchServiceHandlerFunc
- type PatchServiceNotFound
- type PatchServiceOK
- type PatchServiceParams
- type PatchServiceTooManyRequests
- func (o *PatchServiceTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *PatchServiceTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchServiceTooManyRequests
- func (o *PatchServiceTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchServiceURL
- func (o *PatchServiceURL) Build() (*url.URL, error)
- func (o *PatchServiceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PatchServiceURL) Must(u *url.URL, err error) *url.URL
- func (o *PatchServiceURL) SetBasePath(bp string)
- func (o *PatchServiceURL) String() string
- func (o *PatchServiceURL) StringFull(scheme, host string) string
- func (o *PatchServiceURL) WithBasePath(bp string) *PatchServiceURL
- type PatchServiceUnauthorized
- type UpdateService
- type UpdateServiceBadRequest
- type UpdateServiceHandler
- type UpdateServiceHandlerFunc
- type UpdateServiceNotFound
- type UpdateServiceOK
- type UpdateServiceParams
- type UpdateServiceTooManyRequests
- func (o *UpdateServiceTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *UpdateServiceTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateServiceTooManyRequests
- func (o *UpdateServiceTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateServiceURL
- func (o *UpdateServiceURL) Build() (*url.URL, error)
- func (o *UpdateServiceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateServiceURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateServiceURL) SetBasePath(bp string)
- func (o *UpdateServiceURL) String() string
- func (o *UpdateServiceURL) StringFull(scheme, host string) string
- func (o *UpdateServiceURL) WithBasePath(bp string) *UpdateServiceURL
- type UpdateServiceUnauthorized
Constants ¶
const CreateServiceBadRequestCode int = 400
CreateServiceBadRequestCode is the HTTP code returned for type CreateServiceBadRequest
const CreateServiceCreatedCode int = 201
CreateServiceCreatedCode is the HTTP code returned for type CreateServiceCreated
const CreateServiceTooManyRequestsCode int = 429
CreateServiceTooManyRequestsCode is the HTTP code returned for type CreateServiceTooManyRequests
CreateServiceUnauthorizedCode is the HTTP code returned for type CreateServiceUnauthorized
const DeleteServiceBadRequestCode int = 400
DeleteServiceBadRequestCode is the HTTP code returned for type DeleteServiceBadRequest
const DeleteServiceConflictCode int = 409
DeleteServiceConflictCode is the HTTP code returned for type DeleteServiceConflict
const DeleteServiceOKCode int = 200
DeleteServiceOKCode is the HTTP code returned for type DeleteServiceOK
const DeleteServiceTooManyRequestsCode int = 429
DeleteServiceTooManyRequestsCode is the HTTP code returned for type DeleteServiceTooManyRequests
DeleteServiceUnauthorizedCode is the HTTP code returned for type DeleteServiceUnauthorized
const DetailServiceNotFoundCode int = 404
DetailServiceNotFoundCode is the HTTP code returned for type DetailServiceNotFound
const DetailServiceOKCode int = 200
DetailServiceOKCode is the HTTP code returned for type DetailServiceOK
const DetailServiceTooManyRequestsCode int = 429
DetailServiceTooManyRequestsCode is the HTTP code returned for type DetailServiceTooManyRequests
DetailServiceUnauthorizedCode is the HTTP code returned for type DetailServiceUnauthorized
const ListServiceConfigBadRequestCode int = 400
ListServiceConfigBadRequestCode is the HTTP code returned for type ListServiceConfigBadRequest
const ListServiceConfigOKCode int = 200
ListServiceConfigOKCode is the HTTP code returned for type ListServiceConfigOK
const ListServiceConfigTooManyRequestsCode int = 429
ListServiceConfigTooManyRequestsCode is the HTTP code returned for type ListServiceConfigTooManyRequests
ListServiceConfigUnauthorizedCode is the HTTP code returned for type ListServiceConfigUnauthorized
const ListServiceEdgeRoutersBadRequestCode int = 400
ListServiceEdgeRoutersBadRequestCode is the HTTP code returned for type ListServiceEdgeRoutersBadRequest
const ListServiceEdgeRoutersOKCode int = 200
ListServiceEdgeRoutersOKCode is the HTTP code returned for type ListServiceEdgeRoutersOK
const ListServiceEdgeRoutersTooManyRequestsCode int = 429
ListServiceEdgeRoutersTooManyRequestsCode is the HTTP code returned for type ListServiceEdgeRoutersTooManyRequests
ListServiceEdgeRoutersUnauthorizedCode is the HTTP code returned for type ListServiceEdgeRoutersUnauthorized
const ListServiceIdentitiesBadRequestCode int = 400
ListServiceIdentitiesBadRequestCode is the HTTP code returned for type ListServiceIdentitiesBadRequest
const ListServiceIdentitiesOKCode int = 200
ListServiceIdentitiesOKCode is the HTTP code returned for type ListServiceIdentitiesOK
const ListServiceIdentitiesTooManyRequestsCode int = 429
ListServiceIdentitiesTooManyRequestsCode is the HTTP code returned for type ListServiceIdentitiesTooManyRequests
ListServiceIdentitiesUnauthorizedCode is the HTTP code returned for type ListServiceIdentitiesUnauthorized
const ListServiceServiceEdgeRouterPoliciesBadRequestCode int = 400
ListServiceServiceEdgeRouterPoliciesBadRequestCode is the HTTP code returned for type ListServiceServiceEdgeRouterPoliciesBadRequest
const ListServiceServiceEdgeRouterPoliciesOKCode int = 200
ListServiceServiceEdgeRouterPoliciesOKCode is the HTTP code returned for type ListServiceServiceEdgeRouterPoliciesOK
const ListServiceServiceEdgeRouterPoliciesTooManyRequestsCode int = 429
ListServiceServiceEdgeRouterPoliciesTooManyRequestsCode is the HTTP code returned for type ListServiceServiceEdgeRouterPoliciesTooManyRequests
ListServiceServiceEdgeRouterPoliciesUnauthorizedCode is the HTTP code returned for type ListServiceServiceEdgeRouterPoliciesUnauthorized
const ListServiceServicePoliciesBadRequestCode int = 400
ListServiceServicePoliciesBadRequestCode is the HTTP code returned for type ListServiceServicePoliciesBadRequest
const ListServiceServicePoliciesOKCode int = 200
ListServiceServicePoliciesOKCode is the HTTP code returned for type ListServiceServicePoliciesOK
const ListServiceServicePoliciesTooManyRequestsCode int = 429
ListServiceServicePoliciesTooManyRequestsCode is the HTTP code returned for type ListServiceServicePoliciesTooManyRequests
ListServiceServicePoliciesUnauthorizedCode is the HTTP code returned for type ListServiceServicePoliciesUnauthorized
const ListServiceTerminatorsBadRequestCode int = 400
ListServiceTerminatorsBadRequestCode is the HTTP code returned for type ListServiceTerminatorsBadRequest
const ListServiceTerminatorsOKCode int = 200
ListServiceTerminatorsOKCode is the HTTP code returned for type ListServiceTerminatorsOK
const ListServiceTerminatorsTooManyRequestsCode int = 429
ListServiceTerminatorsTooManyRequestsCode is the HTTP code returned for type ListServiceTerminatorsTooManyRequests
ListServiceTerminatorsUnauthorizedCode is the HTTP code returned for type ListServiceTerminatorsUnauthorized
const ListServicesBadRequestCode int = 400
ListServicesBadRequestCode is the HTTP code returned for type ListServicesBadRequest
const ListServicesOKCode int = 200
ListServicesOKCode is the HTTP code returned for type ListServicesOK
const ListServicesTooManyRequestsCode int = 429
ListServicesTooManyRequestsCode is the HTTP code returned for type ListServicesTooManyRequests
ListServicesUnauthorizedCode is the HTTP code returned for type ListServicesUnauthorized
const PatchServiceBadRequestCode int = 400
PatchServiceBadRequestCode is the HTTP code returned for type PatchServiceBadRequest
const PatchServiceNotFoundCode int = 404
PatchServiceNotFoundCode is the HTTP code returned for type PatchServiceNotFound
const PatchServiceOKCode int = 200
PatchServiceOKCode is the HTTP code returned for type PatchServiceOK
const PatchServiceTooManyRequestsCode int = 429
PatchServiceTooManyRequestsCode is the HTTP code returned for type PatchServiceTooManyRequests
PatchServiceUnauthorizedCode is the HTTP code returned for type PatchServiceUnauthorized
const UpdateServiceBadRequestCode int = 400
UpdateServiceBadRequestCode is the HTTP code returned for type UpdateServiceBadRequest
const UpdateServiceNotFoundCode int = 404
UpdateServiceNotFoundCode is the HTTP code returned for type UpdateServiceNotFound
const UpdateServiceOKCode int = 200
UpdateServiceOKCode is the HTTP code returned for type UpdateServiceOK
const UpdateServiceTooManyRequestsCode int = 429
UpdateServiceTooManyRequestsCode is the HTTP code returned for type UpdateServiceTooManyRequests
UpdateServiceUnauthorizedCode is the HTTP code returned for type UpdateServiceUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateService ¶
type CreateService struct { Context *middleware.Context Handler CreateServiceHandler }
CreateService swagger:route POST /services Service createService
Create a services resource ¶
Create a services resource. Requires admin access.
func NewCreateService ¶
func NewCreateService(ctx *middleware.Context, handler CreateServiceHandler) *CreateService
NewCreateService creates a new http.Handler for the create service operation
func (*CreateService) ServeHTTP ¶
func (o *CreateService) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateServiceBadRequest ¶
type CreateServiceBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
CreateServiceBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response createServiceBadRequest
func NewCreateServiceBadRequest ¶
func NewCreateServiceBadRequest() *CreateServiceBadRequest
NewCreateServiceBadRequest creates CreateServiceBadRequest with default headers values
func (*CreateServiceBadRequest) SetPayload ¶
func (o *CreateServiceBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create service bad request response
func (*CreateServiceBadRequest) WithPayload ¶
func (o *CreateServiceBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateServiceBadRequest
WithPayload adds the payload to the create service bad request response
func (*CreateServiceBadRequest) WriteResponse ¶
func (o *CreateServiceBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateServiceCreated ¶
type CreateServiceCreated struct { /* In: Body */ Payload *rest_model.CreateEnvelope `json:"body,omitempty"` }
CreateServiceCreated The create request was successful and the resource has been added at the following location
swagger:response createServiceCreated
func NewCreateServiceCreated ¶
func NewCreateServiceCreated() *CreateServiceCreated
NewCreateServiceCreated creates CreateServiceCreated with default headers values
func (*CreateServiceCreated) SetPayload ¶
func (o *CreateServiceCreated) SetPayload(payload *rest_model.CreateEnvelope)
SetPayload sets the payload to the create service created response
func (*CreateServiceCreated) WithPayload ¶
func (o *CreateServiceCreated) WithPayload(payload *rest_model.CreateEnvelope) *CreateServiceCreated
WithPayload adds the payload to the create service created response
func (*CreateServiceCreated) WriteResponse ¶
func (o *CreateServiceCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateServiceHandler ¶
type CreateServiceHandler interface {
Handle(CreateServiceParams, interface{}) middleware.Responder
}
CreateServiceHandler interface for that can handle valid create service params
type CreateServiceHandlerFunc ¶
type CreateServiceHandlerFunc func(CreateServiceParams, interface{}) middleware.Responder
CreateServiceHandlerFunc turns a function with the right signature into a create service handler
func (CreateServiceHandlerFunc) Handle ¶
func (fn CreateServiceHandlerFunc) Handle(params CreateServiceParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type CreateServiceParams ¶
type CreateServiceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*A service to create Required: true In: body */ Service *rest_model.ServiceCreate }
CreateServiceParams contains all the bound params for the create service operation typically these are obtained from a http.Request
swagger:parameters createService
func NewCreateServiceParams ¶
func NewCreateServiceParams() CreateServiceParams
NewCreateServiceParams creates a new CreateServiceParams object
There are no default values defined in the spec.
func (*CreateServiceParams) BindRequest ¶
func (o *CreateServiceParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewCreateServiceParams() beforehand.
type CreateServiceTooManyRequests ¶ added in v0.26.0
type CreateServiceTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
CreateServiceTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response createServiceTooManyRequests
func NewCreateServiceTooManyRequests ¶ added in v0.26.0
func NewCreateServiceTooManyRequests() *CreateServiceTooManyRequests
NewCreateServiceTooManyRequests creates CreateServiceTooManyRequests with default headers values
func (*CreateServiceTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *CreateServiceTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create service too many requests response
func (*CreateServiceTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *CreateServiceTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateServiceTooManyRequests
WithPayload adds the payload to the create service too many requests response
func (*CreateServiceTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *CreateServiceTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateServiceURL ¶
type CreateServiceURL struct {
// contains filtered or unexported fields
}
CreateServiceURL generates an URL for the create service operation
func (*CreateServiceURL) Build ¶
func (o *CreateServiceURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateServiceURL) BuildFull ¶
func (o *CreateServiceURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateServiceURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateServiceURL) SetBasePath ¶
func (o *CreateServiceURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CreateServiceURL) String ¶
func (o *CreateServiceURL) String() string
String returns the string representation of the path with query string
func (*CreateServiceURL) StringFull ¶
func (o *CreateServiceURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateServiceURL) WithBasePath ¶
func (o *CreateServiceURL) WithBasePath(bp string) *CreateServiceURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type CreateServiceUnauthorized ¶
type CreateServiceUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
CreateServiceUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response createServiceUnauthorized
func NewCreateServiceUnauthorized ¶
func NewCreateServiceUnauthorized() *CreateServiceUnauthorized
NewCreateServiceUnauthorized creates CreateServiceUnauthorized with default headers values
func (*CreateServiceUnauthorized) SetPayload ¶
func (o *CreateServiceUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create service unauthorized response
func (*CreateServiceUnauthorized) WithPayload ¶
func (o *CreateServiceUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateServiceUnauthorized
WithPayload adds the payload to the create service unauthorized response
func (*CreateServiceUnauthorized) WriteResponse ¶
func (o *CreateServiceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteService ¶
type DeleteService struct { Context *middleware.Context Handler DeleteServiceHandler }
DeleteService swagger:route DELETE /services/{id} Service deleteService
Delete a service ¶
Delete a service by id. Requires admin access.
func NewDeleteService ¶
func NewDeleteService(ctx *middleware.Context, handler DeleteServiceHandler) *DeleteService
NewDeleteService creates a new http.Handler for the delete service operation
func (*DeleteService) ServeHTTP ¶
func (o *DeleteService) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteServiceBadRequest ¶
type DeleteServiceBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DeleteServiceBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response deleteServiceBadRequest
func NewDeleteServiceBadRequest ¶
func NewDeleteServiceBadRequest() *DeleteServiceBadRequest
NewDeleteServiceBadRequest creates DeleteServiceBadRequest with default headers values
func (*DeleteServiceBadRequest) SetPayload ¶
func (o *DeleteServiceBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete service bad request response
func (*DeleteServiceBadRequest) WithPayload ¶
func (o *DeleteServiceBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteServiceBadRequest
WithPayload adds the payload to the delete service bad request response
func (*DeleteServiceBadRequest) WriteResponse ¶
func (o *DeleteServiceBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceConflict ¶
type DeleteServiceConflict struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DeleteServiceConflict The resource requested to be removed/altered cannot be as it is referenced by another object.
swagger:response deleteServiceConflict
func NewDeleteServiceConflict ¶
func NewDeleteServiceConflict() *DeleteServiceConflict
NewDeleteServiceConflict creates DeleteServiceConflict with default headers values
func (*DeleteServiceConflict) SetPayload ¶
func (o *DeleteServiceConflict) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete service conflict response
func (*DeleteServiceConflict) WithPayload ¶
func (o *DeleteServiceConflict) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteServiceConflict
WithPayload adds the payload to the delete service conflict response
func (*DeleteServiceConflict) WriteResponse ¶
func (o *DeleteServiceConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceHandler ¶
type DeleteServiceHandler interface {
Handle(DeleteServiceParams, interface{}) middleware.Responder
}
DeleteServiceHandler interface for that can handle valid delete service params
type DeleteServiceHandlerFunc ¶
type DeleteServiceHandlerFunc func(DeleteServiceParams, interface{}) middleware.Responder
DeleteServiceHandlerFunc turns a function with the right signature into a delete service handler
func (DeleteServiceHandlerFunc) Handle ¶
func (fn DeleteServiceHandlerFunc) Handle(params DeleteServiceParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DeleteServiceOK ¶
type DeleteServiceOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
DeleteServiceOK The delete request was successful and the resource has been removed
swagger:response deleteServiceOK
func NewDeleteServiceOK ¶
func NewDeleteServiceOK() *DeleteServiceOK
NewDeleteServiceOK creates DeleteServiceOK with default headers values
func (*DeleteServiceOK) SetPayload ¶
func (o *DeleteServiceOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the delete service o k response
func (*DeleteServiceOK) WithPayload ¶
func (o *DeleteServiceOK) WithPayload(payload *rest_model.Empty) *DeleteServiceOK
WithPayload adds the payload to the delete service o k response
func (*DeleteServiceOK) WriteResponse ¶
func (o *DeleteServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceParams ¶
type DeleteServiceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string }
DeleteServiceParams contains all the bound params for the delete service operation typically these are obtained from a http.Request
swagger:parameters deleteService
func NewDeleteServiceParams ¶
func NewDeleteServiceParams() DeleteServiceParams
NewDeleteServiceParams creates a new DeleteServiceParams object
There are no default values defined in the spec.
func (*DeleteServiceParams) BindRequest ¶
func (o *DeleteServiceParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteServiceParams() beforehand.
type DeleteServiceTooManyRequests ¶ added in v0.26.0
type DeleteServiceTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DeleteServiceTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response deleteServiceTooManyRequests
func NewDeleteServiceTooManyRequests ¶ added in v0.26.0
func NewDeleteServiceTooManyRequests() *DeleteServiceTooManyRequests
NewDeleteServiceTooManyRequests creates DeleteServiceTooManyRequests with default headers values
func (*DeleteServiceTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *DeleteServiceTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete service too many requests response
func (*DeleteServiceTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *DeleteServiceTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteServiceTooManyRequests
WithPayload adds the payload to the delete service too many requests response
func (*DeleteServiceTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *DeleteServiceTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceURL ¶
type DeleteServiceURL struct { ID string // contains filtered or unexported fields }
DeleteServiceURL generates an URL for the delete service operation
func (*DeleteServiceURL) Build ¶
func (o *DeleteServiceURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteServiceURL) BuildFull ¶
func (o *DeleteServiceURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteServiceURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteServiceURL) SetBasePath ¶
func (o *DeleteServiceURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteServiceURL) String ¶
func (o *DeleteServiceURL) String() string
String returns the string representation of the path with query string
func (*DeleteServiceURL) StringFull ¶
func (o *DeleteServiceURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteServiceURL) WithBasePath ¶
func (o *DeleteServiceURL) WithBasePath(bp string) *DeleteServiceURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DeleteServiceUnauthorized ¶
type DeleteServiceUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
DeleteServiceUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response deleteServiceUnauthorized
func NewDeleteServiceUnauthorized ¶
func NewDeleteServiceUnauthorized() *DeleteServiceUnauthorized
NewDeleteServiceUnauthorized creates DeleteServiceUnauthorized with default headers values
func (*DeleteServiceUnauthorized) SetPayload ¶
func (o *DeleteServiceUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete service unauthorized response
func (*DeleteServiceUnauthorized) WithPayload ¶
func (o *DeleteServiceUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteServiceUnauthorized
WithPayload adds the payload to the delete service unauthorized response
func (*DeleteServiceUnauthorized) WriteResponse ¶
func (o *DeleteServiceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailService ¶
type DetailService struct { Context *middleware.Context Handler DetailServiceHandler }
DetailService swagger:route GET /services/{id} Service detailService
Retrieves a single service ¶
Retrieves a single service by id. Requires admin access.
func NewDetailService ¶
func NewDetailService(ctx *middleware.Context, handler DetailServiceHandler) *DetailService
NewDetailService creates a new http.Handler for the detail service operation
func (*DetailService) ServeHTTP ¶
func (o *DetailService) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DetailServiceHandler ¶
type DetailServiceHandler interface {
Handle(DetailServiceParams, interface{}) middleware.Responder
}
DetailServiceHandler interface for that can handle valid detail service params
type DetailServiceHandlerFunc ¶
type DetailServiceHandlerFunc func(DetailServiceParams, interface{}) middleware.Responder
DetailServiceHandlerFunc turns a function with the right signature into a detail service handler
func (DetailServiceHandlerFunc) Handle ¶
func (fn DetailServiceHandlerFunc) Handle(params DetailServiceParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DetailServiceNotFound ¶
type DetailServiceNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DetailServiceNotFound The requested resource does not exist
swagger:response detailServiceNotFound
func NewDetailServiceNotFound ¶
func NewDetailServiceNotFound() *DetailServiceNotFound
NewDetailServiceNotFound creates DetailServiceNotFound with default headers values
func (*DetailServiceNotFound) SetPayload ¶
func (o *DetailServiceNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail service not found response
func (*DetailServiceNotFound) WithPayload ¶
func (o *DetailServiceNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailServiceNotFound
WithPayload adds the payload to the detail service not found response
func (*DetailServiceNotFound) WriteResponse ¶
func (o *DetailServiceNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailServiceOK ¶
type DetailServiceOK struct { /* In: Body */ Payload *rest_model.DetailServiceEnvelope `json:"body,omitempty"` }
DetailServiceOK A single service
swagger:response detailServiceOK
func NewDetailServiceOK ¶
func NewDetailServiceOK() *DetailServiceOK
NewDetailServiceOK creates DetailServiceOK with default headers values
func (*DetailServiceOK) SetPayload ¶
func (o *DetailServiceOK) SetPayload(payload *rest_model.DetailServiceEnvelope)
SetPayload sets the payload to the detail service o k response
func (*DetailServiceOK) WithPayload ¶
func (o *DetailServiceOK) WithPayload(payload *rest_model.DetailServiceEnvelope) *DetailServiceOK
WithPayload adds the payload to the detail service o k response
func (*DetailServiceOK) WriteResponse ¶
func (o *DetailServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailServiceParams ¶
type DetailServiceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string }
DetailServiceParams contains all the bound params for the detail service operation typically these are obtained from a http.Request
swagger:parameters detailService
func NewDetailServiceParams ¶
func NewDetailServiceParams() DetailServiceParams
NewDetailServiceParams creates a new DetailServiceParams object
There are no default values defined in the spec.
func (*DetailServiceParams) BindRequest ¶
func (o *DetailServiceParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDetailServiceParams() beforehand.
type DetailServiceTooManyRequests ¶ added in v0.26.0
type DetailServiceTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DetailServiceTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response detailServiceTooManyRequests
func NewDetailServiceTooManyRequests ¶ added in v0.26.0
func NewDetailServiceTooManyRequests() *DetailServiceTooManyRequests
NewDetailServiceTooManyRequests creates DetailServiceTooManyRequests with default headers values
func (*DetailServiceTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *DetailServiceTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail service too many requests response
func (*DetailServiceTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *DetailServiceTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailServiceTooManyRequests
WithPayload adds the payload to the detail service too many requests response
func (*DetailServiceTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *DetailServiceTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailServiceURL ¶
type DetailServiceURL struct { ID string // contains filtered or unexported fields }
DetailServiceURL generates an URL for the detail service operation
func (*DetailServiceURL) Build ¶
func (o *DetailServiceURL) Build() (*url.URL, error)
Build a url path and query string
func (*DetailServiceURL) BuildFull ¶
func (o *DetailServiceURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DetailServiceURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DetailServiceURL) SetBasePath ¶
func (o *DetailServiceURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DetailServiceURL) String ¶
func (o *DetailServiceURL) String() string
String returns the string representation of the path with query string
func (*DetailServiceURL) StringFull ¶
func (o *DetailServiceURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DetailServiceURL) WithBasePath ¶
func (o *DetailServiceURL) WithBasePath(bp string) *DetailServiceURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DetailServiceUnauthorized ¶
type DetailServiceUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
DetailServiceUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response detailServiceUnauthorized
func NewDetailServiceUnauthorized ¶
func NewDetailServiceUnauthorized() *DetailServiceUnauthorized
NewDetailServiceUnauthorized creates DetailServiceUnauthorized with default headers values
func (*DetailServiceUnauthorized) SetPayload ¶
func (o *DetailServiceUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail service unauthorized response
func (*DetailServiceUnauthorized) WithPayload ¶
func (o *DetailServiceUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailServiceUnauthorized
WithPayload adds the payload to the detail service unauthorized response
func (*DetailServiceUnauthorized) WriteResponse ¶
func (o *DetailServiceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceConfig ¶
type ListServiceConfig struct { Context *middleware.Context Handler ListServiceConfigHandler }
ListServiceConfig swagger:route GET /services/{id}/configs Service listServiceConfig
List configs associated to a specific service ¶
Retrieves a list of config resources associated to a specific service; supports filtering, sorting, and pagination. Requires admin access.
func NewListServiceConfig ¶
func NewListServiceConfig(ctx *middleware.Context, handler ListServiceConfigHandler) *ListServiceConfig
NewListServiceConfig creates a new http.Handler for the list service config operation
func (*ListServiceConfig) ServeHTTP ¶
func (o *ListServiceConfig) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListServiceConfigBadRequest ¶
type ListServiceConfigBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListServiceConfigBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response listServiceConfigBadRequest
func NewListServiceConfigBadRequest ¶
func NewListServiceConfigBadRequest() *ListServiceConfigBadRequest
NewListServiceConfigBadRequest creates ListServiceConfigBadRequest with default headers values
func (*ListServiceConfigBadRequest) SetPayload ¶
func (o *ListServiceConfigBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list service config bad request response
func (*ListServiceConfigBadRequest) WithPayload ¶
func (o *ListServiceConfigBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceConfigBadRequest
WithPayload adds the payload to the list service config bad request response
func (*ListServiceConfigBadRequest) WriteResponse ¶
func (o *ListServiceConfigBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceConfigHandler ¶
type ListServiceConfigHandler interface {
Handle(ListServiceConfigParams, interface{}) middleware.Responder
}
ListServiceConfigHandler interface for that can handle valid list service config params
type ListServiceConfigHandlerFunc ¶
type ListServiceConfigHandlerFunc func(ListServiceConfigParams, interface{}) middleware.Responder
ListServiceConfigHandlerFunc turns a function with the right signature into a list service config handler
func (ListServiceConfigHandlerFunc) Handle ¶
func (fn ListServiceConfigHandlerFunc) Handle(params ListServiceConfigParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ListServiceConfigOK ¶
type ListServiceConfigOK struct { /* In: Body */ Payload *rest_model.ListConfigsEnvelope `json:"body,omitempty"` }
ListServiceConfigOK A list of configs
swagger:response listServiceConfigOK
func NewListServiceConfigOK ¶
func NewListServiceConfigOK() *ListServiceConfigOK
NewListServiceConfigOK creates ListServiceConfigOK with default headers values
func (*ListServiceConfigOK) SetPayload ¶
func (o *ListServiceConfigOK) SetPayload(payload *rest_model.ListConfigsEnvelope)
SetPayload sets the payload to the list service config o k response
func (*ListServiceConfigOK) WithPayload ¶
func (o *ListServiceConfigOK) WithPayload(payload *rest_model.ListConfigsEnvelope) *ListServiceConfigOK
WithPayload adds the payload to the list service config o k response
func (*ListServiceConfigOK) WriteResponse ¶
func (o *ListServiceConfigOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceConfigParams ¶
type ListServiceConfigParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Filter *string /*The id of the requested resource Required: true In: path */ ID string /* In: query */ Limit *int64 /* In: query */ Offset *int64 }
ListServiceConfigParams contains all the bound params for the list service config operation typically these are obtained from a http.Request
swagger:parameters listServiceConfig
func NewListServiceConfigParams ¶
func NewListServiceConfigParams() ListServiceConfigParams
NewListServiceConfigParams creates a new ListServiceConfigParams object
There are no default values defined in the spec.
func (*ListServiceConfigParams) BindRequest ¶
func (o *ListServiceConfigParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListServiceConfigParams() beforehand.
type ListServiceConfigTooManyRequests ¶ added in v0.26.0
type ListServiceConfigTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListServiceConfigTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response listServiceConfigTooManyRequests
func NewListServiceConfigTooManyRequests ¶ added in v0.26.0
func NewListServiceConfigTooManyRequests() *ListServiceConfigTooManyRequests
NewListServiceConfigTooManyRequests creates ListServiceConfigTooManyRequests with default headers values
func (*ListServiceConfigTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *ListServiceConfigTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list service config too many requests response
func (*ListServiceConfigTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *ListServiceConfigTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceConfigTooManyRequests
WithPayload adds the payload to the list service config too many requests response
func (*ListServiceConfigTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *ListServiceConfigTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceConfigURL ¶
type ListServiceConfigURL struct { ID string Filter *string Limit *int64 Offset *int64 // contains filtered or unexported fields }
ListServiceConfigURL generates an URL for the list service config operation
func (*ListServiceConfigURL) Build ¶
func (o *ListServiceConfigURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListServiceConfigURL) BuildFull ¶
func (o *ListServiceConfigURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListServiceConfigURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListServiceConfigURL) SetBasePath ¶
func (o *ListServiceConfigURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListServiceConfigURL) String ¶
func (o *ListServiceConfigURL) String() string
String returns the string representation of the path with query string
func (*ListServiceConfigURL) StringFull ¶
func (o *ListServiceConfigURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListServiceConfigURL) WithBasePath ¶
func (o *ListServiceConfigURL) WithBasePath(bp string) *ListServiceConfigURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListServiceConfigUnauthorized ¶
type ListServiceConfigUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ListServiceConfigUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response listServiceConfigUnauthorized
func NewListServiceConfigUnauthorized ¶
func NewListServiceConfigUnauthorized() *ListServiceConfigUnauthorized
NewListServiceConfigUnauthorized creates ListServiceConfigUnauthorized with default headers values
func (*ListServiceConfigUnauthorized) SetPayload ¶
func (o *ListServiceConfigUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list service config unauthorized response
func (*ListServiceConfigUnauthorized) WithPayload ¶
func (o *ListServiceConfigUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceConfigUnauthorized
WithPayload adds the payload to the list service config unauthorized response
func (*ListServiceConfigUnauthorized) WriteResponse ¶
func (o *ListServiceConfigUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceEdgeRouters ¶
type ListServiceEdgeRouters struct { Context *middleware.Context Handler ListServiceEdgeRoutersHandler }
ListServiceEdgeRouters swagger:route GET /services/{id}/edge-routers Service listServiceEdgeRouters
List accessible edge-routers ¶
Retrieves a list of edge-routers that may be used to access the given service. Supports filtering, sorting, and pagination. Requires admin access.
func NewListServiceEdgeRouters ¶
func NewListServiceEdgeRouters(ctx *middleware.Context, handler ListServiceEdgeRoutersHandler) *ListServiceEdgeRouters
NewListServiceEdgeRouters creates a new http.Handler for the list service edge routers operation
func (*ListServiceEdgeRouters) ServeHTTP ¶
func (o *ListServiceEdgeRouters) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListServiceEdgeRoutersBadRequest ¶
type ListServiceEdgeRoutersBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListServiceEdgeRoutersBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response listServiceEdgeRoutersBadRequest
func NewListServiceEdgeRoutersBadRequest ¶
func NewListServiceEdgeRoutersBadRequest() *ListServiceEdgeRoutersBadRequest
NewListServiceEdgeRoutersBadRequest creates ListServiceEdgeRoutersBadRequest with default headers values
func (*ListServiceEdgeRoutersBadRequest) SetPayload ¶
func (o *ListServiceEdgeRoutersBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list service edge routers bad request response
func (*ListServiceEdgeRoutersBadRequest) WithPayload ¶
func (o *ListServiceEdgeRoutersBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceEdgeRoutersBadRequest
WithPayload adds the payload to the list service edge routers bad request response
func (*ListServiceEdgeRoutersBadRequest) WriteResponse ¶
func (o *ListServiceEdgeRoutersBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceEdgeRoutersHandler ¶
type ListServiceEdgeRoutersHandler interface {
Handle(ListServiceEdgeRoutersParams, interface{}) middleware.Responder
}
ListServiceEdgeRoutersHandler interface for that can handle valid list service edge routers params
type ListServiceEdgeRoutersHandlerFunc ¶
type ListServiceEdgeRoutersHandlerFunc func(ListServiceEdgeRoutersParams, interface{}) middleware.Responder
ListServiceEdgeRoutersHandlerFunc turns a function with the right signature into a list service edge routers handler
func (ListServiceEdgeRoutersHandlerFunc) Handle ¶
func (fn ListServiceEdgeRoutersHandlerFunc) Handle(params ListServiceEdgeRoutersParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ListServiceEdgeRoutersOK ¶
type ListServiceEdgeRoutersOK struct { /* In: Body */ Payload *rest_model.ListEdgeRoutersEnvelope `json:"body,omitempty"` }
ListServiceEdgeRoutersOK A list of edge routers
swagger:response listServiceEdgeRoutersOK
func NewListServiceEdgeRoutersOK ¶
func NewListServiceEdgeRoutersOK() *ListServiceEdgeRoutersOK
NewListServiceEdgeRoutersOK creates ListServiceEdgeRoutersOK with default headers values
func (*ListServiceEdgeRoutersOK) SetPayload ¶
func (o *ListServiceEdgeRoutersOK) SetPayload(payload *rest_model.ListEdgeRoutersEnvelope)
SetPayload sets the payload to the list service edge routers o k response
func (*ListServiceEdgeRoutersOK) WithPayload ¶
func (o *ListServiceEdgeRoutersOK) WithPayload(payload *rest_model.ListEdgeRoutersEnvelope) *ListServiceEdgeRoutersOK
WithPayload adds the payload to the list service edge routers o k response
func (*ListServiceEdgeRoutersOK) WriteResponse ¶
func (o *ListServiceEdgeRoutersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceEdgeRoutersParams ¶
type ListServiceEdgeRoutersParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Filter *string /*The id of the requested resource Required: true In: path */ ID string /* In: query */ Limit *int64 /* In: query */ Offset *int64 }
ListServiceEdgeRoutersParams contains all the bound params for the list service edge routers operation typically these are obtained from a http.Request
swagger:parameters listServiceEdgeRouters
func NewListServiceEdgeRoutersParams ¶
func NewListServiceEdgeRoutersParams() ListServiceEdgeRoutersParams
NewListServiceEdgeRoutersParams creates a new ListServiceEdgeRoutersParams object
There are no default values defined in the spec.
func (*ListServiceEdgeRoutersParams) BindRequest ¶
func (o *ListServiceEdgeRoutersParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListServiceEdgeRoutersParams() beforehand.
type ListServiceEdgeRoutersTooManyRequests ¶ added in v0.26.0
type ListServiceEdgeRoutersTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListServiceEdgeRoutersTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response listServiceEdgeRoutersTooManyRequests
func NewListServiceEdgeRoutersTooManyRequests ¶ added in v0.26.0
func NewListServiceEdgeRoutersTooManyRequests() *ListServiceEdgeRoutersTooManyRequests
NewListServiceEdgeRoutersTooManyRequests creates ListServiceEdgeRoutersTooManyRequests with default headers values
func (*ListServiceEdgeRoutersTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *ListServiceEdgeRoutersTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list service edge routers too many requests response
func (*ListServiceEdgeRoutersTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *ListServiceEdgeRoutersTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceEdgeRoutersTooManyRequests
WithPayload adds the payload to the list service edge routers too many requests response
func (*ListServiceEdgeRoutersTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *ListServiceEdgeRoutersTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceEdgeRoutersURL ¶
type ListServiceEdgeRoutersURL struct { ID string Filter *string Limit *int64 Offset *int64 // contains filtered or unexported fields }
ListServiceEdgeRoutersURL generates an URL for the list service edge routers operation
func (*ListServiceEdgeRoutersURL) Build ¶
func (o *ListServiceEdgeRoutersURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListServiceEdgeRoutersURL) BuildFull ¶
func (o *ListServiceEdgeRoutersURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListServiceEdgeRoutersURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListServiceEdgeRoutersURL) SetBasePath ¶
func (o *ListServiceEdgeRoutersURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListServiceEdgeRoutersURL) String ¶
func (o *ListServiceEdgeRoutersURL) String() string
String returns the string representation of the path with query string
func (*ListServiceEdgeRoutersURL) StringFull ¶
func (o *ListServiceEdgeRoutersURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListServiceEdgeRoutersURL) WithBasePath ¶
func (o *ListServiceEdgeRoutersURL) WithBasePath(bp string) *ListServiceEdgeRoutersURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListServiceEdgeRoutersUnauthorized ¶
type ListServiceEdgeRoutersUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ListServiceEdgeRoutersUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response listServiceEdgeRoutersUnauthorized
func NewListServiceEdgeRoutersUnauthorized ¶
func NewListServiceEdgeRoutersUnauthorized() *ListServiceEdgeRoutersUnauthorized
NewListServiceEdgeRoutersUnauthorized creates ListServiceEdgeRoutersUnauthorized with default headers values
func (*ListServiceEdgeRoutersUnauthorized) SetPayload ¶
func (o *ListServiceEdgeRoutersUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list service edge routers unauthorized response
func (*ListServiceEdgeRoutersUnauthorized) WithPayload ¶
func (o *ListServiceEdgeRoutersUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceEdgeRoutersUnauthorized
WithPayload adds the payload to the list service edge routers unauthorized response
func (*ListServiceEdgeRoutersUnauthorized) WriteResponse ¶
func (o *ListServiceEdgeRoutersUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceIdentities ¶
type ListServiceIdentities struct { Context *middleware.Context Handler ListServiceIdentitiesHandler }
ListServiceIdentities swagger:route GET /services/{id}/identities Service listServiceIdentities
List identities with access ¶
Retrieves a list of identities that have access to this service. Supports filtering, sorting, and pagination. Requires admin access.
func NewListServiceIdentities ¶
func NewListServiceIdentities(ctx *middleware.Context, handler ListServiceIdentitiesHandler) *ListServiceIdentities
NewListServiceIdentities creates a new http.Handler for the list service identities operation
func (*ListServiceIdentities) ServeHTTP ¶
func (o *ListServiceIdentities) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListServiceIdentitiesBadRequest ¶
type ListServiceIdentitiesBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListServiceIdentitiesBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response listServiceIdentitiesBadRequest
func NewListServiceIdentitiesBadRequest ¶
func NewListServiceIdentitiesBadRequest() *ListServiceIdentitiesBadRequest
NewListServiceIdentitiesBadRequest creates ListServiceIdentitiesBadRequest with default headers values
func (*ListServiceIdentitiesBadRequest) SetPayload ¶
func (o *ListServiceIdentitiesBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list service identities bad request response
func (*ListServiceIdentitiesBadRequest) WithPayload ¶
func (o *ListServiceIdentitiesBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceIdentitiesBadRequest
WithPayload adds the payload to the list service identities bad request response
func (*ListServiceIdentitiesBadRequest) WriteResponse ¶
func (o *ListServiceIdentitiesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceIdentitiesHandler ¶
type ListServiceIdentitiesHandler interface {
Handle(ListServiceIdentitiesParams, interface{}) middleware.Responder
}
ListServiceIdentitiesHandler interface for that can handle valid list service identities params
type ListServiceIdentitiesHandlerFunc ¶
type ListServiceIdentitiesHandlerFunc func(ListServiceIdentitiesParams, interface{}) middleware.Responder
ListServiceIdentitiesHandlerFunc turns a function with the right signature into a list service identities handler
func (ListServiceIdentitiesHandlerFunc) Handle ¶
func (fn ListServiceIdentitiesHandlerFunc) Handle(params ListServiceIdentitiesParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ListServiceIdentitiesOK ¶
type ListServiceIdentitiesOK struct { /* In: Body */ Payload *rest_model.ListIdentitiesEnvelope `json:"body,omitempty"` }
ListServiceIdentitiesOK A list of identities
swagger:response listServiceIdentitiesOK
func NewListServiceIdentitiesOK ¶
func NewListServiceIdentitiesOK() *ListServiceIdentitiesOK
NewListServiceIdentitiesOK creates ListServiceIdentitiesOK with default headers values
func (*ListServiceIdentitiesOK) SetPayload ¶
func (o *ListServiceIdentitiesOK) SetPayload(payload *rest_model.ListIdentitiesEnvelope)
SetPayload sets the payload to the list service identities o k response
func (*ListServiceIdentitiesOK) WithPayload ¶
func (o *ListServiceIdentitiesOK) WithPayload(payload *rest_model.ListIdentitiesEnvelope) *ListServiceIdentitiesOK
WithPayload adds the payload to the list service identities o k response
func (*ListServiceIdentitiesOK) WriteResponse ¶
func (o *ListServiceIdentitiesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceIdentitiesParams ¶
type ListServiceIdentitiesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Filter *string /*The id of the requested resource Required: true In: path */ ID string /* In: query */ Limit *int64 /* In: query */ Offset *int64 }
ListServiceIdentitiesParams contains all the bound params for the list service identities operation typically these are obtained from a http.Request
swagger:parameters listServiceIdentities
func NewListServiceIdentitiesParams ¶
func NewListServiceIdentitiesParams() ListServiceIdentitiesParams
NewListServiceIdentitiesParams creates a new ListServiceIdentitiesParams object
There are no default values defined in the spec.
func (*ListServiceIdentitiesParams) BindRequest ¶
func (o *ListServiceIdentitiesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListServiceIdentitiesParams() beforehand.
type ListServiceIdentitiesTooManyRequests ¶ added in v0.26.0
type ListServiceIdentitiesTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListServiceIdentitiesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response listServiceIdentitiesTooManyRequests
func NewListServiceIdentitiesTooManyRequests ¶ added in v0.26.0
func NewListServiceIdentitiesTooManyRequests() *ListServiceIdentitiesTooManyRequests
NewListServiceIdentitiesTooManyRequests creates ListServiceIdentitiesTooManyRequests with default headers values
func (*ListServiceIdentitiesTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *ListServiceIdentitiesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list service identities too many requests response
func (*ListServiceIdentitiesTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *ListServiceIdentitiesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceIdentitiesTooManyRequests
WithPayload adds the payload to the list service identities too many requests response
func (*ListServiceIdentitiesTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *ListServiceIdentitiesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceIdentitiesURL ¶
type ListServiceIdentitiesURL struct { ID string Filter *string Limit *int64 Offset *int64 // contains filtered or unexported fields }
ListServiceIdentitiesURL generates an URL for the list service identities operation
func (*ListServiceIdentitiesURL) Build ¶
func (o *ListServiceIdentitiesURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListServiceIdentitiesURL) BuildFull ¶
func (o *ListServiceIdentitiesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListServiceIdentitiesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListServiceIdentitiesURL) SetBasePath ¶
func (o *ListServiceIdentitiesURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListServiceIdentitiesURL) String ¶
func (o *ListServiceIdentitiesURL) String() string
String returns the string representation of the path with query string
func (*ListServiceIdentitiesURL) StringFull ¶
func (o *ListServiceIdentitiesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListServiceIdentitiesURL) WithBasePath ¶
func (o *ListServiceIdentitiesURL) WithBasePath(bp string) *ListServiceIdentitiesURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListServiceIdentitiesUnauthorized ¶
type ListServiceIdentitiesUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ListServiceIdentitiesUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response listServiceIdentitiesUnauthorized
func NewListServiceIdentitiesUnauthorized ¶
func NewListServiceIdentitiesUnauthorized() *ListServiceIdentitiesUnauthorized
NewListServiceIdentitiesUnauthorized creates ListServiceIdentitiesUnauthorized with default headers values
func (*ListServiceIdentitiesUnauthorized) SetPayload ¶
func (o *ListServiceIdentitiesUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list service identities unauthorized response
func (*ListServiceIdentitiesUnauthorized) WithPayload ¶
func (o *ListServiceIdentitiesUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceIdentitiesUnauthorized
WithPayload adds the payload to the list service identities unauthorized response
func (*ListServiceIdentitiesUnauthorized) WriteResponse ¶
func (o *ListServiceIdentitiesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceServiceEdgeRouterPolicies ¶
type ListServiceServiceEdgeRouterPolicies struct { Context *middleware.Context Handler ListServiceServiceEdgeRouterPoliciesHandler }
ListServiceServiceEdgeRouterPolicies swagger:route GET /services/{id}/service-edge-router-policies Service listServiceServiceEdgeRouterPolicies
List service edge router policies that affect a specific service ¶
Retrieves a list of service edge router policy resources that affect a specific service; supports filtering, sorting, and pagination. Requires admin access.
func NewListServiceServiceEdgeRouterPolicies ¶
func NewListServiceServiceEdgeRouterPolicies(ctx *middleware.Context, handler ListServiceServiceEdgeRouterPoliciesHandler) *ListServiceServiceEdgeRouterPolicies
NewListServiceServiceEdgeRouterPolicies creates a new http.Handler for the list service service edge router policies operation
func (*ListServiceServiceEdgeRouterPolicies) ServeHTTP ¶
func (o *ListServiceServiceEdgeRouterPolicies) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListServiceServiceEdgeRouterPoliciesBadRequest ¶
type ListServiceServiceEdgeRouterPoliciesBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListServiceServiceEdgeRouterPoliciesBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response listServiceServiceEdgeRouterPoliciesBadRequest
func NewListServiceServiceEdgeRouterPoliciesBadRequest ¶
func NewListServiceServiceEdgeRouterPoliciesBadRequest() *ListServiceServiceEdgeRouterPoliciesBadRequest
NewListServiceServiceEdgeRouterPoliciesBadRequest creates ListServiceServiceEdgeRouterPoliciesBadRequest with default headers values
func (*ListServiceServiceEdgeRouterPoliciesBadRequest) SetPayload ¶
func (o *ListServiceServiceEdgeRouterPoliciesBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list service service edge router policies bad request response
func (*ListServiceServiceEdgeRouterPoliciesBadRequest) WithPayload ¶
func (o *ListServiceServiceEdgeRouterPoliciesBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceServiceEdgeRouterPoliciesBadRequest
WithPayload adds the payload to the list service service edge router policies bad request response
func (*ListServiceServiceEdgeRouterPoliciesBadRequest) WriteResponse ¶
func (o *ListServiceServiceEdgeRouterPoliciesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceServiceEdgeRouterPoliciesHandler ¶
type ListServiceServiceEdgeRouterPoliciesHandler interface {
Handle(ListServiceServiceEdgeRouterPoliciesParams, interface{}) middleware.Responder
}
ListServiceServiceEdgeRouterPoliciesHandler interface for that can handle valid list service service edge router policies params
type ListServiceServiceEdgeRouterPoliciesHandlerFunc ¶
type ListServiceServiceEdgeRouterPoliciesHandlerFunc func(ListServiceServiceEdgeRouterPoliciesParams, interface{}) middleware.Responder
ListServiceServiceEdgeRouterPoliciesHandlerFunc turns a function with the right signature into a list service service edge router policies handler
func (ListServiceServiceEdgeRouterPoliciesHandlerFunc) Handle ¶
func (fn ListServiceServiceEdgeRouterPoliciesHandlerFunc) Handle(params ListServiceServiceEdgeRouterPoliciesParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ListServiceServiceEdgeRouterPoliciesOK ¶
type ListServiceServiceEdgeRouterPoliciesOK struct { /* In: Body */ Payload *rest_model.ListServiceEdgeRouterPoliciesEnvelope `json:"body,omitempty"` }
ListServiceServiceEdgeRouterPoliciesOK A list of service edge router policies
swagger:response listServiceServiceEdgeRouterPoliciesOK
func NewListServiceServiceEdgeRouterPoliciesOK ¶
func NewListServiceServiceEdgeRouterPoliciesOK() *ListServiceServiceEdgeRouterPoliciesOK
NewListServiceServiceEdgeRouterPoliciesOK creates ListServiceServiceEdgeRouterPoliciesOK with default headers values
func (*ListServiceServiceEdgeRouterPoliciesOK) SetPayload ¶
func (o *ListServiceServiceEdgeRouterPoliciesOK) SetPayload(payload *rest_model.ListServiceEdgeRouterPoliciesEnvelope)
SetPayload sets the payload to the list service service edge router policies o k response
func (*ListServiceServiceEdgeRouterPoliciesOK) WithPayload ¶
func (o *ListServiceServiceEdgeRouterPoliciesOK) WithPayload(payload *rest_model.ListServiceEdgeRouterPoliciesEnvelope) *ListServiceServiceEdgeRouterPoliciesOK
WithPayload adds the payload to the list service service edge router policies o k response
func (*ListServiceServiceEdgeRouterPoliciesOK) WriteResponse ¶
func (o *ListServiceServiceEdgeRouterPoliciesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceServiceEdgeRouterPoliciesParams ¶
type ListServiceServiceEdgeRouterPoliciesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Filter *string /*The id of the requested resource Required: true In: path */ ID string /* In: query */ Limit *int64 /* In: query */ Offset *int64 }
ListServiceServiceEdgeRouterPoliciesParams contains all the bound params for the list service service edge router policies operation typically these are obtained from a http.Request
swagger:parameters listServiceServiceEdgeRouterPolicies
func NewListServiceServiceEdgeRouterPoliciesParams ¶
func NewListServiceServiceEdgeRouterPoliciesParams() ListServiceServiceEdgeRouterPoliciesParams
NewListServiceServiceEdgeRouterPoliciesParams creates a new ListServiceServiceEdgeRouterPoliciesParams object
There are no default values defined in the spec.
func (*ListServiceServiceEdgeRouterPoliciesParams) BindRequest ¶
func (o *ListServiceServiceEdgeRouterPoliciesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListServiceServiceEdgeRouterPoliciesParams() beforehand.
type ListServiceServiceEdgeRouterPoliciesTooManyRequests ¶ added in v0.26.0
type ListServiceServiceEdgeRouterPoliciesTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListServiceServiceEdgeRouterPoliciesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response listServiceServiceEdgeRouterPoliciesTooManyRequests
func NewListServiceServiceEdgeRouterPoliciesTooManyRequests ¶ added in v0.26.0
func NewListServiceServiceEdgeRouterPoliciesTooManyRequests() *ListServiceServiceEdgeRouterPoliciesTooManyRequests
NewListServiceServiceEdgeRouterPoliciesTooManyRequests creates ListServiceServiceEdgeRouterPoliciesTooManyRequests with default headers values
func (*ListServiceServiceEdgeRouterPoliciesTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *ListServiceServiceEdgeRouterPoliciesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list service service edge router policies too many requests response
func (*ListServiceServiceEdgeRouterPoliciesTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *ListServiceServiceEdgeRouterPoliciesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceServiceEdgeRouterPoliciesTooManyRequests
WithPayload adds the payload to the list service service edge router policies too many requests response
func (*ListServiceServiceEdgeRouterPoliciesTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *ListServiceServiceEdgeRouterPoliciesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceServiceEdgeRouterPoliciesURL ¶
type ListServiceServiceEdgeRouterPoliciesURL struct { ID string Filter *string Limit *int64 Offset *int64 // contains filtered or unexported fields }
ListServiceServiceEdgeRouterPoliciesURL generates an URL for the list service service edge router policies operation
func (*ListServiceServiceEdgeRouterPoliciesURL) Build ¶
func (o *ListServiceServiceEdgeRouterPoliciesURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListServiceServiceEdgeRouterPoliciesURL) BuildFull ¶
func (o *ListServiceServiceEdgeRouterPoliciesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListServiceServiceEdgeRouterPoliciesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListServiceServiceEdgeRouterPoliciesURL) SetBasePath ¶
func (o *ListServiceServiceEdgeRouterPoliciesURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListServiceServiceEdgeRouterPoliciesURL) String ¶
func (o *ListServiceServiceEdgeRouterPoliciesURL) String() string
String returns the string representation of the path with query string
func (*ListServiceServiceEdgeRouterPoliciesURL) StringFull ¶
func (o *ListServiceServiceEdgeRouterPoliciesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListServiceServiceEdgeRouterPoliciesURL) WithBasePath ¶
func (o *ListServiceServiceEdgeRouterPoliciesURL) WithBasePath(bp string) *ListServiceServiceEdgeRouterPoliciesURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListServiceServiceEdgeRouterPoliciesUnauthorized ¶
type ListServiceServiceEdgeRouterPoliciesUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ListServiceServiceEdgeRouterPoliciesUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response listServiceServiceEdgeRouterPoliciesUnauthorized
func NewListServiceServiceEdgeRouterPoliciesUnauthorized ¶
func NewListServiceServiceEdgeRouterPoliciesUnauthorized() *ListServiceServiceEdgeRouterPoliciesUnauthorized
NewListServiceServiceEdgeRouterPoliciesUnauthorized creates ListServiceServiceEdgeRouterPoliciesUnauthorized with default headers values
func (*ListServiceServiceEdgeRouterPoliciesUnauthorized) SetPayload ¶
func (o *ListServiceServiceEdgeRouterPoliciesUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list service service edge router policies unauthorized response
func (*ListServiceServiceEdgeRouterPoliciesUnauthorized) WithPayload ¶
func (o *ListServiceServiceEdgeRouterPoliciesUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceServiceEdgeRouterPoliciesUnauthorized
WithPayload adds the payload to the list service service edge router policies unauthorized response
func (*ListServiceServiceEdgeRouterPoliciesUnauthorized) WriteResponse ¶
func (o *ListServiceServiceEdgeRouterPoliciesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceServicePolicies ¶
type ListServiceServicePolicies struct { Context *middleware.Context Handler ListServiceServicePoliciesHandler }
ListServiceServicePolicies swagger:route GET /services/{id}/service-policies Service listServiceServicePolicies
List service policies that affect a specific service ¶
Retrieves a list of service policy resources that affect specific service; supports filtering, sorting, and pagination. Requires admin access.
func NewListServiceServicePolicies ¶
func NewListServiceServicePolicies(ctx *middleware.Context, handler ListServiceServicePoliciesHandler) *ListServiceServicePolicies
NewListServiceServicePolicies creates a new http.Handler for the list service service policies operation
func (*ListServiceServicePolicies) ServeHTTP ¶
func (o *ListServiceServicePolicies) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListServiceServicePoliciesBadRequest ¶
type ListServiceServicePoliciesBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListServiceServicePoliciesBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response listServiceServicePoliciesBadRequest
func NewListServiceServicePoliciesBadRequest ¶
func NewListServiceServicePoliciesBadRequest() *ListServiceServicePoliciesBadRequest
NewListServiceServicePoliciesBadRequest creates ListServiceServicePoliciesBadRequest with default headers values
func (*ListServiceServicePoliciesBadRequest) SetPayload ¶
func (o *ListServiceServicePoliciesBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list service service policies bad request response
func (*ListServiceServicePoliciesBadRequest) WithPayload ¶
func (o *ListServiceServicePoliciesBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceServicePoliciesBadRequest
WithPayload adds the payload to the list service service policies bad request response
func (*ListServiceServicePoliciesBadRequest) WriteResponse ¶
func (o *ListServiceServicePoliciesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceServicePoliciesHandler ¶
type ListServiceServicePoliciesHandler interface {
Handle(ListServiceServicePoliciesParams, interface{}) middleware.Responder
}
ListServiceServicePoliciesHandler interface for that can handle valid list service service policies params
type ListServiceServicePoliciesHandlerFunc ¶
type ListServiceServicePoliciesHandlerFunc func(ListServiceServicePoliciesParams, interface{}) middleware.Responder
ListServiceServicePoliciesHandlerFunc turns a function with the right signature into a list service service policies handler
func (ListServiceServicePoliciesHandlerFunc) Handle ¶
func (fn ListServiceServicePoliciesHandlerFunc) Handle(params ListServiceServicePoliciesParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ListServiceServicePoliciesOK ¶
type ListServiceServicePoliciesOK struct { /* In: Body */ Payload *rest_model.ListServicePoliciesEnvelope `json:"body,omitempty"` }
ListServiceServicePoliciesOK A list of service policies
swagger:response listServiceServicePoliciesOK
func NewListServiceServicePoliciesOK ¶
func NewListServiceServicePoliciesOK() *ListServiceServicePoliciesOK
NewListServiceServicePoliciesOK creates ListServiceServicePoliciesOK with default headers values
func (*ListServiceServicePoliciesOK) SetPayload ¶
func (o *ListServiceServicePoliciesOK) SetPayload(payload *rest_model.ListServicePoliciesEnvelope)
SetPayload sets the payload to the list service service policies o k response
func (*ListServiceServicePoliciesOK) WithPayload ¶
func (o *ListServiceServicePoliciesOK) WithPayload(payload *rest_model.ListServicePoliciesEnvelope) *ListServiceServicePoliciesOK
WithPayload adds the payload to the list service service policies o k response
func (*ListServiceServicePoliciesOK) WriteResponse ¶
func (o *ListServiceServicePoliciesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceServicePoliciesParams ¶
type ListServiceServicePoliciesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Filter *string /*The id of the requested resource Required: true In: path */ ID string /* In: query */ Limit *int64 /* In: query */ Offset *int64 }
ListServiceServicePoliciesParams contains all the bound params for the list service service policies operation typically these are obtained from a http.Request
swagger:parameters listServiceServicePolicies
func NewListServiceServicePoliciesParams ¶
func NewListServiceServicePoliciesParams() ListServiceServicePoliciesParams
NewListServiceServicePoliciesParams creates a new ListServiceServicePoliciesParams object
There are no default values defined in the spec.
func (*ListServiceServicePoliciesParams) BindRequest ¶
func (o *ListServiceServicePoliciesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListServiceServicePoliciesParams() beforehand.
type ListServiceServicePoliciesTooManyRequests ¶ added in v0.26.0
type ListServiceServicePoliciesTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListServiceServicePoliciesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response listServiceServicePoliciesTooManyRequests
func NewListServiceServicePoliciesTooManyRequests ¶ added in v0.26.0
func NewListServiceServicePoliciesTooManyRequests() *ListServiceServicePoliciesTooManyRequests
NewListServiceServicePoliciesTooManyRequests creates ListServiceServicePoliciesTooManyRequests with default headers values
func (*ListServiceServicePoliciesTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *ListServiceServicePoliciesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list service service policies too many requests response
func (*ListServiceServicePoliciesTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *ListServiceServicePoliciesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceServicePoliciesTooManyRequests
WithPayload adds the payload to the list service service policies too many requests response
func (*ListServiceServicePoliciesTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *ListServiceServicePoliciesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceServicePoliciesURL ¶
type ListServiceServicePoliciesURL struct { ID string Filter *string Limit *int64 Offset *int64 // contains filtered or unexported fields }
ListServiceServicePoliciesURL generates an URL for the list service service policies operation
func (*ListServiceServicePoliciesURL) Build ¶
func (o *ListServiceServicePoliciesURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListServiceServicePoliciesURL) BuildFull ¶
func (o *ListServiceServicePoliciesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListServiceServicePoliciesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListServiceServicePoliciesURL) SetBasePath ¶
func (o *ListServiceServicePoliciesURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListServiceServicePoliciesURL) String ¶
func (o *ListServiceServicePoliciesURL) String() string
String returns the string representation of the path with query string
func (*ListServiceServicePoliciesURL) StringFull ¶
func (o *ListServiceServicePoliciesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListServiceServicePoliciesURL) WithBasePath ¶
func (o *ListServiceServicePoliciesURL) WithBasePath(bp string) *ListServiceServicePoliciesURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListServiceServicePoliciesUnauthorized ¶
type ListServiceServicePoliciesUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ListServiceServicePoliciesUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response listServiceServicePoliciesUnauthorized
func NewListServiceServicePoliciesUnauthorized ¶
func NewListServiceServicePoliciesUnauthorized() *ListServiceServicePoliciesUnauthorized
NewListServiceServicePoliciesUnauthorized creates ListServiceServicePoliciesUnauthorized with default headers values
func (*ListServiceServicePoliciesUnauthorized) SetPayload ¶
func (o *ListServiceServicePoliciesUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list service service policies unauthorized response
func (*ListServiceServicePoliciesUnauthorized) WithPayload ¶
func (o *ListServiceServicePoliciesUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceServicePoliciesUnauthorized
WithPayload adds the payload to the list service service policies unauthorized response
func (*ListServiceServicePoliciesUnauthorized) WriteResponse ¶
func (o *ListServiceServicePoliciesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceTerminators ¶
type ListServiceTerminators struct { Context *middleware.Context Handler ListServiceTerminatorsHandler }
ListServiceTerminators swagger:route GET /services/{id}/terminators Service listServiceTerminators
List of terminators assigned to a service ¶
Retrieves a list of terminator resources that are assigned specific service; supports filtering, sorting, and pagination.
func NewListServiceTerminators ¶
func NewListServiceTerminators(ctx *middleware.Context, handler ListServiceTerminatorsHandler) *ListServiceTerminators
NewListServiceTerminators creates a new http.Handler for the list service terminators operation
func (*ListServiceTerminators) ServeHTTP ¶
func (o *ListServiceTerminators) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListServiceTerminatorsBadRequest ¶
type ListServiceTerminatorsBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListServiceTerminatorsBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response listServiceTerminatorsBadRequest
func NewListServiceTerminatorsBadRequest ¶
func NewListServiceTerminatorsBadRequest() *ListServiceTerminatorsBadRequest
NewListServiceTerminatorsBadRequest creates ListServiceTerminatorsBadRequest with default headers values
func (*ListServiceTerminatorsBadRequest) SetPayload ¶
func (o *ListServiceTerminatorsBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list service terminators bad request response
func (*ListServiceTerminatorsBadRequest) WithPayload ¶
func (o *ListServiceTerminatorsBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceTerminatorsBadRequest
WithPayload adds the payload to the list service terminators bad request response
func (*ListServiceTerminatorsBadRequest) WriteResponse ¶
func (o *ListServiceTerminatorsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceTerminatorsHandler ¶
type ListServiceTerminatorsHandler interface {
Handle(ListServiceTerminatorsParams, interface{}) middleware.Responder
}
ListServiceTerminatorsHandler interface for that can handle valid list service terminators params
type ListServiceTerminatorsHandlerFunc ¶
type ListServiceTerminatorsHandlerFunc func(ListServiceTerminatorsParams, interface{}) middleware.Responder
ListServiceTerminatorsHandlerFunc turns a function with the right signature into a list service terminators handler
func (ListServiceTerminatorsHandlerFunc) Handle ¶
func (fn ListServiceTerminatorsHandlerFunc) Handle(params ListServiceTerminatorsParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ListServiceTerminatorsOK ¶
type ListServiceTerminatorsOK struct { /* In: Body */ Payload *rest_model.ListTerminatorsEnvelope `json:"body,omitempty"` }
ListServiceTerminatorsOK A list of terminators
swagger:response listServiceTerminatorsOK
func NewListServiceTerminatorsOK ¶
func NewListServiceTerminatorsOK() *ListServiceTerminatorsOK
NewListServiceTerminatorsOK creates ListServiceTerminatorsOK with default headers values
func (*ListServiceTerminatorsOK) SetPayload ¶
func (o *ListServiceTerminatorsOK) SetPayload(payload *rest_model.ListTerminatorsEnvelope)
SetPayload sets the payload to the list service terminators o k response
func (*ListServiceTerminatorsOK) WithPayload ¶
func (o *ListServiceTerminatorsOK) WithPayload(payload *rest_model.ListTerminatorsEnvelope) *ListServiceTerminatorsOK
WithPayload adds the payload to the list service terminators o k response
func (*ListServiceTerminatorsOK) WriteResponse ¶
func (o *ListServiceTerminatorsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceTerminatorsParams ¶
type ListServiceTerminatorsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Filter *string /*The id of the requested resource Required: true In: path */ ID string /* In: query */ Limit *int64 /* In: query */ Offset *int64 }
ListServiceTerminatorsParams contains all the bound params for the list service terminators operation typically these are obtained from a http.Request
swagger:parameters listServiceTerminators
func NewListServiceTerminatorsParams ¶
func NewListServiceTerminatorsParams() ListServiceTerminatorsParams
NewListServiceTerminatorsParams creates a new ListServiceTerminatorsParams object
There are no default values defined in the spec.
func (*ListServiceTerminatorsParams) BindRequest ¶
func (o *ListServiceTerminatorsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListServiceTerminatorsParams() beforehand.
type ListServiceTerminatorsTooManyRequests ¶ added in v0.26.0
type ListServiceTerminatorsTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListServiceTerminatorsTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response listServiceTerminatorsTooManyRequests
func NewListServiceTerminatorsTooManyRequests ¶ added in v0.26.0
func NewListServiceTerminatorsTooManyRequests() *ListServiceTerminatorsTooManyRequests
NewListServiceTerminatorsTooManyRequests creates ListServiceTerminatorsTooManyRequests with default headers values
func (*ListServiceTerminatorsTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *ListServiceTerminatorsTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list service terminators too many requests response
func (*ListServiceTerminatorsTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *ListServiceTerminatorsTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceTerminatorsTooManyRequests
WithPayload adds the payload to the list service terminators too many requests response
func (*ListServiceTerminatorsTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *ListServiceTerminatorsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceTerminatorsURL ¶
type ListServiceTerminatorsURL struct { ID string Filter *string Limit *int64 Offset *int64 // contains filtered or unexported fields }
ListServiceTerminatorsURL generates an URL for the list service terminators operation
func (*ListServiceTerminatorsURL) Build ¶
func (o *ListServiceTerminatorsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListServiceTerminatorsURL) BuildFull ¶
func (o *ListServiceTerminatorsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListServiceTerminatorsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListServiceTerminatorsURL) SetBasePath ¶
func (o *ListServiceTerminatorsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListServiceTerminatorsURL) String ¶
func (o *ListServiceTerminatorsURL) String() string
String returns the string representation of the path with query string
func (*ListServiceTerminatorsURL) StringFull ¶
func (o *ListServiceTerminatorsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListServiceTerminatorsURL) WithBasePath ¶
func (o *ListServiceTerminatorsURL) WithBasePath(bp string) *ListServiceTerminatorsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListServiceTerminatorsUnauthorized ¶
type ListServiceTerminatorsUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ListServiceTerminatorsUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response listServiceTerminatorsUnauthorized
func NewListServiceTerminatorsUnauthorized ¶
func NewListServiceTerminatorsUnauthorized() *ListServiceTerminatorsUnauthorized
NewListServiceTerminatorsUnauthorized creates ListServiceTerminatorsUnauthorized with default headers values
func (*ListServiceTerminatorsUnauthorized) SetPayload ¶
func (o *ListServiceTerminatorsUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list service terminators unauthorized response
func (*ListServiceTerminatorsUnauthorized) WithPayload ¶
func (o *ListServiceTerminatorsUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceTerminatorsUnauthorized
WithPayload adds the payload to the list service terminators unauthorized response
func (*ListServiceTerminatorsUnauthorized) WriteResponse ¶
func (o *ListServiceTerminatorsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServices ¶
type ListServices struct { Context *middleware.Context Handler ListServicesHandler }
ListServices swagger:route GET /services Service listServices
List services ¶
Retrieves a list of config resources; supports filtering, sorting, and pagination. Requires admin access.
func NewListServices ¶
func NewListServices(ctx *middleware.Context, handler ListServicesHandler) *ListServices
NewListServices creates a new http.Handler for the list services operation
func (*ListServices) ServeHTTP ¶
func (o *ListServices) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListServicesBadRequest ¶
type ListServicesBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListServicesBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response listServicesBadRequest
func NewListServicesBadRequest ¶
func NewListServicesBadRequest() *ListServicesBadRequest
NewListServicesBadRequest creates ListServicesBadRequest with default headers values
func (*ListServicesBadRequest) SetPayload ¶
func (o *ListServicesBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list services bad request response
func (*ListServicesBadRequest) WithPayload ¶
func (o *ListServicesBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServicesBadRequest
WithPayload adds the payload to the list services bad request response
func (*ListServicesBadRequest) WriteResponse ¶
func (o *ListServicesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServicesHandler ¶
type ListServicesHandler interface {
Handle(ListServicesParams, interface{}) middleware.Responder
}
ListServicesHandler interface for that can handle valid list services params
type ListServicesHandlerFunc ¶
type ListServicesHandlerFunc func(ListServicesParams, interface{}) middleware.Responder
ListServicesHandlerFunc turns a function with the right signature into a list services handler
func (ListServicesHandlerFunc) Handle ¶
func (fn ListServicesHandlerFunc) Handle(params ListServicesParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ListServicesOK ¶
type ListServicesOK struct { /* In: Body */ Payload *rest_model.ListServicesEnvelope `json:"body,omitempty"` }
ListServicesOK A list of services
swagger:response listServicesOK
func NewListServicesOK ¶
func NewListServicesOK() *ListServicesOK
NewListServicesOK creates ListServicesOK with default headers values
func (*ListServicesOK) SetPayload ¶
func (o *ListServicesOK) SetPayload(payload *rest_model.ListServicesEnvelope)
SetPayload sets the payload to the list services o k response
func (*ListServicesOK) WithPayload ¶
func (o *ListServicesOK) WithPayload(payload *rest_model.ListServicesEnvelope) *ListServicesOK
WithPayload adds the payload to the list services o k response
func (*ListServicesOK) WriteResponse ¶
func (o *ListServicesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServicesParams ¶
type ListServicesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Filter *string /* In: query */ Limit *int64 /* In: query */ Offset *int64 /* In: query Collection Format: multi */ RoleFilter []string /* In: query */ RoleSemantic *string }
ListServicesParams contains all the bound params for the list services operation typically these are obtained from a http.Request
swagger:parameters listServices
func NewListServicesParams ¶
func NewListServicesParams() ListServicesParams
NewListServicesParams creates a new ListServicesParams object
There are no default values defined in the spec.
func (*ListServicesParams) BindRequest ¶
func (o *ListServicesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListServicesParams() beforehand.
type ListServicesTooManyRequests ¶ added in v0.26.0
type ListServicesTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListServicesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response listServicesTooManyRequests
func NewListServicesTooManyRequests ¶ added in v0.26.0
func NewListServicesTooManyRequests() *ListServicesTooManyRequests
NewListServicesTooManyRequests creates ListServicesTooManyRequests with default headers values
func (*ListServicesTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *ListServicesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list services too many requests response
func (*ListServicesTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *ListServicesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServicesTooManyRequests
WithPayload adds the payload to the list services too many requests response
func (*ListServicesTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *ListServicesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServicesURL ¶
type ListServicesURL struct { Filter *string Limit *int64 Offset *int64 RoleFilter []string RoleSemantic *string // contains filtered or unexported fields }
ListServicesURL generates an URL for the list services operation
func (*ListServicesURL) Build ¶
func (o *ListServicesURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListServicesURL) BuildFull ¶
func (o *ListServicesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListServicesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListServicesURL) SetBasePath ¶
func (o *ListServicesURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListServicesURL) String ¶
func (o *ListServicesURL) String() string
String returns the string representation of the path with query string
func (*ListServicesURL) StringFull ¶
func (o *ListServicesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListServicesURL) WithBasePath ¶
func (o *ListServicesURL) WithBasePath(bp string) *ListServicesURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListServicesUnauthorized ¶
type ListServicesUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ListServicesUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response listServicesUnauthorized
func NewListServicesUnauthorized ¶
func NewListServicesUnauthorized() *ListServicesUnauthorized
NewListServicesUnauthorized creates ListServicesUnauthorized with default headers values
func (*ListServicesUnauthorized) SetPayload ¶
func (o *ListServicesUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list services unauthorized response
func (*ListServicesUnauthorized) WithPayload ¶
func (o *ListServicesUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServicesUnauthorized
WithPayload adds the payload to the list services unauthorized response
func (*ListServicesUnauthorized) WriteResponse ¶
func (o *ListServicesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchService ¶
type PatchService struct { Context *middleware.Context Handler PatchServiceHandler }
PatchService swagger:route PATCH /services/{id} Service patchService
Update the supplied fields on a service ¶
Update the supplied fields on a service. Requires admin access.
func NewPatchService ¶
func NewPatchService(ctx *middleware.Context, handler PatchServiceHandler) *PatchService
NewPatchService creates a new http.Handler for the patch service operation
func (*PatchService) ServeHTTP ¶
func (o *PatchService) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PatchServiceBadRequest ¶
type PatchServiceBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
PatchServiceBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response patchServiceBadRequest
func NewPatchServiceBadRequest ¶
func NewPatchServiceBadRequest() *PatchServiceBadRequest
NewPatchServiceBadRequest creates PatchServiceBadRequest with default headers values
func (*PatchServiceBadRequest) SetPayload ¶
func (o *PatchServiceBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch service bad request response
func (*PatchServiceBadRequest) WithPayload ¶
func (o *PatchServiceBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchServiceBadRequest
WithPayload adds the payload to the patch service bad request response
func (*PatchServiceBadRequest) WriteResponse ¶
func (o *PatchServiceBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchServiceHandler ¶
type PatchServiceHandler interface {
Handle(PatchServiceParams, interface{}) middleware.Responder
}
PatchServiceHandler interface for that can handle valid patch service params
type PatchServiceHandlerFunc ¶
type PatchServiceHandlerFunc func(PatchServiceParams, interface{}) middleware.Responder
PatchServiceHandlerFunc turns a function with the right signature into a patch service handler
func (PatchServiceHandlerFunc) Handle ¶
func (fn PatchServiceHandlerFunc) Handle(params PatchServiceParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type PatchServiceNotFound ¶
type PatchServiceNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
PatchServiceNotFound The requested resource does not exist
swagger:response patchServiceNotFound
func NewPatchServiceNotFound ¶
func NewPatchServiceNotFound() *PatchServiceNotFound
NewPatchServiceNotFound creates PatchServiceNotFound with default headers values
func (*PatchServiceNotFound) SetPayload ¶
func (o *PatchServiceNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch service not found response
func (*PatchServiceNotFound) WithPayload ¶
func (o *PatchServiceNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchServiceNotFound
WithPayload adds the payload to the patch service not found response
func (*PatchServiceNotFound) WriteResponse ¶
func (o *PatchServiceNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchServiceOK ¶
type PatchServiceOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
PatchServiceOK The patch request was successful and the resource has been altered
swagger:response patchServiceOK
func NewPatchServiceOK ¶
func NewPatchServiceOK() *PatchServiceOK
NewPatchServiceOK creates PatchServiceOK with default headers values
func (*PatchServiceOK) SetPayload ¶
func (o *PatchServiceOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the patch service o k response
func (*PatchServiceOK) WithPayload ¶
func (o *PatchServiceOK) WithPayload(payload *rest_model.Empty) *PatchServiceOK
WithPayload adds the payload to the patch service o k response
func (*PatchServiceOK) WriteResponse ¶
func (o *PatchServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchServiceParams ¶
type PatchServiceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string /*A service patch object Required: true In: body */ Service *rest_model.ServicePatch }
PatchServiceParams contains all the bound params for the patch service operation typically these are obtained from a http.Request
swagger:parameters patchService
func NewPatchServiceParams ¶
func NewPatchServiceParams() PatchServiceParams
NewPatchServiceParams creates a new PatchServiceParams object
There are no default values defined in the spec.
func (*PatchServiceParams) BindRequest ¶
func (o *PatchServiceParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPatchServiceParams() beforehand.
type PatchServiceTooManyRequests ¶ added in v0.26.0
type PatchServiceTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
PatchServiceTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response patchServiceTooManyRequests
func NewPatchServiceTooManyRequests ¶ added in v0.26.0
func NewPatchServiceTooManyRequests() *PatchServiceTooManyRequests
NewPatchServiceTooManyRequests creates PatchServiceTooManyRequests with default headers values
func (*PatchServiceTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *PatchServiceTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch service too many requests response
func (*PatchServiceTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *PatchServiceTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchServiceTooManyRequests
WithPayload adds the payload to the patch service too many requests response
func (*PatchServiceTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *PatchServiceTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchServiceURL ¶
type PatchServiceURL struct { ID string // contains filtered or unexported fields }
PatchServiceURL generates an URL for the patch service operation
func (*PatchServiceURL) Build ¶
func (o *PatchServiceURL) Build() (*url.URL, error)
Build a url path and query string
func (*PatchServiceURL) BuildFull ¶
func (o *PatchServiceURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PatchServiceURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PatchServiceURL) SetBasePath ¶
func (o *PatchServiceURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PatchServiceURL) String ¶
func (o *PatchServiceURL) String() string
String returns the string representation of the path with query string
func (*PatchServiceURL) StringFull ¶
func (o *PatchServiceURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PatchServiceURL) WithBasePath ¶
func (o *PatchServiceURL) WithBasePath(bp string) *PatchServiceURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type PatchServiceUnauthorized ¶
type PatchServiceUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
PatchServiceUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response patchServiceUnauthorized
func NewPatchServiceUnauthorized ¶
func NewPatchServiceUnauthorized() *PatchServiceUnauthorized
NewPatchServiceUnauthorized creates PatchServiceUnauthorized with default headers values
func (*PatchServiceUnauthorized) SetPayload ¶
func (o *PatchServiceUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch service unauthorized response
func (*PatchServiceUnauthorized) WithPayload ¶
func (o *PatchServiceUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchServiceUnauthorized
WithPayload adds the payload to the patch service unauthorized response
func (*PatchServiceUnauthorized) WriteResponse ¶
func (o *PatchServiceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateService ¶
type UpdateService struct { Context *middleware.Context Handler UpdateServiceHandler }
UpdateService swagger:route PUT /services/{id} Service updateService
Update all fields on a service ¶
Update all fields on a service by id. Requires admin access.
func NewUpdateService ¶
func NewUpdateService(ctx *middleware.Context, handler UpdateServiceHandler) *UpdateService
NewUpdateService creates a new http.Handler for the update service operation
func (*UpdateService) ServeHTTP ¶
func (o *UpdateService) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateServiceBadRequest ¶
type UpdateServiceBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
UpdateServiceBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response updateServiceBadRequest
func NewUpdateServiceBadRequest ¶
func NewUpdateServiceBadRequest() *UpdateServiceBadRequest
NewUpdateServiceBadRequest creates UpdateServiceBadRequest with default headers values
func (*UpdateServiceBadRequest) SetPayload ¶
func (o *UpdateServiceBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update service bad request response
func (*UpdateServiceBadRequest) WithPayload ¶
func (o *UpdateServiceBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateServiceBadRequest
WithPayload adds the payload to the update service bad request response
func (*UpdateServiceBadRequest) WriteResponse ¶
func (o *UpdateServiceBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServiceHandler ¶
type UpdateServiceHandler interface {
Handle(UpdateServiceParams, interface{}) middleware.Responder
}
UpdateServiceHandler interface for that can handle valid update service params
type UpdateServiceHandlerFunc ¶
type UpdateServiceHandlerFunc func(UpdateServiceParams, interface{}) middleware.Responder
UpdateServiceHandlerFunc turns a function with the right signature into a update service handler
func (UpdateServiceHandlerFunc) Handle ¶
func (fn UpdateServiceHandlerFunc) Handle(params UpdateServiceParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type UpdateServiceNotFound ¶
type UpdateServiceNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
UpdateServiceNotFound The requested resource does not exist
swagger:response updateServiceNotFound
func NewUpdateServiceNotFound ¶
func NewUpdateServiceNotFound() *UpdateServiceNotFound
NewUpdateServiceNotFound creates UpdateServiceNotFound with default headers values
func (*UpdateServiceNotFound) SetPayload ¶
func (o *UpdateServiceNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update service not found response
func (*UpdateServiceNotFound) WithPayload ¶
func (o *UpdateServiceNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateServiceNotFound
WithPayload adds the payload to the update service not found response
func (*UpdateServiceNotFound) WriteResponse ¶
func (o *UpdateServiceNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServiceOK ¶
type UpdateServiceOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
UpdateServiceOK The update request was successful and the resource has been altered
swagger:response updateServiceOK
func NewUpdateServiceOK ¶
func NewUpdateServiceOK() *UpdateServiceOK
NewUpdateServiceOK creates UpdateServiceOK with default headers values
func (*UpdateServiceOK) SetPayload ¶
func (o *UpdateServiceOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the update service o k response
func (*UpdateServiceOK) WithPayload ¶
func (o *UpdateServiceOK) WithPayload(payload *rest_model.Empty) *UpdateServiceOK
WithPayload adds the payload to the update service o k response
func (*UpdateServiceOK) WriteResponse ¶
func (o *UpdateServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServiceParams ¶
type UpdateServiceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string /*A service update object Required: true In: body */ Service *rest_model.ServiceUpdate }
UpdateServiceParams contains all the bound params for the update service operation typically these are obtained from a http.Request
swagger:parameters updateService
func NewUpdateServiceParams ¶
func NewUpdateServiceParams() UpdateServiceParams
NewUpdateServiceParams creates a new UpdateServiceParams object
There are no default values defined in the spec.
func (*UpdateServiceParams) BindRequest ¶
func (o *UpdateServiceParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUpdateServiceParams() beforehand.
type UpdateServiceTooManyRequests ¶ added in v0.26.0
type UpdateServiceTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
UpdateServiceTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response updateServiceTooManyRequests
func NewUpdateServiceTooManyRequests ¶ added in v0.26.0
func NewUpdateServiceTooManyRequests() *UpdateServiceTooManyRequests
NewUpdateServiceTooManyRequests creates UpdateServiceTooManyRequests with default headers values
func (*UpdateServiceTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *UpdateServiceTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update service too many requests response
func (*UpdateServiceTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *UpdateServiceTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateServiceTooManyRequests
WithPayload adds the payload to the update service too many requests response
func (*UpdateServiceTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *UpdateServiceTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServiceURL ¶
type UpdateServiceURL struct { ID string // contains filtered or unexported fields }
UpdateServiceURL generates an URL for the update service operation
func (*UpdateServiceURL) Build ¶
func (o *UpdateServiceURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateServiceURL) BuildFull ¶
func (o *UpdateServiceURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateServiceURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateServiceURL) SetBasePath ¶
func (o *UpdateServiceURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UpdateServiceURL) String ¶
func (o *UpdateServiceURL) String() string
String returns the string representation of the path with query string
func (*UpdateServiceURL) StringFull ¶
func (o *UpdateServiceURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateServiceURL) WithBasePath ¶
func (o *UpdateServiceURL) WithBasePath(bp string) *UpdateServiceURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UpdateServiceUnauthorized ¶
type UpdateServiceUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
UpdateServiceUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response updateServiceUnauthorized
func NewUpdateServiceUnauthorized ¶
func NewUpdateServiceUnauthorized() *UpdateServiceUnauthorized
NewUpdateServiceUnauthorized creates UpdateServiceUnauthorized with default headers values
func (*UpdateServiceUnauthorized) SetPayload ¶
func (o *UpdateServiceUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update service unauthorized response
func (*UpdateServiceUnauthorized) WithPayload ¶
func (o *UpdateServiceUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateServiceUnauthorized
WithPayload adds the payload to the update service unauthorized response
func (*UpdateServiceUnauthorized) WriteResponse ¶
func (o *UpdateServiceUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- create_service.go
- create_service_parameters.go
- create_service_responses.go
- create_service_urlbuilder.go
- delete_service.go
- delete_service_parameters.go
- delete_service_responses.go
- delete_service_urlbuilder.go
- detail_service.go
- detail_service_parameters.go
- detail_service_responses.go
- detail_service_urlbuilder.go
- list_service_config.go
- list_service_config_parameters.go
- list_service_config_responses.go
- list_service_config_urlbuilder.go
- list_service_edge_routers.go
- list_service_edge_routers_parameters.go
- list_service_edge_routers_responses.go
- list_service_edge_routers_urlbuilder.go
- list_service_identities.go
- list_service_identities_parameters.go
- list_service_identities_responses.go
- list_service_identities_urlbuilder.go
- list_service_service_edge_router_policies.go
- list_service_service_edge_router_policies_parameters.go
- list_service_service_edge_router_policies_responses.go
- list_service_service_edge_router_policies_urlbuilder.go
- list_service_service_policies.go
- list_service_service_policies_parameters.go
- list_service_service_policies_responses.go
- list_service_service_policies_urlbuilder.go
- list_service_terminators.go
- list_service_terminators_parameters.go
- list_service_terminators_responses.go
- list_service_terminators_urlbuilder.go
- list_services.go
- list_services_parameters.go
- list_services_responses.go
- list_services_urlbuilder.go
- patch_service.go
- patch_service_parameters.go
- patch_service_responses.go
- patch_service_urlbuilder.go
- update_service.go
- update_service_parameters.go
- update_service_responses.go
- update_service_urlbuilder.go