Documentation
¶
Index ¶
- func BisyncGo(ctx context.Context, outputPath, lekkoPath, repoPath string) ([]string, error)
- func BisyncTS(lekkoPath, repoPath string) error
- func GenNative(ctx context.Context, nativeLang NativeLang, ...) error
- 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, forceLock bool, ...) error
- type Namespace
- type NativeLang
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenNative ¶ added in v0.3.26
func GenNative(ctx context.Context, nativeLang NativeLang, lekkoPath, repoPath, ns, dir string) error
func NewGoSyncer ¶ added in v0.3.26
func NewGoSyncerLite ¶ added in v0.3.26
func NewGoSyncerLite(moduleRoot string, filePath string, registry *protoregistry.Types) *goSyncer
Types ¶
type Namespace ¶
type Namespace struct {
Name string
Features []*featurev1beta1.Feature
}
TODO - make this our proto rep?
type NativeLang ¶
type NativeLang string
var ( GO NativeLang = "go" TS NativeLang = "ts" )
func DetectNativeLang ¶
func DetectNativeLang() (NativeLang, error)
func NativeLangFromExt ¶
func NativeLangFromExt(filename string) (NativeLang, error)
func (*NativeLang) Ext ¶
func (l *NativeLang) Ext() string
func (*NativeLang) GetNamespace ¶
func (l *NativeLang) GetNamespace(filename string) string
Click to show internal directories.
Click to hide internal directories.