Documentation ¶
Index ¶
- Variables
- func AddSshKeys(title string, filename string, overwrite bool) error
- func Client() *gitlab.Client
- func DeleteSshKey(key *gitlab.SSHKey) error
- func FindSshKey(title string) (*gitlab.SSHKey, error)
- func GetSshKeys() ([]*gitlab.SSHKey, error)
- func GetUserDetails(username string) (*gitlab.User, error)
- func GetUserOrganizationMemberships() ([]*gitlab.Group, error)
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 DeleteSshKey ¶
func DeleteSshKey(key *gitlab.SSHKey) error
func FindSshKey ¶
func GetSshKeys ¶
func GetSshKeys() ([]*gitlab.SSHKey, error)
func GetUserDetails ¶
func GetUserOrganizationMemberships ¶
func GetUserOrganizationMemberships() ([]*gitlab.Group, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.