Documentation
¶
Index ¶
- Variables
- type Gitlab
- func (g *Gitlab) CommitTemplateFiles() error
- func (g *Gitlab) Connect() error
- func (g *Gitlab) Create() error
- func (g *Gitlab) FullURL() *url.URL
- func (g *Gitlab) IsType(_ *url.URL) (bool, error)
- func (g *Gitlab) New(options manager.RepoOptions) (manager.Repo, error)
- func (g *Gitlab) Read() error
- func (g *Gitlab) Remove() error
- func (g *Gitlab) Type() string
- func (g *Gitlab) Update() (bool, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ListItemsPerPage = 100
)
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. Each Gitlab instance will handle exactly one project.
func (*Gitlab) CommitTemplateFiles ¶
CommitTemplateFiles uploads all defined template files onto the repository.
func (*Gitlab) IsType ¶
TODO: this will be deprecated in favour of a fixed type definition in the CRD. As there's currently only the GitLab implementation this is a workaround for the brittle detection.
func (*Gitlab) Read ¶
Read reads the repository from the gitlab server and sets the object's state accordingly
Click to show internal directories.
Click to hide internal directories.