Documentation
¶
Index ¶
- Constants
- type AddBaseImage
- type AddBaseImageBadRequest
- type AddBaseImageCreated
- type AddBaseImageDefault
- func (o *AddBaseImageDefault) SetPayload(payload *models.Error)
- func (o *AddBaseImageDefault) SetStatusCode(code int)
- func (o *AddBaseImageDefault) WithPayload(payload *models.Error) *AddBaseImageDefault
- func (o *AddBaseImageDefault) WithStatusCode(code int) *AddBaseImageDefault
- func (o *AddBaseImageDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type AddBaseImageHandler
- type AddBaseImageHandlerFunc
- type AddBaseImageParams
- type AddBaseImageURL
- func (o *AddBaseImageURL) Build() (*url.URL, error)
- func (o *AddBaseImageURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *AddBaseImageURL) Must(u *url.URL, err error) *url.URL
- func (o *AddBaseImageURL) SetBasePath(bp string)
- func (o *AddBaseImageURL) String() string
- func (o *AddBaseImageURL) StringFull(scheme, host string) string
- func (o *AddBaseImageURL) WithBasePath(bp string) *AddBaseImageURL
- type DeleteBaseImageByName
- type DeleteBaseImageByNameBadRequest
- type DeleteBaseImageByNameDefault
- func (o *DeleteBaseImageByNameDefault) SetPayload(payload *models.Error)
- func (o *DeleteBaseImageByNameDefault) SetStatusCode(code int)
- func (o *DeleteBaseImageByNameDefault) WithPayload(payload *models.Error) *DeleteBaseImageByNameDefault
- func (o *DeleteBaseImageByNameDefault) WithStatusCode(code int) *DeleteBaseImageByNameDefault
- func (o *DeleteBaseImageByNameDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteBaseImageByNameHandler
- type DeleteBaseImageByNameHandlerFunc
- type DeleteBaseImageByNameNotFound
- type DeleteBaseImageByNameOK
- type DeleteBaseImageByNameParams
- type DeleteBaseImageByNameURL
- func (o *DeleteBaseImageByNameURL) Build() (*url.URL, error)
- func (o *DeleteBaseImageByNameURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteBaseImageByNameURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteBaseImageByNameURL) SetBasePath(bp string)
- func (o *DeleteBaseImageByNameURL) String() string
- func (o *DeleteBaseImageByNameURL) StringFull(scheme, host string) string
- func (o *DeleteBaseImageByNameURL) WithBasePath(bp string) *DeleteBaseImageByNameURL
- type GetBaseImageByName
- type GetBaseImageByNameBadRequest
- type GetBaseImageByNameDefault
- func (o *GetBaseImageByNameDefault) SetPayload(payload *models.Error)
- func (o *GetBaseImageByNameDefault) SetStatusCode(code int)
- func (o *GetBaseImageByNameDefault) WithPayload(payload *models.Error) *GetBaseImageByNameDefault
- func (o *GetBaseImageByNameDefault) WithStatusCode(code int) *GetBaseImageByNameDefault
- func (o *GetBaseImageByNameDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetBaseImageByNameHandler
- type GetBaseImageByNameHandlerFunc
- type GetBaseImageByNameNotFound
- type GetBaseImageByNameOK
- type GetBaseImageByNameParams
- type GetBaseImageByNameURL
- func (o *GetBaseImageByNameURL) Build() (*url.URL, error)
- func (o *GetBaseImageByNameURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetBaseImageByNameURL) Must(u *url.URL, err error) *url.URL
- func (o *GetBaseImageByNameURL) SetBasePath(bp string)
- func (o *GetBaseImageByNameURL) String() string
- func (o *GetBaseImageByNameURL) StringFull(scheme, host string) string
- func (o *GetBaseImageByNameURL) WithBasePath(bp string) *GetBaseImageByNameURL
- type GetBaseImages
- type GetBaseImagesDefault
- func (o *GetBaseImagesDefault) SetPayload(payload *models.Error)
- func (o *GetBaseImagesDefault) SetStatusCode(code int)
- func (o *GetBaseImagesDefault) WithPayload(payload *models.Error) *GetBaseImagesDefault
- func (o *GetBaseImagesDefault) WithStatusCode(code int) *GetBaseImagesDefault
- func (o *GetBaseImagesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetBaseImagesHandler
- type GetBaseImagesHandlerFunc
- type GetBaseImagesOK
- type GetBaseImagesParams
- type GetBaseImagesURL
- func (o *GetBaseImagesURL) Build() (*url.URL, error)
- func (o *GetBaseImagesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetBaseImagesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetBaseImagesURL) SetBasePath(bp string)
- func (o *GetBaseImagesURL) String() string
- func (o *GetBaseImagesURL) StringFull(scheme, host string) string
- func (o *GetBaseImagesURL) WithBasePath(bp string) *GetBaseImagesURL
- type UpdateBaseImageByName
- type UpdateBaseImageByNameBadRequest
- type UpdateBaseImageByNameDefault
- func (o *UpdateBaseImageByNameDefault) SetPayload(payload *models.Error)
- func (o *UpdateBaseImageByNameDefault) SetStatusCode(code int)
- func (o *UpdateBaseImageByNameDefault) WithPayload(payload *models.Error) *UpdateBaseImageByNameDefault
- func (o *UpdateBaseImageByNameDefault) WithStatusCode(code int) *UpdateBaseImageByNameDefault
- func (o *UpdateBaseImageByNameDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateBaseImageByNameHandler
- type UpdateBaseImageByNameHandlerFunc
- type UpdateBaseImageByNameNotFound
- type UpdateBaseImageByNameOK
- type UpdateBaseImageByNameParams
- type UpdateBaseImageByNameURL
- func (o *UpdateBaseImageByNameURL) Build() (*url.URL, error)
- func (o *UpdateBaseImageByNameURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateBaseImageByNameURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateBaseImageByNameURL) SetBasePath(bp string)
- func (o *UpdateBaseImageByNameURL) String() string
- func (o *UpdateBaseImageByNameURL) StringFull(scheme, host string) string
- func (o *UpdateBaseImageByNameURL) WithBasePath(bp string) *UpdateBaseImageByNameURL
Constants ¶
const AddBaseImageBadRequestCode int = 400
AddBaseImageBadRequestCode is the HTTP code returned for type AddBaseImageBadRequest
const AddBaseImageCreatedCode int = 201
AddBaseImageCreatedCode is the HTTP code returned for type AddBaseImageCreated
const DeleteBaseImageByNameBadRequestCode int = 400
DeleteBaseImageByNameBadRequestCode is the HTTP code returned for type DeleteBaseImageByNameBadRequest
const DeleteBaseImageByNameNotFoundCode int = 404
DeleteBaseImageByNameNotFoundCode is the HTTP code returned for type DeleteBaseImageByNameNotFound
const DeleteBaseImageByNameOKCode int = 200
DeleteBaseImageByNameOKCode is the HTTP code returned for type DeleteBaseImageByNameOK
const GetBaseImageByNameBadRequestCode int = 400
GetBaseImageByNameBadRequestCode is the HTTP code returned for type GetBaseImageByNameBadRequest
const GetBaseImageByNameNotFoundCode int = 404
GetBaseImageByNameNotFoundCode is the HTTP code returned for type GetBaseImageByNameNotFound
const GetBaseImageByNameOKCode int = 200
GetBaseImageByNameOKCode is the HTTP code returned for type GetBaseImageByNameOK
const GetBaseImagesOKCode int = 200
GetBaseImagesOKCode is the HTTP code returned for type GetBaseImagesOK
const UpdateBaseImageByNameBadRequestCode int = 400
UpdateBaseImageByNameBadRequestCode is the HTTP code returned for type UpdateBaseImageByNameBadRequest
const UpdateBaseImageByNameNotFoundCode int = 404
UpdateBaseImageByNameNotFoundCode is the HTTP code returned for type UpdateBaseImageByNameNotFound
const UpdateBaseImageByNameOKCode int = 200
UpdateBaseImageByNameOKCode is the HTTP code returned for type UpdateBaseImageByNameOK
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 /base 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 ¶
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 *models.Error)
SetPayload sets the payload to the add base image bad request response
func (*AddBaseImageBadRequest) WithPayload ¶
func (o *AddBaseImageBadRequest) WithPayload(payload *models.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 AddBaseImageCreated ¶
type AddBaseImageCreated struct { /* In: Body */ Payload *models.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 *models.BaseImage)
SetPayload sets the payload to the add base image created response
func (*AddBaseImageCreated) WithPayload ¶
func (o *AddBaseImageCreated) WithPayload(payload *models.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 *models.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 *models.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 *models.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 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 /*Base image object Required: true In: body */ Body *models.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 with the default values initialized.
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
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 ¶
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 DeleteBaseImageByName ¶
type DeleteBaseImageByName struct { Context *middleware.Context Handler DeleteBaseImageByNameHandler }
DeleteBaseImageByName swagger:route DELETE /base/{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 *models.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 *models.Error)
SetPayload sets the payload to the delete base image by name bad request response
func (*DeleteBaseImageByNameBadRequest) WithPayload ¶
func (o *DeleteBaseImageByNameBadRequest) WithPayload(payload *models.Error) *DeleteBaseImageByNameBadRequest
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 *models.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 *models.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 ¶
func (o *DeleteBaseImageByNameDefault) WithPayload(payload *models.Error) *DeleteBaseImageByNameDefault
WithPayload adds the payload to the delete base image by name default response
func (*DeleteBaseImageByNameDefault) WithStatusCode ¶
func (o *DeleteBaseImageByNameDefault) WithStatusCode(code int) *DeleteBaseImageByNameDefault
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 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 *models.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 *models.Error)
SetPayload sets the payload to the delete base image by name not found response
func (*DeleteBaseImageByNameNotFound) WithPayload ¶
func (o *DeleteBaseImageByNameNotFound) WithPayload(payload *models.Error) *DeleteBaseImageByNameNotFound
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 *models.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 *models.BaseImage)
SetPayload sets the payload to the delete base image by name o k response
func (*DeleteBaseImageByNameOK) WithPayload ¶
func (o *DeleteBaseImageByNameOK) WithPayload(payload *models.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 /*Name of base image to return Required: true Pattern: ^[\w\d\-]+$ In: path */ BaseImageName 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 with the default values initialized.
func (*DeleteBaseImageByNameParams) BindRequest ¶
func (o *DeleteBaseImageByNameParams) 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
type DeleteBaseImageByNameURL ¶
type DeleteBaseImageByNameURL struct { BaseImageName 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 ¶
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 ¶
func (o *DeleteBaseImageByNameURL) WithBasePath(bp string) *DeleteBaseImageByNameURL
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 GetBaseImageByName ¶
type GetBaseImageByName struct { Context *middleware.Context Handler GetBaseImageByNameHandler }
GetBaseImageByName swagger:route GET /base/{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 *models.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 *models.Error)
SetPayload sets the payload to the get base image by name bad request response
func (*GetBaseImageByNameBadRequest) WithPayload ¶
func (o *GetBaseImageByNameBadRequest) WithPayload(payload *models.Error) *GetBaseImageByNameBadRequest
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 *models.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 *models.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 *models.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 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 *models.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 *models.Error)
SetPayload sets the payload to the get base image by name not found response
func (*GetBaseImageByNameNotFound) WithPayload ¶
func (o *GetBaseImageByNameNotFound) WithPayload(payload *models.Error) *GetBaseImageByNameNotFound
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 *models.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 *models.BaseImage)
SetPayload sets the payload to the get base image by name o k response
func (*GetBaseImageByNameOK) WithPayload ¶
func (o *GetBaseImageByNameOK) WithPayload(payload *models.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 /*Name of base image to return Required: true Pattern: ^[\w\d\-]+$ In: path */ BaseImageName 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 with the default values initialized.
func (*GetBaseImageByNameParams) BindRequest ¶
func (o *GetBaseImageByNameParams) 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
type GetBaseImageByNameURL ¶
type GetBaseImageByNameURL struct { BaseImageName 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 ¶
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 GetBaseImages ¶
type GetBaseImages struct { Context *middleware.Context Handler GetBaseImagesHandler }
GetBaseImages swagger:route GET /base 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 *models.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 *models.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 *models.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 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 models.GetBaseImagesOKBody `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 models.GetBaseImagesOKBody)
SetPayload sets the payload to the get base images o k response
func (*GetBaseImagesOK) WithPayload ¶
func (o *GetBaseImagesOK) WithPayload(payload models.GetBaseImagesOKBody) *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 /*Base image runtime/language In: query */ Runtime *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 with the default values initialized.
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
type GetBaseImagesURL ¶
type GetBaseImagesURL struct { Runtime *string 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 ¶
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 UpdateBaseImageByName ¶
type UpdateBaseImageByName struct { Context *middleware.Context Handler UpdateBaseImageByNameHandler }
UpdateBaseImageByName swagger:route PUT /base/{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 *models.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 *models.Error)
SetPayload sets the payload to the update base image by name bad request response
func (*UpdateBaseImageByNameBadRequest) WithPayload ¶
func (o *UpdateBaseImageByNameBadRequest) WithPayload(payload *models.Error) *UpdateBaseImageByNameBadRequest
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 *models.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 *models.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 ¶
func (o *UpdateBaseImageByNameDefault) WithPayload(payload *models.Error) *UpdateBaseImageByNameDefault
WithPayload adds the payload to the update base image by name default response
func (*UpdateBaseImageByNameDefault) WithStatusCode ¶
func (o *UpdateBaseImageByNameDefault) WithStatusCode(code int) *UpdateBaseImageByNameDefault
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 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 *models.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 *models.Error)
SetPayload sets the payload to the update base image by name not found response
func (*UpdateBaseImageByNameNotFound) WithPayload ¶
func (o *UpdateBaseImageByNameNotFound) WithPayload(payload *models.Error) *UpdateBaseImageByNameNotFound
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 *models.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 *models.BaseImage)
SetPayload sets the payload to the update base image by name o k response
func (*UpdateBaseImageByNameOK) WithPayload ¶
func (o *UpdateBaseImageByNameOK) WithPayload(payload *models.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 /*Name of base image to return Required: true Pattern: ^[\w\d\-]+$ In: path */ BaseImageName string /* In: body */ Body *models.BaseImage }
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 with the default values initialized.
func (*UpdateBaseImageByNameParams) BindRequest ¶
func (o *UpdateBaseImageByNameParams) 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
type UpdateBaseImageByNameURL ¶
type UpdateBaseImageByNameURL struct { BaseImageName 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 ¶
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 ¶
func (o *UpdateBaseImageByNameURL) WithBasePath(bp string) *UpdateBaseImageByNameURL
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
Source Files
¶
- add_base_image.go
- add_base_image_parameters.go
- add_base_image_responses.go
- add_base_image_urlbuilder.go
- delete_base_image_by_name.go
- delete_base_image_by_name_parameters.go
- delete_base_image_by_name_responses.go
- delete_base_image_by_name_urlbuilder.go
- get_base_image_by_name.go
- get_base_image_by_name_parameters.go
- get_base_image_by_name_responses.go
- get_base_image_by_name_urlbuilder.go
- get_base_images.go
- get_base_images_parameters.go
- get_base_images_responses.go
- get_base_images_urlbuilder.go
- update_base_image_by_name.go
- update_base_image_by_name_parameters.go
- update_base_image_by_name_responses.go
- update_base_image_by_name_urlbuilder.go