image

package
v0.1.24 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2018 License: Apache-2.0 Imports: 13 Imported by: 12

Documentation

Index

Constants

View Source
const AddImageBadRequestCode int = 400

AddImageBadRequestCode is the HTTP code returned for type AddImageBadRequest

View Source
const AddImageConflictCode int = 409

AddImageConflictCode is the HTTP code returned for type AddImageConflict

View Source
const AddImageCreatedCode int = 201

AddImageCreatedCode is the HTTP code returned for type AddImageCreated

View Source
const AddImageForbiddenCode int = 403

AddImageForbiddenCode is the HTTP code returned for type AddImageForbidden

View Source
const AddImageUnauthorizedCode int = 401

AddImageUnauthorizedCode is the HTTP code returned for type AddImageUnauthorized

View Source
const DeleteImageByNameBadRequestCode int = 400

DeleteImageByNameBadRequestCode is the HTTP code returned for type DeleteImageByNameBadRequest

View Source
const DeleteImageByNameForbiddenCode int = 403

DeleteImageByNameForbiddenCode is the HTTP code returned for type DeleteImageByNameForbidden

View Source
const DeleteImageByNameNotFoundCode int = 404

DeleteImageByNameNotFoundCode is the HTTP code returned for type DeleteImageByNameNotFound

View Source
const DeleteImageByNameOKCode int = 200

DeleteImageByNameOKCode is the HTTP code returned for type DeleteImageByNameOK

View Source
const DeleteImageByNameUnauthorizedCode int = 401

DeleteImageByNameUnauthorizedCode is the HTTP code returned for type DeleteImageByNameUnauthorized

View Source
const GetImageByNameBadRequestCode int = 400

GetImageByNameBadRequestCode is the HTTP code returned for type GetImageByNameBadRequest

View Source
const GetImageByNameForbiddenCode int = 403

GetImageByNameForbiddenCode is the HTTP code returned for type GetImageByNameForbidden

View Source
const GetImageByNameNotFoundCode int = 404

GetImageByNameNotFoundCode is the HTTP code returned for type GetImageByNameNotFound

View Source
const GetImageByNameOKCode int = 200

GetImageByNameOKCode is the HTTP code returned for type GetImageByNameOK

View Source
const GetImageByNameUnauthorizedCode int = 401

GetImageByNameUnauthorizedCode is the HTTP code returned for type GetImageByNameUnauthorized

View Source
const GetImagesBadRequestCode int = 400

GetImagesBadRequestCode is the HTTP code returned for type GetImagesBadRequest

View Source
const GetImagesForbiddenCode int = 403

GetImagesForbiddenCode is the HTTP code returned for type GetImagesForbidden

View Source
const GetImagesOKCode int = 200

GetImagesOKCode is the HTTP code returned for type GetImagesOK

View Source
const GetImagesUnauthorizedCode int = 401

GetImagesUnauthorizedCode is the HTTP code returned for type GetImagesUnauthorized

View Source
const UpdateImageByNameBadRequestCode int = 400

UpdateImageByNameBadRequestCode is the HTTP code returned for type UpdateImageByNameBadRequest

View Source
const UpdateImageByNameForbiddenCode int = 403

UpdateImageByNameForbiddenCode is the HTTP code returned for type UpdateImageByNameForbidden

View Source
const UpdateImageByNameNotFoundCode int = 404

UpdateImageByNameNotFoundCode is the HTTP code returned for type UpdateImageByNameNotFound

View Source
const UpdateImageByNameOKCode int = 200

UpdateImageByNameOKCode is the HTTP code returned for type UpdateImageByNameOK

View Source
const UpdateImageByNameUnauthorizedCode int = 401

UpdateImageByNameUnauthorizedCode is the HTTP code returned for type UpdateImageByNameUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type AddImage

type AddImage struct {
	Context *middleware.Context
	Handler AddImageHandler
}

AddImage swagger:route POST /image image addImage

Add a new image

func NewAddImage

func NewAddImage(ctx *middleware.Context, handler AddImageHandler) *AddImage

NewAddImage creates a new http.Handler for the add image operation

func (*AddImage) ServeHTTP

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

type AddImageBadRequest

type AddImageBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

AddImageBadRequest Invalid input

swagger:response addImageBadRequest

func NewAddImageBadRequest

func NewAddImageBadRequest() *AddImageBadRequest

NewAddImageBadRequest creates AddImageBadRequest with default headers values

func (*AddImageBadRequest) SetPayload

func (o *AddImageBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add image bad request response

func (*AddImageBadRequest) WithPayload

func (o *AddImageBadRequest) WithPayload(payload *v1.Error) *AddImageBadRequest

WithPayload adds the payload to the add image bad request response

func (*AddImageBadRequest) WriteResponse

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

WriteResponse to the client

type AddImageConflict added in v0.1.13

type AddImageConflict struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

AddImageConflict Already Exists

swagger:response addImageConflict

func NewAddImageConflict added in v0.1.13

func NewAddImageConflict() *AddImageConflict

NewAddImageConflict creates AddImageConflict with default headers values

func (*AddImageConflict) SetPayload added in v0.1.13

func (o *AddImageConflict) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add image conflict response

func (*AddImageConflict) WithPayload added in v0.1.13

func (o *AddImageConflict) WithPayload(payload *v1.Error) *AddImageConflict

WithPayload adds the payload to the add image conflict response

func (*AddImageConflict) WriteResponse added in v0.1.13

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

WriteResponse to the client

type AddImageCreated

type AddImageCreated struct {

	/*
	  In: Body
	*/
	Payload *v1.Image `json:"body,omitempty"`
}

AddImageCreated created

swagger:response addImageCreated

func NewAddImageCreated

func NewAddImageCreated() *AddImageCreated

NewAddImageCreated creates AddImageCreated with default headers values

func (*AddImageCreated) SetPayload

func (o *AddImageCreated) SetPayload(payload *v1.Image)

SetPayload sets the payload to the add image created response

func (*AddImageCreated) WithPayload

func (o *AddImageCreated) WithPayload(payload *v1.Image) *AddImageCreated

WithPayload adds the payload to the add image created response

func (*AddImageCreated) WriteResponse

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

WriteResponse to the client

type AddImageDefault

type AddImageDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

AddImageDefault Generic error response

swagger:response addImageDefault

func NewAddImageDefault

func NewAddImageDefault(code int) *AddImageDefault

NewAddImageDefault creates AddImageDefault with default headers values

func (*AddImageDefault) SetPayload

func (o *AddImageDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add image default response

func (*AddImageDefault) SetStatusCode

func (o *AddImageDefault) SetStatusCode(code int)

SetStatusCode sets the status to the add image default response

func (*AddImageDefault) WithPayload

func (o *AddImageDefault) WithPayload(payload *v1.Error) *AddImageDefault

WithPayload adds the payload to the add image default response

func (*AddImageDefault) WithStatusCode

func (o *AddImageDefault) WithStatusCode(code int) *AddImageDefault

WithStatusCode adds the status to the add image default response

func (*AddImageDefault) WriteResponse

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

WriteResponse to the client

type AddImageForbidden added in v0.1.18

type AddImageForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

AddImageForbidden access to this resource is forbidden

swagger:response addImageForbidden

func NewAddImageForbidden added in v0.1.18

func NewAddImageForbidden() *AddImageForbidden

NewAddImageForbidden creates AddImageForbidden with default headers values

func (*AddImageForbidden) SetPayload added in v0.1.18

func (o *AddImageForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add image forbidden response

func (*AddImageForbidden) WithPayload added in v0.1.18

func (o *AddImageForbidden) WithPayload(payload *v1.Error) *AddImageForbidden

WithPayload adds the payload to the add image forbidden response

func (*AddImageForbidden) WriteResponse added in v0.1.18

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

WriteResponse to the client

type AddImageHandler

type AddImageHandler interface {
	Handle(AddImageParams, interface{}) middleware.Responder
}

AddImageHandler interface for that can handle valid add image params

type AddImageHandlerFunc

type AddImageHandlerFunc func(AddImageParams, interface{}) middleware.Responder

AddImageHandlerFunc turns a function with the right signature into a add image handler

func (AddImageHandlerFunc) Handle

func (fn AddImageHandlerFunc) Handle(params AddImageParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type AddImageParams

type AddImageParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*Image object
	  Required: true
	  In: body
	*/
	Body *v1.Image
}

AddImageParams contains all the bound params for the add image operation typically these are obtained from a http.Request

swagger:parameters addImage

func NewAddImageParams

func NewAddImageParams() AddImageParams

NewAddImageParams creates a new AddImageParams object no default values defined in spec.

func (*AddImageParams) BindRequest

func (o *AddImageParams) 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 NewAddImageParams() beforehand.

type AddImageURL

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

AddImageURL generates an URL for the add image operation

func (*AddImageURL) Build

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

Build a url path and query string

func (*AddImageURL) BuildFull

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

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

func (*AddImageURL) Must

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

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

func (*AddImageURL) SetBasePath

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

func (o *AddImageURL) String() string

String returns the string representation of the path with query string

func (*AddImageURL) StringFull

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

StringFull returns the string representation of a complete url

func (*AddImageURL) WithBasePath

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

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 AddImageUnauthorized added in v0.1.18

type AddImageUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

AddImageUnauthorized Unauthorized Request

swagger:response addImageUnauthorized

func NewAddImageUnauthorized added in v0.1.18

func NewAddImageUnauthorized() *AddImageUnauthorized

NewAddImageUnauthorized creates AddImageUnauthorized with default headers values

func (*AddImageUnauthorized) SetPayload added in v0.1.18

func (o *AddImageUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add image unauthorized response

func (*AddImageUnauthorized) WithPayload added in v0.1.18

func (o *AddImageUnauthorized) WithPayload(payload *v1.Error) *AddImageUnauthorized

WithPayload adds the payload to the add image unauthorized response

func (*AddImageUnauthorized) WriteResponse added in v0.1.18

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

WriteResponse to the client

type DeleteImageByName

type DeleteImageByName struct {
	Context *middleware.Context
	Handler DeleteImageByNameHandler
}

DeleteImageByName swagger:route DELETE /image/{imageName} image deleteImageByName

Deletes an image

func NewDeleteImageByName

func NewDeleteImageByName(ctx *middleware.Context, handler DeleteImageByNameHandler) *DeleteImageByName

NewDeleteImageByName creates a new http.Handler for the delete image by name operation

func (*DeleteImageByName) ServeHTTP

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

type DeleteImageByNameBadRequest

type DeleteImageByNameBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

DeleteImageByNameBadRequest Invalid ID supplied

swagger:response deleteImageByNameBadRequest

func NewDeleteImageByNameBadRequest

func NewDeleteImageByNameBadRequest() *DeleteImageByNameBadRequest

NewDeleteImageByNameBadRequest creates DeleteImageByNameBadRequest with default headers values

func (*DeleteImageByNameBadRequest) SetPayload

func (o *DeleteImageByNameBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete image by name bad request response

func (*DeleteImageByNameBadRequest) WithPayload

WithPayload adds the payload to the delete image by name bad request response

func (*DeleteImageByNameBadRequest) WriteResponse

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

WriteResponse to the client

type DeleteImageByNameDefault

type DeleteImageByNameDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

DeleteImageByNameDefault Generic error response

swagger:response deleteImageByNameDefault

func NewDeleteImageByNameDefault

func NewDeleteImageByNameDefault(code int) *DeleteImageByNameDefault

NewDeleteImageByNameDefault creates DeleteImageByNameDefault with default headers values

func (*DeleteImageByNameDefault) SetPayload

func (o *DeleteImageByNameDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete image by name default response

func (*DeleteImageByNameDefault) SetStatusCode

func (o *DeleteImageByNameDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete image by name default response

func (*DeleteImageByNameDefault) WithPayload

func (o *DeleteImageByNameDefault) WithPayload(payload *v1.Error) *DeleteImageByNameDefault

WithPayload adds the payload to the delete image by name default response

func (*DeleteImageByNameDefault) WithStatusCode

func (o *DeleteImageByNameDefault) WithStatusCode(code int) *DeleteImageByNameDefault

WithStatusCode adds the status to the delete image by name default response

func (*DeleteImageByNameDefault) WriteResponse

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

WriteResponse to the client

type DeleteImageByNameForbidden added in v0.1.18

type DeleteImageByNameForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

DeleteImageByNameForbidden access to this resource is forbidden

swagger:response deleteImageByNameForbidden

func NewDeleteImageByNameForbidden added in v0.1.18

func NewDeleteImageByNameForbidden() *DeleteImageByNameForbidden

NewDeleteImageByNameForbidden creates DeleteImageByNameForbidden with default headers values

func (*DeleteImageByNameForbidden) SetPayload added in v0.1.18

func (o *DeleteImageByNameForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete image by name forbidden response

func (*DeleteImageByNameForbidden) WithPayload added in v0.1.18

WithPayload adds the payload to the delete image by name forbidden response

func (*DeleteImageByNameForbidden) WriteResponse added in v0.1.18

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

WriteResponse to the client

type DeleteImageByNameHandler

type DeleteImageByNameHandler interface {
	Handle(DeleteImageByNameParams, interface{}) middleware.Responder
}

DeleteImageByNameHandler interface for that can handle valid delete image by name params

type DeleteImageByNameHandlerFunc

type DeleteImageByNameHandlerFunc func(DeleteImageByNameParams, interface{}) middleware.Responder

DeleteImageByNameHandlerFunc turns a function with the right signature into a delete image by name handler

func (DeleteImageByNameHandlerFunc) Handle

func (fn DeleteImageByNameHandlerFunc) Handle(params DeleteImageByNameParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type DeleteImageByNameNotFound

type DeleteImageByNameNotFound struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

DeleteImageByNameNotFound Image not found

swagger:response deleteImageByNameNotFound

func NewDeleteImageByNameNotFound

func NewDeleteImageByNameNotFound() *DeleteImageByNameNotFound

NewDeleteImageByNameNotFound creates DeleteImageByNameNotFound with default headers values

func (*DeleteImageByNameNotFound) SetPayload

func (o *DeleteImageByNameNotFound) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete image by name not found response

func (*DeleteImageByNameNotFound) WithPayload

func (o *DeleteImageByNameNotFound) WithPayload(payload *v1.Error) *DeleteImageByNameNotFound

WithPayload adds the payload to the delete image by name not found response

func (*DeleteImageByNameNotFound) WriteResponse

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

WriteResponse to the client

type DeleteImageByNameOK

type DeleteImageByNameOK struct {

	/*
	  In: Body
	*/
	Payload *v1.Image `json:"body,omitempty"`
}

DeleteImageByNameOK successful operation

swagger:response deleteImageByNameOK

func NewDeleteImageByNameOK

func NewDeleteImageByNameOK() *DeleteImageByNameOK

NewDeleteImageByNameOK creates DeleteImageByNameOK with default headers values

func (*DeleteImageByNameOK) SetPayload

func (o *DeleteImageByNameOK) SetPayload(payload *v1.Image)

SetPayload sets the payload to the delete image by name o k response

func (*DeleteImageByNameOK) WithPayload

func (o *DeleteImageByNameOK) WithPayload(payload *v1.Image) *DeleteImageByNameOK

WithPayload adds the payload to the delete image by name o k response

func (*DeleteImageByNameOK) WriteResponse

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

WriteResponse to the client

type DeleteImageByNameParams

type DeleteImageByNameParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*Name of image to return
	  Required: true
	  Pattern: ^[\w\d\-]+$
	  In: path
	*/
	ImageName string
	/*Filter on image tags
	  In: query
	  Collection Format: multi
	*/
	Tags []string
}

DeleteImageByNameParams contains all the bound params for the delete image by name operation typically these are obtained from a http.Request

swagger:parameters deleteImageByName

func NewDeleteImageByNameParams

func NewDeleteImageByNameParams() DeleteImageByNameParams

NewDeleteImageByNameParams creates a new DeleteImageByNameParams object no default values defined in spec.

func (*DeleteImageByNameParams) BindRequest

func (o *DeleteImageByNameParams) 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 NewDeleteImageByNameParams() beforehand.

type DeleteImageByNameURL

type DeleteImageByNameURL struct {
	ImageName string

	Tags []string
	// contains filtered or unexported fields
}

DeleteImageByNameURL generates an URL for the delete image by name operation

func (*DeleteImageByNameURL) Build

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

Build a url path and query string

func (*DeleteImageByNameURL) BuildFull

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

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

func (*DeleteImageByNameURL) Must

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

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

func (*DeleteImageByNameURL) SetBasePath

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

func (o *DeleteImageByNameURL) String() string

String returns the string representation of the path with query string

func (*DeleteImageByNameURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteImageByNameURL) WithBasePath

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

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 DeleteImageByNameUnauthorized added in v0.1.18

type DeleteImageByNameUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

DeleteImageByNameUnauthorized Unauthorized Request

swagger:response deleteImageByNameUnauthorized

func NewDeleteImageByNameUnauthorized added in v0.1.18

func NewDeleteImageByNameUnauthorized() *DeleteImageByNameUnauthorized

NewDeleteImageByNameUnauthorized creates DeleteImageByNameUnauthorized with default headers values

func (*DeleteImageByNameUnauthorized) SetPayload added in v0.1.18

func (o *DeleteImageByNameUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete image by name unauthorized response

func (*DeleteImageByNameUnauthorized) WithPayload added in v0.1.18

WithPayload adds the payload to the delete image by name unauthorized response

func (*DeleteImageByNameUnauthorized) WriteResponse added in v0.1.18

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

WriteResponse to the client

type GetImageByName

type GetImageByName struct {
	Context *middleware.Context
	Handler GetImageByNameHandler
}

GetImageByName swagger:route GET /image/{imageName} image getImageByName

Find image by ID

Returns a single image

func NewGetImageByName

func NewGetImageByName(ctx *middleware.Context, handler GetImageByNameHandler) *GetImageByName

NewGetImageByName creates a new http.Handler for the get image by name operation

func (*GetImageByName) ServeHTTP

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

type GetImageByNameBadRequest

type GetImageByNameBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetImageByNameBadRequest Invalid ID supplied

swagger:response getImageByNameBadRequest

func NewGetImageByNameBadRequest

func NewGetImageByNameBadRequest() *GetImageByNameBadRequest

NewGetImageByNameBadRequest creates GetImageByNameBadRequest with default headers values

func (*GetImageByNameBadRequest) SetPayload

func (o *GetImageByNameBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get image by name bad request response

func (*GetImageByNameBadRequest) WithPayload

func (o *GetImageByNameBadRequest) WithPayload(payload *v1.Error) *GetImageByNameBadRequest

WithPayload adds the payload to the get image by name bad request response

func (*GetImageByNameBadRequest) WriteResponse

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

WriteResponse to the client

type GetImageByNameDefault

type GetImageByNameDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetImageByNameDefault Generic error response

swagger:response getImageByNameDefault

func NewGetImageByNameDefault

func NewGetImageByNameDefault(code int) *GetImageByNameDefault

NewGetImageByNameDefault creates GetImageByNameDefault with default headers values

func (*GetImageByNameDefault) SetPayload

func (o *GetImageByNameDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get image by name default response

func (*GetImageByNameDefault) SetStatusCode

func (o *GetImageByNameDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get image by name default response

func (*GetImageByNameDefault) WithPayload

func (o *GetImageByNameDefault) WithPayload(payload *v1.Error) *GetImageByNameDefault

WithPayload adds the payload to the get image by name default response

func (*GetImageByNameDefault) WithStatusCode

func (o *GetImageByNameDefault) WithStatusCode(code int) *GetImageByNameDefault

WithStatusCode adds the status to the get image by name default response

func (*GetImageByNameDefault) WriteResponse

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

WriteResponse to the client

type GetImageByNameForbidden added in v0.1.18

type GetImageByNameForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetImageByNameForbidden access to this resource is forbidden

swagger:response getImageByNameForbidden

func NewGetImageByNameForbidden added in v0.1.18

func NewGetImageByNameForbidden() *GetImageByNameForbidden

NewGetImageByNameForbidden creates GetImageByNameForbidden with default headers values

func (*GetImageByNameForbidden) SetPayload added in v0.1.18

func (o *GetImageByNameForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get image by name forbidden response

func (*GetImageByNameForbidden) WithPayload added in v0.1.18

func (o *GetImageByNameForbidden) WithPayload(payload *v1.Error) *GetImageByNameForbidden

WithPayload adds the payload to the get image by name forbidden response

func (*GetImageByNameForbidden) WriteResponse added in v0.1.18

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

WriteResponse to the client

type GetImageByNameHandler

type GetImageByNameHandler interface {
	Handle(GetImageByNameParams, interface{}) middleware.Responder
}

GetImageByNameHandler interface for that can handle valid get image by name params

type GetImageByNameHandlerFunc

type GetImageByNameHandlerFunc func(GetImageByNameParams, interface{}) middleware.Responder

GetImageByNameHandlerFunc turns a function with the right signature into a get image by name handler

func (GetImageByNameHandlerFunc) Handle

func (fn GetImageByNameHandlerFunc) Handle(params GetImageByNameParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetImageByNameNotFound

type GetImageByNameNotFound struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetImageByNameNotFound Image not found

swagger:response getImageByNameNotFound

func NewGetImageByNameNotFound

func NewGetImageByNameNotFound() *GetImageByNameNotFound

NewGetImageByNameNotFound creates GetImageByNameNotFound with default headers values

func (*GetImageByNameNotFound) SetPayload

func (o *GetImageByNameNotFound) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get image by name not found response

func (*GetImageByNameNotFound) WithPayload

func (o *GetImageByNameNotFound) WithPayload(payload *v1.Error) *GetImageByNameNotFound

WithPayload adds the payload to the get image by name not found response

func (*GetImageByNameNotFound) WriteResponse

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

WriteResponse to the client

type GetImageByNameOK

type GetImageByNameOK struct {

	/*
	  In: Body
	*/
	Payload *v1.Image `json:"body,omitempty"`
}

GetImageByNameOK successful operation

swagger:response getImageByNameOK

func NewGetImageByNameOK

func NewGetImageByNameOK() *GetImageByNameOK

NewGetImageByNameOK creates GetImageByNameOK with default headers values

func (*GetImageByNameOK) SetPayload

func (o *GetImageByNameOK) SetPayload(payload *v1.Image)

SetPayload sets the payload to the get image by name o k response

func (*GetImageByNameOK) WithPayload

func (o *GetImageByNameOK) WithPayload(payload *v1.Image) *GetImageByNameOK

WithPayload adds the payload to the get image by name o k response

func (*GetImageByNameOK) WriteResponse

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

WriteResponse to the client

type GetImageByNameParams

type GetImageByNameParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*Name of image to return
	  Required: true
	  Pattern: ^[\w\d\-]+$
	  In: path
	*/
	ImageName string
	/*Filter on image tags
	  In: query
	  Collection Format: multi
	*/
	Tags []string
}

GetImageByNameParams contains all the bound params for the get image by name operation typically these are obtained from a http.Request

swagger:parameters getImageByName

func NewGetImageByNameParams

func NewGetImageByNameParams() GetImageByNameParams

NewGetImageByNameParams creates a new GetImageByNameParams object no default values defined in spec.

func (*GetImageByNameParams) BindRequest

func (o *GetImageByNameParams) 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 NewGetImageByNameParams() beforehand.

type GetImageByNameURL

type GetImageByNameURL struct {
	ImageName string

	Tags []string
	// contains filtered or unexported fields
}

GetImageByNameURL generates an URL for the get image by name operation

func (*GetImageByNameURL) Build

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

Build a url path and query string

func (*GetImageByNameURL) BuildFull

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

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

func (*GetImageByNameURL) Must

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

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

func (*GetImageByNameURL) SetBasePath

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

func (o *GetImageByNameURL) String() string

String returns the string representation of the path with query string

func (*GetImageByNameURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetImageByNameURL) WithBasePath

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

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 GetImageByNameUnauthorized added in v0.1.18

type GetImageByNameUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetImageByNameUnauthorized Unauthorized Request

swagger:response getImageByNameUnauthorized

func NewGetImageByNameUnauthorized added in v0.1.18

func NewGetImageByNameUnauthorized() *GetImageByNameUnauthorized

NewGetImageByNameUnauthorized creates GetImageByNameUnauthorized with default headers values

func (*GetImageByNameUnauthorized) SetPayload added in v0.1.18

func (o *GetImageByNameUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get image by name unauthorized response

func (*GetImageByNameUnauthorized) WithPayload added in v0.1.18

WithPayload adds the payload to the get image by name unauthorized response

func (*GetImageByNameUnauthorized) WriteResponse added in v0.1.18

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

WriteResponse to the client

type GetImages

type GetImages struct {
	Context *middleware.Context
	Handler GetImagesHandler
}

GetImages swagger:route GET /image image getImages

Get all images

List all images

func NewGetImages

func NewGetImages(ctx *middleware.Context, handler GetImagesHandler) *GetImages

NewGetImages creates a new http.Handler for the get images operation

func (*GetImages) ServeHTTP

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

type GetImagesBadRequest added in v0.1.13

type GetImagesBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetImagesBadRequest Invalid input

swagger:response getImagesBadRequest

func NewGetImagesBadRequest added in v0.1.13

func NewGetImagesBadRequest() *GetImagesBadRequest

NewGetImagesBadRequest creates GetImagesBadRequest with default headers values

func (*GetImagesBadRequest) SetPayload added in v0.1.13

func (o *GetImagesBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get images bad request response

func (*GetImagesBadRequest) WithPayload added in v0.1.13

func (o *GetImagesBadRequest) WithPayload(payload *v1.Error) *GetImagesBadRequest

WithPayload adds the payload to the get images bad request response

func (*GetImagesBadRequest) WriteResponse added in v0.1.13

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

WriteResponse to the client

type GetImagesDefault

type GetImagesDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetImagesDefault Generic error response

swagger:response getImagesDefault

func NewGetImagesDefault

func NewGetImagesDefault(code int) *GetImagesDefault

NewGetImagesDefault creates GetImagesDefault with default headers values

func (*GetImagesDefault) SetPayload

func (o *GetImagesDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get images default response

func (*GetImagesDefault) SetStatusCode

func (o *GetImagesDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get images default response

func (*GetImagesDefault) WithPayload

func (o *GetImagesDefault) WithPayload(payload *v1.Error) *GetImagesDefault

WithPayload adds the payload to the get images default response

func (*GetImagesDefault) WithStatusCode

func (o *GetImagesDefault) WithStatusCode(code int) *GetImagesDefault

WithStatusCode adds the status to the get images default response

func (*GetImagesDefault) WriteResponse

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

WriteResponse to the client

type GetImagesForbidden added in v0.1.18

type GetImagesForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetImagesForbidden access to this resource is forbidden

swagger:response getImagesForbidden

func NewGetImagesForbidden added in v0.1.18

func NewGetImagesForbidden() *GetImagesForbidden

NewGetImagesForbidden creates GetImagesForbidden with default headers values

func (*GetImagesForbidden) SetPayload added in v0.1.18

func (o *GetImagesForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get images forbidden response

func (*GetImagesForbidden) WithPayload added in v0.1.18

func (o *GetImagesForbidden) WithPayload(payload *v1.Error) *GetImagesForbidden

WithPayload adds the payload to the get images forbidden response

func (*GetImagesForbidden) WriteResponse added in v0.1.18

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

WriteResponse to the client

type GetImagesHandler

type GetImagesHandler interface {
	Handle(GetImagesParams, interface{}) middleware.Responder
}

GetImagesHandler interface for that can handle valid get images params

type GetImagesHandlerFunc

type GetImagesHandlerFunc func(GetImagesParams, interface{}) middleware.Responder

GetImagesHandlerFunc turns a function with the right signature into a get images handler

func (GetImagesHandlerFunc) Handle

func (fn GetImagesHandlerFunc) Handle(params GetImagesParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetImagesOK

type GetImagesOK struct {

	/*
	  In: Body
	*/
	Payload []*v1.Image `json:"body,omitempty"`
}

GetImagesOK successful operation

swagger:response getImagesOK

func NewGetImagesOK

func NewGetImagesOK() *GetImagesOK

NewGetImagesOK creates GetImagesOK with default headers values

func (*GetImagesOK) SetPayload

func (o *GetImagesOK) SetPayload(payload []*v1.Image)

SetPayload sets the payload to the get images o k response

func (*GetImagesOK) WithPayload

func (o *GetImagesOK) WithPayload(payload []*v1.Image) *GetImagesOK

WithPayload adds the payload to the get images o k response

func (*GetImagesOK) WriteResponse

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

WriteResponse to the client

type GetImagesParams

type GetImagesParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*image runtime language
	  In: query
	*/
	Language *string
	/*Filter on image tags
	  In: query
	  Collection Format: multi
	*/
	Tags []string
}

GetImagesParams contains all the bound params for the get images operation typically these are obtained from a http.Request

swagger:parameters getImages

func NewGetImagesParams

func NewGetImagesParams() GetImagesParams

NewGetImagesParams creates a new GetImagesParams object no default values defined in spec.

func (*GetImagesParams) BindRequest

func (o *GetImagesParams) 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 NewGetImagesParams() beforehand.

type GetImagesURL

type GetImagesURL struct {
	Language *string
	Tags     []string
	// contains filtered or unexported fields
}

GetImagesURL generates an URL for the get images operation

func (*GetImagesURL) Build

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

Build a url path and query string

func (*GetImagesURL) BuildFull

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

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

func (*GetImagesURL) Must

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

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

func (*GetImagesURL) SetBasePath

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

func (o *GetImagesURL) String() string

String returns the string representation of the path with query string

func (*GetImagesURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetImagesURL) WithBasePath

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

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 GetImagesUnauthorized added in v0.1.18

type GetImagesUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetImagesUnauthorized Unauthorized Request

swagger:response getImagesUnauthorized

func NewGetImagesUnauthorized added in v0.1.18

func NewGetImagesUnauthorized() *GetImagesUnauthorized

NewGetImagesUnauthorized creates GetImagesUnauthorized with default headers values

func (*GetImagesUnauthorized) SetPayload added in v0.1.18

func (o *GetImagesUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get images unauthorized response

func (*GetImagesUnauthorized) WithPayload added in v0.1.18

func (o *GetImagesUnauthorized) WithPayload(payload *v1.Error) *GetImagesUnauthorized

WithPayload adds the payload to the get images unauthorized response

func (*GetImagesUnauthorized) WriteResponse added in v0.1.18

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

WriteResponse to the client

type UpdateImageByName

type UpdateImageByName struct {
	Context *middleware.Context
	Handler UpdateImageByNameHandler
}

UpdateImageByName swagger:route PUT /image/{imageName} image updateImageByName

Updates an image

func NewUpdateImageByName

func NewUpdateImageByName(ctx *middleware.Context, handler UpdateImageByNameHandler) *UpdateImageByName

NewUpdateImageByName creates a new http.Handler for the update image by name operation

func (*UpdateImageByName) ServeHTTP

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

type UpdateImageByNameBadRequest

type UpdateImageByNameBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

UpdateImageByNameBadRequest Invalid input

swagger:response updateImageByNameBadRequest

func NewUpdateImageByNameBadRequest

func NewUpdateImageByNameBadRequest() *UpdateImageByNameBadRequest

NewUpdateImageByNameBadRequest creates UpdateImageByNameBadRequest with default headers values

func (*UpdateImageByNameBadRequest) SetPayload

func (o *UpdateImageByNameBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update image by name bad request response

func (*UpdateImageByNameBadRequest) WithPayload

WithPayload adds the payload to the update image by name bad request response

func (*UpdateImageByNameBadRequest) WriteResponse

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

WriteResponse to the client

type UpdateImageByNameDefault

type UpdateImageByNameDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

UpdateImageByNameDefault Generic error response

swagger:response updateImageByNameDefault

func NewUpdateImageByNameDefault

func NewUpdateImageByNameDefault(code int) *UpdateImageByNameDefault

NewUpdateImageByNameDefault creates UpdateImageByNameDefault with default headers values

func (*UpdateImageByNameDefault) SetPayload

func (o *UpdateImageByNameDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update image by name default response

func (*UpdateImageByNameDefault) SetStatusCode

func (o *UpdateImageByNameDefault) SetStatusCode(code int)

SetStatusCode sets the status to the update image by name default response

func (*UpdateImageByNameDefault) WithPayload

func (o *UpdateImageByNameDefault) WithPayload(payload *v1.Error) *UpdateImageByNameDefault

WithPayload adds the payload to the update image by name default response

func (*UpdateImageByNameDefault) WithStatusCode

func (o *UpdateImageByNameDefault) WithStatusCode(code int) *UpdateImageByNameDefault

WithStatusCode adds the status to the update image by name default response

func (*UpdateImageByNameDefault) WriteResponse

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

WriteResponse to the client

type UpdateImageByNameForbidden added in v0.1.18

type UpdateImageByNameForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

UpdateImageByNameForbidden access to this resource is forbidden

swagger:response updateImageByNameForbidden

func NewUpdateImageByNameForbidden added in v0.1.18

func NewUpdateImageByNameForbidden() *UpdateImageByNameForbidden

NewUpdateImageByNameForbidden creates UpdateImageByNameForbidden with default headers values

func (*UpdateImageByNameForbidden) SetPayload added in v0.1.18

func (o *UpdateImageByNameForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update image by name forbidden response

func (*UpdateImageByNameForbidden) WithPayload added in v0.1.18

WithPayload adds the payload to the update image by name forbidden response

func (*UpdateImageByNameForbidden) WriteResponse added in v0.1.18

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

WriteResponse to the client

type UpdateImageByNameHandler

type UpdateImageByNameHandler interface {
	Handle(UpdateImageByNameParams, interface{}) middleware.Responder
}

UpdateImageByNameHandler interface for that can handle valid update image by name params

type UpdateImageByNameHandlerFunc

type UpdateImageByNameHandlerFunc func(UpdateImageByNameParams, interface{}) middleware.Responder

UpdateImageByNameHandlerFunc turns a function with the right signature into a update image by name handler

func (UpdateImageByNameHandlerFunc) Handle

func (fn UpdateImageByNameHandlerFunc) Handle(params UpdateImageByNameParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type UpdateImageByNameNotFound

type UpdateImageByNameNotFound struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

UpdateImageByNameNotFound Image not found

swagger:response updateImageByNameNotFound

func NewUpdateImageByNameNotFound

func NewUpdateImageByNameNotFound() *UpdateImageByNameNotFound

NewUpdateImageByNameNotFound creates UpdateImageByNameNotFound with default headers values

func (*UpdateImageByNameNotFound) SetPayload

func (o *UpdateImageByNameNotFound) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update image by name not found response

func (*UpdateImageByNameNotFound) WithPayload

func (o *UpdateImageByNameNotFound) WithPayload(payload *v1.Error) *UpdateImageByNameNotFound

WithPayload adds the payload to the update image by name not found response

func (*UpdateImageByNameNotFound) WriteResponse

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

WriteResponse to the client

type UpdateImageByNameOK

type UpdateImageByNameOK struct {

	/*
	  In: Body
	*/
	Payload *v1.Image `json:"body,omitempty"`
}

UpdateImageByNameOK updated

swagger:response updateImageByNameOK

func NewUpdateImageByNameOK

func NewUpdateImageByNameOK() *UpdateImageByNameOK

NewUpdateImageByNameOK creates UpdateImageByNameOK with default headers values

func (*UpdateImageByNameOK) SetPayload

func (o *UpdateImageByNameOK) SetPayload(payload *v1.Image)

SetPayload sets the payload to the update image by name o k response

func (*UpdateImageByNameOK) WithPayload

func (o *UpdateImageByNameOK) WithPayload(payload *v1.Image) *UpdateImageByNameOK

WithPayload adds the payload to the update image by name o k response

func (*UpdateImageByNameOK) WriteResponse

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

WriteResponse to the client

type UpdateImageByNameParams

type UpdateImageByNameParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*
	  In: body
	*/
	Body *v1.Image
	/*Name of image to return
	  Required: true
	  Pattern: ^[\w\d\-]+$
	  In: path
	*/
	ImageName string
	/*Filter on image tags
	  In: query
	  Collection Format: multi
	*/
	Tags []string
}

UpdateImageByNameParams contains all the bound params for the update image by name operation typically these are obtained from a http.Request

swagger:parameters updateImageByName

func NewUpdateImageByNameParams

func NewUpdateImageByNameParams() UpdateImageByNameParams

NewUpdateImageByNameParams creates a new UpdateImageByNameParams object no default values defined in spec.

func (*UpdateImageByNameParams) BindRequest

func (o *UpdateImageByNameParams) 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 NewUpdateImageByNameParams() beforehand.

type UpdateImageByNameURL

type UpdateImageByNameURL struct {
	ImageName string

	Tags []string
	// contains filtered or unexported fields
}

UpdateImageByNameURL generates an URL for the update image by name operation

func (*UpdateImageByNameURL) Build

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

Build a url path and query string

func (*UpdateImageByNameURL) BuildFull

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

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

func (*UpdateImageByNameURL) Must

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

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

func (*UpdateImageByNameURL) SetBasePath

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

func (o *UpdateImageByNameURL) String() string

String returns the string representation of the path with query string

func (*UpdateImageByNameURL) StringFull

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

StringFull returns the string representation of a complete url

func (*UpdateImageByNameURL) WithBasePath

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

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 UpdateImageByNameUnauthorized added in v0.1.18

type UpdateImageByNameUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

UpdateImageByNameUnauthorized Unauthorized Request

swagger:response updateImageByNameUnauthorized

func NewUpdateImageByNameUnauthorized added in v0.1.18

func NewUpdateImageByNameUnauthorized() *UpdateImageByNameUnauthorized

NewUpdateImageByNameUnauthorized creates UpdateImageByNameUnauthorized with default headers values

func (*UpdateImageByNameUnauthorized) SetPayload added in v0.1.18

func (o *UpdateImageByNameUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update image by name unauthorized response

func (*UpdateImageByNameUnauthorized) WithPayload added in v0.1.18

WithPayload adds the payload to the update image by name unauthorized response

func (*UpdateImageByNameUnauthorized) WriteResponse added in v0.1.18

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

WriteResponse to the client

Jump to

Keyboard shortcuts

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