Documentation
¶
Index ¶
- Constants
- func Boxes(metricAddresses ...string) host.Configurator
- func Destroy(ctx context.Context, libvirtAddr string) error
- func DummyService() host.Configurator
- func Start(libvirtAddr string, sources ...cloudless.SpecSource) error
- func Stop(ctx context.Context, libvirtAddr string) error
- func VMs(bootConfigurator vm.Configurator) cloudless.SpecSource
- func Verify(ctx context.Context, config cloudless.Config) error
Constants ¶
View Source
const ( // PebbleAddr is the address of pebble service. PebbleAddr = devIP // SMTPAddr is the address of smtp service. SMTPAddr = devIP // ContainerCacheAddr is the address of container cche service. ContainerCacheAddr = "http://" + devIP + ":81" )
View Source
const (
// LokiAddr is the address of loki service.
LokiAddr = "http://" + monitoringIP + ":82"
)
Variables ¶
This section is empty.
Functions ¶
func Boxes ¶
func Boxes(metricAddresses ...string) host.Configurator
Boxes adds dev boxes to the environment.
func DummyService ¶
func DummyService() host.Configurator
DummyService is used to keep box running without any service.
func Start ¶
func Start(libvirtAddr string, sources ...cloudless.SpecSource) error
Start starts dev environment.
func VMs ¶
func VMs(bootConfigurator vm.Configurator) cloudless.SpecSource
VMs adds dev vms to the environment.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.