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)
Click to show internal directories.
Click to hide internal directories.