Documentation
¶
Index ¶
- Constants
- type AddDebugAttachment
- type AddDebugAttachmentBadRequest
- type AddDebugAttachmentCreated
- type AddDebugAttachmentHandler
- type AddDebugAttachmentHandlerFunc
- type AddDebugAttachmentNotFound
- type AddDebugAttachmentParams
- type AddDebugAttachmentServiceUnavailable
- type AddDebugAttachmentURL
- func (o *AddDebugAttachmentURL) Build() (*url.URL, error)
- func (o *AddDebugAttachmentURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *AddDebugAttachmentURL) Must(u *url.URL, err error) *url.URL
- func (o *AddDebugAttachmentURL) SetBasePath(bp string)
- func (o *AddDebugAttachmentURL) String() string
- func (o *AddDebugAttachmentURL) StringFull(scheme, host string) string
- func (o *AddDebugAttachmentURL) WithBasePath(bp string) *AddDebugAttachmentURL
- type AddDebugAttachmentUnprocessableEntity
- type DeleteDebugAttachment
- type DeleteDebugAttachmentBadRequest
- type DeleteDebugAttachmentHandler
- type DeleteDebugAttachmentHandlerFunc
- type DeleteDebugAttachmentNotFound
- type DeleteDebugAttachmentOK
- type DeleteDebugAttachmentParams
- type DeleteDebugAttachmentURL
- func (o *DeleteDebugAttachmentURL) Build() (*url.URL, error)
- func (o *DeleteDebugAttachmentURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteDebugAttachmentURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteDebugAttachmentURL) SetBasePath(bp string)
- func (o *DeleteDebugAttachmentURL) String() string
- func (o *DeleteDebugAttachmentURL) StringFull(scheme, host string) string
- func (o *DeleteDebugAttachmentURL) WithBasePath(bp string) *DeleteDebugAttachmentURL
- type DeleteDebugAttachmentUnprocessableEntity
- type GetDebugAttachment
- type GetDebugAttachmentBadRequest
- type GetDebugAttachmentHandler
- type GetDebugAttachmentHandlerFunc
- type GetDebugAttachmentNotFound
- type GetDebugAttachmentOK
- type GetDebugAttachmentParams
- type GetDebugAttachmentURL
- func (o *GetDebugAttachmentURL) Build() (*url.URL, error)
- func (o *GetDebugAttachmentURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetDebugAttachmentURL) Must(u *url.URL, err error) *url.URL
- func (o *GetDebugAttachmentURL) SetBasePath(bp string)
- func (o *GetDebugAttachmentURL) String() string
- func (o *GetDebugAttachmentURL) StringFull(scheme, host string) string
- func (o *GetDebugAttachmentURL) WithBasePath(bp string) *GetDebugAttachmentURL
- type GetDebugAttachmentUnprocessableEntity
- type GetDebugAttachments
- type GetDebugAttachmentsHandler
- type GetDebugAttachmentsHandlerFunc
- type GetDebugAttachmentsOK
- func (o *GetDebugAttachmentsOK) SetETag(eTag string)
- func (o *GetDebugAttachmentsOK) SetPayload(payload models.GetDebugAttachmentsOKBody)
- func (o *GetDebugAttachmentsOK) WithETag(eTag string) *GetDebugAttachmentsOK
- func (o *GetDebugAttachmentsOK) WithPayload(payload models.GetDebugAttachmentsOKBody) *GetDebugAttachmentsOK
- func (o *GetDebugAttachmentsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetDebugAttachmentsParams
- type GetDebugAttachmentsRequestTimeout
- type GetDebugAttachmentsURL
- func (o *GetDebugAttachmentsURL) Build() (*url.URL, error)
- func (o *GetDebugAttachmentsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetDebugAttachmentsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetDebugAttachmentsURL) SetBasePath(bp string)
- func (o *GetDebugAttachmentsURL) String() string
- func (o *GetDebugAttachmentsURL) StringFull(scheme, host string) string
- func (o *GetDebugAttachmentsURL) WithBasePath(bp string) *GetDebugAttachmentsURL
- type GetDebugAttachmentsUnprocessableEntity
- type PatchDebugAttachment
- type PatchDebugAttachmentBadRequest
- type PatchDebugAttachmentConflict
- type PatchDebugAttachmentHandler
- type PatchDebugAttachmentHandlerFunc
- type PatchDebugAttachmentNotFound
- type PatchDebugAttachmentOK
- type PatchDebugAttachmentParams
- type PatchDebugAttachmentServiceUnavailable
- type PatchDebugAttachmentURL
- func (o *PatchDebugAttachmentURL) Build() (*url.URL, error)
- func (o *PatchDebugAttachmentURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PatchDebugAttachmentURL) Must(u *url.URL, err error) *url.URL
- func (o *PatchDebugAttachmentURL) SetBasePath(bp string)
- func (o *PatchDebugAttachmentURL) String() string
- func (o *PatchDebugAttachmentURL) StringFull(scheme, host string) string
- func (o *PatchDebugAttachmentURL) WithBasePath(bp string) *PatchDebugAttachmentURL
- type PatchDebugAttachmentUnprocessableEntity
Constants ¶
const AddDebugAttachmentBadRequestCode int = 400
AddDebugAttachmentBadRequestCode is the HTTP code returned for type AddDebugAttachmentBadRequest
const AddDebugAttachmentCreatedCode int = 201
AddDebugAttachmentCreatedCode is the HTTP code returned for type AddDebugAttachmentCreated
const AddDebugAttachmentNotFoundCode int = 404
AddDebugAttachmentNotFoundCode is the HTTP code returned for type AddDebugAttachmentNotFound
AddDebugAttachmentServiceUnavailableCode is the HTTP code returned for type AddDebugAttachmentServiceUnavailable
const AddDebugAttachmentUnprocessableEntityCode int = 422
AddDebugAttachmentUnprocessableEntityCode is the HTTP code returned for type AddDebugAttachmentUnprocessableEntity
const DeleteDebugAttachmentBadRequestCode int = 400
DeleteDebugAttachmentBadRequestCode is the HTTP code returned for type DeleteDebugAttachmentBadRequest
const DeleteDebugAttachmentNotFoundCode int = 404
DeleteDebugAttachmentNotFoundCode is the HTTP code returned for type DeleteDebugAttachmentNotFound
const DeleteDebugAttachmentOKCode int = 200
DeleteDebugAttachmentOKCode is the HTTP code returned for type DeleteDebugAttachmentOK
const DeleteDebugAttachmentUnprocessableEntityCode int = 422
DeleteDebugAttachmentUnprocessableEntityCode is the HTTP code returned for type DeleteDebugAttachmentUnprocessableEntity
const GetDebugAttachmentBadRequestCode int = 400
GetDebugAttachmentBadRequestCode is the HTTP code returned for type GetDebugAttachmentBadRequest
const GetDebugAttachmentNotFoundCode int = 404
GetDebugAttachmentNotFoundCode is the HTTP code returned for type GetDebugAttachmentNotFound
const GetDebugAttachmentOKCode int = 200
GetDebugAttachmentOKCode is the HTTP code returned for type GetDebugAttachmentOK
const GetDebugAttachmentUnprocessableEntityCode int = 422
GetDebugAttachmentUnprocessableEntityCode is the HTTP code returned for type GetDebugAttachmentUnprocessableEntity
const GetDebugAttachmentsOKCode int = 200
GetDebugAttachmentsOKCode is the HTTP code returned for type GetDebugAttachmentsOK
const GetDebugAttachmentsRequestTimeoutCode int = 408
GetDebugAttachmentsRequestTimeoutCode is the HTTP code returned for type GetDebugAttachmentsRequestTimeout
const GetDebugAttachmentsUnprocessableEntityCode int = 422
GetDebugAttachmentsUnprocessableEntityCode is the HTTP code returned for type GetDebugAttachmentsUnprocessableEntity
const PatchDebugAttachmentBadRequestCode int = 400
PatchDebugAttachmentBadRequestCode is the HTTP code returned for type PatchDebugAttachmentBadRequest
const PatchDebugAttachmentConflictCode int = 409
PatchDebugAttachmentConflictCode is the HTTP code returned for type PatchDebugAttachmentConflict
const PatchDebugAttachmentNotFoundCode int = 404
PatchDebugAttachmentNotFoundCode is the HTTP code returned for type PatchDebugAttachmentNotFound
const PatchDebugAttachmentOKCode int = 200
PatchDebugAttachmentOKCode is the HTTP code returned for type PatchDebugAttachmentOK
PatchDebugAttachmentServiceUnavailableCode is the HTTP code returned for type PatchDebugAttachmentServiceUnavailable
const PatchDebugAttachmentUnprocessableEntityCode int = 422
PatchDebugAttachmentUnprocessableEntityCode is the HTTP code returned for type PatchDebugAttachmentUnprocessableEntity
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddDebugAttachment ¶
type AddDebugAttachment struct { Context *middleware.Context Handler AddDebugAttachmentHandler }
AddDebugAttachment swagger:route POST /debugattachment debugattachment addDebugAttachment
Request squash to attach to a running container.
A debug attachment instructs squash to attach to a container. Debug attachment is made of
- image: The container image we are debugging. this is used for extra validation, as placing breakpoints on the wrong binary can lead to unexpected results. if not provided huerisrtics will be used to identify it.
- debugger: Type of debugger to use. "dlv" and "gdb" are supported now.
- match_request: Whether to match this attachment to a debug request. This is used in automated use-cases to guarantee that the attachment matches a pending debug request.
func NewAddDebugAttachment ¶
func NewAddDebugAttachment(ctx *middleware.Context, handler AddDebugAttachmentHandler) *AddDebugAttachment
NewAddDebugAttachment creates a new http.Handler for the add debug attachment operation
func (*AddDebugAttachment) ServeHTTP ¶
func (o *AddDebugAttachment) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type AddDebugAttachmentBadRequest ¶
type AddDebugAttachmentBadRequest struct { }
AddDebugAttachmentBadRequest Bad request
swagger:response addDebugAttachmentBadRequest
func NewAddDebugAttachmentBadRequest ¶
func NewAddDebugAttachmentBadRequest() *AddDebugAttachmentBadRequest
NewAddDebugAttachmentBadRequest creates AddDebugAttachmentBadRequest with default headers values
func (*AddDebugAttachmentBadRequest) WriteResponse ¶
func (o *AddDebugAttachmentBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddDebugAttachmentCreated ¶
type AddDebugAttachmentCreated struct { /* In: Body */ Payload *models.DebugAttachment `json:"body,omitempty"` }
AddDebugAttachmentCreated Debug attachment created
swagger:response addDebugAttachmentCreated
func NewAddDebugAttachmentCreated ¶
func NewAddDebugAttachmentCreated() *AddDebugAttachmentCreated
NewAddDebugAttachmentCreated creates AddDebugAttachmentCreated with default headers values
func (*AddDebugAttachmentCreated) SetPayload ¶
func (o *AddDebugAttachmentCreated) SetPayload(payload *models.DebugAttachment)
SetPayload sets the payload to the add debug attachment created response
func (*AddDebugAttachmentCreated) WithPayload ¶
func (o *AddDebugAttachmentCreated) WithPayload(payload *models.DebugAttachment) *AddDebugAttachmentCreated
WithPayload adds the payload to the add debug attachment created response
func (*AddDebugAttachmentCreated) WriteResponse ¶
func (o *AddDebugAttachmentCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddDebugAttachmentHandler ¶
type AddDebugAttachmentHandler interface {
Handle(AddDebugAttachmentParams) middleware.Responder
}
AddDebugAttachmentHandler interface for that can handle valid add debug attachment params
type AddDebugAttachmentHandlerFunc ¶
type AddDebugAttachmentHandlerFunc func(AddDebugAttachmentParams) middleware.Responder
AddDebugAttachmentHandlerFunc turns a function with the right signature into a add debug attachment handler
func (AddDebugAttachmentHandlerFunc) Handle ¶
func (fn AddDebugAttachmentHandlerFunc) Handle(params AddDebugAttachmentParams) middleware.Responder
Handle executing the request and returning a response
type AddDebugAttachmentNotFound ¶
type AddDebugAttachmentNotFound struct { }
AddDebugAttachmentNotFound Not found
swagger:response addDebugAttachmentNotFound
func NewAddDebugAttachmentNotFound ¶
func NewAddDebugAttachmentNotFound() *AddDebugAttachmentNotFound
NewAddDebugAttachmentNotFound creates AddDebugAttachmentNotFound with default headers values
func (*AddDebugAttachmentNotFound) WriteResponse ¶
func (o *AddDebugAttachmentNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddDebugAttachmentParams ¶
type AddDebugAttachmentParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*DebugAttachment object Required: true In: body */ Body *models.DebugAttachment }
AddDebugAttachmentParams contains all the bound params for the add debug attachment operation typically these are obtained from a http.Request
swagger:parameters addDebugAttachment
func NewAddDebugAttachmentParams ¶
func NewAddDebugAttachmentParams() AddDebugAttachmentParams
NewAddDebugAttachmentParams creates a new AddDebugAttachmentParams object with the default values initialized.
func (*AddDebugAttachmentParams) BindRequest ¶
func (o *AddDebugAttachmentParams) 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 AddDebugAttachmentServiceUnavailable ¶
type AddDebugAttachmentServiceUnavailable struct { }
AddDebugAttachmentServiceUnavailable Service Unavailable
swagger:response addDebugAttachmentServiceUnavailable
func NewAddDebugAttachmentServiceUnavailable ¶
func NewAddDebugAttachmentServiceUnavailable() *AddDebugAttachmentServiceUnavailable
NewAddDebugAttachmentServiceUnavailable creates AddDebugAttachmentServiceUnavailable with default headers values
func (*AddDebugAttachmentServiceUnavailable) WriteResponse ¶
func (o *AddDebugAttachmentServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddDebugAttachmentURL ¶
type AddDebugAttachmentURL struct {
// contains filtered or unexported fields
}
AddDebugAttachmentURL generates an URL for the add debug attachment operation
func (*AddDebugAttachmentURL) Build ¶
func (o *AddDebugAttachmentURL) Build() (*url.URL, error)
Build a url path and query string
func (*AddDebugAttachmentURL) BuildFull ¶
func (o *AddDebugAttachmentURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*AddDebugAttachmentURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*AddDebugAttachmentURL) SetBasePath ¶
func (o *AddDebugAttachmentURL) 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 (*AddDebugAttachmentURL) String ¶
func (o *AddDebugAttachmentURL) String() string
String returns the string representation of the path with query string
func (*AddDebugAttachmentURL) StringFull ¶
func (o *AddDebugAttachmentURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*AddDebugAttachmentURL) WithBasePath ¶
func (o *AddDebugAttachmentURL) WithBasePath(bp string) *AddDebugAttachmentURL
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 AddDebugAttachmentUnprocessableEntity ¶
type AddDebugAttachmentUnprocessableEntity struct { }
AddDebugAttachmentUnprocessableEntity Invalid input
swagger:response addDebugAttachmentUnprocessableEntity
func NewAddDebugAttachmentUnprocessableEntity ¶
func NewAddDebugAttachmentUnprocessableEntity() *AddDebugAttachmentUnprocessableEntity
NewAddDebugAttachmentUnprocessableEntity creates AddDebugAttachmentUnprocessableEntity with default headers values
func (*AddDebugAttachmentUnprocessableEntity) WriteResponse ¶
func (o *AddDebugAttachmentUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteDebugAttachment ¶
type DeleteDebugAttachment struct { Context *middleware.Context Handler DeleteDebugAttachmentHandler }
DeleteDebugAttachment swagger:route DELETE /debugattachment/{debugAttachmentId} debugattachment deleteDebugAttachment
Delete a debug attachment ¶
Delete a debug attachment. be careful not to delete on during attaching phase.
func NewDeleteDebugAttachment ¶
func NewDeleteDebugAttachment(ctx *middleware.Context, handler DeleteDebugAttachmentHandler) *DeleteDebugAttachment
NewDeleteDebugAttachment creates a new http.Handler for the delete debug attachment operation
func (*DeleteDebugAttachment) ServeHTTP ¶
func (o *DeleteDebugAttachment) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteDebugAttachmentBadRequest ¶
type DeleteDebugAttachmentBadRequest struct { }
DeleteDebugAttachmentBadRequest Invalid ID supplied
swagger:response deleteDebugAttachmentBadRequest
func NewDeleteDebugAttachmentBadRequest ¶
func NewDeleteDebugAttachmentBadRequest() *DeleteDebugAttachmentBadRequest
NewDeleteDebugAttachmentBadRequest creates DeleteDebugAttachmentBadRequest with default headers values
func (*DeleteDebugAttachmentBadRequest) WriteResponse ¶
func (o *DeleteDebugAttachmentBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteDebugAttachmentHandler ¶
type DeleteDebugAttachmentHandler interface {
Handle(DeleteDebugAttachmentParams) middleware.Responder
}
DeleteDebugAttachmentHandler interface for that can handle valid delete debug attachment params
type DeleteDebugAttachmentHandlerFunc ¶
type DeleteDebugAttachmentHandlerFunc func(DeleteDebugAttachmentParams) middleware.Responder
DeleteDebugAttachmentHandlerFunc turns a function with the right signature into a delete debug attachment handler
func (DeleteDebugAttachmentHandlerFunc) Handle ¶
func (fn DeleteDebugAttachmentHandlerFunc) Handle(params DeleteDebugAttachmentParams) middleware.Responder
Handle executing the request and returning a response
type DeleteDebugAttachmentNotFound ¶
type DeleteDebugAttachmentNotFound struct { }
DeleteDebugAttachmentNotFound Debug config not found
swagger:response deleteDebugAttachmentNotFound
func NewDeleteDebugAttachmentNotFound ¶
func NewDeleteDebugAttachmentNotFound() *DeleteDebugAttachmentNotFound
NewDeleteDebugAttachmentNotFound creates DeleteDebugAttachmentNotFound with default headers values
func (*DeleteDebugAttachmentNotFound) WriteResponse ¶
func (o *DeleteDebugAttachmentNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteDebugAttachmentOK ¶
type DeleteDebugAttachmentOK struct { }
DeleteDebugAttachmentOK OK
swagger:response deleteDebugAttachmentOK
func NewDeleteDebugAttachmentOK ¶
func NewDeleteDebugAttachmentOK() *DeleteDebugAttachmentOK
NewDeleteDebugAttachmentOK creates DeleteDebugAttachmentOK with default headers values
func (*DeleteDebugAttachmentOK) WriteResponse ¶
func (o *DeleteDebugAttachmentOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteDebugAttachmentParams ¶
type DeleteDebugAttachmentParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*ID of config to return Required: true In: path */ DebugAttachmentID string }
DeleteDebugAttachmentParams contains all the bound params for the delete debug attachment operation typically these are obtained from a http.Request
swagger:parameters deleteDebugAttachment
func NewDeleteDebugAttachmentParams ¶
func NewDeleteDebugAttachmentParams() DeleteDebugAttachmentParams
NewDeleteDebugAttachmentParams creates a new DeleteDebugAttachmentParams object with the default values initialized.
func (*DeleteDebugAttachmentParams) BindRequest ¶
func (o *DeleteDebugAttachmentParams) 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 DeleteDebugAttachmentURL ¶
type DeleteDebugAttachmentURL struct { DebugAttachmentID string // contains filtered or unexported fields }
DeleteDebugAttachmentURL generates an URL for the delete debug attachment operation
func (*DeleteDebugAttachmentURL) Build ¶
func (o *DeleteDebugAttachmentURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteDebugAttachmentURL) BuildFull ¶
func (o *DeleteDebugAttachmentURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteDebugAttachmentURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteDebugAttachmentURL) SetBasePath ¶
func (o *DeleteDebugAttachmentURL) 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 (*DeleteDebugAttachmentURL) String ¶
func (o *DeleteDebugAttachmentURL) String() string
String returns the string representation of the path with query string
func (*DeleteDebugAttachmentURL) StringFull ¶
func (o *DeleteDebugAttachmentURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteDebugAttachmentURL) WithBasePath ¶
func (o *DeleteDebugAttachmentURL) WithBasePath(bp string) *DeleteDebugAttachmentURL
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 DeleteDebugAttachmentUnprocessableEntity ¶
type DeleteDebugAttachmentUnprocessableEntity struct { }
DeleteDebugAttachmentUnprocessableEntity Validation exception
swagger:response deleteDebugAttachmentUnprocessableEntity
func NewDeleteDebugAttachmentUnprocessableEntity ¶
func NewDeleteDebugAttachmentUnprocessableEntity() *DeleteDebugAttachmentUnprocessableEntity
NewDeleteDebugAttachmentUnprocessableEntity creates DeleteDebugAttachmentUnprocessableEntity with default headers values
func (*DeleteDebugAttachmentUnprocessableEntity) WriteResponse ¶
func (o *DeleteDebugAttachmentUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDebugAttachment ¶
type GetDebugAttachment struct { Context *middleware.Context Handler GetDebugAttachmentHandler }
GetDebugAttachment swagger:route GET /debugattachment/{debugAttachmentId} debugattachment getDebugAttachment
Return a debug attachment ¶
Return a debug attachment
func NewGetDebugAttachment ¶
func NewGetDebugAttachment(ctx *middleware.Context, handler GetDebugAttachmentHandler) *GetDebugAttachment
NewGetDebugAttachment creates a new http.Handler for the get debug attachment operation
func (*GetDebugAttachment) ServeHTTP ¶
func (o *GetDebugAttachment) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetDebugAttachmentBadRequest ¶
type GetDebugAttachmentBadRequest struct { }
GetDebugAttachmentBadRequest Invalid ID supplied
swagger:response getDebugAttachmentBadRequest
func NewGetDebugAttachmentBadRequest ¶
func NewGetDebugAttachmentBadRequest() *GetDebugAttachmentBadRequest
NewGetDebugAttachmentBadRequest creates GetDebugAttachmentBadRequest with default headers values
func (*GetDebugAttachmentBadRequest) WriteResponse ¶
func (o *GetDebugAttachmentBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDebugAttachmentHandler ¶
type GetDebugAttachmentHandler interface {
Handle(GetDebugAttachmentParams) middleware.Responder
}
GetDebugAttachmentHandler interface for that can handle valid get debug attachment params
type GetDebugAttachmentHandlerFunc ¶
type GetDebugAttachmentHandlerFunc func(GetDebugAttachmentParams) middleware.Responder
GetDebugAttachmentHandlerFunc turns a function with the right signature into a get debug attachment handler
func (GetDebugAttachmentHandlerFunc) Handle ¶
func (fn GetDebugAttachmentHandlerFunc) Handle(params GetDebugAttachmentParams) middleware.Responder
Handle executing the request and returning a response
type GetDebugAttachmentNotFound ¶
type GetDebugAttachmentNotFound struct { }
GetDebugAttachmentNotFound Debug config not found
swagger:response getDebugAttachmentNotFound
func NewGetDebugAttachmentNotFound ¶
func NewGetDebugAttachmentNotFound() *GetDebugAttachmentNotFound
NewGetDebugAttachmentNotFound creates GetDebugAttachmentNotFound with default headers values
func (*GetDebugAttachmentNotFound) WriteResponse ¶
func (o *GetDebugAttachmentNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDebugAttachmentOK ¶
type GetDebugAttachmentOK struct { /* In: Body */ Payload *models.DebugAttachment `json:"body,omitempty"` }
GetDebugAttachmentOK OK
swagger:response getDebugAttachmentOK
func NewGetDebugAttachmentOK ¶
func NewGetDebugAttachmentOK() *GetDebugAttachmentOK
NewGetDebugAttachmentOK creates GetDebugAttachmentOK with default headers values
func (*GetDebugAttachmentOK) SetPayload ¶
func (o *GetDebugAttachmentOK) SetPayload(payload *models.DebugAttachment)
SetPayload sets the payload to the get debug attachment o k response
func (*GetDebugAttachmentOK) WithPayload ¶
func (o *GetDebugAttachmentOK) WithPayload(payload *models.DebugAttachment) *GetDebugAttachmentOK
WithPayload adds the payload to the get debug attachment o k response
func (*GetDebugAttachmentOK) WriteResponse ¶
func (o *GetDebugAttachmentOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDebugAttachmentParams ¶
type GetDebugAttachmentParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*ID of config to return Required: true In: path */ DebugAttachmentID string }
GetDebugAttachmentParams contains all the bound params for the get debug attachment operation typically these are obtained from a http.Request
swagger:parameters getDebugAttachment
func NewGetDebugAttachmentParams ¶
func NewGetDebugAttachmentParams() GetDebugAttachmentParams
NewGetDebugAttachmentParams creates a new GetDebugAttachmentParams object with the default values initialized.
func (*GetDebugAttachmentParams) BindRequest ¶
func (o *GetDebugAttachmentParams) 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 GetDebugAttachmentURL ¶
type GetDebugAttachmentURL struct { DebugAttachmentID string // contains filtered or unexported fields }
GetDebugAttachmentURL generates an URL for the get debug attachment operation
func (*GetDebugAttachmentURL) Build ¶
func (o *GetDebugAttachmentURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetDebugAttachmentURL) BuildFull ¶
func (o *GetDebugAttachmentURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetDebugAttachmentURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetDebugAttachmentURL) SetBasePath ¶
func (o *GetDebugAttachmentURL) 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 (*GetDebugAttachmentURL) String ¶
func (o *GetDebugAttachmentURL) String() string
String returns the string representation of the path with query string
func (*GetDebugAttachmentURL) StringFull ¶
func (o *GetDebugAttachmentURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetDebugAttachmentURL) WithBasePath ¶
func (o *GetDebugAttachmentURL) WithBasePath(bp string) *GetDebugAttachmentURL
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 GetDebugAttachmentUnprocessableEntity ¶
type GetDebugAttachmentUnprocessableEntity struct { }
GetDebugAttachmentUnprocessableEntity Validation exception
swagger:response getDebugAttachmentUnprocessableEntity
func NewGetDebugAttachmentUnprocessableEntity ¶
func NewGetDebugAttachmentUnprocessableEntity() *GetDebugAttachmentUnprocessableEntity
NewGetDebugAttachmentUnprocessableEntity creates GetDebugAttachmentUnprocessableEntity with default headers values
func (*GetDebugAttachmentUnprocessableEntity) WriteResponse ¶
func (o *GetDebugAttachmentUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDebugAttachments ¶
type GetDebugAttachments struct { Context *middleware.Context Handler GetDebugAttachmentsHandler }
GetDebugAttachments swagger:route GET /debugattachment debugattachment getDebugAttachments
Return all debug attachment ¶
Return all debug attachment
func NewGetDebugAttachments ¶
func NewGetDebugAttachments(ctx *middleware.Context, handler GetDebugAttachmentsHandler) *GetDebugAttachments
NewGetDebugAttachments creates a new http.Handler for the get debug attachments operation
func (*GetDebugAttachments) ServeHTTP ¶
func (o *GetDebugAttachments) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetDebugAttachmentsHandler ¶
type GetDebugAttachmentsHandler interface {
Handle(GetDebugAttachmentsParams) middleware.Responder
}
GetDebugAttachmentsHandler interface for that can handle valid get debug attachments params
type GetDebugAttachmentsHandlerFunc ¶
type GetDebugAttachmentsHandlerFunc func(GetDebugAttachmentsParams) middleware.Responder
GetDebugAttachmentsHandlerFunc turns a function with the right signature into a get debug attachments handler
func (GetDebugAttachmentsHandlerFunc) Handle ¶
func (fn GetDebugAttachmentsHandlerFunc) Handle(params GetDebugAttachmentsParams) middleware.Responder
Handle executing the request and returning a response
type GetDebugAttachmentsOK ¶
type GetDebugAttachmentsOK struct { /*When querying for all the sessions on the node this can be used for to wait for a version update. Required: true */ ETag string `json:"ETag"` /* In: Body */ Payload models.GetDebugAttachmentsOKBody `json:"body,omitempty"` }
GetDebugAttachmentsOK OK
swagger:response getDebugAttachmentsOK
func NewGetDebugAttachmentsOK ¶
func NewGetDebugAttachmentsOK() *GetDebugAttachmentsOK
NewGetDebugAttachmentsOK creates GetDebugAttachmentsOK with default headers values
func (*GetDebugAttachmentsOK) SetETag ¶ added in v0.3.0
func (o *GetDebugAttachmentsOK) SetETag(eTag string)
SetETag sets the eTag to the get debug attachments o k response
func (*GetDebugAttachmentsOK) SetPayload ¶
func (o *GetDebugAttachmentsOK) SetPayload(payload models.GetDebugAttachmentsOKBody)
SetPayload sets the payload to the get debug attachments o k response
func (*GetDebugAttachmentsOK) WithETag ¶ added in v0.3.0
func (o *GetDebugAttachmentsOK) WithETag(eTag string) *GetDebugAttachmentsOK
WithETag adds the eTag to the get debug attachments o k response
func (*GetDebugAttachmentsOK) WithPayload ¶
func (o *GetDebugAttachmentsOK) WithPayload(payload models.GetDebugAttachmentsOKBody) *GetDebugAttachmentsOK
WithPayload adds the payload to the get debug attachments o k response
func (*GetDebugAttachmentsOK) WriteResponse ¶
func (o *GetDebugAttachmentsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDebugAttachmentsParams ¶
type GetDebugAttachmentsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: header */ XTimeout *float64 /*If the quering for all the attachments on a node, this case be used to wait for an update In: header */ IfNoneMatch *string /*Only get a subset of debugattachments In: query */ Names []string /*filter by node that the debugattachment is assigned to In: query */ Node *string /*filter by the state of debugattachment is assigned to In: query */ State *string /*filter by any of the states of the debugattachment (for example, attached and error) In: query */ States []string /*wait until there's something to return instead of returning an empty list In: query */ Wait *bool }
GetDebugAttachmentsParams contains all the bound params for the get debug attachments operation typically these are obtained from a http.Request
swagger:parameters getDebugAttachments
func NewGetDebugAttachmentsParams ¶
func NewGetDebugAttachmentsParams() GetDebugAttachmentsParams
NewGetDebugAttachmentsParams creates a new GetDebugAttachmentsParams object with the default values initialized.
func (*GetDebugAttachmentsParams) BindRequest ¶
func (o *GetDebugAttachmentsParams) 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 GetDebugAttachmentsRequestTimeout ¶
type GetDebugAttachmentsRequestTimeout struct { }
GetDebugAttachmentsRequestTimeout Request timed out
swagger:response getDebugAttachmentsRequestTimeout
func NewGetDebugAttachmentsRequestTimeout ¶
func NewGetDebugAttachmentsRequestTimeout() *GetDebugAttachmentsRequestTimeout
NewGetDebugAttachmentsRequestTimeout creates GetDebugAttachmentsRequestTimeout with default headers values
func (*GetDebugAttachmentsRequestTimeout) WriteResponse ¶
func (o *GetDebugAttachmentsRequestTimeout) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDebugAttachmentsURL ¶
type GetDebugAttachmentsURL struct { Names []string Node *string State *string States []string Wait *bool // contains filtered or unexported fields }
GetDebugAttachmentsURL generates an URL for the get debug attachments operation
func (*GetDebugAttachmentsURL) Build ¶
func (o *GetDebugAttachmentsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetDebugAttachmentsURL) BuildFull ¶
func (o *GetDebugAttachmentsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetDebugAttachmentsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetDebugAttachmentsURL) SetBasePath ¶
func (o *GetDebugAttachmentsURL) 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 (*GetDebugAttachmentsURL) String ¶
func (o *GetDebugAttachmentsURL) String() string
String returns the string representation of the path with query string
func (*GetDebugAttachmentsURL) StringFull ¶
func (o *GetDebugAttachmentsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetDebugAttachmentsURL) WithBasePath ¶
func (o *GetDebugAttachmentsURL) WithBasePath(bp string) *GetDebugAttachmentsURL
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 GetDebugAttachmentsUnprocessableEntity ¶
type GetDebugAttachmentsUnprocessableEntity struct { }
GetDebugAttachmentsUnprocessableEntity Validation exception
swagger:response getDebugAttachmentsUnprocessableEntity
func NewGetDebugAttachmentsUnprocessableEntity ¶
func NewGetDebugAttachmentsUnprocessableEntity() *GetDebugAttachmentsUnprocessableEntity
NewGetDebugAttachmentsUnprocessableEntity creates GetDebugAttachmentsUnprocessableEntity with default headers values
func (*GetDebugAttachmentsUnprocessableEntity) WriteResponse ¶
func (o *GetDebugAttachmentsUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchDebugAttachment ¶
type PatchDebugAttachment struct { Context *middleware.Context Handler PatchDebugAttachmentHandler }
PatchDebugAttachment swagger:route PATCH /debugattachment/{debugAttachmentId} debugattachment patchDebugAttachment
Modify an existing attachment.
Modify an existing attachment.
func NewPatchDebugAttachment ¶
func NewPatchDebugAttachment(ctx *middleware.Context, handler PatchDebugAttachmentHandler) *PatchDebugAttachment
NewPatchDebugAttachment creates a new http.Handler for the patch debug attachment operation
func (*PatchDebugAttachment) ServeHTTP ¶
func (o *PatchDebugAttachment) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PatchDebugAttachmentBadRequest ¶
type PatchDebugAttachmentBadRequest struct { }
PatchDebugAttachmentBadRequest Bad request
swagger:response patchDebugAttachmentBadRequest
func NewPatchDebugAttachmentBadRequest ¶
func NewPatchDebugAttachmentBadRequest() *PatchDebugAttachmentBadRequest
NewPatchDebugAttachmentBadRequest creates PatchDebugAttachmentBadRequest with default headers values
func (*PatchDebugAttachmentBadRequest) WriteResponse ¶
func (o *PatchDebugAttachmentBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchDebugAttachmentConflict ¶
type PatchDebugAttachmentConflict struct { }
PatchDebugAttachmentConflict Conflict
swagger:response patchDebugAttachmentConflict
func NewPatchDebugAttachmentConflict ¶
func NewPatchDebugAttachmentConflict() *PatchDebugAttachmentConflict
NewPatchDebugAttachmentConflict creates PatchDebugAttachmentConflict with default headers values
func (*PatchDebugAttachmentConflict) WriteResponse ¶
func (o *PatchDebugAttachmentConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchDebugAttachmentHandler ¶
type PatchDebugAttachmentHandler interface {
Handle(PatchDebugAttachmentParams) middleware.Responder
}
PatchDebugAttachmentHandler interface for that can handle valid patch debug attachment params
type PatchDebugAttachmentHandlerFunc ¶
type PatchDebugAttachmentHandlerFunc func(PatchDebugAttachmentParams) middleware.Responder
PatchDebugAttachmentHandlerFunc turns a function with the right signature into a patch debug attachment handler
func (PatchDebugAttachmentHandlerFunc) Handle ¶
func (fn PatchDebugAttachmentHandlerFunc) Handle(params PatchDebugAttachmentParams) middleware.Responder
Handle executing the request and returning a response
type PatchDebugAttachmentNotFound ¶
type PatchDebugAttachmentNotFound struct { }
PatchDebugAttachmentNotFound Not found
swagger:response patchDebugAttachmentNotFound
func NewPatchDebugAttachmentNotFound ¶
func NewPatchDebugAttachmentNotFound() *PatchDebugAttachmentNotFound
NewPatchDebugAttachmentNotFound creates PatchDebugAttachmentNotFound with default headers values
func (*PatchDebugAttachmentNotFound) WriteResponse ¶
func (o *PatchDebugAttachmentNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchDebugAttachmentOK ¶
type PatchDebugAttachmentOK struct { /* In: Body */ Payload *models.DebugAttachment `json:"body,omitempty"` }
PatchDebugAttachmentOK Debug attachment modified
swagger:response patchDebugAttachmentOK
func NewPatchDebugAttachmentOK ¶
func NewPatchDebugAttachmentOK() *PatchDebugAttachmentOK
NewPatchDebugAttachmentOK creates PatchDebugAttachmentOK with default headers values
func (*PatchDebugAttachmentOK) SetPayload ¶
func (o *PatchDebugAttachmentOK) SetPayload(payload *models.DebugAttachment)
SetPayload sets the payload to the patch debug attachment o k response
func (*PatchDebugAttachmentOK) WithPayload ¶
func (o *PatchDebugAttachmentOK) WithPayload(payload *models.DebugAttachment) *PatchDebugAttachmentOK
WithPayload adds the payload to the patch debug attachment o k response
func (*PatchDebugAttachmentOK) WriteResponse ¶
func (o *PatchDebugAttachmentOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchDebugAttachmentParams ¶
type PatchDebugAttachmentParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*DebugAttachment object Required: true In: body */ Body *models.DebugAttachment /*ID of config to return Required: true In: path */ DebugAttachmentID string }
PatchDebugAttachmentParams contains all the bound params for the patch debug attachment operation typically these are obtained from a http.Request
swagger:parameters patchDebugAttachment
func NewPatchDebugAttachmentParams ¶
func NewPatchDebugAttachmentParams() PatchDebugAttachmentParams
NewPatchDebugAttachmentParams creates a new PatchDebugAttachmentParams object with the default values initialized.
func (*PatchDebugAttachmentParams) BindRequest ¶
func (o *PatchDebugAttachmentParams) 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 PatchDebugAttachmentServiceUnavailable ¶
type PatchDebugAttachmentServiceUnavailable struct { }
PatchDebugAttachmentServiceUnavailable Service Unavailable
swagger:response patchDebugAttachmentServiceUnavailable
func NewPatchDebugAttachmentServiceUnavailable ¶
func NewPatchDebugAttachmentServiceUnavailable() *PatchDebugAttachmentServiceUnavailable
NewPatchDebugAttachmentServiceUnavailable creates PatchDebugAttachmentServiceUnavailable with default headers values
func (*PatchDebugAttachmentServiceUnavailable) WriteResponse ¶
func (o *PatchDebugAttachmentServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchDebugAttachmentURL ¶
type PatchDebugAttachmentURL struct { DebugAttachmentID string // contains filtered or unexported fields }
PatchDebugAttachmentURL generates an URL for the patch debug attachment operation
func (*PatchDebugAttachmentURL) Build ¶
func (o *PatchDebugAttachmentURL) Build() (*url.URL, error)
Build a url path and query string
func (*PatchDebugAttachmentURL) BuildFull ¶
func (o *PatchDebugAttachmentURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PatchDebugAttachmentURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PatchDebugAttachmentURL) SetBasePath ¶
func (o *PatchDebugAttachmentURL) 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 (*PatchDebugAttachmentURL) String ¶
func (o *PatchDebugAttachmentURL) String() string
String returns the string representation of the path with query string
func (*PatchDebugAttachmentURL) StringFull ¶
func (o *PatchDebugAttachmentURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PatchDebugAttachmentURL) WithBasePath ¶
func (o *PatchDebugAttachmentURL) WithBasePath(bp string) *PatchDebugAttachmentURL
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 PatchDebugAttachmentUnprocessableEntity ¶
type PatchDebugAttachmentUnprocessableEntity struct { }
PatchDebugAttachmentUnprocessableEntity Invalid input
swagger:response patchDebugAttachmentUnprocessableEntity
func NewPatchDebugAttachmentUnprocessableEntity ¶
func NewPatchDebugAttachmentUnprocessableEntity() *PatchDebugAttachmentUnprocessableEntity
NewPatchDebugAttachmentUnprocessableEntity creates PatchDebugAttachmentUnprocessableEntity with default headers values
func (*PatchDebugAttachmentUnprocessableEntity) WriteResponse ¶
func (o *PatchDebugAttachmentUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files
¶
- add_debug_attachment.go
- add_debug_attachment_parameters.go
- add_debug_attachment_responses.go
- add_debug_attachment_urlbuilder.go
- delete_debug_attachment.go
- delete_debug_attachment_parameters.go
- delete_debug_attachment_responses.go
- delete_debug_attachment_urlbuilder.go
- get_debug_attachment.go
- get_debug_attachment_parameters.go
- get_debug_attachment_responses.go
- get_debug_attachment_urlbuilder.go
- get_debug_attachments.go
- get_debug_attachments_parameters.go
- get_debug_attachments_responses.go
- get_debug_attachments_urlbuilder.go
- patch_debug_attachment.go
- patch_debug_attachment_parameters.go
- patch_debug_attachment_responses.go
- patch_debug_attachment_urlbuilder.go