mirror of
https://github.com/siderolabs/talos.git
synced 2025-08-20 06:01:13 +02:00
This moves `pkg/config`, `pkg/client` and `pkg/constants` under `pkg/machinery` umbrella. And `pkg/machinery` is published as Go module inside Talos repository. Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
27 lines
903 B
Protocol Buffer
27 lines
903 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package os;
|
|
|
|
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/os";
|
|
option java_multiple_files = true;
|
|
option java_outer_classname = "OsApi";
|
|
option java_package = "com.os.api";
|
|
|
|
import "google/protobuf/empty.proto";
|
|
import "common/common.proto";
|
|
import "machine/machine.proto";
|
|
|
|
// The OS service definition.
|
|
//
|
|
// Deprecated: this API is deprecated and merged into Machine API.
|
|
service OSService {
|
|
option deprecated = true;
|
|
|
|
rpc Containers(machine.ContainersRequest) returns (machine.ContainersResponse);
|
|
rpc Dmesg(machine.DmesgRequest) returns (stream common.Data);
|
|
rpc Memory(google.protobuf.Empty) returns (machine.MemoryResponse);
|
|
rpc Processes(google.protobuf.Empty) returns (machine.ProcessesResponse);
|
|
rpc Restart(machine.RestartRequest) returns (machine.RestartResponse);
|
|
rpc Stats(machine.StatsRequest) returns (machine.StatsResponse);
|
|
}
|