bufile

command module
v0.0.0-...-a2d1c2e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2025 License: MIT Imports: 11 Imported by: 0

README

Bufile

Bufile is a CLI to generate Linkerd service profiles using Buf Schema Registry.

Usage

Here's an example protobuf file that includes the right annotations:

 syntax = "proto3"; 
  
 package testbufile.v1; 
  
 import "bufile/v1/bufile.proto"; 
  
 service GreetingService { 
   rpc Say(SayRequest) returns (SayResponse) { 
     option idempotency_level = IDEMPOTENT; 
     option (bufile.v1.linkerd_timeout) = "30s"; 
   } 
 } 
  
 message SayRequest { 
   string name = 1; 
 } 
  
 message SayResponse { 
   string greeting = 1; 
 }
bufile --config <path-to-bufile.json>

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
build module
proto

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL