bootstrap

package
v0.1.20 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPrerequisites

func CheckPrerequisites(server config.ServerConfig) error

func IsSourceAccessError

func IsSourceAccessError(err error) bool

IsSourceAccessError reports whether err was caused by a fetch/read failure while resolving a source manifest or install payload.

Types

type ResolveOptions

type ResolveOptions struct {
	Name     string
	FetchURL func(ctx context.Context, source string) ([]byte, error)
	ReadFile func(path string) ([]byte, error)
}

type ResolvedServer

type ResolvedServer struct {
	Name   string
	Server config.ServerConfig
}

func Resolve

func Resolve(ctx context.Context, source string, opts ResolveOptions) (ResolvedServer, error)

Jump to

Keyboard shortcuts

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