sync

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2024 License: Apache-2.0 Imports: 46 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BisyncGo added in v0.3.26

func BisyncGo(ctx context.Context, outputPath, lekkoPath, repoPath string) ([]string, error)

func BisyncTS added in v0.3.26

func BisyncTS(lekkoPath, repoPath string) error

func FileDescriptorToProtoString added in v0.4.2

func FileDescriptorToProtoString(fd protoreflect.FileDescriptor) (string, error)

func FileRegistryToFileDescriptorSet added in v0.4.2

func FileRegistryToFileDescriptorSet(registry *protoregistry.Files) *descriptorpb.FileDescriptorSet

func FileRegistryToTypeRegistry added in v0.4.2

func FileRegistryToTypeRegistry(fr *protoregistry.Files) (*protoregistry.Types, error)

func FindArgStruct added in v0.3.31

func FindArgStruct(f *ast.FuncDecl, file *ast.File) (string, *ast.StructType)

func GetDependencies added in v0.3.34

func GetDependencies(descriptor *descriptorpb.DescriptorProto) []string

func MessageDescriptorToProtoString added in v0.4.2

func MessageDescriptorToProtoString(md protoreflect.MessageDescriptor, indentLevel int) (string, error)

func NewDefaultFileDescriptorSet added in v0.4.2

func NewDefaultFileDescriptorSet() *descriptorpb.FileDescriptorSet

Initializes an empty file descriptor set and starts with well-known types

func NewGoSyncer added in v0.3.26

func NewGoSyncer(moduleRoot, filePath string) (*goSyncer, error)

func NewGoSyncerLite added in v0.3.26

func NewGoSyncerLite(moduleRoot string, filePath string) *goSyncer

func Push

func Push(ctx context.Context, commitMessage string, force bool, dot *dotlekko.DotLekko) (err error)

func StructToMap added in v0.3.31

func StructToMap(structType *ast.StructType) map[string]string

Types

type Namespace

type Namespace struct {
	Name     string
	Features []*featurev1beta1.Feature
}

TODO - make this our proto rep?

Jump to

Keyboard shortcuts

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