container

package
v3.2.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const AttachContainerOKCode int = 200

AttachContainerOKCode is the HTTP code returned for type AttachContainerOK

View Source
const EnterContainerOKCode int = 200

EnterContainerOKCode is the HTTP code returned for type EnterContainerOK

Variables

This section is empty.

Functions

This section is empty.

Types

type AttachContainer

type AttachContainer struct {
	Context *middleware.Context
	Handler AttachContainerHandler
}

AttachContainer swagger:route GET /attach container attachContainer

AttachContainer attach container API

func NewAttachContainer

func NewAttachContainer(ctx *middleware.Context, handler AttachContainerHandler) *AttachContainer

NewAttachContainer creates a new http.Handler for the attach container operation

func (*AttachContainer) ServeHTTP

func (o *AttachContainer) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type AttachContainerHandler

type AttachContainerHandler interface {
	Handle(AttachContainerParams) middleware.Responder
}

AttachContainerHandler interface for that can handle valid attach container params

type AttachContainerHandlerFunc

type AttachContainerHandlerFunc func(AttachContainerParams) middleware.Responder

AttachContainerHandlerFunc turns a function with the right signature into a attach container handler

func (AttachContainerHandlerFunc) Handle

Handle executing the request and returning a response

type AttachContainerOK

type AttachContainerOK struct {
}

AttachContainerOK attach to container's stdout/stderr

swagger:response attachContainerOK

func NewAttachContainerOK

func NewAttachContainerOK() *AttachContainerOK

NewAttachContainerOK creates AttachContainerOK with default headers values

func (*AttachContainerOK) WriteResponse

func (o *AttachContainerOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AttachContainerParams

type AttachContainerParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

AttachContainerParams contains all the bound params for the attach container operation typically these are obtained from a http.Request

swagger:parameters attachContainer

func NewAttachContainerParams

func NewAttachContainerParams() AttachContainerParams

NewAttachContainerParams creates a new AttachContainerParams object no default values defined in spec.

func (*AttachContainerParams) BindRequest

func (o *AttachContainerParams) 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 NewAttachContainerParams() beforehand.

type AttachContainerURL

type AttachContainerURL struct {
	// contains filtered or unexported fields
}

AttachContainerURL generates an URL for the attach container operation

func (*AttachContainerURL) Build

func (o *AttachContainerURL) Build() (*url.URL, error)

Build a url path and query string

func (*AttachContainerURL) BuildFull

func (o *AttachContainerURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*AttachContainerURL) Must

func (o *AttachContainerURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*AttachContainerURL) SetBasePath

func (o *AttachContainerURL) 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 (*AttachContainerURL) String

func (o *AttachContainerURL) String() string

String returns the string representation of the path with query string

func (*AttachContainerURL) StringFull

func (o *AttachContainerURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*AttachContainerURL) WithBasePath

func (o *AttachContainerURL) WithBasePath(bp string) *AttachContainerURL

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 EnterContainer

type EnterContainer struct {
	Context *middleware.Context
	Handler EnterContainerHandler
}

EnterContainer swagger:route GET /enter container enterContainer

EnterContainer enter container API

func NewEnterContainer

func NewEnterContainer(ctx *middleware.Context, handler EnterContainerHandler) *EnterContainer

NewEnterContainer creates a new http.Handler for the enter container operation

func (*EnterContainer) ServeHTTP

func (o *EnterContainer) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type EnterContainerHandler

type EnterContainerHandler interface {
	Handle(EnterContainerParams) middleware.Responder
}

EnterContainerHandler interface for that can handle valid enter container params

type EnterContainerHandlerFunc

type EnterContainerHandlerFunc func(EnterContainerParams) middleware.Responder

EnterContainerHandlerFunc turns a function with the right signature into a enter container handler

func (EnterContainerHandlerFunc) Handle

Handle executing the request and returning a response

type EnterContainerOK

type EnterContainerOK struct {
}

EnterContainerOK enter to the container

swagger:response enterContainerOK

func NewEnterContainerOK

func NewEnterContainerOK() *EnterContainerOK

NewEnterContainerOK creates EnterContainerOK with default headers values

func (*EnterContainerOK) WriteResponse

func (o *EnterContainerOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type EnterContainerParams

type EnterContainerParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

EnterContainerParams contains all the bound params for the enter container operation typically these are obtained from a http.Request

swagger:parameters enterContainer

func NewEnterContainerParams

func NewEnterContainerParams() EnterContainerParams

NewEnterContainerParams creates a new EnterContainerParams object no default values defined in spec.

func (*EnterContainerParams) BindRequest

func (o *EnterContainerParams) 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 NewEnterContainerParams() beforehand.

type EnterContainerURL

type EnterContainerURL struct {
	// contains filtered or unexported fields
}

EnterContainerURL generates an URL for the enter container operation

func (*EnterContainerURL) Build

func (o *EnterContainerURL) Build() (*url.URL, error)

Build a url path and query string

func (*EnterContainerURL) BuildFull

func (o *EnterContainerURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*EnterContainerURL) Must

func (o *EnterContainerURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*EnterContainerURL) SetBasePath

func (o *EnterContainerURL) 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 (*EnterContainerURL) String

func (o *EnterContainerURL) String() string

String returns the string representation of the path with query string

func (*EnterContainerURL) StringFull

func (o *EnterContainerURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*EnterContainerURL) WithBasePath

func (o *EnterContainerURL) WithBasePath(bp string) *EnterContainerURL

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

Jump to

Keyboard shortcuts

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