Add empty box module
This commit is contained in:
parent
60c8390f87
commit
639cf1db04
58
internal/core/box.go
Normal file
58
internal/core/box.go
Normal file
@ -0,0 +1,58 @@
|
||||
package core
|
||||
|
||||
import (
|
||||
"github.com/hashicorp/vagrant-plugin-sdk/core"
|
||||
)
|
||||
|
||||
type Box struct {
|
||||
}
|
||||
|
||||
func (m *Box) AutomaticUpdateCheckAllowed() (allowed bool, err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (m *Box) Destroy() (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (m *Box) Directory() (path string, err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (m *Box) HasUpdate(version string) (updateAvailable bool, err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (m *Box) InUse(index core.TargetIndex) (inUse bool, err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (m *Box) LoadMetadata() (metadata core.BoxMetadata, err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (m *Box) Metadata() (metadata core.BoxMetadataMap, err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (m *Box) MetadataURL() (url string, err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (m *Box) Name() (name string, err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (m *Box) Provider() (name string, err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (m *Box) Repackage() (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (m *Box) Version() (version string, err error) {
|
||||
return
|
||||
}
|
||||
|
||||
var _ core.Box = (*Box)(nil)
|
||||
Loading…
x
Reference in New Issue
Block a user