[sandbox] Update vendor
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
This commit is contained in:
parent
0e77f758a4
commit
a433beb79f
1
go.mod
1
go.mod
@ -49,6 +49,7 @@ require (
|
|||||||
github.com/opencontainers/selinux v1.10.0
|
github.com/opencontainers/selinux v1.10.0
|
||||||
github.com/pelletier/go-toml v1.9.3
|
github.com/pelletier/go-toml v1.9.3
|
||||||
github.com/prometheus/client_golang v1.11.1
|
github.com/prometheus/client_golang v1.11.1
|
||||||
|
github.com/pkg/errors v0.9.1
|
||||||
github.com/sirupsen/logrus v1.8.1
|
github.com/sirupsen/logrus v1.8.1
|
||||||
github.com/stretchr/testify v1.7.0
|
github.com/stretchr/testify v1.7.0
|
||||||
github.com/tchap/go-patricia/v2 v2.3.1
|
github.com/tchap/go-patricia/v2 v2.3.1
|
||||||
|
@ -35,4 +35,8 @@ const (
|
|||||||
DiffService = "diff-service"
|
DiffService = "diff-service"
|
||||||
// IntrospectionService is the id of introspection service
|
// IntrospectionService is the id of introspection service
|
||||||
IntrospectionService = "introspection-service"
|
IntrospectionService = "introspection-service"
|
||||||
|
// SandboxStoreService is the id of Sandbox's store service
|
||||||
|
SandboxStoreService = "sandbox-store-service"
|
||||||
|
// SandboxControllerService is the id of Sandbox's controller service
|
||||||
|
SandboxControllerService = "sandbox-controller-service"
|
||||||
)
|
)
|
||||||
|
1147
vendor/github.com/containerd/containerd/api/types/sandbox.pb.go
generated
vendored
1147
vendor/github.com/containerd/containerd/api/types/sandbox.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
51
vendor/github.com/containerd/containerd/api/types/sandbox.proto
generated
vendored
51
vendor/github.com/containerd/containerd/api/types/sandbox.proto
generated
vendored
@ -1,51 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright The containerd Authors.
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
syntax = "proto3";
|
|
||||||
|
|
||||||
package containerd.types;
|
|
||||||
|
|
||||||
import weak "gogoproto/gogo.proto";
|
|
||||||
import "google/protobuf/any.proto";
|
|
||||||
import "google/protobuf/timestamp.proto";
|
|
||||||
|
|
||||||
option go_package = "github.com/containerd/containerd/api/types;types";
|
|
||||||
|
|
||||||
// Sandbox represents a sandbox metadata object that keeps all info required by controller to
|
|
||||||
// work with a particular instance. containerd keeps this in metadata store and sends it to a controller with
|
|
||||||
// each request, so they can reflect sandbox state changes (by updating the corresponding fields).
|
|
||||||
message Sandbox {
|
|
||||||
// SandboxID is a unique instance identifier within namespace
|
|
||||||
string sandbox_id = 1;
|
|
||||||
message Runtime {
|
|
||||||
// Name is the name of the runtime.
|
|
||||||
string name = 1;
|
|
||||||
// Options specify additional runtime initialization options.
|
|
||||||
google.protobuf.Any options = 2;
|
|
||||||
}
|
|
||||||
// Runtime specifies which runtime to use for executing this container.
|
|
||||||
Runtime runtime = 2 [(gogoproto.nullable) = false];
|
|
||||||
// Spec is sandbox configuration (kin of OCI runtime spec, but for VM)
|
|
||||||
google.protobuf.Any spec = 3;
|
|
||||||
// Labels provides an area to include arbitrary data on containers.
|
|
||||||
map<string, string> labels = 4 [(gogoproto.nullable) = false];
|
|
||||||
// CreatedAt is the time the container was first created.
|
|
||||||
google.protobuf.Timestamp created_at = 5 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false];
|
|
||||||
// UpdatedAt is the last time the container was mutated.
|
|
||||||
google.protobuf.Timestamp updated_at = 6 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false];
|
|
||||||
// Extensions allow clients to provide optional blobs that can be handled by runtime.
|
|
||||||
map<string, google.protobuf.Any> extensions = 7 [(gogoproto.nullable) = false];
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user