#8 delete cobra, add parsing .netrc
This commit is contained in:
@@ -2,6 +2,7 @@ package gitlab
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
|
||||
"git.unistack.org/unistack-org/pkgdash/internal/configcli"
|
||||
"git.unistack.org/unistack-org/pkgdash/internal/modules"
|
||||
@@ -17,15 +18,19 @@ func NewGitlab(cfg configcli.Config) *Gitlab {
|
||||
}
|
||||
}
|
||||
|
||||
func (g *Gitlab) Name() string {
|
||||
return "gitlab"
|
||||
}
|
||||
|
||||
func (g *Gitlab) RequestOpen(ctx context.Context, branch string, path string, mod modules.Update) error {
|
||||
return nil
|
||||
return fmt.Errorf("implement me")
|
||||
}
|
||||
func (g *Gitlab) RequestClose(ctx context.Context, branch string, path string) error {
|
||||
return nil
|
||||
return fmt.Errorf("implement me")
|
||||
}
|
||||
func (g *Gitlab) RequestUpdate(ctx context.Context, branch string, path string, mod modules.Update) error {
|
||||
return nil
|
||||
return fmt.Errorf("implement me")
|
||||
}
|
||||
func (g *Gitlab) RequestList(ctx context.Context, branch string) (map[string]string, error) {
|
||||
return nil, nil
|
||||
return nil, fmt.Errorf("implement me")
|
||||
}
|
||||
|
Reference in New Issue
Block a user