github.com/kaisenlinux/docker.io@v0.0.0-20230510090727-ea55db55fac7/swarmkit/Protobuild.toml (about)

     1  version = "unstable"
     2  generator = "gogoswarm"
     3  plugins = ["grpc", "deepcopy", "storeobject", "raftproxy", "authenticatedwrapper"]
     4  
     5  # Control protoc include paths. Below are usually some good defaults, but feel
     6  # free to try it without them if it works for your project.
     7  [includes]
     8    # Include paths that will be added before all others. Typically, you want to
     9    # treat the root of the project as an include, but this may not be necessary.
    10    before = ["."]
    11  
    12    # Paths that should be treated as include roots in relation to the vendor
    13    # directory. These will be calculated with the vendor directory nearest the
    14    # target package.
    15    vendored = ["github.com/gogo/protobuf"]
    16  
    17    # Paths that will be added untouched to the end of the includes. We use
    18    # `/usr/local/include` to pickup the common install location of protobuf.
    19    # This is the default.
    20    after = ["/usr/local/include"]
    21  
    22  [importpath]
    23  
    24  # This section map protobuf imports to Go packages. These will become
    25  # `-M` directives in the call to the go protobuf generator.
    26  [packages]
    27    "gogoproto/gogo.proto" = "github.com/gogo/protobuf/gogoproto"
    28    "google/protobuf/any.proto" = "github.com/gogo/protobuf/types"
    29    "google/protobuf/descriptor.proto" = "github.com/gogo/protobuf/protoc-gen-gogo/descriptor"
    30    "google/protobuf/field_mask.proto" = "github.com/gogo/protobuf/types"
    31    "google/protobuf/timestamp.proto" = "github.com/gogo/protobuf/types"
    32    "google/protobuf/duration.proto" = "github.com/gogo/protobuf/types"
    33    "google/protobuf/wrappers.proto" = "github.com/gogo/protobuf/types"
    34  
    35  [[descriptors]]
    36  prefix = "github.com/docker/swarmkit/api"
    37  target = "api/api.pb.txt"