Help us shape the future of Go! Take the 2026 Go Developer Survey

conda

package
v1.7.38 Latest Latest
Warning

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

Go to latest
Published: May 6, 2021 License: Apache-2.0, MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(c *Conda) error

Types

type Command

type Command interface {
	Execute(string, io.Writer, io.Writer, string, ...string) error
	Output(dir string, program string, args ...string) (string, error)
}

type Conda

type Conda struct {
	Installer Installer
	Stager    Stager
	Command   Command
	Log       *libbuildpack.Logger
}

func New

func New(i Installer, s Stager, c Command, l *libbuildpack.Logger) *Conda

func (*Conda) Install

func (c *Conda) Install(version string) error

func (*Conda) ProfileD

func (c *Conda) ProfileD() string

func (*Conda) RestoreCache

func (c *Conda) RestoreCache() error

func (*Conda) SaveCache

func (c *Conda) SaveCache() error

func (*Conda) UpdateAndClean

func (c *Conda) UpdateAndClean() error

func (*Conda) Version

func (c *Conda) Version() string

func (*Conda) Warning

func (c *Conda) Warning() error

type Installer added in v1.6.16

type Installer interface {
	InstallOnlyVersion(string, string) error
}

type Stager

type Stager interface {
	BuildDir() string
	CacheDir() string
	DepDir() string
	DepsIdx() string
	LinkDirectoryInDepDir(string, string) error
	WriteProfileD(string, string) error
}

Jump to

Keyboard shortcuts

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