webapi

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const TransferRequestActive = "active"
View Source
const TransferRequestInactive = "inactive"
View Source
const TransferRequestNoActivityState = "nostate"
View Source
const TransferRequestStatusUnknown = "unknown"

Variables

This section is empty.

Functions

This section is empty.

Types

type LogController

type LogController struct {
	CurrentLogLevel log.Level `json:"current_log_level"`
	CurrentLogFile  string    `json:"current_log_file"`
	// contains filtered or unexported fields
}

func NewLogController

func NewLogController() *LogController

NewLogController creates a new LogController

func (*LogController) SetLogLevelHandler

func (c *LogController) SetLogLevelHandler(ctx echo.Context) error

func (*LogController) SetLogOutputHandler

func (c *LogController) SetLogOutputHandler(ctx echo.Context) error

func (*LogController) SetLoggingHandler

func (c *LogController) SetLoggingHandler(ctx echo.Context) error

func (*LogController) ShowCurrentLoggingHandler

func (c *LogController) ShowCurrentLoggingHandler(ctx echo.Context) error

type TransferRequestStatus

type TransferRequestStatus struct {
	TransferRequest  *mcmodel.TransferRequest `json:"transfer_request"`
	ActivityCount    uint64                   `json:"activity_count"`
	LastActivityTime string                   `json:"last_activity_time"`
	ActivityFound    bool                     `json:"activity_found"`
	Status           string                   `json:"status"`
	// contains filtered or unexported fields
}

type TransferRequestsController

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

func NewTransferRequestsController

func NewTransferRequestsController(globusClient *globus.Client, fsState *fsstate.FSState, transferRequestStor stor.TransferRequestStor) *TransferRequestsController

func (*TransferRequestsController) CloseAllInactiveTransferRequests

func (c *TransferRequestsController) CloseAllInactiveTransferRequests(_ echo.Context) error

func (*TransferRequestsController) CloseTransferRequest

func (c *TransferRequestsController) CloseTransferRequest(ctx echo.Context) error

func (*TransferRequestsController) GetStatusForTransferRequest

func (c *TransferRequestsController) GetStatusForTransferRequest(ctx echo.Context) error

func (*TransferRequestsController) IndexTransferRequestStatus

func (c *TransferRequestsController) IndexTransferRequestStatus(ctx echo.Context) error

Jump to

Keyboard shortcuts

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