Documentation ¶
Index ¶
- func New(cpuSvc service.CPU, hostSvc service.Host, memSvc service.Memory, ...) campd.CampdServer
- type Handler
- func (h *Handler) BootTime(ctx context.Context, in *emptypb.Empty) (*campd.BootTimeOutput, error)
- func (h *Handler) DescribeBios(ctx context.Context, in *emptypb.Empty) (*campd.DescribeBiosOutput, error)
- func (h *Handler) DescribeCpu(ctx context.Context, in *emptypb.Empty) (*campd.DescribeCpuOutput, error)
- func (h *Handler) DescribeDisk(ctx context.Context, in *campd.DescribeDiskInput) (*campd.DescribeDiskOutput, error)
- func (h *Handler) DescribeHost(ctx context.Context, req *emptypb.Empty) (*campd.DescribeHostOutput, error)
- func (h *Handler) DescribeMemory(ctx context.Context, req *emptypb.Empty) (*campd.DescribeMemoryOutput, error)
- func (h *Handler) DescribeMotherboard(ctx context.Context, req *emptypb.Empty) (*campd.DescribeMotherboardOutput, error)
- func (h *Handler) DescribeNetworkInterface(ctx context.Context, in *campd.DescribeNetworkInterfaceInput) (*campd.DescribeNetworkInterfaceOutput, error)
- func (h *Handler) Health(ctx context.Context, in *emptypb.Empty) (*campd.HealthOutput, error)
- func (h *Handler) ListAddresses(ctx context.Context, in *emptypb.Empty) (*campd.ListAddressesOutput, error)
- func (h *Handler) ListDisks(ctx context.Context, in *emptypb.Empty) (*campd.ListDisksOutput, error)
- func (h *Handler) ListNetworkInterfaces(ctx context.Context, in *emptypb.Empty) (*campd.ListNetworkInterfacesOutput, error)
- func (h *Handler) PowerOff(context.Context, *campd.PowerOffInput) (*campd.PowerOffOutput, error)
- func (h *Handler) Reboot(context.Context, *emptypb.Empty) (*campd.RebootOutput, error)
- func (h *Handler) Uptime(ctx context.Context, in *emptypb.Empty) (*campd.UptimeOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct { campd.UnimplementedCampdServer // contains filtered or unexported fields }
func (*Handler) DescribeBios ¶
func (*Handler) DescribeCpu ¶
func (*Handler) DescribeDisk ¶
func (h *Handler) DescribeDisk(ctx context.Context, in *campd.DescribeDiskInput) (*campd.DescribeDiskOutput, error)
func (*Handler) DescribeHost ¶
func (*Handler) DescribeMemory ¶
func (*Handler) DescribeMotherboard ¶
func (*Handler) DescribeNetworkInterface ¶
func (h *Handler) DescribeNetworkInterface(ctx context.Context, in *campd.DescribeNetworkInterfaceInput) (*campd.DescribeNetworkInterfaceOutput, error)
func (*Handler) ListAddresses ¶
func (*Handler) ListNetworkInterfaces ¶
func (*Handler) PowerOff ¶
func (h *Handler) PowerOff(context.Context, *campd.PowerOffInput) (*campd.PowerOffOutput, error)
Click to show internal directories.
Click to hide internal directories.