Documentation ¶
Index ¶
- Variables
- func RegisterOSServiceServer(s *grpc.Server, srv OSServiceServer)deprecated
- type OSServiceClientdeprecated
- type OSServiceServerdeprecated
- type OSService_DmesgClient
- type OSService_DmesgServer
- type UnimplementedOSServiceServer
- func (*UnimplementedOSServiceServer) Containers(context.Context, *machine.ContainersRequest) (*machine.ContainersResponse, error)
- func (*UnimplementedOSServiceServer) Dmesg(*machine.DmesgRequest, OSService_DmesgServer) error
- func (*UnimplementedOSServiceServer) Memory(context.Context, *empty.Empty) (*machine.MemoryResponse, error)
- func (*UnimplementedOSServiceServer) Processes(context.Context, *empty.Empty) (*machine.ProcessesResponse, error)
- func (*UnimplementedOSServiceServer) Restart(context.Context, *machine.RestartRequest) (*machine.RestartResponse, error)
- func (*UnimplementedOSServiceServer) Stats(context.Context, *machine.StatsRequest) (*machine.StatsResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var File_os_os_proto protoreflect.FileDescriptor
Functions ¶
func RegisterOSServiceServer
deprecated
func RegisterOSServiceServer(s *grpc.Server, srv OSServiceServer)
Deprecated: Do not use.
Types ¶
type OSServiceClient
deprecated
type OSServiceClient interface { Containers(ctx context.Context, in *machine.ContainersRequest, opts ...grpc.CallOption) (*machine.ContainersResponse, error) Dmesg(ctx context.Context, in *machine.DmesgRequest, opts ...grpc.CallOption) (OSService_DmesgClient, error) Memory(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*machine.MemoryResponse, error) Processes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*machine.ProcessesResponse, error) Restart(ctx context.Context, in *machine.RestartRequest, opts ...grpc.CallOption) (*machine.RestartResponse, error) Stats(ctx context.Context, in *machine.StatsRequest, opts ...grpc.CallOption) (*machine.StatsResponse, error) }
OSServiceClient is the client API for OSService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
Deprecated: Do not use.
func NewOSServiceClient
deprecated
func NewOSServiceClient(cc grpc.ClientConnInterface) OSServiceClient
Deprecated: Do not use.
type OSServiceServer
deprecated
type OSServiceServer interface { Containers(context.Context, *machine.ContainersRequest) (*machine.ContainersResponse, error) Dmesg(*machine.DmesgRequest, OSService_DmesgServer) error Memory(context.Context, *empty.Empty) (*machine.MemoryResponse, error) Processes(context.Context, *empty.Empty) (*machine.ProcessesResponse, error) Restart(context.Context, *machine.RestartRequest) (*machine.RestartResponse, error) Stats(context.Context, *machine.StatsRequest) (*machine.StatsResponse, error) }
OSServiceServer is the server API for OSService service.
Deprecated: Do not use.
type OSService_DmesgClient ¶
type OSService_DmesgClient interface { Recv() (*common.Data, error) grpc.ClientStream }
type OSService_DmesgServer ¶
type OSService_DmesgServer interface { Send(*common.Data) error grpc.ServerStream }
type UnimplementedOSServiceServer ¶ added in v0.6.0
type UnimplementedOSServiceServer struct { }
UnimplementedOSServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedOSServiceServer) Containers ¶ added in v0.6.0
func (*UnimplementedOSServiceServer) Containers(context.Context, *machine.ContainersRequest) (*machine.ContainersResponse, error)
func (*UnimplementedOSServiceServer) Dmesg ¶ added in v0.6.0
func (*UnimplementedOSServiceServer) Dmesg(*machine.DmesgRequest, OSService_DmesgServer) error
func (*UnimplementedOSServiceServer) Memory ¶ added in v0.6.0
func (*UnimplementedOSServiceServer) Memory(context.Context, *empty.Empty) (*machine.MemoryResponse, error)
func (*UnimplementedOSServiceServer) Processes ¶ added in v0.6.0
func (*UnimplementedOSServiceServer) Processes(context.Context, *empty.Empty) (*machine.ProcessesResponse, error)
func (*UnimplementedOSServiceServer) Restart ¶ added in v0.6.0
func (*UnimplementedOSServiceServer) Restart(context.Context, *machine.RestartRequest) (*machine.RestartResponse, error)
func (*UnimplementedOSServiceServer) Stats ¶ added in v0.6.0
func (*UnimplementedOSServiceServer) Stats(context.Context, *machine.StatsRequest) (*machine.StatsResponse, error)
Click to show internal directories.
Click to hide internal directories.