Documentation ¶
Overview ¶
Provides marshalling and remote execution glue for http router job requests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HttpJobFor ¶
func HttpJobFor(job interface{}) (exc client.RemoteExecutable, err error)
Types ¶
type HttpRouterAddAliasRequest ¶
type HttpRouterAddAliasRequest struct { rjobs.AddAliasRequest client.DefaultRequest }
func (*HttpRouterAddAliasRequest) HttpMethod ¶
func (h *HttpRouterAddAliasRequest) HttpMethod() string
func (*HttpRouterAddAliasRequest) HttpPath ¶
func (h *HttpRouterAddAliasRequest) HttpPath() string
func (*HttpRouterAddAliasRequest) MarshalHttpRequestBody ¶
func (h *HttpRouterAddAliasRequest) MarshalHttpRequestBody(w io.Writer) error
type HttpRouterCreateFrontendRequest ¶
type HttpRouterCreateFrontendRequest struct { rjobs.CreateFrontendRequest client.DefaultRequest }
func (*HttpRouterCreateFrontendRequest) HttpMethod ¶
func (h *HttpRouterCreateFrontendRequest) HttpMethod() string
func (*HttpRouterCreateFrontendRequest) HttpPath ¶
func (h *HttpRouterCreateFrontendRequest) HttpPath() string
func (*HttpRouterCreateFrontendRequest) MarshalHttpRequestBody ¶
func (h *HttpRouterCreateFrontendRequest) MarshalHttpRequestBody(w io.Writer) error
type HttpRouterCreateRouteRequest ¶
type HttpRouterCreateRouteRequest struct { rjobs.AddRouteRequest client.DefaultRequest }
func (*HttpRouterCreateRouteRequest) HttpMethod ¶
func (h *HttpRouterCreateRouteRequest) HttpMethod() string
func (*HttpRouterCreateRouteRequest) HttpPath ¶
func (h *HttpRouterCreateRouteRequest) HttpPath() string
func (*HttpRouterCreateRouteRequest) MarshalHttpRequestBody ¶
func (h *HttpRouterCreateRouteRequest) MarshalHttpRequestBody(w io.Writer) error
type HttpRouterDeleteFrontendRequest ¶
type HttpRouterDeleteFrontendRequest struct { rjobs.DeleteFrontendRequest client.DefaultRequest }
func (*HttpRouterDeleteFrontendRequest) HttpMethod ¶
func (h *HttpRouterDeleteFrontendRequest) HttpMethod() string
func (*HttpRouterDeleteFrontendRequest) HttpPath ¶
func (h *HttpRouterDeleteFrontendRequest) HttpPath() string
type HttpRouterDeleteRouteRequest ¶
type HttpRouterDeleteRouteRequest struct { rjobs.DeleteRouteRequest client.DefaultRequest }
func (*HttpRouterDeleteRouteRequest) HttpMethod ¶
func (h *HttpRouterDeleteRouteRequest) HttpMethod() string
func (*HttpRouterDeleteRouteRequest) HttpPath ¶
func (h *HttpRouterDeleteRouteRequest) HttpPath() string
type HttpRouterGetRoutesRequest ¶
type HttpRouterGetRoutesRequest struct { rjobs.GetRoutesRequest client.DefaultRequest }
func (*HttpRouterGetRoutesRequest) HttpMethod ¶
func (h *HttpRouterGetRoutesRequest) HttpMethod() string
func (*HttpRouterGetRoutesRequest) HttpPath ¶
func (h *HttpRouterGetRoutesRequest) HttpPath() string
func (*HttpRouterGetRoutesRequest) UnmarshalHttpResponse ¶
func (h *HttpRouterGetRoutesRequest) UnmarshalHttpResponse(headers http.Header, r io.Reader, mode client.ResponseContentMode) (interface{}, error)
Click to show internal directories.
Click to hide internal directories.