debugattchment

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const AddDebugAttachmentBadRequestCode int = 400

AddDebugAttachmentBadRequestCode is the HTTP code returned for type AddDebugAttachmentBadRequest

View Source
const AddDebugAttachmentCreatedCode int = 201

AddDebugAttachmentCreatedCode is the HTTP code returned for type AddDebugAttachmentCreated

View Source
const AddDebugAttachmentServiceUnavailableCode int = 503

AddDebugAttachmentServiceUnavailableCode is the HTTP code returned for type AddDebugAttachmentServiceUnavailable

View Source
const AddDebugAttachmentUnprocessableEntityCode int = 422

AddDebugAttachmentUnprocessableEntityCode is the HTTP code returned for type AddDebugAttachmentUnprocessableEntity

View Source
const DeleteDebugAttachmentBadRequestCode int = 400

DeleteDebugAttachmentBadRequestCode is the HTTP code returned for type DeleteDebugAttachmentBadRequest

View Source
const DeleteDebugAttachmentNotFoundCode int = 404

DeleteDebugAttachmentNotFoundCode is the HTTP code returned for type DeleteDebugAttachmentNotFound

View Source
const DeleteDebugAttachmentOKCode int = 200

DeleteDebugAttachmentOKCode is the HTTP code returned for type DeleteDebugAttachmentOK

View Source
const DeleteDebugAttachmentUnprocessableEntityCode int = 422

DeleteDebugAttachmentUnprocessableEntityCode is the HTTP code returned for type DeleteDebugAttachmentUnprocessableEntity

View Source
const GetDebugAttachmentBadRequestCode int = 400

GetDebugAttachmentBadRequestCode is the HTTP code returned for type GetDebugAttachmentBadRequest

View Source
const GetDebugAttachmentNotFoundCode int = 404

GetDebugAttachmentNotFoundCode is the HTTP code returned for type GetDebugAttachmentNotFound

View Source
const GetDebugAttachmentOKCode int = 200

GetDebugAttachmentOKCode is the HTTP code returned for type GetDebugAttachmentOK

View Source
const GetDebugAttachmentUnprocessableEntityCode int = 422

GetDebugAttachmentUnprocessableEntityCode is the HTTP code returned for type GetDebugAttachmentUnprocessableEntity

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 debugattchment 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 will be noticed.

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

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

Handle executing the request and returning a response

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

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

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

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

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

WriteResponse to the client

type DeleteDebugAttachment

type DeleteDebugAttachment struct {
	Context *middleware.Context
	Handler DeleteDebugAttachmentHandler
}

DeleteDebugAttachment swagger:route DELETE /debugattachment/{debugAttachmentId} debugattchment 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

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

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

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

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

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

WriteResponse to the client

type GetDebugAttachment

type GetDebugAttachment struct {
	Context *middleware.Context
	Handler GetDebugAttachmentHandler
}

GetDebugAttachment swagger:route GET /debugattachment/{debugAttachmentId} debugattchment 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

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

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

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

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

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

WriteResponse to the client

Jump to

Keyboard shortcuts

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