http

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JobListUrl    = "/job/list"
	JobAddUrl     = "/job/add"
	JobUpdateUrl  = "/job/update"
	JobDeleteUrl  = "/job/delete"
	JobExecuteUrl = "/job/execute"

	// group
	GroupListUrl        = "/group/list"
	GroupDetailsListUrl = "/group/details/list"
	GroupAddUrl         = "/group/add"

	// node
	NodeListUrl = "/node/list"

	// schedule plan
	SchedulePlanListUrl       = "/schedule/plan/list"
	SchedulePlanClientsUrl    = "/schedule/plan/clients"
	ScheduleSnapshotsUrl      = "/schedule/snapshots"
	ScheduleSnapshotDeleteUrl = "/schedule/snapshot/delete"

	// snapshot
	ExecuteSnapshotsUrls            = "/execute/snapshots"
	ExecuteHistorySnapshotsUrls     = "/execute/history/snapshots"
	ExecuteHistorySnapshotDeleteUrl = "/execute/history/snapshot/delete"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func NewHttpService

func NewHttpService(app *conf.AppConf, etcdCli *etcd.Cli, node *node.PinkNode, handler *handler.PinkWebHandler) *Service

func (*Service) Run

func (s *Service) Run() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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