descriptors

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Local  *local.Config  `mapstructure:"local"`
	Remote *remote.Config `mapstructure:"remote"`
	Kind   string         `mapstructure:"kind" validate:"required,oneof=local remote"`
}

type Descriptors

type Descriptors interface {
	GetProtoFileDescriptorSet(ctx context.Context) ([]*descriptorpb.FileDescriptorSet, error)
}

func New

func New(cfg *Config, client grpcClient.ClientInterface) (Descriptors, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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