cicdtools-go-sdk

module
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: Apache-2.0

README

Gitlab-api-tools

A simple reusable package which does the following :

1. Check whether a project is in within the list of monitored projects

actions.CheckGroup(monitored_groups_names, group_name)
returns true / false
- monitored_groups_names : []string
- group_name : string

2. Get a project's name

actions.GetProjectName(project_ID, "<git-token>")

3. Get a group's name

actions.GetGroupName(group_ID, "<git-token>")

4. Send Curated HTTP Requests to gitlab

request.SendGetRequest(url string) (http.Header, []byte)

request.SendPostRequest(url string, requestBody io.Reader) (http.Header, []byte)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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