gitlabclient

package
v0.0.0-...-fbfee1b Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: EUPL-1.2 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGitLabGroup

func GetGitLabGroup(gitLab *gitlab.Client, gitlabGroupPath string) (*gitlab.Group, error)

GetGitLabGroup gets a group in GitLab GitLab search does not support groupnames with 2 chars, so we cannot use the search option Search strategy: find the root group and traverse the tree with ListSubgroups()

func NewGitLabClient

func NewGitLabClient(gitlabURL string) (*gitlab.Client, error)

NewGitLabClient initalizes a new gitlab.Client and connects to GitLab

func UpdateGroupVariable

func UpdateGroupVariable(gitlabClient *gitlab.Client, group *gitlab.Group, key string, value string, scope string, variableType gitlab.VariableTypeValue) error

UpdateGroupVariable creates or updates an environment variable in a GitLab Group

Types

This section is empty.

Jump to

Keyboard shortcuts

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