scm

package
v0.0.0-...-2475328 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrSshKeyAlreadyExists = errors.New("ssh key already exists")
	ErrSshKeyNotFound      = errors.New("ssh key not found")
)
View Source
var (
	ErrUserNotFound = errors.New("user not found")
)

Functions

func AddSshKeys

func AddSshKeys(title string, filename string, overwrite bool) error

func Client

func Client() *gitlab.Client

func DeleteSshKey

func DeleteSshKey(key *gitlab.SSHKey) error

func FindSshKey

func FindSshKey(title string) (*gitlab.SSHKey, error)

func GetSshKeys

func GetSshKeys() ([]*gitlab.SSHKey, error)

func GetUserDetails

func GetUserDetails(username string) (*gitlab.User, error)

func GetUserOrganizationMemberships

func GetUserOrganizationMemberships() ([]*gitlab.Group, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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