Documentation ¶ Index ¶ func CheckFileType(filePath string) (models.DiskType, error) func CreateVm(vmInfo models.PostApiV1VmsJSONRequestBody) (models.Vm, error) func GetAllVmInfo() ([]models.Vm, error) type InstallOpts type StartOpts Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func CheckFileType ¶ func CheckFileType(filePath string) (models.DiskType, error) func CreateVm ¶ func CreateVm(vmInfo models.PostApiV1VmsJSONRequestBody) (models.Vm, error) CreateVm diskとVmをcharV-libの関数から作成する func GetAllVmInfo ¶ func GetAllVmInfo() ([]models.Vm, error) Types ¶ type InstallOpts ¶ type InstallOpts struct { Name string Memory int VCpu int Image string Disk string } type StartOpts ¶ type StartOpts struct { Disk string } Source Files ¶ View all Source files disk.gotype.govm.go Click to show internal directories. Click to hide internal directories.