crane

package
v0.5.20-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PullCommand    = "pull"
	DecryptCommand = "decrypt"

	GitCrane = "git"

	BinPath = "devpod-crane" // FIXME

)

Variables

This section is empty.

Functions

func IsAvailable

func IsAvailable() bool

IsAvailable checks if devpod crane is installed in host system

func PullConfigFromSource

func PullConfigFromSource(configSource string, log log.Logger) (string, error)

PullConfigFromSource pulls devcontainer config from configSource using git crane and returns config path

Types

type Content

type Content struct {
	Files map[string]string `json:"files"`
}

Jump to

Keyboard shortcuts

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