gitlab

package
v0.0.0-...-ccb4162 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	BaseUrl string `validate:"required,url"`
	Token   string `validate:"required"`
}

type GitLabClient

type GitLabClient struct {
	// contains filtered or unexported fields
}

func NewGitLabClient

func NewGitLabClient(config Config) (*GitLabClient, error)

func (*GitLabClient) Artifacts

func (g *GitLabClient) Artifacts(ctx context.Context, namespace string, options *artifacts.ArtifactListOptions) ([]artifacts.Artifact, error)

Jump to

Keyboard shortcuts

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