vessel

package
v0.0.0-...-0795abe Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DuplicatePackageNameError

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

func DuplicatePackageName

func DuplicatePackageName(pkg Package, duplicate Package) *DuplicatePackageNameError

func (DuplicatePackageNameError) Error

type Manifest

type Manifest struct {
	Compiler     *string  `dhall:"compiler"`
	Dependencies []string `dhall:"dependencies"`
}

func LoadManifest

func LoadManifest(path string) (*Manifest, error)

func NewManifest

func NewManifest(raw []byte) (*Manifest, error)

func (Manifest) Oko

func (Manifest) Save

func (m Manifest) Save(path string, set PackageSet) error

type MissingPackageDependencyError

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

func MissingPackageDependency

func MissingPackageDependency(dependency string) *MissingPackageDependencyError

func (MissingPackageDependencyError) Error

type Package

type Package struct {
	Name         string   `dhall:"name"`
	Repo         string   `dhall:"repo"`
	Version      string   `dhall:"version"`
	Dependencies []string `dhall:"dependencies"`
}

type PackageSet

type PackageSet struct {
	Packages map[string]Package
}

func LoadPackageSet

func LoadPackageSet(path string) (*PackageSet, error)

func NewPackageSet

func NewPackageSet(raw []byte) (*PackageSet, error)

func (PackageSet) Filter

func (set PackageSet) Filter(packages []string) (PackageSet, error)

func (PackageSet) Oko

func (set PackageSet) Oko() []config.PackageInfoRemote

type VesselError

type VesselError struct {
	Err error
}

func NewVesselError

func NewVesselError(err error) *VesselError

func (VesselError) Error

func (e VesselError) Error() string

Jump to

Keyboard shortcuts

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