remote

package
v0.0.0-...-9d5d235 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2014 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Provides marshalling and remote execution glue for http container 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 HttpBuildImageRequest

type HttpBuildImageRequest struct {
	cjobs.BuildImageRequest
	client.DefaultRequest
}

func (*HttpBuildImageRequest) HttpMethod

func (h *HttpBuildImageRequest) HttpMethod() string

func (*HttpBuildImageRequest) HttpPath

func (h *HttpBuildImageRequest) HttpPath() string

type HttpContainerLogRequest

type HttpContainerLogRequest struct {
	cjobs.ContainerLogRequest
	client.DefaultRequest
}

func (*HttpContainerLogRequest) HttpMethod

func (h *HttpContainerLogRequest) HttpMethod() string

func (*HttpContainerLogRequest) HttpPath

func (h *HttpContainerLogRequest) HttpPath() string

type HttpContainerStatusRequest

type HttpContainerStatusRequest struct {
	cjobs.ContainerStatusRequest
	client.DefaultRequest
}

func (*HttpContainerStatusRequest) HttpMethod

func (h *HttpContainerStatusRequest) HttpMethod() string

func (*HttpContainerStatusRequest) HttpPath

func (h *HttpContainerStatusRequest) HttpPath() string

type HttpContentRequest

type HttpContentRequest struct {
	cjobs.ContentRequest
	client.DefaultRequest
}

func (*HttpContentRequest) HttpMethod

func (h *HttpContentRequest) HttpMethod() string

func (*HttpContentRequest) HttpPath

func (h *HttpContentRequest) HttpPath() string

type HttpDeleteContainerRequest

type HttpDeleteContainerRequest struct {
	cjobs.DeleteContainerRequest
	client.DefaultRequest
}

func (*HttpDeleteContainerRequest) HttpMethod

func (h *HttpDeleteContainerRequest) HttpMethod() string

func (*HttpDeleteContainerRequest) HttpPath

func (h *HttpDeleteContainerRequest) HttpPath() string

type HttpGetEnvironmentRequest

type HttpGetEnvironmentRequest struct {
	cjobs.GetEnvironmentRequest
	client.DefaultRequest
}

func (*HttpGetEnvironmentRequest) HttpMethod

func (h *HttpGetEnvironmentRequest) HttpMethod() string

func (*HttpGetEnvironmentRequest) HttpPath

func (h *HttpGetEnvironmentRequest) HttpPath() string

type HttpInstallContainerRequest

type HttpInstallContainerRequest struct {
	cjobs.InstallContainerRequest
	client.DefaultRequest
}

func (*HttpInstallContainerRequest) HttpMethod

func (h *HttpInstallContainerRequest) HttpMethod() string

func (*HttpInstallContainerRequest) HttpPath

func (h *HttpInstallContainerRequest) HttpPath() string

func (*HttpInstallContainerRequest) MarshalHttpRequestBody

func (h *HttpInstallContainerRequest) MarshalHttpRequestBody(w io.Writer) error

func (*HttpInstallContainerRequest) UnmarshalHttpResponse

func (h *HttpInstallContainerRequest) UnmarshalHttpResponse(headers http.Header, r io.Reader, mode client.ResponseContentMode) (interface{}, error)

type HttpLinkContainersRequest

type HttpLinkContainersRequest struct {
	cjobs.LinkContainersRequest
	client.DefaultRequest
}

func (*HttpLinkContainersRequest) HttpMethod

func (h *HttpLinkContainersRequest) HttpMethod() string

func (*HttpLinkContainersRequest) HttpPath

func (h *HttpLinkContainersRequest) HttpPath() string

func (*HttpLinkContainersRequest) MarshalHttpRequestBody

func (h *HttpLinkContainersRequest) MarshalHttpRequestBody(w io.Writer) error

type HttpListBuildsRequest

type HttpListBuildsRequest struct {
	cjobs.ListBuildsRequest
	client.DefaultRequest
}

func (*HttpListBuildsRequest) HttpMethod

func (h *HttpListBuildsRequest) HttpMethod() string

func (*HttpListBuildsRequest) HttpPath

func (h *HttpListBuildsRequest) HttpPath() string

type HttpListContainerPortsRequest

type HttpListContainerPortsRequest struct {
	cjobs.ContainerPortsRequest
	client.DefaultRequest
}

func (*HttpListContainerPortsRequest) HttpMethod

func (h *HttpListContainerPortsRequest) HttpMethod() string

func (*HttpListContainerPortsRequest) HttpPath

func (h *HttpListContainerPortsRequest) HttpPath() string

type HttpListContainersRequest

type HttpListContainersRequest struct {
	cjobs.ListContainersRequest
	client.DefaultRequest
}

func (*HttpListContainersRequest) HttpMethod

func (h *HttpListContainersRequest) HttpMethod() string

func (*HttpListContainersRequest) HttpPath

func (h *HttpListContainersRequest) HttpPath() string

func (*HttpListContainersRequest) MarshalUrlQuery

func (h *HttpListContainersRequest) MarshalUrlQuery(values *url.Values)

func (*HttpListContainersRequest) UnmarshalHttpResponse

func (h *HttpListContainersRequest) UnmarshalHttpResponse(headers http.Header, r io.Reader, mode client.ResponseContentMode) (interface{}, error)

Apply the "label" from the job to the response

type HttpListImagesRequest

type HttpListImagesRequest struct {
	cjobs.ListImagesRequest
	client.DefaultRequest
}

func (*HttpListImagesRequest) HttpMethod

func (h *HttpListImagesRequest) HttpMethod() string

func (*HttpListImagesRequest) HttpPath

func (h *HttpListImagesRequest) HttpPath() string

type HttpPatchEnvironmentRequest

type HttpPatchEnvironmentRequest struct {
	cjobs.PatchEnvironmentRequest
	client.DefaultRequest
}

func (*HttpPatchEnvironmentRequest) HttpMethod

func (h *HttpPatchEnvironmentRequest) HttpMethod() string

func (*HttpPatchEnvironmentRequest) HttpPath

func (h *HttpPatchEnvironmentRequest) HttpPath() string

func (*HttpPatchEnvironmentRequest) MarshalHttpRequestBody

func (h *HttpPatchEnvironmentRequest) MarshalHttpRequestBody(w io.Writer) error

type HttpPurgeContainersRequest

type HttpPurgeContainersRequest struct {
	cjobs.PurgeContainersRequest
	client.DefaultRequest
}

func (*HttpPurgeContainersRequest) HttpMethod

func (h *HttpPurgeContainersRequest) HttpMethod() string

func (*HttpPurgeContainersRequest) HttpPath

func (h *HttpPurgeContainersRequest) HttpPath() string

type HttpPutEnvironmentRequest

type HttpPutEnvironmentRequest struct {
	cjobs.PutEnvironmentRequest
	client.DefaultRequest
}

func (*HttpPutEnvironmentRequest) HttpMethod

func (h *HttpPutEnvironmentRequest) HttpMethod() string

func (*HttpPutEnvironmentRequest) HttpPath

func (h *HttpPutEnvironmentRequest) HttpPath() string

func (*HttpPutEnvironmentRequest) MarshalHttpRequestBody

func (h *HttpPutEnvironmentRequest) MarshalHttpRequestBody(w io.Writer) error

type HttpRestartContainerRequest

type HttpRestartContainerRequest struct {
	cjobs.RestartContainerRequest
	client.DefaultRequest
}

func (*HttpRestartContainerRequest) HttpMethod

func (h *HttpRestartContainerRequest) HttpMethod() string

func (*HttpRestartContainerRequest) HttpPath

func (h *HttpRestartContainerRequest) HttpPath() string

type HttpRunContainerRequest

type HttpRunContainerRequest struct {
	cjobs.RunContainerRequest
	client.DefaultRequest
}

func (*HttpRunContainerRequest) HttpMethod

func (h *HttpRunContainerRequest) HttpMethod() string

func (*HttpRunContainerRequest) HttpPath

func (h *HttpRunContainerRequest) HttpPath() string

func (*HttpRunContainerRequest) MarshalHttpRequestBody

func (h *HttpRunContainerRequest) MarshalHttpRequestBody(w io.Writer) error

type HttpStartContainerRequest

type HttpStartContainerRequest struct {
	cjobs.StartedContainerStateRequest
	client.DefaultRequest
}

func (*HttpStartContainerRequest) HttpMethod

func (h *HttpStartContainerRequest) HttpMethod() string

func (*HttpStartContainerRequest) HttpPath

func (h *HttpStartContainerRequest) HttpPath() string

type HttpStopContainerRequest

type HttpStopContainerRequest struct {
	cjobs.StoppedContainerStateRequest
	client.DefaultRequest
}

func (*HttpStopContainerRequest) HttpMethod

func (h *HttpStopContainerRequest) HttpMethod() string

func (*HttpStopContainerRequest) HttpPath

func (h *HttpStopContainerRequest) HttpPath() string

Jump to

Keyboard shortcuts

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