conda

package
v0.0.87 Latest Latest
Warning

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

Go to latest
Published: May 14, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CondaLayer         = "conda"
	CondaPackagesLayer = "conda_packages"
	CondaCacheLayer    = "conda_cache"
	CondaPkgsDirs      = "CONDA_PKGS_DIRS"
	EnvironmentFile    = "environment.yml"
	LockFile           = "package-list.txt"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Conda

type Conda struct {
	Logger Logger
}

type Contributor

type Contributor struct {
	CondaPackagesMetadata MetadataInterface
	// contains filtered or unexported fields
}

func NewContributor

func NewContributor(context build.Build, runner runner.Runner) (Contributor, bool, error)

func (*Contributor) Contribute

func (c *Contributor) Contribute() error

func (*Contributor) ContributeCondaPackages

func (c *Contributor) ContributeCondaPackages() error

func (*Contributor) ContributeMiniconda

func (c *Contributor) ContributeMiniconda() error

func (*Contributor) ContributeStartCommand

func (c *Contributor) ContributeStartCommand() error

type Logger

type Logger interface {
	Info(format string, args ...interface{})
}

type Metadata

type Metadata struct {
	Name string
	Hash string
}

func (Metadata) Identity

func (m Metadata) Identity() (string, string)

type MetadataInterface

type MetadataInterface interface {
	Identity() (name string, version string)
}

Jump to

Keyboard shortcuts

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