master

package
v0.0.0-...-7b3ddb2 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2019 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DB = "db"

	PartitionId = "partition_id"
)
View Source
const CronInterval = 60

Variables

This section is empty.

Functions

func ExportToClusterHandler

func ExportToClusterHandler(router *gin.Engine, masterService *masterService)

func ExportToUserHandler

func ExportToUserHandler(router *gin.Engine, masterService *masterService)

func NewUser

func NewUser(name, password, allowedHost string, userDB map[string]struct{}, privi entity.UserPrivi) *entity.User

Types

type Server

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

func NewServer

func NewServer(ctx context.Context) (*Server, error)

func (*Server) Start

func (s *Server) Start() (err error)

func (*Server) StartCleanJon

func (s *Server) StartCleanJon(ctx context.Context)

the job check partition infos and fix it

func (*Server) Stop

func (s *Server) Stop()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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