gitlab

package
v0.21.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(config Config) *Client

func (*Client) GetTag

func (c *Client) GetTag(ctx context.Context, options types.TagOptions) (*types.Tag, error)

func (*Client) TagCommit

func (c *Client) TagCommit(ctx context.Context, options types.TagOptions) (*types.Tag, error)

type Config

type Config struct {
	GitlabApiKey  string        `envconfig:"GITLAB_API_KEY"`
	GitlabBaseUrl string        `envconfig:"GITLAB_BASE_URL"`
	GitlabTimeout time.Duration `envconfig:"GITLAB_TIMEOUT" default:"20s"`
}

Jump to

Keyboard shortcuts

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