* Move repository package to apps
* Move operators to grafana/grafana
* Go mod tidy
* Own package by git sync team for now
* Merged
* Do not use settings in local extra
* Remove dependency on webhook extra
* Hack to work around issue with secure contracts
* Sync Go modules
* Revert "Move operators to grafana/grafana"
This reverts commit 9f19b30a2e.
18 lines
508 B
Go
18 lines
508 B
Go
package git
|
|
|
|
import "github.com/grafana/grafana/apps/provisioning/pkg/repository"
|
|
|
|
// GitRepository is an interface that combines all repository capabilities
|
|
// needed for Git repositories.
|
|
//
|
|
//go:generate mockery --name GitRepository --structname MockGitRepository --inpackage --filename git_repository_mock.go --with-expecter
|
|
type GitRepository interface {
|
|
repository.Repository
|
|
repository.Versioned
|
|
repository.Writer
|
|
repository.Reader
|
|
repository.StageableRepository
|
|
URL() string
|
|
Branch() string
|
|
}
|