profiles

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: Apache-2.0 Imports: 32 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, interactive bool) (err error)

func StartFromGit

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

func WithGitURL

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

func WithInteractive added in v0.0.10

func WithInteractive() 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
	Interactive bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳