Documentation
¶
Index ¶
- func AskForMachineSpecs() (*ravelAPI.GuestConfig, error)
- func InitializeConfigFile(fleetID string) error
- func IsAlreadyInitialized() bool
- func RemoveConfigFile() error
- func RetrieveAPIKey() (string, error)
- func RetrieveNamespace() (string, error)
- func StoreAPIKey(namespace, key string) (err error)
- type MachineTemplate
- type ProjectConfiguration
- type VCPUConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AskForMachineSpecs ¶
func AskForMachineSpecs() (*ravelAPI.GuestConfig, error)
func InitializeConfigFile ¶
func IsAlreadyInitialized ¶
func IsAlreadyInitialized() bool
func RemoveConfigFile ¶
func RemoveConfigFile() error
func RetrieveAPIKey ¶
func RetrieveNamespace ¶
func StoreAPIKey ¶
Types ¶
type MachineTemplate ¶
type MachineTemplate struct {
Name string
VCPUConfigs []VCPUConfig
}
type ProjectConfiguration ¶
type ProjectConfiguration struct {
ravelAPI.CreateMachinePayload
FleetID string `json:"fleet_id"`
}
func RetrieveProjectConfiguration ¶
func RetrieveProjectConfiguration() (cfg ProjectConfiguration, err error)
type VCPUConfig ¶
Click to show internal directories.
Click to hide internal directories.