cmd

package
v0.26.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Module is a module for running cmd.v1.Controller service.

Functions

func RegisterControllerServer

func RegisterControllerServer(handler *Handler, server *grpc.Server, healthsrv *health.Server)

RegisterControllerServer registers handler for cmd.v1.Controller service.

Types

type Handler

type Handler struct {
	cmdv1.UnimplementedControllerServer
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(agents agents.Agents) *Handler

func (*Handler) ListAgents

func (h *Handler) ListAgents(
	ctx context.Context,
	_ *emptypb.Empty,
) (*cmdv1.ListAgentsResponse, error)

Jump to

Keyboard shortcuts

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