Documentation ¶
Overview ¶
Package evecompute provides all the logic to bring a eve-ng lab to a cloud service.
This package only support Google cloud for now.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceFunctions ¶
type ServiceFunctions interface { IsImageCreated(string, string) bool CreateImage(string, *compute.Image) error DeleteImage(string, string) error CreateInstance(string, string, *compute.Instance) error InsertFirewallRule(string, *compute.Firewall) error DeleteFirewallRules(string) error LookupExternalIP(string, string, string) (net.Addr, error) InstanceStatus(string, string, string) string DeleteInstance(string, string, string) error StopInstance(string, string, string) error StartInstance(string, string, string) error }
ServiceFunctions defines the ServiceFunctions operation for cloud service.
func New ¶
func New() (ServiceFunctions, error)
New handles the creation of a new cloud service api client. For now we only support google cloud.
Click to show internal directories.
Click to hide internal directories.