Documentation
¶
Index ¶
- func BisyncGo(ctx context.Context, outputPath, lekkoPath, repoPath string) ([]string, error)
- func BisyncTS(lekkoPath, repoPath string) error
- func FileDescriptorToProtoString(fd protoreflect.FileDescriptor) (string, error)
- func FileRegistryToFileDescriptorSet(registry *protoregistry.Files) *descriptorpb.FileDescriptorSet
- func FileRegistryToTypeRegistry(fr *protoregistry.Files) (*protoregistry.Types, error)
- func FindArgStruct(f *ast.FuncDecl, file *ast.File) (string, *ast.StructType)
- func GetDependencies(descriptor *descriptorpb.DescriptorProto) []string
- func MessageDescriptorToProtoString(md protoreflect.MessageDescriptor, indentLevel int) (string, error)
- func NewDefaultFileDescriptorSet() *descriptorpb.FileDescriptorSet
- func NewGoSyncer(moduleRoot, filePath string) (*goSyncer, error)
- func NewGoSyncerLite(moduleRoot string, filePath string) *goSyncer
- func Push(ctx context.Context, commitMessage string, force bool, dot *dotlekko.DotLekko) (err error)
- func StructToMap(structType *ast.StructType) map[string]string
- type Namespace
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 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 NewGoSyncerLite ¶ added in v0.3.26
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?
Click to show internal directories.
Click to hide internal directories.