internal

package
v1.87.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractFile

func ExtractFile(gz []byte) (*descriptor.FileDescriptorProto, error)

ExtractFile extracts a FileDescriptorProto from a gzip'd buffer. Note: function is copied from the github.com/golang/protobuf dependency: https://github.com/golang/protobuf/blob/9eb2c01ac278a5d89ce4b2be68fe4500955d8179/descriptor/descriptor.go#L50

func GetOpExtension

GetOpExtension gets the OperationMsg from a method descriptor

func GetRepositoryExtension added in v1.87.0

func GetRepositoryExtension(m *descriptor.FieldDescriptorProto) (bool, error)

GetRepositoryExtension gets the repository extension from a field descriptor

func GetStorageExtension added in v1.73.0

func GetStorageExtension(m *descriptor.FieldDescriptorProto) (bool, error)

GetStorageExtension gets the storage extension from a field descriptor

func GetTargetRepositoryExtension added in v1.87.0

func GetTargetRepositoryExtension(m *descriptor.FieldDescriptorProto) (bool, error)

GetTargetRepositoryExtension gets the target_repository extension from a field descriptor

Types

This section is empty.

Directories

Path Synopsis
cmd
protoc-gen-gitaly
Command protoc-gen-gitaly is designed to be used as a protobuf compiler plugin to verify Gitaly processes are being followed when writing RPC's.
Command protoc-gen-gitaly is designed to be used as a protobuf compiler plugin to verify Gitaly processes are being followed when writing RPC's.

Jump to

Keyboard shortcuts

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