functionality

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Repos []string `yaml:"repos"`
}

type Handler added in v0.6.7

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler added in v0.6.7

func NewHandler(token string) *Handler

func (*Handler) ExecuteBackup added in v0.6.7

func (h *Handler) ExecuteBackup() error

Performs the backup operation for all repositories

func (*Handler) LoadConfig added in v0.6.7

func (h *Handler) LoadConfig(path string) error

Loads repository configuration from a file or direct repo path

func (*Handler) RunBackup added in v0.6.7

func (h *Handler) RunBackup(configPath string, unlimitedOutput bool) error

Entry point to run the backup process

func (*Handler) Setup added in v0.6.7

func (h *Handler) Setup()

func (*Handler) ValidateToken added in v0.6.7

func (h *Handler) ValidateToken() error

Validates the GitHub token

Jump to

Keyboard shortcuts

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