Skip to content

vendvahk/go-multipass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

go-mulitpass client

Golang client SDK to interact with canonical's multipass.

To launch an instance

	instance, err := multipass.Launch(&multipass.LaunchReq{
		CPU:           2,
	})
	if err != nil {
		t.Fatal(err)
	}

To delete an instance

	if err := multipass.Delete(&multipass.DeleteRequest{Name:instance.Name}); err != nil {
		t.Fatal(err)
	}

To get information an instance

	instanceInfo, err := Info(&InfoRequest{Name:instance.Name})
	if err != nil {
		t.Fatal(err)
	}

Roadmap

  • Cover all the commandline parameters of multipass
  • More documentation and examples to be added

About

Go SDK for canonical's multipass - https://debarshibasak.github.io/go-multipass/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 91.3%
  • Shell 7.2%
  • Makefile 1.5%