mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-08 16:57:29 +00:00
10 lines
362 B
Go
10 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)
|
|
}
|