Discover Packages
gitlab.com/logius/cloud-native-overheid/tools/rancher-cli
gitlabclient
package
Version:
v0.0.0-...-fbfee1b
Opens a new window with list of versions in this module.
Published: Oct 19, 2023
License: EUPL-1.2
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
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(gitlabURL string ) (*gitlab.Client, error )
NewGitLabClient initalizes a new gitlab.Client and connects to GitLab
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
Source Files
¶
Click to show internal directories.
Click to hide internal directories.