server

package
v2.0.2-rc.5 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 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.

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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