base_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: 0

Documentation

Index

Constants

View Source
const AddBaseImageBadRequestCode int = 400

AddBaseImageBadRequestCode is the HTTP code returned for type AddBaseImageBadRequest

View Source
const AddBaseImageConflictCode int = 409

AddBaseImageConflictCode is the HTTP code returned for type AddBaseImageConflict

View Source
const AddBaseImageCreatedCode int = 201

AddBaseImageCreatedCode is the HTTP code returned for type AddBaseImageCreated

View Source
const AddBaseImageForbiddenCode int = 403

AddBaseImageForbiddenCode is the HTTP code returned for type AddBaseImageForbidden

View Source
const AddBaseImageUnauthorizedCode int = 401

AddBaseImageUnauthorizedCode is the HTTP code returned for type AddBaseImageUnauthorized

View Source
const DeleteBaseImageByNameBadRequestCode int = 400

DeleteBaseImageByNameBadRequestCode is the HTTP code returned for type DeleteBaseImageByNameBadRequest

View Source
const DeleteBaseImageByNameForbiddenCode int = 403

DeleteBaseImageByNameForbiddenCode is the HTTP code returned for type DeleteBaseImageByNameForbidden

View Source
const DeleteBaseImageByNameNotFoundCode int = 404

DeleteBaseImageByNameNotFoundCode is the HTTP code returned for type DeleteBaseImageByNameNotFound

View Source
const DeleteBaseImageByNameOKCode int = 200

DeleteBaseImageByNameOKCode is the HTTP code returned for type DeleteBaseImageByNameOK

View Source
const DeleteBaseImageByNameUnauthorizedCode int = 401

DeleteBaseImageByNameUnauthorizedCode is the HTTP code returned for type DeleteBaseImageByNameUnauthorized

View Source
const GetBaseImageByNameBadRequestCode int = 400

GetBaseImageByNameBadRequestCode is the HTTP code returned for type GetBaseImageByNameBadRequest

View Source
const GetBaseImageByNameForbiddenCode int = 403

GetBaseImageByNameForbiddenCode is the HTTP code returned for type GetBaseImageByNameForbidden

View Source
const GetBaseImageByNameNotFoundCode int = 404

GetBaseImageByNameNotFoundCode is the HTTP code returned for type GetBaseImageByNameNotFound

View Source
const GetBaseImageByNameOKCode int = 200

GetBaseImageByNameOKCode is the HTTP code returned for type GetBaseImageByNameOK

View Source
const GetBaseImageByNameUnauthorizedCode int = 401

GetBaseImageByNameUnauthorizedCode is the HTTP code returned for type GetBaseImageByNameUnauthorized

View Source
const GetBaseImagesForbiddenCode int = 403

GetBaseImagesForbiddenCode is the HTTP code returned for type GetBaseImagesForbidden

View Source
const GetBaseImagesOKCode int = 200

GetBaseImagesOKCode is the HTTP code returned for type GetBaseImagesOK

View Source
const GetBaseImagesUnauthorizedCode int = 401

GetBaseImagesUnauthorizedCode is the HTTP code returned for type GetBaseImagesUnauthorized

View Source
const UpdateBaseImageByNameBadRequestCode int = 400

UpdateBaseImageByNameBadRequestCode is the HTTP code returned for type UpdateBaseImageByNameBadRequest

View Source
const UpdateBaseImageByNameForbiddenCode int = 403

UpdateBaseImageByNameForbiddenCode is the HTTP code returned for type UpdateBaseImageByNameForbidden

View Source
const UpdateBaseImageByNameNotFoundCode int = 404

UpdateBaseImageByNameNotFoundCode is the HTTP code returned for type UpdateBaseImageByNameNotFound

View Source
const UpdateBaseImageByNameOKCode int = 200

UpdateBaseImageByNameOKCode is the HTTP code returned for type UpdateBaseImageByNameOK

View Source
const UpdateBaseImageByNameUnauthorizedCode int = 401

UpdateBaseImageByNameUnauthorizedCode is the HTTP code returned for type UpdateBaseImageByNameUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type AddBaseImage

type AddBaseImage struct {
	Context *middleware.Context
	Handler AddBaseImageHandler
}

AddBaseImage swagger:route POST /baseimage baseImage addBaseImage

Add a new base image

func NewAddBaseImage

func NewAddBaseImage(ctx *middleware.Context, handler AddBaseImageHandler) *AddBaseImage

NewAddBaseImage creates a new http.Handler for the add base image operation

func (*AddBaseImage) ServeHTTP

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

type AddBaseImageBadRequest

type AddBaseImageBadRequest struct {

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

AddBaseImageBadRequest Invalid input

swagger:response addBaseImageBadRequest

func NewAddBaseImageBadRequest

func NewAddBaseImageBadRequest() *AddBaseImageBadRequest

NewAddBaseImageBadRequest creates AddBaseImageBadRequest with default headers values

func (*AddBaseImageBadRequest) SetPayload

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

SetPayload sets the payload to the add base image bad request response

func (*AddBaseImageBadRequest) WithPayload

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

WithPayload adds the payload to the add base image bad request response

func (*AddBaseImageBadRequest) WriteResponse

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

WriteResponse to the client

type AddBaseImageConflict added in v0.1.13

type AddBaseImageConflict struct {

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

AddBaseImageConflict Already Exists

swagger:response addBaseImageConflict

func NewAddBaseImageConflict added in v0.1.13

func NewAddBaseImageConflict() *AddBaseImageConflict

NewAddBaseImageConflict creates AddBaseImageConflict with default headers values

func (*AddBaseImageConflict) SetPayload added in v0.1.13

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

SetPayload sets the payload to the add base image conflict response

func (*AddBaseImageConflict) WithPayload added in v0.1.13

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

WithPayload adds the payload to the add base image conflict response

func (*AddBaseImageConflict) WriteResponse added in v0.1.13

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

WriteResponse to the client

type AddBaseImageCreated

type AddBaseImageCreated struct {

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

AddBaseImageCreated created

swagger:response addBaseImageCreated

func NewAddBaseImageCreated

func NewAddBaseImageCreated() *AddBaseImageCreated

NewAddBaseImageCreated creates AddBaseImageCreated with default headers values

func (*AddBaseImageCreated) SetPayload

func (o *AddBaseImageCreated) SetPayload(payload *v1.BaseImage)

SetPayload sets the payload to the add base image created response

func (*AddBaseImageCreated) WithPayload

func (o *AddBaseImageCreated) WithPayload(payload *v1.BaseImage) *AddBaseImageCreated

WithPayload adds the payload to the add base image created response

func (*AddBaseImageCreated) WriteResponse

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

WriteResponse to the client

type AddBaseImageDefault

type AddBaseImageDefault struct {

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

AddBaseImageDefault Generic error response

swagger:response addBaseImageDefault

func NewAddBaseImageDefault

func NewAddBaseImageDefault(code int) *AddBaseImageDefault

NewAddBaseImageDefault creates AddBaseImageDefault with default headers values

func (*AddBaseImageDefault) SetPayload

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

SetPayload sets the payload to the add base image default response

func (*AddBaseImageDefault) SetStatusCode

func (o *AddBaseImageDefault) SetStatusCode(code int)

SetStatusCode sets the status to the add base image default response

func (*AddBaseImageDefault) WithPayload

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

WithPayload adds the payload to the add base image default response

func (*AddBaseImageDefault) WithStatusCode

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

WithStatusCode adds the status to the add base image default response

func (*AddBaseImageDefault) WriteResponse

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

WriteResponse to the client

type AddBaseImageForbidden added in v0.1.18

type AddBaseImageForbidden struct {

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

AddBaseImageForbidden access to this resource is forbidden

swagger:response addBaseImageForbidden

func NewAddBaseImageForbidden added in v0.1.18

func NewAddBaseImageForbidden() *AddBaseImageForbidden

NewAddBaseImageForbidden creates AddBaseImageForbidden with default headers values

func (*AddBaseImageForbidden) SetPayload added in v0.1.18

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

SetPayload sets the payload to the add base image forbidden response

func (*AddBaseImageForbidden) WithPayload added in v0.1.18

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

WithPayload adds the payload to the add base image forbidden response

func (*AddBaseImageForbidden) WriteResponse added in v0.1.18

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

WriteResponse to the client

type AddBaseImageHandler

type AddBaseImageHandler interface {
	Handle(AddBaseImageParams, interface{}) middleware.Responder
}

AddBaseImageHandler interface for that can handle valid add base image params

type AddBaseImageHandlerFunc

type AddBaseImageHandlerFunc func(AddBaseImageParams, interface{}) middleware.Responder

AddBaseImageHandlerFunc turns a function with the right signature into a add base image handler

func (AddBaseImageHandlerFunc) Handle

func (fn AddBaseImageHandlerFunc) Handle(params AddBaseImageParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type AddBaseImageParams

type AddBaseImageParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*Base image object
	  Required: true
	  In: body
	*/
	Body *v1.BaseImage
}

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

swagger:parameters addBaseImage

func NewAddBaseImageParams

func NewAddBaseImageParams() AddBaseImageParams

NewAddBaseImageParams creates a new AddBaseImageParams object no default values defined in spec.

func (*AddBaseImageParams) BindRequest

func (o *AddBaseImageParams) 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 NewAddBaseImageParams() beforehand.

type AddBaseImageURL

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

AddBaseImageURL generates an URL for the add base image operation

func (*AddBaseImageURL) Build

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

Build a url path and query string

func (*AddBaseImageURL) BuildFull

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

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

func (*AddBaseImageURL) Must

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

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

func (*AddBaseImageURL) SetBasePath

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

func (o *AddBaseImageURL) String() string

String returns the string representation of the path with query string

func (*AddBaseImageURL) StringFull

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

StringFull returns the string representation of a complete url

func (*AddBaseImageURL) WithBasePath

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

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

type AddBaseImageUnauthorized struct {

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

AddBaseImageUnauthorized Unauthorized Request

swagger:response addBaseImageUnauthorized

func NewAddBaseImageUnauthorized added in v0.1.18

func NewAddBaseImageUnauthorized() *AddBaseImageUnauthorized

NewAddBaseImageUnauthorized creates AddBaseImageUnauthorized with default headers values

func (*AddBaseImageUnauthorized) SetPayload added in v0.1.18

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

SetPayload sets the payload to the add base image unauthorized response

func (*AddBaseImageUnauthorized) WithPayload added in v0.1.18

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

WithPayload adds the payload to the add base image unauthorized response

func (*AddBaseImageUnauthorized) WriteResponse added in v0.1.18

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

WriteResponse to the client

type DeleteBaseImageByName

type DeleteBaseImageByName struct {
	Context *middleware.Context
	Handler DeleteBaseImageByNameHandler
}

DeleteBaseImageByName swagger:route DELETE /baseimage/{baseImageName} baseImage deleteBaseImageByName

Deletes a base image

func NewDeleteBaseImageByName

func NewDeleteBaseImageByName(ctx *middleware.Context, handler DeleteBaseImageByNameHandler) *DeleteBaseImageByName

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

func (*DeleteBaseImageByName) ServeHTTP

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

type DeleteBaseImageByNameBadRequest

type DeleteBaseImageByNameBadRequest struct {

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

DeleteBaseImageByNameBadRequest Invalid ID supplied

swagger:response deleteBaseImageByNameBadRequest

func NewDeleteBaseImageByNameBadRequest

func NewDeleteBaseImageByNameBadRequest() *DeleteBaseImageByNameBadRequest

NewDeleteBaseImageByNameBadRequest creates DeleteBaseImageByNameBadRequest with default headers values

func (*DeleteBaseImageByNameBadRequest) SetPayload

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

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

func (*DeleteBaseImageByNameBadRequest) WithPayload

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

func (*DeleteBaseImageByNameBadRequest) WriteResponse

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

WriteResponse to the client

type DeleteBaseImageByNameDefault

type DeleteBaseImageByNameDefault struct {

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

DeleteBaseImageByNameDefault Generic error response

swagger:response deleteBaseImageByNameDefault

func NewDeleteBaseImageByNameDefault

func NewDeleteBaseImageByNameDefault(code int) *DeleteBaseImageByNameDefault

NewDeleteBaseImageByNameDefault creates DeleteBaseImageByNameDefault with default headers values

func (*DeleteBaseImageByNameDefault) SetPayload

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

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

func (*DeleteBaseImageByNameDefault) SetStatusCode

func (o *DeleteBaseImageByNameDefault) SetStatusCode(code int)

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

func (*DeleteBaseImageByNameDefault) WithPayload

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

func (*DeleteBaseImageByNameDefault) WithStatusCode

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

func (*DeleteBaseImageByNameDefault) WriteResponse

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

WriteResponse to the client

type DeleteBaseImageByNameForbidden added in v0.1.18

type DeleteBaseImageByNameForbidden struct {

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

DeleteBaseImageByNameForbidden access to this resource is forbidden

swagger:response deleteBaseImageByNameForbidden

func NewDeleteBaseImageByNameForbidden added in v0.1.18

func NewDeleteBaseImageByNameForbidden() *DeleteBaseImageByNameForbidden

NewDeleteBaseImageByNameForbidden creates DeleteBaseImageByNameForbidden with default headers values

func (*DeleteBaseImageByNameForbidden) SetPayload added in v0.1.18

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

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

func (*DeleteBaseImageByNameForbidden) WithPayload added in v0.1.18

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

func (*DeleteBaseImageByNameForbidden) WriteResponse added in v0.1.18

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

WriteResponse to the client

type DeleteBaseImageByNameHandler

type DeleteBaseImageByNameHandler interface {
	Handle(DeleteBaseImageByNameParams, interface{}) middleware.Responder
}

DeleteBaseImageByNameHandler interface for that can handle valid delete base image by name params

type DeleteBaseImageByNameHandlerFunc

type DeleteBaseImageByNameHandlerFunc func(DeleteBaseImageByNameParams, interface{}) middleware.Responder

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

func (DeleteBaseImageByNameHandlerFunc) Handle

func (fn DeleteBaseImageByNameHandlerFunc) Handle(params DeleteBaseImageByNameParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type DeleteBaseImageByNameNotFound

type DeleteBaseImageByNameNotFound struct {

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

DeleteBaseImageByNameNotFound Base image not found

swagger:response deleteBaseImageByNameNotFound

func NewDeleteBaseImageByNameNotFound

func NewDeleteBaseImageByNameNotFound() *DeleteBaseImageByNameNotFound

NewDeleteBaseImageByNameNotFound creates DeleteBaseImageByNameNotFound with default headers values

func (*DeleteBaseImageByNameNotFound) SetPayload

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

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

func (*DeleteBaseImageByNameNotFound) WithPayload

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

func (*DeleteBaseImageByNameNotFound) WriteResponse

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

WriteResponse to the client

type DeleteBaseImageByNameOK

type DeleteBaseImageByNameOK struct {

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

DeleteBaseImageByNameOK successful operation

swagger:response deleteBaseImageByNameOK

func NewDeleteBaseImageByNameOK

func NewDeleteBaseImageByNameOK() *DeleteBaseImageByNameOK

NewDeleteBaseImageByNameOK creates DeleteBaseImageByNameOK with default headers values

func (*DeleteBaseImageByNameOK) SetPayload

func (o *DeleteBaseImageByNameOK) SetPayload(payload *v1.BaseImage)

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

func (*DeleteBaseImageByNameOK) WithPayload

func (o *DeleteBaseImageByNameOK) WithPayload(payload *v1.BaseImage) *DeleteBaseImageByNameOK

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

func (*DeleteBaseImageByNameOK) WriteResponse

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

WriteResponse to the client

type DeleteBaseImageByNameParams

type DeleteBaseImageByNameParams struct {

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

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

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

swagger:parameters deleteBaseImageByName

func NewDeleteBaseImageByNameParams

func NewDeleteBaseImageByNameParams() DeleteBaseImageByNameParams

NewDeleteBaseImageByNameParams creates a new DeleteBaseImageByNameParams object no default values defined in spec.

func (*DeleteBaseImageByNameParams) BindRequest

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 NewDeleteBaseImageByNameParams() beforehand.

type DeleteBaseImageByNameURL

type DeleteBaseImageByNameURL struct {
	BaseImageName string

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

DeleteBaseImageByNameURL generates an URL for the delete base image by name operation

func (*DeleteBaseImageByNameURL) Build

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

Build a url path and query string

func (*DeleteBaseImageByNameURL) BuildFull

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

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

func (*DeleteBaseImageByNameURL) Must

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

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

func (*DeleteBaseImageByNameURL) SetBasePath

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

func (o *DeleteBaseImageByNameURL) String() string

String returns the string representation of the path with query string

func (*DeleteBaseImageByNameURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteBaseImageByNameURL) WithBasePath

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

type DeleteBaseImageByNameUnauthorized struct {

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

DeleteBaseImageByNameUnauthorized Unauthorized Request

swagger:response deleteBaseImageByNameUnauthorized

func NewDeleteBaseImageByNameUnauthorized added in v0.1.18

func NewDeleteBaseImageByNameUnauthorized() *DeleteBaseImageByNameUnauthorized

NewDeleteBaseImageByNameUnauthorized creates DeleteBaseImageByNameUnauthorized with default headers values

func (*DeleteBaseImageByNameUnauthorized) SetPayload added in v0.1.18

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

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

func (*DeleteBaseImageByNameUnauthorized) WithPayload added in v0.1.18

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

func (*DeleteBaseImageByNameUnauthorized) WriteResponse added in v0.1.18

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

WriteResponse to the client

type GetBaseImageByName

type GetBaseImageByName struct {
	Context *middleware.Context
	Handler GetBaseImageByNameHandler
}

GetBaseImageByName swagger:route GET /baseimage/{baseImageName} baseImage getBaseImageByName

Find base image by Name

Returns a single base image

func NewGetBaseImageByName

func NewGetBaseImageByName(ctx *middleware.Context, handler GetBaseImageByNameHandler) *GetBaseImageByName

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

func (*GetBaseImageByName) ServeHTTP

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

type GetBaseImageByNameBadRequest

type GetBaseImageByNameBadRequest struct {

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

GetBaseImageByNameBadRequest Invalid ID supplied

swagger:response getBaseImageByNameBadRequest

func NewGetBaseImageByNameBadRequest

func NewGetBaseImageByNameBadRequest() *GetBaseImageByNameBadRequest

NewGetBaseImageByNameBadRequest creates GetBaseImageByNameBadRequest with default headers values

func (*GetBaseImageByNameBadRequest) SetPayload

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

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

func (*GetBaseImageByNameBadRequest) WithPayload

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

func (*GetBaseImageByNameBadRequest) WriteResponse

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

WriteResponse to the client

type GetBaseImageByNameDefault

type GetBaseImageByNameDefault struct {

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

GetBaseImageByNameDefault Generic error response

swagger:response getBaseImageByNameDefault

func NewGetBaseImageByNameDefault

func NewGetBaseImageByNameDefault(code int) *GetBaseImageByNameDefault

NewGetBaseImageByNameDefault creates GetBaseImageByNameDefault with default headers values

func (*GetBaseImageByNameDefault) SetPayload

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

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

func (*GetBaseImageByNameDefault) SetStatusCode

func (o *GetBaseImageByNameDefault) SetStatusCode(code int)

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

func (*GetBaseImageByNameDefault) WithPayload

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

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

func (*GetBaseImageByNameDefault) WithStatusCode

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

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

func (*GetBaseImageByNameDefault) WriteResponse

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

WriteResponse to the client

type GetBaseImageByNameForbidden added in v0.1.18

type GetBaseImageByNameForbidden struct {

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

GetBaseImageByNameForbidden access to this resource is forbidden

swagger:response getBaseImageByNameForbidden

func NewGetBaseImageByNameForbidden added in v0.1.18

func NewGetBaseImageByNameForbidden() *GetBaseImageByNameForbidden

NewGetBaseImageByNameForbidden creates GetBaseImageByNameForbidden with default headers values

func (*GetBaseImageByNameForbidden) SetPayload added in v0.1.18

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

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

func (*GetBaseImageByNameForbidden) WithPayload added in v0.1.18

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

func (*GetBaseImageByNameForbidden) WriteResponse added in v0.1.18

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

WriteResponse to the client

type GetBaseImageByNameHandler

type GetBaseImageByNameHandler interface {
	Handle(GetBaseImageByNameParams, interface{}) middleware.Responder
}

GetBaseImageByNameHandler interface for that can handle valid get base image by name params

type GetBaseImageByNameHandlerFunc

type GetBaseImageByNameHandlerFunc func(GetBaseImageByNameParams, interface{}) middleware.Responder

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

func (GetBaseImageByNameHandlerFunc) Handle

func (fn GetBaseImageByNameHandlerFunc) Handle(params GetBaseImageByNameParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetBaseImageByNameNotFound

type GetBaseImageByNameNotFound struct {

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

GetBaseImageByNameNotFound Base image not found

swagger:response getBaseImageByNameNotFound

func NewGetBaseImageByNameNotFound

func NewGetBaseImageByNameNotFound() *GetBaseImageByNameNotFound

NewGetBaseImageByNameNotFound creates GetBaseImageByNameNotFound with default headers values

func (*GetBaseImageByNameNotFound) SetPayload

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

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

func (*GetBaseImageByNameNotFound) WithPayload

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

func (*GetBaseImageByNameNotFound) WriteResponse

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

WriteResponse to the client

type GetBaseImageByNameOK

type GetBaseImageByNameOK struct {

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

GetBaseImageByNameOK successful operation

swagger:response getBaseImageByNameOK

func NewGetBaseImageByNameOK

func NewGetBaseImageByNameOK() *GetBaseImageByNameOK

NewGetBaseImageByNameOK creates GetBaseImageByNameOK with default headers values

func (*GetBaseImageByNameOK) SetPayload

func (o *GetBaseImageByNameOK) SetPayload(payload *v1.BaseImage)

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

func (*GetBaseImageByNameOK) WithPayload

func (o *GetBaseImageByNameOK) WithPayload(payload *v1.BaseImage) *GetBaseImageByNameOK

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

func (*GetBaseImageByNameOK) WriteResponse

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

WriteResponse to the client

type GetBaseImageByNameParams

type GetBaseImageByNameParams struct {

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

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

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

swagger:parameters getBaseImageByName

func NewGetBaseImageByNameParams

func NewGetBaseImageByNameParams() GetBaseImageByNameParams

NewGetBaseImageByNameParams creates a new GetBaseImageByNameParams object no default values defined in spec.

func (*GetBaseImageByNameParams) BindRequest

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 NewGetBaseImageByNameParams() beforehand.

type GetBaseImageByNameURL

type GetBaseImageByNameURL struct {
	BaseImageName string

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

GetBaseImageByNameURL generates an URL for the get base image by name operation

func (*GetBaseImageByNameURL) Build

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

Build a url path and query string

func (*GetBaseImageByNameURL) BuildFull

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

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

func (*GetBaseImageByNameURL) Must

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

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

func (*GetBaseImageByNameURL) SetBasePath

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

func (o *GetBaseImageByNameURL) String() string

String returns the string representation of the path with query string

func (*GetBaseImageByNameURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetBaseImageByNameURL) WithBasePath

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

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

type GetBaseImageByNameUnauthorized struct {

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

GetBaseImageByNameUnauthorized Unauthorized Request

swagger:response getBaseImageByNameUnauthorized

func NewGetBaseImageByNameUnauthorized added in v0.1.18

func NewGetBaseImageByNameUnauthorized() *GetBaseImageByNameUnauthorized

NewGetBaseImageByNameUnauthorized creates GetBaseImageByNameUnauthorized with default headers values

func (*GetBaseImageByNameUnauthorized) SetPayload added in v0.1.18

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

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

func (*GetBaseImageByNameUnauthorized) WithPayload added in v0.1.18

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

func (*GetBaseImageByNameUnauthorized) WriteResponse added in v0.1.18

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

WriteResponse to the client

type GetBaseImages

type GetBaseImages struct {
	Context *middleware.Context
	Handler GetBaseImagesHandler
}

GetBaseImages swagger:route GET /baseimage baseImage getBaseImages

List all existing base images

func NewGetBaseImages

func NewGetBaseImages(ctx *middleware.Context, handler GetBaseImagesHandler) *GetBaseImages

NewGetBaseImages creates a new http.Handler for the get base images operation

func (*GetBaseImages) ServeHTTP

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

type GetBaseImagesDefault

type GetBaseImagesDefault struct {

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

GetBaseImagesDefault Generic error response

swagger:response getBaseImagesDefault

func NewGetBaseImagesDefault

func NewGetBaseImagesDefault(code int) *GetBaseImagesDefault

NewGetBaseImagesDefault creates GetBaseImagesDefault with default headers values

func (*GetBaseImagesDefault) SetPayload

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

SetPayload sets the payload to the get base images default response

func (*GetBaseImagesDefault) SetStatusCode

func (o *GetBaseImagesDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get base images default response

func (*GetBaseImagesDefault) WithPayload

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

WithPayload adds the payload to the get base images default response

func (*GetBaseImagesDefault) WithStatusCode

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

WithStatusCode adds the status to the get base images default response

func (*GetBaseImagesDefault) WriteResponse

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

WriteResponse to the client

type GetBaseImagesForbidden added in v0.1.18

type GetBaseImagesForbidden struct {

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

GetBaseImagesForbidden access to this resource is forbidden

swagger:response getBaseImagesForbidden

func NewGetBaseImagesForbidden added in v0.1.18

func NewGetBaseImagesForbidden() *GetBaseImagesForbidden

NewGetBaseImagesForbidden creates GetBaseImagesForbidden with default headers values

func (*GetBaseImagesForbidden) SetPayload added in v0.1.18

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

SetPayload sets the payload to the get base images forbidden response

func (*GetBaseImagesForbidden) WithPayload added in v0.1.18

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

WithPayload adds the payload to the get base images forbidden response

func (*GetBaseImagesForbidden) WriteResponse added in v0.1.18

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

WriteResponse to the client

type GetBaseImagesHandler

type GetBaseImagesHandler interface {
	Handle(GetBaseImagesParams, interface{}) middleware.Responder
}

GetBaseImagesHandler interface for that can handle valid get base images params

type GetBaseImagesHandlerFunc

type GetBaseImagesHandlerFunc func(GetBaseImagesParams, interface{}) middleware.Responder

GetBaseImagesHandlerFunc turns a function with the right signature into a get base images handler

func (GetBaseImagesHandlerFunc) Handle

func (fn GetBaseImagesHandlerFunc) Handle(params GetBaseImagesParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetBaseImagesOK

type GetBaseImagesOK struct {

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

GetBaseImagesOK successful operation

swagger:response getBaseImagesOK

func NewGetBaseImagesOK

func NewGetBaseImagesOK() *GetBaseImagesOK

NewGetBaseImagesOK creates GetBaseImagesOK with default headers values

func (*GetBaseImagesOK) SetPayload

func (o *GetBaseImagesOK) SetPayload(payload []*v1.BaseImage)

SetPayload sets the payload to the get base images o k response

func (*GetBaseImagesOK) WithPayload

func (o *GetBaseImagesOK) WithPayload(payload []*v1.BaseImage) *GetBaseImagesOK

WithPayload adds the payload to the get base images o k response

func (*GetBaseImagesOK) WriteResponse

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

WriteResponse to the client

type GetBaseImagesParams

type GetBaseImagesParams struct {

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

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

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

swagger:parameters getBaseImages

func NewGetBaseImagesParams

func NewGetBaseImagesParams() GetBaseImagesParams

NewGetBaseImagesParams creates a new GetBaseImagesParams object no default values defined in spec.

func (*GetBaseImagesParams) BindRequest

func (o *GetBaseImagesParams) 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 NewGetBaseImagesParams() beforehand.

type GetBaseImagesURL

type GetBaseImagesURL struct {
	Tags []string
	// contains filtered or unexported fields
}

GetBaseImagesURL generates an URL for the get base images operation

func (*GetBaseImagesURL) Build

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

Build a url path and query string

func (*GetBaseImagesURL) BuildFull

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

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

func (*GetBaseImagesURL) Must

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

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

func (*GetBaseImagesURL) SetBasePath

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

func (o *GetBaseImagesURL) String() string

String returns the string representation of the path with query string

func (*GetBaseImagesURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetBaseImagesURL) WithBasePath

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

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

type GetBaseImagesUnauthorized struct {

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

GetBaseImagesUnauthorized Unauthorized Request

swagger:response getBaseImagesUnauthorized

func NewGetBaseImagesUnauthorized added in v0.1.18

func NewGetBaseImagesUnauthorized() *GetBaseImagesUnauthorized

NewGetBaseImagesUnauthorized creates GetBaseImagesUnauthorized with default headers values

func (*GetBaseImagesUnauthorized) SetPayload added in v0.1.18

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

SetPayload sets the payload to the get base images unauthorized response

func (*GetBaseImagesUnauthorized) WithPayload added in v0.1.18

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

WithPayload adds the payload to the get base images unauthorized response

func (*GetBaseImagesUnauthorized) WriteResponse added in v0.1.18

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

WriteResponse to the client

type UpdateBaseImageByName

type UpdateBaseImageByName struct {
	Context *middleware.Context
	Handler UpdateBaseImageByNameHandler
}

UpdateBaseImageByName swagger:route PUT /baseimage/{baseImageName} baseImage updateBaseImageByName

Updates a base image

func NewUpdateBaseImageByName

func NewUpdateBaseImageByName(ctx *middleware.Context, handler UpdateBaseImageByNameHandler) *UpdateBaseImageByName

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

func (*UpdateBaseImageByName) ServeHTTP

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

type UpdateBaseImageByNameBadRequest

type UpdateBaseImageByNameBadRequest struct {

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

UpdateBaseImageByNameBadRequest Invalid input

swagger:response updateBaseImageByNameBadRequest

func NewUpdateBaseImageByNameBadRequest

func NewUpdateBaseImageByNameBadRequest() *UpdateBaseImageByNameBadRequest

NewUpdateBaseImageByNameBadRequest creates UpdateBaseImageByNameBadRequest with default headers values

func (*UpdateBaseImageByNameBadRequest) SetPayload

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

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

func (*UpdateBaseImageByNameBadRequest) WithPayload

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

func (*UpdateBaseImageByNameBadRequest) WriteResponse

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

WriteResponse to the client

type UpdateBaseImageByNameDefault

type UpdateBaseImageByNameDefault struct {

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

UpdateBaseImageByNameDefault Generic error response

swagger:response updateBaseImageByNameDefault

func NewUpdateBaseImageByNameDefault

func NewUpdateBaseImageByNameDefault(code int) *UpdateBaseImageByNameDefault

NewUpdateBaseImageByNameDefault creates UpdateBaseImageByNameDefault with default headers values

func (*UpdateBaseImageByNameDefault) SetPayload

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

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

func (*UpdateBaseImageByNameDefault) SetStatusCode

func (o *UpdateBaseImageByNameDefault) SetStatusCode(code int)

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

func (*UpdateBaseImageByNameDefault) WithPayload

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

func (*UpdateBaseImageByNameDefault) WithStatusCode

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

func (*UpdateBaseImageByNameDefault) WriteResponse

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

WriteResponse to the client

type UpdateBaseImageByNameForbidden added in v0.1.18

type UpdateBaseImageByNameForbidden struct {

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

UpdateBaseImageByNameForbidden access to this resource is forbidden

swagger:response updateBaseImageByNameForbidden

func NewUpdateBaseImageByNameForbidden added in v0.1.18

func NewUpdateBaseImageByNameForbidden() *UpdateBaseImageByNameForbidden

NewUpdateBaseImageByNameForbidden creates UpdateBaseImageByNameForbidden with default headers values

func (*UpdateBaseImageByNameForbidden) SetPayload added in v0.1.18

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

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

func (*UpdateBaseImageByNameForbidden) WithPayload added in v0.1.18

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

func (*UpdateBaseImageByNameForbidden) WriteResponse added in v0.1.18

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

WriteResponse to the client

type UpdateBaseImageByNameHandler

type UpdateBaseImageByNameHandler interface {
	Handle(UpdateBaseImageByNameParams, interface{}) middleware.Responder
}

UpdateBaseImageByNameHandler interface for that can handle valid update base image by name params

type UpdateBaseImageByNameHandlerFunc

type UpdateBaseImageByNameHandlerFunc func(UpdateBaseImageByNameParams, interface{}) middleware.Responder

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

func (UpdateBaseImageByNameHandlerFunc) Handle

func (fn UpdateBaseImageByNameHandlerFunc) Handle(params UpdateBaseImageByNameParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type UpdateBaseImageByNameNotFound

type UpdateBaseImageByNameNotFound struct {

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

UpdateBaseImageByNameNotFound Image not found

swagger:response updateBaseImageByNameNotFound

func NewUpdateBaseImageByNameNotFound

func NewUpdateBaseImageByNameNotFound() *UpdateBaseImageByNameNotFound

NewUpdateBaseImageByNameNotFound creates UpdateBaseImageByNameNotFound with default headers values

func (*UpdateBaseImageByNameNotFound) SetPayload

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

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

func (*UpdateBaseImageByNameNotFound) WithPayload

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

func (*UpdateBaseImageByNameNotFound) WriteResponse

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

WriteResponse to the client

type UpdateBaseImageByNameOK

type UpdateBaseImageByNameOK struct {

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

UpdateBaseImageByNameOK successful operation

swagger:response updateBaseImageByNameOK

func NewUpdateBaseImageByNameOK

func NewUpdateBaseImageByNameOK() *UpdateBaseImageByNameOK

NewUpdateBaseImageByNameOK creates UpdateBaseImageByNameOK with default headers values

func (*UpdateBaseImageByNameOK) SetPayload

func (o *UpdateBaseImageByNameOK) SetPayload(payload *v1.BaseImage)

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

func (*UpdateBaseImageByNameOK) WithPayload

func (o *UpdateBaseImageByNameOK) WithPayload(payload *v1.BaseImage) *UpdateBaseImageByNameOK

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

func (*UpdateBaseImageByNameOK) WriteResponse

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

WriteResponse to the client

type UpdateBaseImageByNameParams

type UpdateBaseImageByNameParams struct {

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

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

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

swagger:parameters updateBaseImageByName

func NewUpdateBaseImageByNameParams

func NewUpdateBaseImageByNameParams() UpdateBaseImageByNameParams

NewUpdateBaseImageByNameParams creates a new UpdateBaseImageByNameParams object no default values defined in spec.

func (*UpdateBaseImageByNameParams) BindRequest

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 NewUpdateBaseImageByNameParams() beforehand.

type UpdateBaseImageByNameURL

type UpdateBaseImageByNameURL struct {
	BaseImageName string

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

UpdateBaseImageByNameURL generates an URL for the update base image by name operation

func (*UpdateBaseImageByNameURL) Build

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

Build a url path and query string

func (*UpdateBaseImageByNameURL) BuildFull

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

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

func (*UpdateBaseImageByNameURL) Must

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

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

func (*UpdateBaseImageByNameURL) SetBasePath

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

func (o *UpdateBaseImageByNameURL) String() string

String returns the string representation of the path with query string

func (*UpdateBaseImageByNameURL) StringFull

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

StringFull returns the string representation of a complete url

func (*UpdateBaseImageByNameURL) WithBasePath

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

type UpdateBaseImageByNameUnauthorized struct {

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

UpdateBaseImageByNameUnauthorized Unauthorized Request

swagger:response updateBaseImageByNameUnauthorized

func NewUpdateBaseImageByNameUnauthorized added in v0.1.18

func NewUpdateBaseImageByNameUnauthorized() *UpdateBaseImageByNameUnauthorized

NewUpdateBaseImageByNameUnauthorized creates UpdateBaseImageByNameUnauthorized with default headers values

func (*UpdateBaseImageByNameUnauthorized) SetPayload added in v0.1.18

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

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

func (*UpdateBaseImageByNameUnauthorized) WithPayload added in v0.1.18

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

func (*UpdateBaseImageByNameUnauthorized) WriteResponse added in v0.1.18

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