Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds auto_restart to containerz.StopRequest. #139

Merged
merged 4 commits into from
Nov 1, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
120 changes: 68 additions & 52 deletions containerz/containerz.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion containerz/containerz.proto
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import "google/rpc/status.proto";
import "types/types.proto";

option go_package = "github.com/openconfig/gnoi/containerz";
option (types.gnoi_version) = "0.1.1";
option (types.gnoi_version) = "0.1.2";

service Containerz {
// Deploy sets a container image on the target. The container is sent as
Expand Down Expand Up @@ -258,6 +258,10 @@ message StopRequest {

// If force is set, the target should attempt to forcibly kill the container.
bool force = 2;

// If restart is set, the target should start the container immediately
// after stopping it.
bool restart = 3;
}

message StopResponse {
Expand Down
51 changes: 42 additions & 9 deletions containerz/containerz_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading