server

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataStore added in v0.3.0

type DataStore interface {
	DeleteAttachment(name string)
	UpdateAttachment(attachment *models.DebugAttachment) *models.DebugAttachment
	DeleteRequest(name string)
	UpdateRequest(request *models.DebugRequest) *models.DebugRequest
}

func NewNOPDataStore added in v0.3.0

func NewNOPDataStore() DataStore

type NOPDataStore added in v0.3.0

type NOPDataStore struct{}

func (*NOPDataStore) DeleteAttachment added in v0.3.0

func (*NOPDataStore) DeleteAttachment(name string)

func (*NOPDataStore) DeleteRequest added in v0.3.0

func (*NOPDataStore) DeleteRequest(name string)

func (*NOPDataStore) UpdateAttachment added in v0.3.0

func (*NOPDataStore) UpdateAttachment(attachment *models.DebugAttachment) *models.DebugAttachment

func (*NOPDataStore) UpdateRequest added in v0.3.0

func (*NOPDataStore) UpdateRequest(request *models.DebugRequest) *models.DebugRequest

type RestHandler

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

func NewRestHandler

func NewRestHandler(data *ServerData, containerLocator platforms.ContainerLocator, store DataStore) *RestHandler

func (*RestHandler) DebugattachmentAddDebugAttachmentHandler added in v0.2.0

func (r *RestHandler) DebugattachmentAddDebugAttachmentHandler(params debugattachment.AddDebugAttachmentParams) middleware.Responder

func (*RestHandler) DebugattachmentDeleteDebugAttachmentHandler added in v0.2.0

func (r *RestHandler) DebugattachmentDeleteDebugAttachmentHandler(params debugattachment.DeleteDebugAttachmentParams) middleware.Responder

func (*RestHandler) DebugattachmentGetDebugAttachmentHandler added in v0.2.0

func (r *RestHandler) DebugattachmentGetDebugAttachmentHandler(params debugattachment.GetDebugAttachmentParams) middleware.Responder

func (*RestHandler) DebugattachmentGetDebugAttachmentsHandler added in v0.2.0

func (r *RestHandler) DebugattachmentGetDebugAttachmentsHandler(params debugattachment.GetDebugAttachmentsParams) middleware.Responder

either states OR if-none-match can be specified. if if-none-match is specfied, the etag is compare to the current etag. we have map of node -> etag

func (*RestHandler) DebugattachmentPatchDebugAttachmentHandler added in v0.2.0

func (r *RestHandler) DebugattachmentPatchDebugAttachmentHandler(params debugattachment.PatchDebugAttachmentParams) middleware.Responder

func (*RestHandler) DebugrequestCreateDebugRequestHandler added in v0.2.0

func (r *RestHandler) DebugrequestCreateDebugRequestHandler(params debugrequest.CreateDebugRequestParams) middleware.Responder

func (*RestHandler) DebugrequestDeleteDebugRequestHandler added in v0.2.0

func (r *RestHandler) DebugrequestDeleteDebugRequestHandler(params debugrequest.DeleteDebugRequestParams) middleware.Responder

func (*RestHandler) DebugrequestGetDebugRequestHandler added in v0.2.0

func (r *RestHandler) DebugrequestGetDebugRequestHandler(params debugrequest.GetDebugRequestParams) middleware.Responder

func (*RestHandler) DebugrequestGetDebugRequestsHandler added in v0.2.0

func (r *RestHandler) DebugrequestGetDebugRequestsHandler(params debugrequest.GetDebugRequestsParams) middleware.Responder

type ServerData added in v0.3.0

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

func NewServerData added in v0.3.0

func NewServerData() *ServerData

func (*ServerData) DeleteDebugAttachment added in v0.3.0

func (r *ServerData) DeleteDebugAttachment(name string, store DataStore)

func (*ServerData) DeleteDebugRequest added in v0.3.0

func (r *ServerData) DeleteDebugRequest(name string, store DataStore)

func (*ServerData) FindUnboundDebugRequest added in v0.3.0

func (r *ServerData) FindUnboundDebugRequest(dbgattachment *models.DebugAttachment) *models.DebugRequest

func (*ServerData) GetDebugAttachment added in v0.3.0

func (r *ServerData) GetDebugAttachment(name string) *models.DebugAttachment

func (*ServerData) GetDebugAttachmentNoLock added in v0.3.0

func (r *ServerData) GetDebugAttachmentNoLock(name string) *models.DebugAttachment

func (*ServerData) GetDebugRequest added in v0.3.0

func (r *ServerData) GetDebugRequest(name string) *models.DebugRequest

func (*ServerData) GetDebugRequestNoLock added in v0.3.0

func (r *ServerData) GetDebugRequestNoLock(name string) *models.DebugRequest

func (*ServerData) UpdateDebugAttachment added in v0.3.0

func (r *ServerData) UpdateDebugAttachment(a *models.DebugAttachment, store DataStore) *models.DebugAttachment

func (*ServerData) UpdateDebugRequest added in v0.3.0

func (r *ServerData) UpdateDebugRequest(dr *models.DebugRequest, store DataStore) *models.DebugRequest

Jump to

Keyboard shortcuts

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