github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/bms/v2/keypairs/doc.go (about) 1 /* 2 Package keypairs provides the ability to manage key pairs as well as create 3 bms with a specified key pair. 4 5 Example to List Key Pairs 6 7 listkeypair := keypairs.ListOpts{Name: "c2c-keypair1"} 8 allkeypair, err := keypairs.List(client,listkeypair) 9 if err != nil { 10 panic(err) 11 } 12 13 fmt.Println(allkeypair) 14 */ 15 package keypairs