Documentation
¶
Index ¶
- func BisyncGo(ctx context.Context, outputPath, lekkoPath, repoPath string) ([]string, error)
- func BisyncTS(lekkoPath, repoPath string) error
- func FindArgStruct(f *ast.FuncDecl, file *ast.File) *ast.TypeSpec
- func GetDependencies(descriptor *descriptorpb.DescriptorProto) []string
- func NewGoSyncer(ctx context.Context, moduleRoot, filePath, repoPath string) (*goSyncer, error)
- func NewGoSyncerLite(moduleRoot string, filePath string, registry *protoregistry.Types) *goSyncer
- func Push(ctx context.Context, commitMessage string, force bool, dot *dotlekko.DotLekko) (err error)
- func StructToDescriptor(typeSpec *ast.TypeSpec) *descriptorpb.DescriptorProto
- func StructToMap(typeSpec *ast.TypeSpec) map[string]string
- func TypesToFileDescriptorSet(types *protoregistry.Types) *descriptorpb.FileDescriptorSet
- func WriteToRepo(ctx context.Context, r repo.ConfigurationRepository, ...) error
- type Namespace
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindArgStruct ¶ added in v0.3.31
func GetDependencies ¶ added in v0.3.34
func GetDependencies(descriptor *descriptorpb.DescriptorProto) []string
func NewGoSyncer ¶ added in v0.3.26
func NewGoSyncerLite ¶ added in v0.3.26
func NewGoSyncerLite(moduleRoot string, filePath string, registry *protoregistry.Types) *goSyncer
func StructToDescriptor ¶ added in v0.3.31
func StructToDescriptor(typeSpec *ast.TypeSpec) *descriptorpb.DescriptorProto
func TypesToFileDescriptorSet ¶ added in v0.3.34
func TypesToFileDescriptorSet(types *protoregistry.Types) *descriptorpb.FileDescriptorSet
func WriteToRepo ¶ added in v0.3.34
func WriteToRepo(ctx context.Context, r repo.ConfigurationRepository, types *protoregistry.Types) error
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.