profiles

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ContainerNameFormat = "qubesome-%s"
)

Functions

func Run

func Run(opts ...command.Option[Options]) error

func Start

func Start(runner string, profile *types.Profile, cfg *types.Config) (err error)

func StartFromGit

func StartFromGit(runner, name, gitURL, path, local string) error

func WithConfig

func WithConfig(config *types.Config) command.Option[Options]

func WithGitURL

func WithGitURL(gitURL string) command.Option[Options]

func WithLocal

func WithLocal(local string) command.Option[Options]

func WithPath

func WithPath(path string) command.Option[Options]

func WithProfile

func WithProfile(profile string) command.Option[Options]

func WithRunner added in v0.0.5

func WithRunner(runner string) command.Option[Options]

Types

type Options

type Options struct {
	GitURL  string
	Path    string
	Local   string
	Profile string
	Runner  string
	Config  *types.Config
}

Jump to

Keyboard shortcuts

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