gogs

package
v0.0.0-...-8729d0b Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gogs

type Gogs struct {
	Username string
	Password string
}

func NewGogs

func NewGogs(cfg configcli.Config) *Gogs

func (*Gogs) Name

func (g *Gogs) Name() string

func (*Gogs) RequestClose

func (g *Gogs) RequestClose(ctx context.Context, branch string, path string) error

func (*Gogs) RequestList

func (g *Gogs) RequestList(ctx context.Context, branch string) (map[string]string, error)

func (*Gogs) RequestOpen

func (g *Gogs) RequestOpen(ctx context.Context, branch string, path string, mod modules.Update) error

func (*Gogs) RequestUpdate

func (g *Gogs) RequestUpdate(ctx context.Context, branch string, path string, mod modules.Update) error

Jump to

Keyboard shortcuts

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