controller

package
v0.0.0-...-f7dd217 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func NewService

func NewService() *Service

func (*Service) AddWorker

func (s *Service) AddWorker(ctx context.Context, req *pb.AddWorkerRequest) (*pb.AddWorkerResponse, error)

func (*Service) SetExecuteRequest

func (s *Service) SetExecuteRequest(ctx context.Context, req *pb.ExecuteRequest) (*empty.Empty, error)

func (*Service) SetPlugin

func (*Service) Start

func (s *Service) Start(ctx context.Context, req *pb.StartRequest) (*pb.StartResponse, error)

func (*Service) Status

func (s *Service) Status(ctx context.Context, _ *empty.Empty) (*pb.StatusResponse, error)

func (*Service) Stop

func (s *Service) Stop(ctx context.Context, _ *empty.Empty) (*empty.Empty, error)

func (*Service) Wait

Jump to

Keyboard shortcuts

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