box

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Box

type Box struct {
	// contains filtered or unexported fields
}

func Load

func Load(conf *Config, provider string) (*Box, error)

func (*Box) Download

func (box *Box) Download() error

func (*Box) GetSSHOptions

func (box *Box) GetSSHOptions() (*SSHOptions, error)

func (*Box) Path

func (box *Box) Path() string

type Config added in v0.3.0

type Config struct {
	User        string
	Name        string
	Version     string
	AccessToken string
}

type SSHOptions

type SSHOptions struct {
	Username       string
	PrivateKeyFile string
}

Jump to

Keyboard shortcuts

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