teamserver

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: BSD-3-Clause Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoMetadata = errors.New("no metadata attached")
)

Functions

func Start

func Start() error

func Stop

func Stop()

Types

type AuthInterceptor

type AuthInterceptor struct{}

func NewAuthInterceptor

func NewAuthInterceptor() *AuthInterceptor

func (*AuthInterceptor) Stream

func (*AuthInterceptor) Unary

type MonarchServer

type MonarchServer struct {
	rpcpb.UnimplementedMonarchServer
	// contains filtered or unexported fields
}

func New

func New() (*MonarchServer, error)

func (*MonarchServer) Agents

func (*MonarchServer) Build

Build returns a reply for a build request issued by a client. A builder client MUST be sent via ctx otherwise an error is returned.

func (*MonarchServer) Builders

func (*MonarchServer) Commands

func (*MonarchServer) EndBuild

func (*MonarchServer) FreeSession

func (*MonarchServer) GetMessages

func (s *MonarchServer) GetMessages(_ *clientpb.Empty, stream rpcpb.Monarch_GetMessagesServer) error

func (*MonarchServer) HttpClose

func (*MonarchServer) HttpOpen

func (*MonarchServer) HttpsClose

func (*MonarchServer) HttpsOpen

func (*MonarchServer) Install

func (*MonarchServer) LoadProfile

func (*MonarchServer) LockSession

func (*MonarchServer) NewAgent

func (s *MonarchServer) NewAgent(_ context.Context, agent *clientpb.Agent) (*clientpb.Empty, error)

func (*MonarchServer) Notify

func (*MonarchServer) Options

Options returns build options for each request to start the build process A builder client MUST be sent via ctx otherwise an error is returned.

func (*MonarchServer) Players

func (*MonarchServer) Profiles

func (*MonarchServer) RmAgents

func (*MonarchServer) RmProfiles

func (s *MonarchServer) RmProfiles(ctx context.Context, req *clientpb.ProfileRequest) (*clientpb.Empty, error)

func (*MonarchServer) RmSession

RmSession allows admins (or users who own the associated agent) to explicitly kill a session

func (*MonarchServer) SaveProfile

func (*MonarchServer) Send

func (*MonarchServer) SendMessage

func (s *MonarchServer) SendMessage(ctx context.Context, msg *rpcpb.Message) (*clientpb.Empty, error)

func (*MonarchServer) Sessions

func (*MonarchServer) StageAdd

func (*MonarchServer) StageLocal

func (*MonarchServer) StageView

func (*MonarchServer) TcpClose

func (*MonarchServer) TcpOpen

func (*MonarchServer) Uninstall

func (*MonarchServer) Unstage

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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