debugconfig

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const AddDebugConfigBadRequestCode int = 400

AddDebugConfigBadRequestCode is the HTTP code returned for type AddDebugConfigBadRequest

View Source
const AddDebugConfigCreatedCode int = 201

AddDebugConfigCreatedCode is the HTTP code returned for type AddDebugConfigCreated

View Source
const AddDebugConfigNotFoundCode int = 404

AddDebugConfigNotFoundCode is the HTTP code returned for type AddDebugConfigNotFound

View Source
const AddDebugConfigServiceUnavailableCode int = 503

AddDebugConfigServiceUnavailableCode is the HTTP code returned for type AddDebugConfigServiceUnavailable

View Source
const AddDebugConfigUnprocessableEntityCode int = 422

AddDebugConfigUnprocessableEntityCode is the HTTP code returned for type AddDebugConfigUnprocessableEntity

View Source
const DeleteDebugConfigBadRequestCode int = 400

DeleteDebugConfigBadRequestCode is the HTTP code returned for type DeleteDebugConfigBadRequest

View Source
const DeleteDebugConfigNotFoundCode int = 404

DeleteDebugConfigNotFoundCode is the HTTP code returned for type DeleteDebugConfigNotFound

View Source
const DeleteDebugConfigOKCode int = 200

DeleteDebugConfigOKCode is the HTTP code returned for type DeleteDebugConfigOK

View Source
const DeleteDebugConfigUnprocessableEntityCode int = 422

DeleteDebugConfigUnprocessableEntityCode is the HTTP code returned for type DeleteDebugConfigUnprocessableEntity

View Source
const GetDebugConfigBadRequestCode int = 400

GetDebugConfigBadRequestCode is the HTTP code returned for type GetDebugConfigBadRequest

View Source
const GetDebugConfigNotFoundCode int = 404

GetDebugConfigNotFoundCode is the HTTP code returned for type GetDebugConfigNotFound

View Source
const GetDebugConfigOKCode int = 200

GetDebugConfigOKCode is the HTTP code returned for type GetDebugConfigOK

View Source
const GetDebugConfigUnprocessableEntityCode int = 422

GetDebugConfigUnprocessableEntityCode is the HTTP code returned for type GetDebugConfigUnprocessableEntity

View Source
const GetDebugConfigsBadRequestCode int = 400

GetDebugConfigsBadRequestCode is the HTTP code returned for type GetDebugConfigsBadRequest

View Source
const GetDebugConfigsNotFoundCode int = 404

GetDebugConfigsNotFoundCode is the HTTP code returned for type GetDebugConfigsNotFound

View Source
const GetDebugConfigsOKCode int = 200

GetDebugConfigsOKCode is the HTTP code returned for type GetDebugConfigsOK

View Source
const GetDebugConfigsUnprocessableEntityCode int = 422

GetDebugConfigsUnprocessableEntityCode is the HTTP code returned for type GetDebugConfigsUnprocessableEntity

View Source
const PopContainerToDebugBadRequestCode int = 400

PopContainerToDebugBadRequestCode is the HTTP code returned for type PopContainerToDebugBadRequest

View Source
const PopContainerToDebugNotFoundCode int = 404

PopContainerToDebugNotFoundCode is the HTTP code returned for type PopContainerToDebugNotFound

View Source
const PopContainerToDebugOKCode int = 200

PopContainerToDebugOKCode is the HTTP code returned for type PopContainerToDebugOK

View Source
const PopContainerToDebugRequestTimeoutCode int = 408

PopContainerToDebugRequestTimeoutCode is the HTTP code returned for type PopContainerToDebugRequestTimeout

View Source
const UpdateDebugConfigBadRequestCode int = 400

UpdateDebugConfigBadRequestCode is the HTTP code returned for type UpdateDebugConfigBadRequest

View Source
const UpdateDebugConfigNotFoundCode int = 404

UpdateDebugConfigNotFoundCode is the HTTP code returned for type UpdateDebugConfigNotFound

View Source
const UpdateDebugConfigOKCode int = 200

UpdateDebugConfigOKCode is the HTTP code returned for type UpdateDebugConfigOK

View Source
const UpdateDebugConfigUnprocessableEntityCode int = 422

UpdateDebugConfigUnprocessableEntityCode is the HTTP code returned for type UpdateDebugConfigUnprocessableEntity

Variables

This section is empty.

Functions

This section is empty.

Types

type AddDebugConfig

type AddDebugConfig struct {
	Context *middleware.Context
	Handler AddDebugConfigHandler
}

AddDebugConfig swagger:route POST /debugconfig debugconfig addDebugConfig

Add a new debug configuration for squash server.

Add a debug config to squash. A debug config instrucs squash what containers should be debugged, and now. DebugConfig object consists of:

  • Attachment: The object we are attaching to. either a specific container, or a service. in the case of the service, the squash will attach to the first container that hits a debug event.
  • Breakpoints: A list of breakpoints. When "immediately" set to false, squash will wait for a debug event (i.e a program crash) before giving the user access to the remote debugger. If breakpoints is set, squash will place them and will notify when the first breakpoint hits.
  • 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.
  • debugger: Type of debugger to use. "dlv" and "gdb" are supported now.
  • immediately: Weather to attach immediatly or wait for debug event. can only be set to true if attachment type is container.

func NewAddDebugConfig

func NewAddDebugConfig(ctx *middleware.Context, handler AddDebugConfigHandler) *AddDebugConfig

NewAddDebugConfig creates a new http.Handler for the add debug config operation

func (*AddDebugConfig) ServeHTTP

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

type AddDebugConfigBadRequest

type AddDebugConfigBadRequest struct {
}

AddDebugConfigBadRequest Bad request

swagger:response addDebugConfigBadRequest

func NewAddDebugConfigBadRequest

func NewAddDebugConfigBadRequest() *AddDebugConfigBadRequest

NewAddDebugConfigBadRequest creates AddDebugConfigBadRequest with default headers values

func (*AddDebugConfigBadRequest) WriteResponse

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

WriteResponse to the client

type AddDebugConfigCreated

type AddDebugConfigCreated struct {

	/*
	  In: Body
	*/
	Payload *models.DebugConfig `json:"body,omitempty"`
}

AddDebugConfigCreated Debug config created

swagger:response addDebugConfigCreated

func NewAddDebugConfigCreated

func NewAddDebugConfigCreated() *AddDebugConfigCreated

NewAddDebugConfigCreated creates AddDebugConfigCreated with default headers values

func (*AddDebugConfigCreated) SetPayload

func (o *AddDebugConfigCreated) SetPayload(payload *models.DebugConfig)

SetPayload sets the payload to the add debug config created response

func (*AddDebugConfigCreated) WithPayload

WithPayload adds the payload to the add debug config created response

func (*AddDebugConfigCreated) WriteResponse

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

WriteResponse to the client

type AddDebugConfigHandler

type AddDebugConfigHandler interface {
	Handle(AddDebugConfigParams) middleware.Responder
}

AddDebugConfigHandler interface for that can handle valid add debug config params

type AddDebugConfigHandlerFunc

type AddDebugConfigHandlerFunc func(AddDebugConfigParams) middleware.Responder

AddDebugConfigHandlerFunc turns a function with the right signature into a add debug config handler

func (AddDebugConfigHandlerFunc) Handle

Handle executing the request and returning a response

type AddDebugConfigNotFound

type AddDebugConfigNotFound struct {
}

AddDebugConfigNotFound Attachment not found

swagger:response addDebugConfigNotFound

func NewAddDebugConfigNotFound

func NewAddDebugConfigNotFound() *AddDebugConfigNotFound

NewAddDebugConfigNotFound creates AddDebugConfigNotFound with default headers values

func (*AddDebugConfigNotFound) WriteResponse

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

WriteResponse to the client

type AddDebugConfigParams

type AddDebugConfigParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request

	/*DebugConfig object that needs to be added
	  Required: true
	  In: body
	*/
	Body *models.DebugConfig
}

AddDebugConfigParams contains all the bound params for the add debug config operation typically these are obtained from a http.Request

swagger:parameters addDebugConfig

func NewAddDebugConfigParams

func NewAddDebugConfigParams() AddDebugConfigParams

NewAddDebugConfigParams creates a new AddDebugConfigParams object with the default values initialized.

func (*AddDebugConfigParams) BindRequest

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

type AddDebugConfigServiceUnavailable struct {
}

AddDebugConfigServiceUnavailable Service Unavailable

swagger:response addDebugConfigServiceUnavailable

func NewAddDebugConfigServiceUnavailable

func NewAddDebugConfigServiceUnavailable() *AddDebugConfigServiceUnavailable

NewAddDebugConfigServiceUnavailable creates AddDebugConfigServiceUnavailable with default headers values

func (*AddDebugConfigServiceUnavailable) WriteResponse

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

WriteResponse to the client

type AddDebugConfigURL

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

AddDebugConfigURL generates an URL for the add debug config operation

func (*AddDebugConfigURL) Build

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

Build a url path and query string

func (*AddDebugConfigURL) BuildFull

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

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

func (*AddDebugConfigURL) Must

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

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

func (*AddDebugConfigURL) SetBasePath

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

func (o *AddDebugConfigURL) String() string

String returns the string representation of the path with query string

func (*AddDebugConfigURL) StringFull

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

StringFull returns the string representation of a complete url

func (*AddDebugConfigURL) WithBasePath

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

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 AddDebugConfigUnprocessableEntity

type AddDebugConfigUnprocessableEntity struct {
}

AddDebugConfigUnprocessableEntity Invalid input

swagger:response addDebugConfigUnprocessableEntity

func NewAddDebugConfigUnprocessableEntity

func NewAddDebugConfigUnprocessableEntity() *AddDebugConfigUnprocessableEntity

NewAddDebugConfigUnprocessableEntity creates AddDebugConfigUnprocessableEntity with default headers values

func (*AddDebugConfigUnprocessableEntity) WriteResponse

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

WriteResponse to the client

type DeleteDebugConfig

type DeleteDebugConfig struct {
	Context *middleware.Context
	Handler DeleteDebugConfigHandler
}

DeleteDebugConfig swagger:route DELETE /debugconfig/{debugConfigId} debugconfig deleteDebugConfig

Delete a debug config

Delete a debug config

func NewDeleteDebugConfig

func NewDeleteDebugConfig(ctx *middleware.Context, handler DeleteDebugConfigHandler) *DeleteDebugConfig

NewDeleteDebugConfig creates a new http.Handler for the delete debug config operation

func (*DeleteDebugConfig) ServeHTTP

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

type DeleteDebugConfigBadRequest

type DeleteDebugConfigBadRequest struct {
}

DeleteDebugConfigBadRequest Invalid ID supplied

swagger:response deleteDebugConfigBadRequest

func NewDeleteDebugConfigBadRequest

func NewDeleteDebugConfigBadRequest() *DeleteDebugConfigBadRequest

NewDeleteDebugConfigBadRequest creates DeleteDebugConfigBadRequest with default headers values

func (*DeleteDebugConfigBadRequest) WriteResponse

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

WriteResponse to the client

type DeleteDebugConfigHandler

type DeleteDebugConfigHandler interface {
	Handle(DeleteDebugConfigParams) middleware.Responder
}

DeleteDebugConfigHandler interface for that can handle valid delete debug config params

type DeleteDebugConfigHandlerFunc

type DeleteDebugConfigHandlerFunc func(DeleteDebugConfigParams) middleware.Responder

DeleteDebugConfigHandlerFunc turns a function with the right signature into a delete debug config handler

func (DeleteDebugConfigHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteDebugConfigNotFound

type DeleteDebugConfigNotFound struct {
}

DeleteDebugConfigNotFound Debug config not found

swagger:response deleteDebugConfigNotFound

func NewDeleteDebugConfigNotFound

func NewDeleteDebugConfigNotFound() *DeleteDebugConfigNotFound

NewDeleteDebugConfigNotFound creates DeleteDebugConfigNotFound with default headers values

func (*DeleteDebugConfigNotFound) WriteResponse

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

WriteResponse to the client

type DeleteDebugConfigOK

type DeleteDebugConfigOK struct {
}

DeleteDebugConfigOK OK

swagger:response deleteDebugConfigOK

func NewDeleteDebugConfigOK

func NewDeleteDebugConfigOK() *DeleteDebugConfigOK

NewDeleteDebugConfigOK creates DeleteDebugConfigOK with default headers values

func (*DeleteDebugConfigOK) WriteResponse

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

WriteResponse to the client

type DeleteDebugConfigParams

type DeleteDebugConfigParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request

	/*ID of config to return
	  Required: true
	  In: path
	*/
	DebugConfigID string
}

DeleteDebugConfigParams contains all the bound params for the delete debug config operation typically these are obtained from a http.Request

swagger:parameters deleteDebugConfig

func NewDeleteDebugConfigParams

func NewDeleteDebugConfigParams() DeleteDebugConfigParams

NewDeleteDebugConfigParams creates a new DeleteDebugConfigParams object with the default values initialized.

func (*DeleteDebugConfigParams) BindRequest

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

type DeleteDebugConfigURL struct {
	DebugConfigID string
	// contains filtered or unexported fields
}

DeleteDebugConfigURL generates an URL for the delete debug config operation

func (*DeleteDebugConfigURL) Build

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

Build a url path and query string

func (*DeleteDebugConfigURL) BuildFull

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

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

func (*DeleteDebugConfigURL) Must

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

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

func (*DeleteDebugConfigURL) SetBasePath

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

func (o *DeleteDebugConfigURL) String() string

String returns the string representation of the path with query string

func (*DeleteDebugConfigURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteDebugConfigURL) WithBasePath

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

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 DeleteDebugConfigUnprocessableEntity

type DeleteDebugConfigUnprocessableEntity struct {
}

DeleteDebugConfigUnprocessableEntity Validation exception

swagger:response deleteDebugConfigUnprocessableEntity

func NewDeleteDebugConfigUnprocessableEntity

func NewDeleteDebugConfigUnprocessableEntity() *DeleteDebugConfigUnprocessableEntity

NewDeleteDebugConfigUnprocessableEntity creates DeleteDebugConfigUnprocessableEntity with default headers values

func (*DeleteDebugConfigUnprocessableEntity) WriteResponse

WriteResponse to the client

type GetDebugConfig

type GetDebugConfig struct {
	Context *middleware.Context
	Handler GetDebugConfigHandler
}

GetDebugConfig swagger:route GET /debugconfig/{debugConfigId} debugconfig getDebugConfig

Retrun a debug config

Retrun a debug config

func NewGetDebugConfig

func NewGetDebugConfig(ctx *middleware.Context, handler GetDebugConfigHandler) *GetDebugConfig

NewGetDebugConfig creates a new http.Handler for the get debug config operation

func (*GetDebugConfig) ServeHTTP

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

type GetDebugConfigBadRequest

type GetDebugConfigBadRequest struct {
}

GetDebugConfigBadRequest Invalid ID supplied

swagger:response getDebugConfigBadRequest

func NewGetDebugConfigBadRequest

func NewGetDebugConfigBadRequest() *GetDebugConfigBadRequest

NewGetDebugConfigBadRequest creates GetDebugConfigBadRequest with default headers values

func (*GetDebugConfigBadRequest) WriteResponse

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

WriteResponse to the client

type GetDebugConfigHandler

type GetDebugConfigHandler interface {
	Handle(GetDebugConfigParams) middleware.Responder
}

GetDebugConfigHandler interface for that can handle valid get debug config params

type GetDebugConfigHandlerFunc

type GetDebugConfigHandlerFunc func(GetDebugConfigParams) middleware.Responder

GetDebugConfigHandlerFunc turns a function with the right signature into a get debug config handler

func (GetDebugConfigHandlerFunc) Handle

Handle executing the request and returning a response

type GetDebugConfigNotFound

type GetDebugConfigNotFound struct {
}

GetDebugConfigNotFound Debug config not found

swagger:response getDebugConfigNotFound

func NewGetDebugConfigNotFound

func NewGetDebugConfigNotFound() *GetDebugConfigNotFound

NewGetDebugConfigNotFound creates GetDebugConfigNotFound with default headers values

func (*GetDebugConfigNotFound) WriteResponse

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

WriteResponse to the client

type GetDebugConfigOK

type GetDebugConfigOK struct {

	/*
	  In: Body
	*/
	Payload *models.DebugConfig `json:"body,omitempty"`
}

GetDebugConfigOK OK

swagger:response getDebugConfigOK

func NewGetDebugConfigOK

func NewGetDebugConfigOK() *GetDebugConfigOK

NewGetDebugConfigOK creates GetDebugConfigOK with default headers values

func (*GetDebugConfigOK) SetPayload

func (o *GetDebugConfigOK) SetPayload(payload *models.DebugConfig)

SetPayload sets the payload to the get debug config o k response

func (*GetDebugConfigOK) WithPayload

func (o *GetDebugConfigOK) WithPayload(payload *models.DebugConfig) *GetDebugConfigOK

WithPayload adds the payload to the get debug config o k response

func (*GetDebugConfigOK) WriteResponse

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

WriteResponse to the client

type GetDebugConfigParams

type GetDebugConfigParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request

	/*ID of config to return
	  Required: true
	  In: path
	*/
	DebugConfigID string
}

GetDebugConfigParams contains all the bound params for the get debug config operation typically these are obtained from a http.Request

swagger:parameters getDebugConfig

func NewGetDebugConfigParams

func NewGetDebugConfigParams() GetDebugConfigParams

NewGetDebugConfigParams creates a new GetDebugConfigParams object with the default values initialized.

func (*GetDebugConfigParams) BindRequest

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

type GetDebugConfigURL struct {
	DebugConfigID string
	// contains filtered or unexported fields
}

GetDebugConfigURL generates an URL for the get debug config operation

func (*GetDebugConfigURL) Build

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

Build a url path and query string

func (*GetDebugConfigURL) BuildFull

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

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

func (*GetDebugConfigURL) Must

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

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

func (*GetDebugConfigURL) SetBasePath

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

func (o *GetDebugConfigURL) String() string

String returns the string representation of the path with query string

func (*GetDebugConfigURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetDebugConfigURL) WithBasePath

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

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 GetDebugConfigUnprocessableEntity

type GetDebugConfigUnprocessableEntity struct {
}

GetDebugConfigUnprocessableEntity Validation exception

swagger:response getDebugConfigUnprocessableEntity

func NewGetDebugConfigUnprocessableEntity

func NewGetDebugConfigUnprocessableEntity() *GetDebugConfigUnprocessableEntity

NewGetDebugConfigUnprocessableEntity creates GetDebugConfigUnprocessableEntity with default headers values

func (*GetDebugConfigUnprocessableEntity) WriteResponse

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

WriteResponse to the client

type GetDebugConfigs

type GetDebugConfigs struct {
	Context *middleware.Context
	Handler GetDebugConfigsHandler
}

GetDebugConfigs swagger:route GET /debugconfig debugconfig getDebugConfigs

Retrun all debug configs

Retrun all debug configs

func NewGetDebugConfigs

func NewGetDebugConfigs(ctx *middleware.Context, handler GetDebugConfigsHandler) *GetDebugConfigs

NewGetDebugConfigs creates a new http.Handler for the get debug configs operation

func (*GetDebugConfigs) ServeHTTP

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

type GetDebugConfigsBadRequest

type GetDebugConfigsBadRequest struct {
}

GetDebugConfigsBadRequest Invalid ID supplied

swagger:response getDebugConfigsBadRequest

func NewGetDebugConfigsBadRequest

func NewGetDebugConfigsBadRequest() *GetDebugConfigsBadRequest

NewGetDebugConfigsBadRequest creates GetDebugConfigsBadRequest with default headers values

func (*GetDebugConfigsBadRequest) WriteResponse

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

WriteResponse to the client

type GetDebugConfigsHandler

type GetDebugConfigsHandler interface {
	Handle(GetDebugConfigsParams) middleware.Responder
}

GetDebugConfigsHandler interface for that can handle valid get debug configs params

type GetDebugConfigsHandlerFunc

type GetDebugConfigsHandlerFunc func(GetDebugConfigsParams) middleware.Responder

GetDebugConfigsHandlerFunc turns a function with the right signature into a get debug configs handler

func (GetDebugConfigsHandlerFunc) Handle

Handle executing the request and returning a response

type GetDebugConfigsNotFound

type GetDebugConfigsNotFound struct {
}

GetDebugConfigsNotFound Debug config not found

swagger:response getDebugConfigsNotFound

func NewGetDebugConfigsNotFound

func NewGetDebugConfigsNotFound() *GetDebugConfigsNotFound

NewGetDebugConfigsNotFound creates GetDebugConfigsNotFound with default headers values

func (*GetDebugConfigsNotFound) WriteResponse

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

WriteResponse to the client

type GetDebugConfigsOK

type GetDebugConfigsOK struct {

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

GetDebugConfigsOK OK

swagger:response getDebugConfigsOK

func NewGetDebugConfigsOK

func NewGetDebugConfigsOK() *GetDebugConfigsOK

NewGetDebugConfigsOK creates GetDebugConfigsOK with default headers values

func (*GetDebugConfigsOK) SetPayload

func (o *GetDebugConfigsOK) SetPayload(payload []*models.DebugConfig)

SetPayload sets the payload to the get debug configs o k response

func (*GetDebugConfigsOK) WithPayload

func (o *GetDebugConfigsOK) WithPayload(payload []*models.DebugConfig) *GetDebugConfigsOK

WithPayload adds the payload to the get debug configs o k response

func (*GetDebugConfigsOK) WriteResponse

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

WriteResponse to the client

type GetDebugConfigsParams

type GetDebugConfigsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request
}

GetDebugConfigsParams contains all the bound params for the get debug configs operation typically these are obtained from a http.Request

swagger:parameters getDebugConfigs

func NewGetDebugConfigsParams

func NewGetDebugConfigsParams() GetDebugConfigsParams

NewGetDebugConfigsParams creates a new GetDebugConfigsParams object with the default values initialized.

func (*GetDebugConfigsParams) BindRequest

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

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

GetDebugConfigsURL generates an URL for the get debug configs operation

func (*GetDebugConfigsURL) Build

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

Build a url path and query string

func (*GetDebugConfigsURL) BuildFull

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

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

func (*GetDebugConfigsURL) Must

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

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

func (*GetDebugConfigsURL) SetBasePath

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

func (o *GetDebugConfigsURL) String() string

String returns the string representation of the path with query string

func (*GetDebugConfigsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetDebugConfigsURL) WithBasePath

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

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 GetDebugConfigsUnprocessableEntity

type GetDebugConfigsUnprocessableEntity struct {
}

GetDebugConfigsUnprocessableEntity Validation exception

swagger:response getDebugConfigsUnprocessableEntity

func NewGetDebugConfigsUnprocessableEntity

func NewGetDebugConfigsUnprocessableEntity() *GetDebugConfigsUnprocessableEntity

NewGetDebugConfigsUnprocessableEntity creates GetDebugConfigsUnprocessableEntity with default headers values

func (*GetDebugConfigsUnprocessableEntity) WriteResponse

WriteResponse to the client

type PopContainerToDebug

type PopContainerToDebug struct {
	Context *middleware.Context
	Handler PopContainerToDebugHandler
}

PopContainerToDebug swagger:route DELETE /debugconfig/platform/containers/{node}/latest debugconfig popContainerToDebug

Pop the latest debugconfig for a node in the cluster - this is used by the squash client.

func NewPopContainerToDebug

func NewPopContainerToDebug(ctx *middleware.Context, handler PopContainerToDebugHandler) *PopContainerToDebug

NewPopContainerToDebug creates a new http.Handler for the pop container to debug operation

func (*PopContainerToDebug) ServeHTTP

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

type PopContainerToDebugBadRequest

type PopContainerToDebugBadRequest struct {
}

PopContainerToDebugBadRequest Invalid ID supplied

swagger:response popContainerToDebugBadRequest

func NewPopContainerToDebugBadRequest

func NewPopContainerToDebugBadRequest() *PopContainerToDebugBadRequest

NewPopContainerToDebugBadRequest creates PopContainerToDebugBadRequest with default headers values

func (*PopContainerToDebugBadRequest) WriteResponse

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

WriteResponse to the client

type PopContainerToDebugHandler

type PopContainerToDebugHandler interface {
	Handle(PopContainerToDebugParams) middleware.Responder
}

PopContainerToDebugHandler interface for that can handle valid pop container to debug params

type PopContainerToDebugHandlerFunc

type PopContainerToDebugHandlerFunc func(PopContainerToDebugParams) middleware.Responder

PopContainerToDebugHandlerFunc turns a function with the right signature into a pop container to debug handler

func (PopContainerToDebugHandlerFunc) Handle

Handle executing the request and returning a response

type PopContainerToDebugNotFound

type PopContainerToDebugNotFound struct {
}

PopContainerToDebugNotFound Node note not found

swagger:response popContainerToDebugNotFound

func NewPopContainerToDebugNotFound

func NewPopContainerToDebugNotFound() *PopContainerToDebugNotFound

NewPopContainerToDebugNotFound creates PopContainerToDebugNotFound with default headers values

func (*PopContainerToDebugNotFound) WriteResponse

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

WriteResponse to the client

type PopContainerToDebugOK

type PopContainerToDebugOK struct {

	/*
	  In: Body
	*/
	Payload *models.DebugConfig `json:"body,omitempty"`
}

PopContainerToDebugOK OK

swagger:response popContainerToDebugOK

func NewPopContainerToDebugOK

func NewPopContainerToDebugOK() *PopContainerToDebugOK

NewPopContainerToDebugOK creates PopContainerToDebugOK with default headers values

func (*PopContainerToDebugOK) SetPayload

func (o *PopContainerToDebugOK) SetPayload(payload *models.DebugConfig)

SetPayload sets the payload to the pop container to debug o k response

func (*PopContainerToDebugOK) WithPayload

WithPayload adds the payload to the pop container to debug o k response

func (*PopContainerToDebugOK) WriteResponse

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

WriteResponse to the client

type PopContainerToDebugParams

type PopContainerToDebugParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request

	/*ID the node we are watching
	  Required: true
	  In: path
	*/
	Node string
}

PopContainerToDebugParams contains all the bound params for the pop container to debug operation typically these are obtained from a http.Request

swagger:parameters popContainerToDebug

func NewPopContainerToDebugParams

func NewPopContainerToDebugParams() PopContainerToDebugParams

NewPopContainerToDebugParams creates a new PopContainerToDebugParams object with the default values initialized.

func (*PopContainerToDebugParams) 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 PopContainerToDebugRequestTimeout

type PopContainerToDebugRequestTimeout struct {
}

PopContainerToDebugRequestTimeout Timeout reached

swagger:response popContainerToDebugRequestTimeout

func NewPopContainerToDebugRequestTimeout

func NewPopContainerToDebugRequestTimeout() *PopContainerToDebugRequestTimeout

NewPopContainerToDebugRequestTimeout creates PopContainerToDebugRequestTimeout with default headers values

func (*PopContainerToDebugRequestTimeout) WriteResponse

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

WriteResponse to the client

type PopContainerToDebugURL

type PopContainerToDebugURL struct {
	Node string
	// contains filtered or unexported fields
}

PopContainerToDebugURL generates an URL for the pop container to debug operation

func (*PopContainerToDebugURL) Build

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

Build a url path and query string

func (*PopContainerToDebugURL) BuildFull

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

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

func (*PopContainerToDebugURL) Must

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

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

func (*PopContainerToDebugURL) SetBasePath

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

func (o *PopContainerToDebugURL) String() string

String returns the string representation of the path with query string

func (*PopContainerToDebugURL) StringFull

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

StringFull returns the string representation of a complete url

func (*PopContainerToDebugURL) 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 UpdateDebugConfig

type UpdateDebugConfig struct {
	Context *middleware.Context
	Handler UpdateDebugConfigHandler
}

UpdateDebugConfig swagger:route PATCH /debugconfig/{debugConfigId} debugconfig updateDebugConfig

Update an existing debug config

func NewUpdateDebugConfig

func NewUpdateDebugConfig(ctx *middleware.Context, handler UpdateDebugConfigHandler) *UpdateDebugConfig

NewUpdateDebugConfig creates a new http.Handler for the update debug config operation

func (*UpdateDebugConfig) ServeHTTP

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

type UpdateDebugConfigBadRequest

type UpdateDebugConfigBadRequest struct {
}

UpdateDebugConfigBadRequest Invalid ID supplied

swagger:response updateDebugConfigBadRequest

func NewUpdateDebugConfigBadRequest

func NewUpdateDebugConfigBadRequest() *UpdateDebugConfigBadRequest

NewUpdateDebugConfigBadRequest creates UpdateDebugConfigBadRequest with default headers values

func (*UpdateDebugConfigBadRequest) WriteResponse

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

WriteResponse to the client

type UpdateDebugConfigHandler

type UpdateDebugConfigHandler interface {
	Handle(UpdateDebugConfigParams) middleware.Responder
}

UpdateDebugConfigHandler interface for that can handle valid update debug config params

type UpdateDebugConfigHandlerFunc

type UpdateDebugConfigHandlerFunc func(UpdateDebugConfigParams) middleware.Responder

UpdateDebugConfigHandlerFunc turns a function with the right signature into a update debug config handler

func (UpdateDebugConfigHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateDebugConfigNotFound

type UpdateDebugConfigNotFound struct {
}

UpdateDebugConfigNotFound Debug config not found

swagger:response updateDebugConfigNotFound

func NewUpdateDebugConfigNotFound

func NewUpdateDebugConfigNotFound() *UpdateDebugConfigNotFound

NewUpdateDebugConfigNotFound creates UpdateDebugConfigNotFound with default headers values

func (*UpdateDebugConfigNotFound) WriteResponse

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

WriteResponse to the client

type UpdateDebugConfigOK

type UpdateDebugConfigOK struct {

	/*
	  In: Body
	*/
	Payload *models.DebugConfig `json:"body,omitempty"`
}

UpdateDebugConfigOK OK

swagger:response updateDebugConfigOK

func NewUpdateDebugConfigOK

func NewUpdateDebugConfigOK() *UpdateDebugConfigOK

NewUpdateDebugConfigOK creates UpdateDebugConfigOK with default headers values

func (*UpdateDebugConfigOK) SetPayload

func (o *UpdateDebugConfigOK) SetPayload(payload *models.DebugConfig)

SetPayload sets the payload to the update debug config o k response

func (*UpdateDebugConfigOK) WithPayload

func (o *UpdateDebugConfigOK) WithPayload(payload *models.DebugConfig) *UpdateDebugConfigOK

WithPayload adds the payload to the update debug config o k response

func (*UpdateDebugConfigOK) WriteResponse

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

WriteResponse to the client

type UpdateDebugConfigParams

type UpdateDebugConfigParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request

	/*debug config edited
	  Required: true
	  In: body
	*/
	Body *models.DebugConfig
	/*ID of config to return
	  Required: true
	  In: path
	*/
	DebugConfigID string
}

UpdateDebugConfigParams contains all the bound params for the update debug config operation typically these are obtained from a http.Request

swagger:parameters updateDebugConfig

func NewUpdateDebugConfigParams

func NewUpdateDebugConfigParams() UpdateDebugConfigParams

NewUpdateDebugConfigParams creates a new UpdateDebugConfigParams object with the default values initialized.

func (*UpdateDebugConfigParams) BindRequest

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

type UpdateDebugConfigURL struct {
	DebugConfigID string
	// contains filtered or unexported fields
}

UpdateDebugConfigURL generates an URL for the update debug config operation

func (*UpdateDebugConfigURL) Build

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

Build a url path and query string

func (*UpdateDebugConfigURL) BuildFull

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

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

func (*UpdateDebugConfigURL) Must

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

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

func (*UpdateDebugConfigURL) SetBasePath

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

func (o *UpdateDebugConfigURL) String() string

String returns the string representation of the path with query string

func (*UpdateDebugConfigURL) StringFull

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

StringFull returns the string representation of a complete url

func (*UpdateDebugConfigURL) WithBasePath

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

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 UpdateDebugConfigUnprocessableEntity

type UpdateDebugConfigUnprocessableEntity struct {
}

UpdateDebugConfigUnprocessableEntity Validation exception

swagger:response updateDebugConfigUnprocessableEntity

func NewUpdateDebugConfigUnprocessableEntity

func NewUpdateDebugConfigUnprocessableEntity() *UpdateDebugConfigUnprocessableEntity

NewUpdateDebugConfigUnprocessableEntity creates UpdateDebugConfigUnprocessableEntity with default headers values

func (*UpdateDebugConfigUnprocessableEntity) WriteResponse

WriteResponse to the client

Jump to

Keyboard shortcuts

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