1
0
mirror of synced 2026-03-31 05:54:20 +00:00
Files
flux2/pkg/git/provider.go
2020-06-18 09:59:39 +03:00

11 lines
362 B
Go

package git
import "context"
// Provider is the interface that a git provider should implement
type Provider interface {
CreateRepository(ctx context.Context, r *Repository) (bool, error)
AddTeam(ctx context.Context, r *Repository, name, permission string) (bool, error)
AddDeployKey(ctx context.Context, r *Repository, key, keyName string) (bool, error)
}