Documentation ¶
Index ¶
- Variables
- func CreateTestServer() *httptest.Server
- func GiteaHandler(w http.ResponseWriter, r *http.Request)
- func GiteaHandlerFailed(w http.ResponseWriter, r *http.Request)
- type GiteaRepository
- func (repo *GiteaRepository) CreateRelease(release *provider.CreateReleaseConfig) error
- func (repo *GiteaRepository) GetCommits(_, toSha string) ([]*semrel.RawCommit, error)
- func (repo *GiteaRepository) GetInfo() (*provider.RepositoryInfo, error)
- func (repo *GiteaRepository) GetReleases(rawRe string) ([]*semrel.Release, error)
- func (repo *GiteaRepository) Init(config map[string]string) error
- func (repo *GiteaRepository) Name() string
- func (repo *GiteaRepository) Version() string
Constants ¶
This section is empty.
Variables ¶
View Source
var PVERSION = "dev"
Functions ¶
func CreateTestServer ¶ added in v1.1.0
func GiteaHandler ¶ added in v1.1.0
func GiteaHandler(w http.ResponseWriter, r *http.Request)
func GiteaHandlerFailed ¶ added in v1.1.1
func GiteaHandlerFailed(w http.ResponseWriter, r *http.Request)
Types ¶
type GiteaRepository ¶
type GiteaRepository struct {
// contains filtered or unexported fields
}
func (*GiteaRepository) CreateRelease ¶
func (repo *GiteaRepository) CreateRelease(release *provider.CreateReleaseConfig) error
func (*GiteaRepository) GetCommits ¶
func (repo *GiteaRepository) GetCommits(_, toSha string) ([]*semrel.RawCommit, error)
func (*GiteaRepository) GetInfo ¶
func (repo *GiteaRepository) GetInfo() (*provider.RepositoryInfo, error)
func (*GiteaRepository) GetReleases ¶
func (repo *GiteaRepository) GetReleases(rawRe string) ([]*semrel.Release, error)
func (*GiteaRepository) Init ¶
func (repo *GiteaRepository) Init(config map[string]string) error
gocyclo:ignore
func (*GiteaRepository) Name ¶
func (repo *GiteaRepository) Name() string
func (*GiteaRepository) Version ¶
func (repo *GiteaRepository) Version() string
Click to show internal directories.
Click to hide internal directories.