remote

package
v0.0.0-...-4f7b1e4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2014 License: Apache-2.0 Imports: 6 Imported by: 0

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 (*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

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL