Documentation
¶
Index ¶
- type Gitlab
- func (g *Gitlab) CommitTemplateFiles() error
- func (g *Gitlab) Connect() error
- func (g *Gitlab) Create() error
- func (g *Gitlab) Delete() error
- func (g *Gitlab) FullURL() *url.URL
- func (g *Gitlab) IsType(URL *url.URL) (bool, error)
- func (g *Gitlab) New(options manager.RepoOptions) (manager.Repo, error)
- func (g *Gitlab) Read() error
- func (g *Gitlab) Type() string
- func (g *Gitlab) Update() (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gitlab ¶
type Gitlab struct {
// contains filtered or unexported fields
}
Gitlab holds the necessary information to communincate with a Gitlab server
func (*Gitlab) CommitTemplateFiles ¶
CommitTemplateFiles uploads all defined template files onto the repository.
func (*Gitlab) IsType ¶
IsType determines if the given url can be handled by this concrete implementation. This is done by a simple http query to the login page of gitlab. If any errors occur anywhere it will return false.
Click to show internal directories.
Click to hide internal directories.