Documentation
¶
Index ¶
- type Server
- func (s *Server) CreateMachine(_ context.Context, r *celestial.CreateMachineRequest) (*celestial.Empty, error)
- func (s *Server) GetHostInfo(_ context.Context, _ *celestial.Empty) (*celestial.HostInfo, error)
- func (s *Server) HostReady(_ context.Context, _ *celestial.Empty) (*celestial.ReadyInfo, error)
- func (s *Server) Init(_ context.Context, r *celestial.InitRequest) (*celestial.Empty, error)
- func (s *Server) InitRemotes(_ context.Context, request *celestial.InitRemotesRequest) (*celestial.Empty, error)
- func (s *Server) ModifyLinks(_ context.Context, r *celestial.ModifyLinksRequest) (*celestial.Empty, error)
- func (s *Server) ModifyMachine(_ context.Context, r *celestial.ModifyMachineRequest) (*celestial.Empty, error)
- func (s *Server) StartPeering(_ context.Context, _ *celestial.Empty) (*celestial.Empty, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server handles grpc requests.
func New ¶
func New(o *orchestrator.Orchestrator) *Server
New creates a new Server for grpc requests.
func (*Server) CreateMachine ¶
func (s *Server) CreateMachine(_ context.Context, r *celestial.CreateMachineRequest) (*celestial.Empty, error)
CreateMachine handles CreateMachine grpc requests.
func (*Server) GetHostInfo ¶
GetHostInfo handles GetHostInfo grpc requests.
func (*Server) InitRemotes ¶
func (*Server) ModifyLinks ¶
func (s *Server) ModifyLinks(_ context.Context, r *celestial.ModifyLinksRequest) (*celestial.Empty, error)
ModifyLinks handles ModifyLinks grpc requests.
func (*Server) ModifyMachine ¶
func (s *Server) ModifyMachine(_ context.Context, r *celestial.ModifyMachineRequest) (*celestial.Empty, error)
ModifyMachine handles ModifyMachine grpc requests.
Click to show internal directories.
Click to hide internal directories.