reg

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2020 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registrator

type Registrator struct{}

Registrator is the concrete type that implements the factory.Registrator and osapi.OSDServer interfaces.

func (*Registrator) Containers added in v0.3.0

func (r *Registrator) Containers(ctx context.Context, in *osapi.ContainersRequest) (reply *osapi.ContainersResponse, err error)

Containers implements the osapi.OSDServer interface.

func (*Registrator) Dmesg

Dmesg implements the osapi.OSDServer interface.

nolint: gocyclo

func (*Registrator) Memory added in v0.3.0

func (r *Registrator) Memory(ctx context.Context, in *empty.Empty) (reply *osapi.MemoryResponse, err error)

Memory implements the osdapi.OSDServer interface.

func (*Registrator) Processes

func (r *Registrator) Processes(ctx context.Context, in *empty.Empty) (reply *osapi.ProcessesResponse, err error)

Processes implements the osapi.OSDServer interface

func (*Registrator) Register

func (r *Registrator) Register(s *grpc.Server)

Register implements the factory.Registrator interface.

func (*Registrator) Restart

Restart implements the osapi.OSDServer interface.

func (*Registrator) Stats

func (r *Registrator) Stats(ctx context.Context, in *osapi.StatsRequest) (reply *osapi.StatsResponse, err error)

Stats implements the osapi.OSDServer interface. nolint: gocyclo

Jump to

Keyboard shortcuts

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