Documentation ¶
Index ¶
- Variables
- func Run(cliCtx *cli.Context, cliApp *cli.App, configPath string, ...) error
- type APIServer
- func (api *APIServer) CreateIntegrationTables() error
- func (api *APIServer) GetMetrics() *metrics.APIMetrics
- func (api *APIServer) ReloadConfig(w http.ResponseWriter, command string) (*config.Config, error)
- func (api *APIServer) Restart() error
- func (api *APIServer) ResumeOperationsAfterRestart() error
- func (api *APIServer) RunWatch(cliCtx *cli.Context)
- func (api *APIServer) Stop() error
- func (api *APIServer) UpdateBackupMetrics(ctx context.Context, onlyLocal bool) error
- type CallbackResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrAPILocked = errors.New("another operation is currently running")
)
Functions ¶
Types ¶
type APIServer ¶
type APIServer struct {
// contains filtered or unexported fields
}
func (*APIServer) CreateIntegrationTables ¶
func (*APIServer) GetMetrics ¶
func (api *APIServer) GetMetrics() *metrics.APIMetrics
func (*APIServer) ReloadConfig ¶
func (*APIServer) ResumeOperationsAfterRestart ¶
type CallbackResponse ¶
CallbackResponse is the response that is returned to callers
Click to show internal directories.
Click to hide internal directories.