kubernetes/vendor/github.com/gogo/protobuf/protoc-gen-gogo/grpc/grpc.go

const generatedCodeVersion

const contextPkgPath

const grpcPkgPath

const codePkgPath

const statusPkgPath

func init() {}

type grpc

// Name returns the name of this plugin, "grpc".
func (g *grpc) Name() string {}

var contextPkg

var grpcPkg

// Init initializes the plugin.
func (g *grpc) Init(gen *generator.Generator) {}

// Given a type name defined in a .proto, return its object.
// Also record that we're using it, to guarantee the associated import.
func (g *grpc) objectNamed(name string) generator.Object {}

// Given a type name defined in a .proto, return its name as we will print it.
func (g *grpc) typeName(str string) string {}

// P forwards to g.gen.P.
func (g *grpc) P(args ...interface{}

// Generate generates code for the services in the given file.
func (g *grpc) Generate(file *generator.FileDescriptor) {}

// GenerateImports generates the import declaration for this file.
func (g *grpc) GenerateImports(file *generator.FileDescriptor) {}

var reservedClientName

func unexport(s string) string {}

var deprecationComment

// generateService generates all the code for the named service.
func (g *grpc) generateService(file *generator.FileDescriptor, service *pb.ServiceDescriptorProto, index int) {}

// generateUnimplementedServer creates the unimplemented server struct
func (g *grpc) generateUnimplementedServer(servName string, service *pb.ServiceDescriptorProto) {}

// generateServerMethodConcrete returns unimplemented methods which ensure forward compatibility
func (g *grpc) generateServerMethodConcrete(servName string, method *pb.MethodDescriptorProto) {}

// generateClientSignature returns the client-side signature for a method.
func (g *grpc) generateClientSignature(servName string, method *pb.MethodDescriptorProto) string {}

func (g *grpc) generateClientMethod(servName, fullServName, serviceDescVar string, method *pb.MethodDescriptorProto, descExpr string) {}

// generateServerSignatureWithParamNames returns the server-side signature for a method with parameter names.
func (g *grpc) generateServerSignatureWithParamNames(servName string, method *pb.MethodDescriptorProto) string {}

// generateServerSignature returns the server-side signature for a method.
func (g *grpc) generateServerSignature(servName string, method *pb.MethodDescriptorProto) string {}

func (g *grpc) generateServerMethod(servName, fullServName string, method *pb.MethodDescriptorProto) string {}