gitlabnet

package
v14.47.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package gitlabnet provides client utilities for interacting with GitLab's internal API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClient

func GetClient(config *config.Config) (*client.GitlabNetClient, error)

GetClient creates and returns a new GitlabNetClient configured with the provided settings.

func ParseIP

func ParseIP(remoteAddr string) string

ParseIP extracts and returns the IP address from a remote address string. It handles both plain IP addresses and host:port combinations.

func ParseJSON

func ParseJSON(hr *http.Response, response interface{}) error

ParseJSON decodes JSON from an HTTP response into the provided response interface.

Types

This section is empty.

Directories

Path Synopsis
Package accessverifier provides functionality for verifying access to GitLab resources
Package accessverifier provides functionality for verifying access to GitLab resources
Package authorizedcerts implements functions for authorizing users with ssh certificates
Package authorizedcerts implements functions for authorizing users with ssh certificates
Package authorizedkeys provides functionality for interacting with authorized keys.
Package authorizedkeys provides functionality for interacting with authorized keys.
Package discover provides functionality for discovering GitLab users
Package discover provides functionality for discovering GitLab users
Package git provides functionality for interacting with Git repositories.
Package git provides functionality for interacting with Git repositories.
Package gitauditevent handles Git audit events for GitLab.
Package gitauditevent handles Git audit events for GitLab.
Package healthcheck implements a HTTP client to request healthcheck endpoint
Package healthcheck implements a HTTP client to request healthcheck endpoint
Package lfsauthenticate provides functionality for authenticating Large File Storage (LFS) requests
Package lfsauthenticate provides functionality for authenticating Large File Storage (LFS) requests
Package lfstransfer provides functionality for handling LFS (Large File Storage) transfers.
Package lfstransfer provides functionality for handling LFS (Large File Storage) transfers.
Package personalaccesstoken provides functionality for managing personal access tokens
Package personalaccesstoken provides functionality for managing personal access tokens
Package twofactorrecover provides functionality for interacting with GitLab Two-Factor Authentication recovery codes
Package twofactorrecover provides functionality for interacting with GitLab Two-Factor Authentication recovery codes
Package twofactorverify provides functionality for verifying two-factor authentication in GitLab.
Package twofactorverify provides functionality for verifying two-factor authentication in GitLab.

Jump to

Keyboard shortcuts

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