Documentation ¶
Index ¶
- Constants
- type GitLab
- func (g *GitLab) CreateRepository(ctx context.Context, namespace string, name string, ...) (*repository.Repository, error)
- func (g *GitLab) DeleteRepository(ctx context.Context, namespace string, repositoryID string) error
- func (g *GitLab) Repositories(ctx context.Context, namespace string, ...) ([]repository.Repository, error)
- func (g *GitLab) Repository(ctx context.Context, namespace, repositoryID string) (*repository.Repository, error)
- func (g *GitLab) RepositoryCredentials(ctx context.Context, namespace string, repositoryID string, ...) ([]repository.Credentials, error)
- func (g *GitLab) UpdateRepository(ctx context.Context, namespace string, repositoryID string, ...) (*repository.Repository, error)
Constants ¶
View Source
const (
Provider = "GitLab"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitLab ¶
type GitLab struct {
// contains filtered or unexported fields
}
func FromEnvironment ¶
func (*GitLab) CreateRepository ¶
func (g *GitLab) CreateRepository(ctx context.Context, namespace string, name string, options *repository.CreateRepositoryOptions) (*repository.Repository, error)
func (*GitLab) DeleteRepository ¶
func (*GitLab) Repositories ¶
func (g *GitLab) Repositories(ctx context.Context, namespace string, options *repository.RepositoryListOptions) ([]repository.Repository, error)
func (*GitLab) Repository ¶
func (g *GitLab) Repository(ctx context.Context, namespace, repositoryID string) (*repository.Repository, error)
func (*GitLab) RepositoryCredentials ¶
func (g *GitLab) RepositoryCredentials(ctx context.Context, namespace string, repositoryID string, options *repository.CredentialsListOptions) ([]repository.Credentials, error)
func (*GitLab) UpdateRepository ¶
func (g *GitLab) UpdateRepository(ctx context.Context, namespace string, repositoryID string, options *repository.UpdateRepositoryOptions) (*repository.Repository, error)
Click to show internal directories.
Click to hide internal directories.