Documentation
¶
Index ¶
- type Registrator
- func (r *Registrator) Containers(ctx context.Context, in *osapi.ContainersRequest) (reply *osapi.ContainersResponse, err error)
- func (r *Registrator) Dmesg(req *osapi.DmesgRequest, srv osapi.OSService_DmesgServer) error
- func (r *Registrator) Memory(ctx context.Context, in *empty.Empty) (reply *osapi.MemoryResponse, err error)
- func (r *Registrator) Processes(ctx context.Context, in *empty.Empty) (reply *osapi.ProcessesResponse, err error)
- func (r *Registrator) Register(s *grpc.Server)
- func (r *Registrator) Restart(ctx context.Context, in *osapi.RestartRequest) (*osapi.RestartResponse, error)
- func (r *Registrator) Stats(ctx context.Context, in *osapi.StatsRequest) (reply *osapi.StatsResponse, err error)
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 ¶
func (r *Registrator) Dmesg(req *osapi.DmesgRequest, srv osapi.OSService_DmesgServer) error
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 ¶
func (r *Registrator) Restart(ctx context.Context, in *osapi.RestartRequest) (*osapi.RestartResponse, error)
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
Click to show internal directories.
Click to hide internal directories.