source

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var REQUIRED_FILES = []string{"pup.nix", "manifest.json"}

Functions

func NewSourceManager

TODO: This should take storeManager and manage state internally not via Statemanager

func ParseAndValidateSourceDetails

func ParseAndValidateSourceDetails(content string) (dogeboxd.SourceDetails, error)

Types

type GitPupEntry

type GitPupEntry struct {
	Manifest     dogeboxd.PupManifest
	SubPath      string
	LogoBase64   string
	ReleaseNotes string
	ReleaseDate  *time.Time
	ReleaseURL   string
}

type ManifestSourceDisk

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

func (ManifestSourceDisk) Config

func (ManifestSourceDisk) Download

func (r ManifestSourceDisk) Download(diskPath string, remoteLocation map[string]string) error

func (ManifestSourceDisk) List

func (ManifestSourceDisk) ValidateFromLocation

func (r ManifestSourceDisk) ValidateFromLocation(location string) (dogeboxd.ManifestSourceConfiguration, error)

type ManifestSourceGit

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

func (ManifestSourceGit) Config

func (ManifestSourceGit) Download

func (r ManifestSourceGit) Download(diskPath string, location map[string]string) error

func (ManifestSourceGit) GetAllGitTags

func (r ManifestSourceGit) GetAllGitTags(location string) ([]string, error)

func (*ManifestSourceGit) List

func (r *ManifestSourceGit) List(ignoreCache bool) (dogeboxd.ManifestSourceList, error)

func (ManifestSourceGit) Name

func (r ManifestSourceGit) Name() string

func (ManifestSourceGit) ValidateFromLocation

func (r ManifestSourceGit) ValidateFromLocation(location string) (dogeboxd.ManifestSourceConfiguration, error)

Jump to

Keyboard shortcuts

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