Files
docker-cli/vendor/github.com/moby/swarmkit/v2/protobuf/plugin/plugin.proto
Sebastiaan van Stijn 11924f498b vendor: github.com/moby/swarmkit/v2 v2.0.0-20220420172245-6068d1894d46
full diff: 616e8db4c3...6068d1894d

a replace rule was needed (similar as in github.com/docker/docker) to fix some
dependency issues;

    github.com/docker/cli/cli/trust imports
        github.com/theupdateframework/notary/trustpinning tested by
        github.com/theupdateframework/notary/trustpinning.test imports
        github.com/cloudflare/cfssl/helpers imports
        github.com/google/certificate-transparency-go imports
        go.etcd.io/etcd/v3 imports
        go.etcd.io/etcd/tests/v3/integration imports
        go.etcd.io/etcd/server/v3/embed imports
        go.opentelemetry.io/otel/semconv: module go.opentelemetry.io/otel@latest found (v1.7.0), but does not contain package go.opentelemetry.io/otel/semconv
    github.com/docker/cli/cli/trust imports
        github.com/theupdateframework/notary/trustpinning tested by
        github.com/theupdateframework/notary/trustpinning.test imports
        github.com/cloudflare/cfssl/helpers imports
        github.com/google/certificate-transparency-go imports
        go.etcd.io/etcd/v3 imports
        go.etcd.io/etcd/tests/v3/integration imports
        go.etcd.io/etcd/server/v3/embed imports
        go.opentelemetry.io/otel/exporters/otlp imports
        go.opentelemetry.io/otel/sdk/metric/controller/basic imports
        go.opentelemetry.io/otel/metric/registry: module go.opentelemetry.io/otel/metric@latest found (v0.30.0), but does not contain package go.opentelemetry.io/otel/metric/registry

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-04-30 12:01:39 +02:00

54 lines
1.3 KiB
Protocol Buffer

syntax = "proto2";
package docker.protobuf.plugin;
import "google/protobuf/descriptor.proto";
message WatchSelectors {
// supported by all object types
optional bool id = 1;
optional bool id_prefix = 2;
optional bool name = 3;
optional bool name_prefix = 4;
optional bool custom = 5;
optional bool custom_prefix = 6;
// supported by tasks only
optional bool service_id = 7;
optional bool node_id = 8;
optional bool slot = 9;
optional bool desired_state = 10;
// supported by nodes only
optional bool role = 11;
optional bool membership = 12;
// supported by: resource
optional bool kind = 13;
}
message StoreObject {
required WatchSelectors watch_selectors = 1;
}
extend google.protobuf.MessageOptions {
optional bool deepcopy = 70000 [default=true];
optional StoreObject store_object = 70001;
}
message TLSAuthorization {
// Roles contains the acceptable TLS OU roles for the handler.
repeated string roles = 1;
// Insecure is set to true if this method does not require
// authorization. NOTE: Specifying both "insecure" and a nonempty
// list of roles is invalid. This would fail at codegen time.
optional bool insecure = 2;
}
extend google.protobuf.MethodOptions {
// TLSAuthorization contains the authorization parameters for this
// method.
optional TLSAuthorization tls_authorization = 73626345;
}