gitlab

package
v0.0.0-...-cdc24ad Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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 FromEnvironment() (*GitLab, error)

func (*GitLab) CreateRepository

func (g *GitLab) CreateRepository(ctx context.Context, namespace string, name string, options *repository.CreateRepositoryOptions) (*repository.Repository, error)

func (*GitLab) DeleteRepository

func (g *GitLab) DeleteRepository(ctx context.Context, namespace string, repositoryID string) error

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL