Documentation ¶
Index ¶
- Constants
- type AddBaseImage
- type AddBaseImageBadRequest
- type AddBaseImageConflict
- type AddBaseImageCreated
- type AddBaseImageDefault
- func (o *AddBaseImageDefault) SetPayload(payload *v1.Error)
- func (o *AddBaseImageDefault) SetStatusCode(code int)
- func (o *AddBaseImageDefault) WithPayload(payload *v1.Error) *AddBaseImageDefault
- func (o *AddBaseImageDefault) WithStatusCode(code int) *AddBaseImageDefault
- func (o *AddBaseImageDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type AddBaseImageForbidden
- 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 AddBaseImageUnauthorized
- type DeleteBaseImageByName
- type DeleteBaseImageByNameBadRequest
- type DeleteBaseImageByNameDefault
- func (o *DeleteBaseImageByNameDefault) SetPayload(payload *v1.Error)
- func (o *DeleteBaseImageByNameDefault) SetStatusCode(code int)
- func (o *DeleteBaseImageByNameDefault) WithPayload(payload *v1.Error) *DeleteBaseImageByNameDefault
- func (o *DeleteBaseImageByNameDefault) WithStatusCode(code int) *DeleteBaseImageByNameDefault
- func (o *DeleteBaseImageByNameDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteBaseImageByNameForbidden
- 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 DeleteBaseImageByNameUnauthorized
- type GetBaseImageByName
- type GetBaseImageByNameBadRequest
- type GetBaseImageByNameDefault
- func (o *GetBaseImageByNameDefault) SetPayload(payload *v1.Error)
- func (o *GetBaseImageByNameDefault) SetStatusCode(code int)
- func (o *GetBaseImageByNameDefault) WithPayload(payload *v1.Error) *GetBaseImageByNameDefault
- func (o *GetBaseImageByNameDefault) WithStatusCode(code int) *GetBaseImageByNameDefault
- func (o *GetBaseImageByNameDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetBaseImageByNameForbidden
- 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 GetBaseImageByNameUnauthorized
- type GetBaseImages
- type GetBaseImagesDefault
- func (o *GetBaseImagesDefault) SetPayload(payload *v1.Error)
- func (o *GetBaseImagesDefault) SetStatusCode(code int)
- func (o *GetBaseImagesDefault) WithPayload(payload *v1.Error) *GetBaseImagesDefault
- func (o *GetBaseImagesDefault) WithStatusCode(code int) *GetBaseImagesDefault
- func (o *GetBaseImagesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetBaseImagesForbidden
- 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 GetBaseImagesUnauthorized
- type UpdateBaseImageByName
- type UpdateBaseImageByNameBadRequest
- type UpdateBaseImageByNameDefault
- func (o *UpdateBaseImageByNameDefault) SetPayload(payload *v1.Error)
- func (o *UpdateBaseImageByNameDefault) SetStatusCode(code int)
- func (o *UpdateBaseImageByNameDefault) WithPayload(payload *v1.Error) *UpdateBaseImageByNameDefault
- func (o *UpdateBaseImageByNameDefault) WithStatusCode(code int) *UpdateBaseImageByNameDefault
- func (o *UpdateBaseImageByNameDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateBaseImageByNameForbidden
- 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
- type UpdateBaseImageByNameUnauthorized
Constants ¶
const AddBaseImageBadRequestCode int = 400
AddBaseImageBadRequestCode is the HTTP code returned for type AddBaseImageBadRequest
const AddBaseImageConflictCode int = 409
AddBaseImageConflictCode is the HTTP code returned for type AddBaseImageConflict
const AddBaseImageCreatedCode int = 201
AddBaseImageCreatedCode is the HTTP code returned for type AddBaseImageCreated
const AddBaseImageForbiddenCode int = 403
AddBaseImageForbiddenCode is the HTTP code returned for type AddBaseImageForbidden
AddBaseImageUnauthorizedCode is the HTTP code returned for type AddBaseImageUnauthorized
const DeleteBaseImageByNameBadRequestCode int = 400
DeleteBaseImageByNameBadRequestCode is the HTTP code returned for type DeleteBaseImageByNameBadRequest
const DeleteBaseImageByNameForbiddenCode int = 403
DeleteBaseImageByNameForbiddenCode is the HTTP code returned for type DeleteBaseImageByNameForbidden
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
DeleteBaseImageByNameUnauthorizedCode is the HTTP code returned for type DeleteBaseImageByNameUnauthorized
const GetBaseImageByNameBadRequestCode int = 400
GetBaseImageByNameBadRequestCode is the HTTP code returned for type GetBaseImageByNameBadRequest
const GetBaseImageByNameForbiddenCode int = 403
GetBaseImageByNameForbiddenCode is the HTTP code returned for type GetBaseImageByNameForbidden
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
GetBaseImageByNameUnauthorizedCode is the HTTP code returned for type GetBaseImageByNameUnauthorized
const GetBaseImagesForbiddenCode int = 403
GetBaseImagesForbiddenCode is the HTTP code returned for type GetBaseImagesForbidden
const GetBaseImagesOKCode int = 200
GetBaseImagesOKCode is the HTTP code returned for type GetBaseImagesOK
GetBaseImagesUnauthorizedCode is the HTTP code returned for type GetBaseImagesUnauthorized
const UpdateBaseImageByNameBadRequestCode int = 400
UpdateBaseImageByNameBadRequestCode is the HTTP code returned for type UpdateBaseImageByNameBadRequest
const UpdateBaseImageByNameForbiddenCode int = 403
UpdateBaseImageByNameForbiddenCode is the HTTP code returned for type UpdateBaseImageByNameForbidden
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
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
func (o *DeleteBaseImageByNameBadRequest) WithPayload(payload *v1.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 *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 ¶
func (o *DeleteBaseImageByNameDefault) WithPayload(payload *v1.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 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
func (o *DeleteBaseImageByNameForbidden) WithPayload(payload *v1.Error) *DeleteBaseImageByNameForbidden
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 ¶
func (o *DeleteBaseImageByNameNotFound) WithPayload(payload *v1.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 *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 ¶
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.
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 ¶
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 DeleteBaseImageByNameUnauthorized ¶ added in v0.1.18
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
func (o *DeleteBaseImageByNameUnauthorized) WithPayload(payload *v1.Error) *DeleteBaseImageByNameUnauthorized
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 ¶
func (o *GetBaseImageByNameBadRequest) WithPayload(payload *v1.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 *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
func (o *GetBaseImageByNameForbidden) WithPayload(payload *v1.Error) *GetBaseImageByNameForbidden
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 ¶
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 ¶
func (o *GetBaseImageByNameNotFound) WithPayload(payload *v1.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 ¶
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 ¶
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.
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 ¶
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
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
func (o *GetBaseImageByNameUnauthorized) WithPayload(payload *v1.Error) *GetBaseImageByNameUnauthorized
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
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 ¶
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 ¶
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
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 ¶
func (o *UpdateBaseImageByNameBadRequest) WithPayload(payload *v1.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 *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 ¶
func (o *UpdateBaseImageByNameDefault) WithPayload(payload *v1.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 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
func (o *UpdateBaseImageByNameForbidden) WithPayload(payload *v1.Error) *UpdateBaseImageByNameForbidden
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 ¶
func (o *UpdateBaseImageByNameNotFound) WithPayload(payload *v1.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 *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 ¶
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.
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 ¶
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
type UpdateBaseImageByNameUnauthorized ¶ added in v0.1.18
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
func (o *UpdateBaseImageByNameUnauthorized) WithPayload(payload *v1.Error) *UpdateBaseImageByNameUnauthorized
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
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