admin

package
v0.0.1-alpha-2 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnAuthorizedUser = errors.New("user unauthorized")
)

Functions

This section is empty.

Types

type Administrator

type Administrator interface {
	UpdateConfig(cfgs ...Config) error
	GetGroups(groupID string) (Groups, error)
	GetGroupMembers(groupID string) (Members, error)
}

func NewGitLabAdministrator

func NewGitLabAdministrator(token, baseURL string) Administrator

type Config

type Config interface {
	Apply()
}

type Group

type Group struct {
	Name string
}

type Groups

type Groups []Group

type Member

type Member struct {
	Name string
}

type Members

type Members []Member

Jump to

Keyboard shortcuts

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