gitea

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(logger *slog.Logger, config config.GiteaClientConfig) (*giteaClient, error)

Types

type Organization

type Organization struct {
	ID   int64
	Name string
	// contains filtered or unexported fields
}

func (*Organization) GetGroupID

func (o *Organization) GetGroupID() uint64

func (*Organization) InvalidateContentCache

func (o *Organization) InvalidateContentCache()

type Repository

type Repository struct {
	ID            int64
	Path          string
	CloneURL      string
	DefaultBranch string
}

func (*Repository) GetCloneURL

func (r *Repository) GetCloneURL() string

func (*Repository) GetDefaultBranch

func (r *Repository) GetDefaultBranch() string

func (*Repository) GetRepositoryID

func (r *Repository) GetRepositoryID() uint64

type User

type User struct {
	ID   int64
	Name string
	// contains filtered or unexported fields
}

func (*User) GetGroupID

func (u *User) GetGroupID() uint64

func (*User) InvalidateContentCache

func (u *User) InvalidateContentCache()

Jump to

Keyboard shortcuts

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