Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCarton ¶
type FakeCarton struct { Compute provision.BoxCompute // contains filtered or unexported fields }
Fake implementation for carton.
func NewFakeCarton ¶
func NewFakeCarton(name, tosca string, lvl provision.BoxLevel, units int) *FakeCarton
func (*FakeCarton) Boxs ¶
func (a *FakeCarton) Boxs() *[]provision.Box
func (*FakeCarton) GetIp ¶
func (a *FakeCarton) GetIp() string
func (*FakeCarton) GetName ¶
func (a *FakeCarton) GetName() string
func (*FakeCarton) HasLog ¶
func (a *FakeCarton) HasLog(source, unit, message string) bool
func (*FakeCarton) Log ¶
func (a *FakeCarton) Log(message, source, unit string) error
func (*FakeCarton) Logs ¶
func (a *FakeCarton) Logs() []string
Click to show internal directories.
Click to hide internal directories.