server

package
v2.0.1-rc.6 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(managerServer ManagerServer, jaeger bool, opts ...grpc.ServerOption) *grpc.Server

Types

type ManagerServer

type ManagerServer interface {
	// Get CDN and CDN cluster configuration
	GetCDN(context.Context, *manager.GetCDNRequest) (*manager.CDN, error)
	// Update CDN configuration
	UpdateCDN(context.Context, *manager.UpdateCDNRequest) (*manager.CDN, error)
	// Get Scheduler and Scheduler cluster configuration
	GetScheduler(context.Context, *manager.GetSchedulerRequest) (*manager.Scheduler, error)
	// Update scheduler configuration
	UpdateScheduler(context.Context, *manager.UpdateSchedulerRequest) (*manager.Scheduler, error)
	// List acitve schedulers configuration
	ListSchedulers(context.Context, *manager.ListSchedulersRequest) (*manager.ListSchedulersResponse, error)
	// KeepAlive with manager
	KeepAlive(manager.Manager_KeepAliveServer) error
}

ManagerServer is the server API for Manager service.

Jump to

Keyboard shortcuts

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