sync

package
v0.3.33 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: Apache-2.0 Imports: 45 Imported by: 0

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 FindArgStruct added in v0.3.31

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

func NewGoSyncer added in v0.3.26

func NewGoSyncer(ctx context.Context, moduleRoot, filePath, repoPath string) (*goSyncer, error)

func NewGoSyncerLite added in v0.3.26

func NewGoSyncerLite(moduleRoot string, filePath string, registry *protoregistry.Types) *goSyncer

func Push

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

func StructToDescriptor added in v0.3.31

func StructToDescriptor(typeSpec *ast.TypeSpec) *descriptorpb.DescriptorProto

func StructToMap added in v0.3.31

func StructToMap(typeSpec *ast.TypeSpec) 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