mirror of https://github.com/fluxcd/flux2.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
362 B
Go
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)
|
|
}
|