box

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoxClient added in v0.6.0

type BoxClient interface {
	Provider() model.BoxProvider // TODO replace with generics
	Events() *event.EventBus
	Create(opts *model.CreateOptions) (*model.BoxInfo, error)
	Connect(opts *model.ConnectOptions) error
	Describe(name string) (*model.BoxDetails, error)
	List() ([]model.BoxInfo, error)
	Delete(names []string) ([]string, error) // empty "names" means all boxes
	Clean() error                            // TODO delete source in params: remove local and git cache
	Version() (string, error)                // TODO replace string with BoxVersion interface, return both client and server version
}

func NewBoxClient added in v0.6.0

func NewBoxClient(opts *model.BoxClientOptions) (BoxClient, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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