gitlab

package module
v0.0.0-...-cdc24ad Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Credentials

type Credentials struct {
	Username string `json:"username,omitempty"`
	Password string `json:"password,omitempty"`
}

type GitLab

type GitLab interface {
	UserByReference(ctx context.Context, reference string) (*User, error)
	UserCredentials(ctx context.Context, userID string, name string) (*Credentials, error)

	GroupByReference(ctx context.Context, reference string) (*Group, error)
	GroupCredentials(ctx context.Context, groupID string, name string) (*Credentials, error)
}

type Group

type Group struct {
	ID        string `json:"id,omitempty"`
	Reference string `json:"reference,omitempty"`
}

type User

type User struct {
	ID        string `json:"id,omitempty"`
	Reference string `json:"reference,omitempty"`
}

Directories

Path Synopsis
cmd
pkg
to

Jump to

Keyboard shortcuts

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