id int32 0 167k | repo stringlengths 5 54 | path stringlengths 4 155 | func_name stringlengths 1 118 | original_string stringlengths 52 85.5k | language stringclasses 1
value | code stringlengths 52 85.5k | code_tokens list | docstring stringlengths 6 2.61k | docstring_tokens list | sha stringlengths 40 40 | url stringlengths 85 252 |
|---|---|---|---|---|---|---|---|---|---|---|---|
137,400 | terra-farm/go-xen-api-client | vlan_gen.go | GetAll | func (_class VLANClass) GetAll(sessionID SessionRef) (_retval []VLANRef, _err error) {
_method := "VLAN.get_all"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _class.client.APICall(_method, _sessionIDArg)
if _err... | go | func (_class VLANClass) GetAll(sessionID SessionRef) (_retval []VLANRef, _err error) {
_method := "VLAN.get_all"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _class.client.APICall(_method, _sessionIDArg)
if _err... | [
"func",
"(",
"_class",
"VLANClass",
")",
"GetAll",
"(",
"sessionID",
"SessionRef",
")",
"(",
"_retval",
"[",
"]",
"VLANRef",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"convertSessionRefToXen",
"(... | // Return a list of all the VLANs known to the system. | [
"Return",
"a",
"list",
"of",
"all",
"the",
"VLANs",
"known",
"to",
"the",
"system",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vlan_gen.go#L59-L71 |
137,401 | terra-farm/go-xen-api-client | vlan_gen.go | GetTag | func (_class VLANClass) GetTag(sessionID SessionRef, self VLANRef) (_retval int, _err error) {
_method := "VLAN.get_tag"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVLANRefToXen(fmt.Sprintf("%s(%s)", _me... | go | func (_class VLANClass) GetTag(sessionID SessionRef, self VLANRef) (_retval int, _err error) {
_method := "VLAN.get_tag"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVLANRefToXen(fmt.Sprintf("%s(%s)", _me... | [
"func",
"(",
"_class",
"VLANClass",
")",
"GetTag",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VLANRef",
")",
"(",
"_retval",
"int",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"convertSessionRef... | // Get the tag field of the given VLAN. | [
"Get",
"the",
"tag",
"field",
"of",
"the",
"given",
"VLAN",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vlan_gen.go#L196-L212 |
137,402 | terra-farm/go-xen-api-client | vlan_gen.go | GetUntaggedPIF | func (_class VLANClass) GetUntaggedPIF(sessionID SessionRef, self VLANRef) (_retval PIFRef, _err error) {
_method := "VLAN.get_untagged_PIF"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVLANRefToXen(fmt.S... | go | func (_class VLANClass) GetUntaggedPIF(sessionID SessionRef, self VLANRef) (_retval PIFRef, _err error) {
_method := "VLAN.get_untagged_PIF"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVLANRefToXen(fmt.S... | [
"func",
"(",
"_class",
"VLANClass",
")",
"GetUntaggedPIF",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VLANRef",
")",
"(",
"_retval",
"PIFRef",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"conver... | // Get the untagged_PIF field of the given VLAN. | [
"Get",
"the",
"untagged_PIF",
"field",
"of",
"the",
"given",
"VLAN",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vlan_gen.go#L215-L231 |
137,403 | terra-farm/go-xen-api-client | vlan_gen.go | GetRecord | func (_class VLANClass) GetRecord(sessionID SessionRef, self VLANRef) (_retval VLANRecord, _err error) {
_method := "VLAN.get_record"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVLANRefToXen(fmt.Sprintf(... | go | func (_class VLANClass) GetRecord(sessionID SessionRef, self VLANRef) (_retval VLANRecord, _err error) {
_method := "VLAN.get_record"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVLANRefToXen(fmt.Sprintf(... | [
"func",
"(",
"_class",
"VLANClass",
")",
"GetRecord",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VLANRef",
")",
"(",
"_retval",
"VLANRecord",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"convert... | // Get a record containing the current state of the given VLAN. | [
"Get",
"a",
"record",
"containing",
"the",
"current",
"state",
"of",
"the",
"given",
"VLAN",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vlan_gen.go#L291-L307 |
137,404 | terra-farm/go-xen-api-client | sdn_controller_gen.go | GetAllRecords | func (_class SDNControllerClass) GetAllRecords(sessionID SessionRef) (_retval map[SDNControllerRef]SDNControllerRecord, _err error) {
_method := "SDN_controller.get_all_records"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_resul... | go | func (_class SDNControllerClass) GetAllRecords(sessionID SessionRef) (_retval map[SDNControllerRef]SDNControllerRecord, _err error) {
_method := "SDN_controller.get_all_records"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_resul... | [
"func",
"(",
"_class",
"SDNControllerClass",
")",
"GetAllRecords",
"(",
"sessionID",
"SessionRef",
")",
"(",
"_retval",
"map",
"[",
"SDNControllerRef",
"]",
"SDNControllerRecord",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg"... | // Return a map of SDN_controller references to SDN_controller records for all SDN_controllers known to the system. | [
"Return",
"a",
"map",
"of",
"SDN_controller",
"references",
"to",
"SDN_controller",
"records",
"for",
"all",
"SDN_controllers",
"known",
"to",
"the",
"system",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/sdn_controller_gen.go#L51-L63 |
137,405 | terra-farm/go-xen-api-client | sdn_controller_gen.go | GetAll | func (_class SDNControllerClass) GetAll(sessionID SessionRef) (_retval []SDNControllerRef, _err error) {
_method := "SDN_controller.get_all"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _class.client.APICall(_met... | go | func (_class SDNControllerClass) GetAll(sessionID SessionRef) (_retval []SDNControllerRef, _err error) {
_method := "SDN_controller.get_all"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _class.client.APICall(_met... | [
"func",
"(",
"_class",
"SDNControllerClass",
")",
"GetAll",
"(",
"sessionID",
"SessionRef",
")",
"(",
"_retval",
"[",
"]",
"SDNControllerRef",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"convertSess... | // Return a list of all the SDN_controllers known to the system. | [
"Return",
"a",
"list",
"of",
"all",
"the",
"SDN_controllers",
"known",
"to",
"the",
"system",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/sdn_controller_gen.go#L66-L78 |
137,406 | terra-farm/go-xen-api-client | sdn_controller_gen.go | Forget | func (_class SDNControllerClass) Forget(sessionID SessionRef, self SDNControllerRef) (_err error) {
_method := "SDN_controller.forget"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertSDNControllerRefToXen(fm... | go | func (_class SDNControllerClass) Forget(sessionID SessionRef, self SDNControllerRef) (_err error) {
_method := "SDN_controller.forget"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertSDNControllerRefToXen(fm... | [
"func",
"(",
"_class",
"SDNControllerClass",
")",
"Forget",
"(",
"sessionID",
"SessionRef",
",",
"self",
"SDNControllerRef",
")",
"(",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"convertSessionRefToXen",
"... | // Remove the OVS manager of the pool and destroy the db record. | [
"Remove",
"the",
"OVS",
"manager",
"of",
"the",
"pool",
"and",
"destroy",
"the",
"db",
"record",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/sdn_controller_gen.go#L81-L93 |
137,407 | terra-farm/go-xen-api-client | sdn_controller_gen.go | Introduce | func (_class SDNControllerClass) Introduce(sessionID SessionRef, protocol SdnControllerProtocol, address string, port int) (_retval SDNControllerRef, _err error) {
_method := "SDN_controller.introduce"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != n... | go | func (_class SDNControllerClass) Introduce(sessionID SessionRef, protocol SdnControllerProtocol, address string, port int) (_retval SDNControllerRef, _err error) {
_method := "SDN_controller.introduce"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != n... | [
"func",
"(",
"_class",
"SDNControllerClass",
")",
"Introduce",
"(",
"sessionID",
"SessionRef",
",",
"protocol",
"SdnControllerProtocol",
",",
"address",
"string",
",",
"port",
"int",
")",
"(",
"_retval",
"SDNControllerRef",
",",
"_err",
"error",
")",
"{",
"_meth... | // Introduce an SDN controller to the pool. | [
"Introduce",
"an",
"SDN",
"controller",
"to",
"the",
"pool",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/sdn_controller_gen.go#L96-L120 |
137,408 | terra-farm/go-xen-api-client | sdn_controller_gen.go | GetPort | func (_class SDNControllerClass) GetPort(sessionID SessionRef, self SDNControllerRef) (_retval int, _err error) {
_method := "SDN_controller.get_port"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertSDNContr... | go | func (_class SDNControllerClass) GetPort(sessionID SessionRef, self SDNControllerRef) (_retval int, _err error) {
_method := "SDN_controller.get_port"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertSDNContr... | [
"func",
"(",
"_class",
"SDNControllerClass",
")",
"GetPort",
"(",
"sessionID",
"SessionRef",
",",
"self",
"SDNControllerRef",
")",
"(",
"_retval",
"int",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
... | // Get the port field of the given SDN_controller. | [
"Get",
"the",
"port",
"field",
"of",
"the",
"given",
"SDN_controller",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/sdn_controller_gen.go#L123-L139 |
137,409 | terra-farm/go-xen-api-client | sdn_controller_gen.go | GetProtocol | func (_class SDNControllerClass) GetProtocol(sessionID SessionRef, self SDNControllerRef) (_retval SdnControllerProtocol, _err error) {
_method := "SDN_controller.get_protocol"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfAr... | go | func (_class SDNControllerClass) GetProtocol(sessionID SessionRef, self SDNControllerRef) (_retval SdnControllerProtocol, _err error) {
_method := "SDN_controller.get_protocol"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfAr... | [
"func",
"(",
"_class",
"SDNControllerClass",
")",
"GetProtocol",
"(",
"sessionID",
"SessionRef",
",",
"self",
"SDNControllerRef",
")",
"(",
"_retval",
"SdnControllerProtocol",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",... | // Get the protocol field of the given SDN_controller. | [
"Get",
"the",
"protocol",
"field",
"of",
"the",
"given",
"SDN_controller",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/sdn_controller_gen.go#L161-L177 |
137,410 | terra-farm/go-xen-api-client | sdn_controller_gen.go | GetRecord | func (_class SDNControllerClass) GetRecord(sessionID SessionRef, self SDNControllerRef) (_retval SDNControllerRecord, _err error) {
_method := "SDN_controller.get_record"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _er... | go | func (_class SDNControllerClass) GetRecord(sessionID SessionRef, self SDNControllerRef) (_retval SDNControllerRecord, _err error) {
_method := "SDN_controller.get_record"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _er... | [
"func",
"(",
"_class",
"SDNControllerClass",
")",
"GetRecord",
"(",
"sessionID",
"SessionRef",
",",
"self",
"SDNControllerRef",
")",
"(",
"_retval",
"SDNControllerRecord",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
... | // Get a record containing the current state of the given SDN_controller. | [
"Get",
"a",
"record",
"containing",
"the",
"current",
"state",
"of",
"the",
"given",
"SDN_controller",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/sdn_controller_gen.go#L218-L234 |
137,411 | terra-farm/go-xen-api-client | vm_gen.go | GetAllRecords | func (_class VMClass) GetAllRecords(sessionID SessionRef) (_retval map[VMRef]VMRecord, _err error) {
_method := "VM.get_all_records"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _class.client.APICall(_method, _se... | go | func (_class VMClass) GetAllRecords(sessionID SessionRef) (_retval map[VMRef]VMRecord, _err error) {
_method := "VM.get_all_records"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _class.client.APICall(_method, _se... | [
"func",
"(",
"_class",
"VMClass",
")",
"GetAllRecords",
"(",
"sessionID",
"SessionRef",
")",
"(",
"_retval",
"map",
"[",
"VMRef",
"]",
"VMRecord",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"con... | // Return a map of VM references to VM records for all VMs known to the system. | [
"Return",
"a",
"map",
"of",
"VM",
"references",
"to",
"VM",
"records",
"for",
"all",
"VMs",
"known",
"to",
"the",
"system",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vm_gen.go#L353-L365 |
137,412 | terra-farm/go-xen-api-client | vm_gen.go | GetAll | func (_class VMClass) GetAll(sessionID SessionRef) (_retval []VMRef, _err error) {
_method := "VM.get_all"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _class.client.APICall(_method, _sessionIDArg)
if _err != ni... | go | func (_class VMClass) GetAll(sessionID SessionRef) (_retval []VMRef, _err error) {
_method := "VM.get_all"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _class.client.APICall(_method, _sessionIDArg)
if _err != ni... | [
"func",
"(",
"_class",
"VMClass",
")",
"GetAll",
"(",
"sessionID",
"SessionRef",
")",
"(",
"_retval",
"[",
"]",
"VMRef",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"convertSessionRefToXen",
"(",
... | // Return a list of all the VMs known to the system. | [
"Return",
"a",
"list",
"of",
"all",
"the",
"VMs",
"known",
"to",
"the",
"system",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vm_gen.go#L368-L380 |
137,413 | terra-farm/go-xen-api-client | vm_gen.go | SetDomainType | func (_class VMClass) SetDomainType(sessionID SessionRef, self VMRef, value DomainType) (_err error) {
_method := "VM.set_domain_type"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMRefToXen(fmt.Sprintf("... | go | func (_class VMClass) SetDomainType(sessionID SessionRef, self VMRef, value DomainType) (_err error) {
_method := "VM.set_domain_type"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMRefToXen(fmt.Sprintf("... | [
"func",
"(",
"_class",
"VMClass",
")",
"SetDomainType",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMRef",
",",
"value",
"DomainType",
")",
"(",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"convertSe... | // Set the VM.domain_type field of the given VM, which will take effect when it is next started | [
"Set",
"the",
"VM",
".",
"domain_type",
"field",
"of",
"the",
"given",
"VM",
"which",
"will",
"take",
"effect",
"when",
"it",
"is",
"next",
"started"
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vm_gen.go#L402-L418 |
137,414 | terra-farm/go-xen-api-client | vm_gen.go | SetActionsAfterCrash | func (_class VMClass) SetActionsAfterCrash(sessionID SessionRef, self VMRef, value OnCrashBehaviour) (_err error) {
_method := "VM.set_actions_after_crash"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMR... | go | func (_class VMClass) SetActionsAfterCrash(sessionID SessionRef, self VMRef, value OnCrashBehaviour) (_err error) {
_method := "VM.set_actions_after_crash"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMR... | [
"func",
"(",
"_class",
"VMClass",
")",
"SetActionsAfterCrash",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMRef",
",",
"value",
"OnCrashBehaviour",
")",
"(",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",... | // Sets the actions_after_crash parameter | [
"Sets",
"the",
"actions_after_crash",
"parameter"
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vm_gen.go#L421-L437 |
137,415 | terra-farm/go-xen-api-client | vm_gen.go | Import | func (_class VMClass) Import(sessionID SessionRef, url string, sr SRRef, fullRestore bool, force bool) (_retval []VMRef, _err error) {
_method := "VM.import"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_urlArg, _err := convertSt... | go | func (_class VMClass) Import(sessionID SessionRef, url string, sr SRRef, fullRestore bool, force bool) (_retval []VMRef, _err error) {
_method := "VM.import"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_urlArg, _err := convertSt... | [
"func",
"(",
"_class",
"VMClass",
")",
"Import",
"(",
"sessionID",
"SessionRef",
",",
"url",
"string",
",",
"sr",
"SRRef",
",",
"fullRestore",
"bool",
",",
"force",
"bool",
")",
"(",
"_retval",
"[",
"]",
"VMRef",
",",
"_err",
"error",
")",
"{",
"_metho... | // Import an XVA from a URI | [
"Import",
"an",
"XVA",
"from",
"a",
"URI"
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vm_gen.go#L440-L468 |
137,416 | terra-farm/go-xen-api-client | vm_gen.go | CallPlugin | func (_class VMClass) CallPlugin(sessionID SessionRef, vm VMRef, plugin string, fn string, args map[string]string) (_retval string, _err error) {
_method := "VM.call_plugin"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_vmArg, _e... | go | func (_class VMClass) CallPlugin(sessionID SessionRef, vm VMRef, plugin string, fn string, args map[string]string) (_retval string, _err error) {
_method := "VM.call_plugin"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_vmArg, _e... | [
"func",
"(",
"_class",
"VMClass",
")",
"CallPlugin",
"(",
"sessionID",
"SessionRef",
",",
"vm",
"VMRef",
",",
"plugin",
"string",
",",
"fn",
"string",
",",
"args",
"map",
"[",
"string",
"]",
"string",
")",
"(",
"_retval",
"string",
",",
"_err",
"error",
... | // Call a XenAPI plugin on this vm | [
"Call",
"a",
"XenAPI",
"plugin",
"on",
"this",
"vm"
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vm_gen.go#L490-L518 |
137,417 | terra-farm/go-xen-api-client | vm_gen.go | SetAppliance | func (_class VMClass) SetAppliance(sessionID SessionRef, self VMRef, value VMApplianceRef) (_err error) {
_method := "VM.set_appliance"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMRefToXen(fmt.Sprintf(... | go | func (_class VMClass) SetAppliance(sessionID SessionRef, self VMRef, value VMApplianceRef) (_err error) {
_method := "VM.set_appliance"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMRefToXen(fmt.Sprintf(... | [
"func",
"(",
"_class",
"VMClass",
")",
"SetAppliance",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMRef",
",",
"value",
"VMApplianceRef",
")",
"(",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"conver... | // Assign this VM to an appliance. | [
"Assign",
"this",
"VM",
"to",
"an",
"appliance",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vm_gen.go#L540-L556 |
137,418 | terra-farm/go-xen-api-client | vm_gen.go | ImportConvert | func (_class VMClass) ImportConvert(sessionID SessionRef, atype string, username string, password string, sr SRRef, remoteConfig map[string]string) (_err error) {
_method := "VM.import_convert"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
r... | go | func (_class VMClass) ImportConvert(sessionID SessionRef, atype string, username string, password string, sr SRRef, remoteConfig map[string]string) (_err error) {
_method := "VM.import_convert"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
r... | [
"func",
"(",
"_class",
"VMClass",
")",
"ImportConvert",
"(",
"sessionID",
"SessionRef",
",",
"atype",
"string",
",",
"username",
"string",
",",
"password",
"string",
",",
"sr",
"SRRef",
",",
"remoteConfig",
"map",
"[",
"string",
"]",
"string",
")",
"(",
"_... | // Import using a conversion service. | [
"Import",
"using",
"a",
"conversion",
"service",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vm_gen.go#L559-L587 |
137,419 | terra-farm/go-xen-api-client | vm_gen.go | Recover | func (_class VMClass) Recover(sessionID SessionRef, self VMRef, sessionTo SessionRef, force bool) (_err error) {
_method := "VM.recover"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMRefToXen(fmt.Sprintf... | go | func (_class VMClass) Recover(sessionID SessionRef, self VMRef, sessionTo SessionRef, force bool) (_err error) {
_method := "VM.recover"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMRefToXen(fmt.Sprintf... | [
"func",
"(",
"_class",
"VMClass",
")",
"Recover",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMRef",
",",
"sessionTo",
"SessionRef",
",",
"force",
"bool",
")",
"(",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_... | // Recover the VM | [
"Recover",
"the",
"VM"
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vm_gen.go#L590-L610 |
137,420 | terra-farm/go-xen-api-client | vm_gen.go | GetSRsRequiredForRecovery | func (_class VMClass) GetSRsRequiredForRecovery(sessionID SessionRef, self VMRef, sessionTo SessionRef) (_retval []SRRef, _err error) {
_method := "VM.get_SRs_required_for_recovery"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_s... | go | func (_class VMClass) GetSRsRequiredForRecovery(sessionID SessionRef, self VMRef, sessionTo SessionRef) (_retval []SRRef, _err error) {
_method := "VM.get_SRs_required_for_recovery"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_s... | [
"func",
"(",
"_class",
"VMClass",
")",
"GetSRsRequiredForRecovery",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMRef",
",",
"sessionTo",
"SessionRef",
")",
"(",
"_retval",
"[",
"]",
"SRRef",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"... | // List all the SR's that are required for the VM to be recovered | [
"List",
"all",
"the",
"SR",
"s",
"that",
"are",
"required",
"for",
"the",
"VM",
"to",
"be",
"recovered"
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vm_gen.go#L613-L633 |
137,421 | terra-farm/go-xen-api-client | vm_gen.go | SetSuspendVDI | func (_class VMClass) SetSuspendVDI(sessionID SessionRef, self VMRef, value VDIRef) (_err error) {
_method := "VM.set_suspend_VDI"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMRefToXen(fmt.Sprintf("%s(%... | go | func (_class VMClass) SetSuspendVDI(sessionID SessionRef, self VMRef, value VDIRef) (_err error) {
_method := "VM.set_suspend_VDI"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMRefToXen(fmt.Sprintf("%s(%... | [
"func",
"(",
"_class",
"VMClass",
")",
"SetSuspendVDI",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMRef",
",",
"value",
"VDIRef",
")",
"(",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"convertSessio... | // Set this VM's suspend VDI, which must be indentical to its current one | [
"Set",
"this",
"VM",
"s",
"suspend",
"VDI",
"which",
"must",
"be",
"indentical",
"to",
"its",
"current",
"one"
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vm_gen.go#L659-L675 |
137,422 | terra-farm/go-xen-api-client | vm_gen.go | SetSnapshotSchedule | func (_class VMClass) SetSnapshotSchedule(sessionID SessionRef, self VMRef, value VMSSRef) (_err error) {
_method := "VM.set_snapshot_schedule"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMRefToXen(fmt.... | go | func (_class VMClass) SetSnapshotSchedule(sessionID SessionRef, self VMRef, value VMSSRef) (_err error) {
_method := "VM.set_snapshot_schedule"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMRefToXen(fmt.... | [
"func",
"(",
"_class",
"VMClass",
")",
"SetSnapshotSchedule",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMRef",
",",
"value",
"VMSSRef",
")",
"(",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"conver... | // Set the value of the snapshot schedule field | [
"Set",
"the",
"value",
"of",
"the",
"snapshot",
"schedule",
"field"
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vm_gen.go#L735-L751 |
137,423 | terra-farm/go-xen-api-client | vm_gen.go | SetProtectionPolicy | func (_class VMClass) SetProtectionPolicy(sessionID SessionRef, self VMRef, value VMPPRef) (_err error) {
_method := "VM.set_protection_policy"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMRefToXen(fmt.... | go | func (_class VMClass) SetProtectionPolicy(sessionID SessionRef, self VMRef, value VMPPRef) (_err error) {
_method := "VM.set_protection_policy"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMRefToXen(fmt.... | [
"func",
"(",
"_class",
"VMClass",
")",
"SetProtectionPolicy",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMRef",
",",
"value",
"VMPPRef",
")",
"(",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"conver... | // Set the value of the protection_policy field | [
"Set",
"the",
"value",
"of",
"the",
"protection_policy",
"field"
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vm_gen.go#L754-L770 |
137,424 | terra-farm/go-xen-api-client | vm_gen.go | CopyBiosStrings | func (_class VMClass) CopyBiosStrings(sessionID SessionRef, vm VMRef, host HostRef) (_err error) {
_method := "VM.copy_bios_strings"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_vmArg, _err := convertVMRefToXen(fmt.Sprintf("%s(%... | go | func (_class VMClass) CopyBiosStrings(sessionID SessionRef, vm VMRef, host HostRef) (_err error) {
_method := "VM.copy_bios_strings"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_vmArg, _err := convertVMRefToXen(fmt.Sprintf("%s(%... | [
"func",
"(",
"_class",
"VMClass",
")",
"CopyBiosStrings",
"(",
"sessionID",
"SessionRef",
",",
"vm",
"VMRef",
",",
"host",
"HostRef",
")",
"(",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"convertSessio... | // Copy the BIOS strings from the given host to this VM | [
"Copy",
"the",
"BIOS",
"strings",
"from",
"the",
"given",
"host",
"to",
"this",
"VM"
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vm_gen.go#L773-L789 |
137,425 | terra-farm/go-xen-api-client | vm_gen.go | CreateNewBlob | func (_class VMClass) CreateNewBlob(sessionID SessionRef, vm VMRef, name string, mimeType string, public bool) (_retval BlobRef, _err error) {
_method := "VM.create_new_blob"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_vmArg, _... | go | func (_class VMClass) CreateNewBlob(sessionID SessionRef, vm VMRef, name string, mimeType string, public bool) (_retval BlobRef, _err error) {
_method := "VM.create_new_blob"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_vmArg, _... | [
"func",
"(",
"_class",
"VMClass",
")",
"CreateNewBlob",
"(",
"sessionID",
"SessionRef",
",",
"vm",
"VMRef",
",",
"name",
"string",
",",
"mimeType",
"string",
",",
"public",
"bool",
")",
"(",
"_retval",
"BlobRef",
",",
"_err",
"error",
")",
"{",
"_method",
... | // Create a placeholder for a named binary blob of data that is associated with this VM | [
"Create",
"a",
"placeholder",
"for",
"a",
"named",
"binary",
"blob",
"of",
"data",
"that",
"is",
"associated",
"with",
"this",
"VM"
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vm_gen.go#L849-L877 |
137,426 | terra-farm/go-xen-api-client | vm_gen.go | GetAllowedVBDDevices | func (_class VMClass) GetAllowedVBDDevices(sessionID SessionRef, vm VMRef) (_retval []string, _err error) {
_method := "VM.get_allowed_VBD_devices"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_vmArg, _err := convertVMRefToXen(fm... | go | func (_class VMClass) GetAllowedVBDDevices(sessionID SessionRef, vm VMRef) (_retval []string, _err error) {
_method := "VM.get_allowed_VBD_devices"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_vmArg, _err := convertVMRefToXen(fm... | [
"func",
"(",
"_class",
"VMClass",
")",
"GetAllowedVBDDevices",
"(",
"sessionID",
"SessionRef",
",",
"vm",
"VMRef",
")",
"(",
"_retval",
"[",
"]",
"string",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
"... | // Returns a list of the allowed values that a VBD device field can take | [
"Returns",
"a",
"list",
"of",
"the",
"allowed",
"values",
"that",
"a",
"VBD",
"device",
"field",
"can",
"take"
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vm_gen.go#L943-L959 |
137,427 | terra-farm/go-xen-api-client | vm_gen.go | AssertOperationValid | func (_class VMClass) AssertOperationValid(sessionID SessionRef, self VMRef, op VMOperations) (_err error) {
_method := "VM.assert_operation_valid"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMRefToXen(... | go | func (_class VMClass) AssertOperationValid(sessionID SessionRef, self VMRef, op VMOperations) (_err error) {
_method := "VM.assert_operation_valid"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMRefToXen(... | [
"func",
"(",
"_class",
"VMClass",
")",
"AssertOperationValid",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMRef",
",",
"op",
"VMOperations",
")",
"(",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"con... | // Check to see whether this operation is acceptable in the current state of the system, raising an error if the operation is invalid for some reason | [
"Check",
"to",
"see",
"whether",
"this",
"operation",
"is",
"acceptable",
"in",
"the",
"current",
"state",
"of",
"the",
"system",
"raising",
"an",
"error",
"if",
"the",
"operation",
"is",
"invalid",
"for",
"some",
"reason"
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vm_gen.go#L977-L993 |
137,428 | terra-farm/go-xen-api-client | vm_gen.go | MaximiseMemory | func (_class VMClass) MaximiseMemory(sessionID SessionRef, self VMRef, total int, approximate bool) (_retval int, _err error) {
_method := "VM.maximise_memory"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := conver... | go | func (_class VMClass) MaximiseMemory(sessionID SessionRef, self VMRef, total int, approximate bool) (_retval int, _err error) {
_method := "VM.maximise_memory"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := conver... | [
"func",
"(",
"_class",
"VMClass",
")",
"MaximiseMemory",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMRef",
",",
"total",
"int",
",",
"approximate",
"bool",
")",
"(",
"_retval",
"int",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",... | // Returns the maximum amount of guest memory which will fit, together with overheads, in the supplied amount of physical memory. If 'exact' is true then an exact calculation is performed using the VM's current settings. If 'exact' is false then a more conservative approximation is used | [
"Returns",
"the",
"maximum",
"amount",
"of",
"guest",
"memory",
"which",
"will",
"fit",
"together",
"with",
"overheads",
"in",
"the",
"supplied",
"amount",
"of",
"physical",
"memory",
".",
"If",
"exact",
"is",
"true",
"then",
"an",
"exact",
"calculation",
"i... | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vm_gen.go#L1184-L1208 |
137,429 | terra-farm/go-xen-api-client | vm_gen.go | SetShadowMultiplierLive | func (_class VMClass) SetShadowMultiplierLive(sessionID SessionRef, self VMRef, multiplier float64) (_err error) {
_method := "VM.set_shadow_multiplier_live"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertV... | go | func (_class VMClass) SetShadowMultiplierLive(sessionID SessionRef, self VMRef, multiplier float64) (_err error) {
_method := "VM.set_shadow_multiplier_live"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertV... | [
"func",
"(",
"_class",
"VMClass",
")",
"SetShadowMultiplierLive",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMRef",
",",
"multiplier",
"float64",
")",
"(",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
... | // Set the shadow memory multiplier on a running VM | [
"Set",
"the",
"shadow",
"memory",
"multiplier",
"on",
"a",
"running",
"VM"
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vm_gen.go#L1293-L1309 |
137,430 | terra-farm/go-xen-api-client | vm_gen.go | SetHVMShadowMultiplier | func (_class VMClass) SetHVMShadowMultiplier(sessionID SessionRef, self VMRef, value float64) (_err error) {
_method := "VM.set_HVM_shadow_multiplier"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMRefToX... | go | func (_class VMClass) SetHVMShadowMultiplier(sessionID SessionRef, self VMRef, value float64) (_err error) {
_method := "VM.set_HVM_shadow_multiplier"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMRefToX... | [
"func",
"(",
"_class",
"VMClass",
")",
"SetHVMShadowMultiplier",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMRef",
",",
"value",
"float64",
")",
"(",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"con... | // Set the shadow memory multiplier on a halted VM | [
"Set",
"the",
"shadow",
"memory",
"multiplier",
"on",
"a",
"halted",
"VM"
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vm_gen.go#L1312-L1328 |
137,431 | terra-farm/go-xen-api-client | vm_gen.go | SetMemoryTargetLive | func (_class VMClass) SetMemoryTargetLive(sessionID SessionRef, self VMRef, target int) (_err error) {
_method := "VM.set_memory_target_live"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMRefToXen(fmt.Sp... | go | func (_class VMClass) SetMemoryTargetLive(sessionID SessionRef, self VMRef, target int) (_err error) {
_method := "VM.set_memory_target_live"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMRefToXen(fmt.Sp... | [
"func",
"(",
"_class",
"VMClass",
")",
"SetMemoryTargetLive",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMRef",
",",
"target",
"int",
")",
"(",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"convertSe... | // Set the memory target for a running VM | [
"Set",
"the",
"memory",
"target",
"for",
"a",
"running",
"VM"
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vm_gen.go#L1365-L1381 |
137,432 | terra-farm/go-xen-api-client | vm_gen.go | SetMemoryLimits | func (_class VMClass) SetMemoryLimits(sessionID SessionRef, self VMRef, staticMin int, staticMax int, dynamicMin int, dynamicMax int) (_err error) {
_method := "VM.set_memory_limits"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_... | go | func (_class VMClass) SetMemoryLimits(sessionID SessionRef, self VMRef, staticMin int, staticMax int, dynamicMin int, dynamicMax int) (_err error) {
_method := "VM.set_memory_limits"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_... | [
"func",
"(",
"_class",
"VMClass",
")",
"SetMemoryLimits",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMRef",
",",
"staticMin",
"int",
",",
"staticMax",
"int",
",",
"dynamicMin",
"int",
",",
"dynamicMax",
"int",
")",
"(",
"_err",
"error",
")",
"{",
"_met... | // Set the memory limits of this VM. | [
"Set",
"the",
"memory",
"limits",
"of",
"this",
"VM",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vm_gen.go#L1403-L1431 |
137,433 | terra-farm/go-xen-api-client | vm_gen.go | SetMemoryDynamicRange | func (_class VMClass) SetMemoryDynamicRange(sessionID SessionRef, self VMRef, min int, max int) (_err error) {
_method := "VM.set_memory_dynamic_range"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMRefTo... | go | func (_class VMClass) SetMemoryDynamicRange(sessionID SessionRef, self VMRef, min int, max int) (_err error) {
_method := "VM.set_memory_dynamic_range"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMRefTo... | [
"func",
"(",
"_class",
"VMClass",
")",
"SetMemoryDynamicRange",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMRef",
",",
"min",
"int",
",",
"max",
"int",
")",
"(",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_er... | // Set the minimum and maximum amounts of physical memory the VM is allowed to use. | [
"Set",
"the",
"minimum",
"and",
"maximum",
"amounts",
"of",
"physical",
"memory",
"the",
"VM",
"is",
"allowed",
"to",
"use",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vm_gen.go#L1498-L1518 |
137,434 | terra-farm/go-xen-api-client | vm_gen.go | ComputeMemoryOverhead | func (_class VMClass) ComputeMemoryOverhead(sessionID SessionRef, vm VMRef) (_retval int, _err error) {
_method := "VM.compute_memory_overhead"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_vmArg, _err := convertVMRefToXen(fmt.Sp... | go | func (_class VMClass) ComputeMemoryOverhead(sessionID SessionRef, vm VMRef) (_retval int, _err error) {
_method := "VM.compute_memory_overhead"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_vmArg, _err := convertVMRefToXen(fmt.Sp... | [
"func",
"(",
"_class",
"VMClass",
")",
"ComputeMemoryOverhead",
"(",
"sessionID",
"SessionRef",
",",
"vm",
"VMRef",
")",
"(",
"_retval",
"int",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"convertS... | // Computes the virtualization memory overhead of a VM. | [
"Computes",
"the",
"virtualization",
"memory",
"overhead",
"of",
"a",
"VM",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vm_gen.go#L1559-L1575 |
137,435 | terra-farm/go-xen-api-client | vm_gen.go | SetSuspendSR | func (_class VMClass) SetSuspendSR(sessionID SessionRef, self VMRef, value SRRef) (_err error) {
_method := "VM.set_suspend_SR"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMRefToXen(fmt.Sprintf("%s(%s)"... | go | func (_class VMClass) SetSuspendSR(sessionID SessionRef, self VMRef, value SRRef) (_err error) {
_method := "VM.set_suspend_SR"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMRefToXen(fmt.Sprintf("%s(%s)"... | [
"func",
"(",
"_class",
"VMClass",
")",
"SetSuspendSR",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMRef",
",",
"value",
"SRRef",
")",
"(",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"convertSessionR... | // Set the suspend_SR field of the given VM. | [
"Set",
"the",
"suspend_SR",
"field",
"of",
"the",
"given",
"VM",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vm_gen.go#L2216-L2232 |
137,436 | terra-farm/go-xen-api-client | vm_gen.go | RemoveFromBlockedOperations | func (_class VMClass) RemoveFromBlockedOperations(sessionID SessionRef, self VMRef, key VMOperations) (_err error) {
_method := "VM.remove_from_blocked_operations"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := co... | go | func (_class VMClass) RemoveFromBlockedOperations(sessionID SessionRef, self VMRef, key VMOperations) (_err error) {
_method := "VM.remove_from_blocked_operations"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := co... | [
"func",
"(",
"_class",
"VMClass",
")",
"RemoveFromBlockedOperations",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMRef",
",",
"key",
"VMOperations",
")",
"(",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":="... | // Remove the given key and its corresponding value from the blocked_operations field of the given VM. If the key is not in that Map, then do nothing. | [
"Remove",
"the",
"given",
"key",
"and",
"its",
"corresponding",
"value",
"from",
"the",
"blocked_operations",
"field",
"of",
"the",
"given",
"VM",
".",
"If",
"the",
"key",
"is",
"not",
"in",
"that",
"Map",
"then",
"do",
"nothing",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vm_gen.go#L2235-L2251 |
137,437 | terra-farm/go-xen-api-client | vm_gen.go | SetAffinity | func (_class VMClass) SetAffinity(sessionID SessionRef, self VMRef, value HostRef) (_err error) {
_method := "VM.set_affinity"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMRefToXen(fmt.Sprintf("%s(%s)",... | go | func (_class VMClass) SetAffinity(sessionID SessionRef, self VMRef, value HostRef) (_err error) {
_method := "VM.set_affinity"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMRefToXen(fmt.Sprintf("%s(%s)",... | [
"func",
"(",
"_class",
"VMClass",
")",
"SetAffinity",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMRef",
",",
"value",
"HostRef",
")",
"(",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"convertSession... | // Set the affinity field of the given VM. | [
"Set",
"the",
"affinity",
"field",
"of",
"the",
"given",
"VM",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vm_gen.go#L2848-L2864 |
137,438 | terra-farm/go-xen-api-client | vm_gen.go | SetIsATemplate | func (_class VMClass) SetIsATemplate(sessionID SessionRef, self VMRef, value bool) (_err error) {
_method := "VM.set_is_a_template"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMRefToXen(fmt.Sprintf("%s(... | go | func (_class VMClass) SetIsATemplate(sessionID SessionRef, self VMRef, value bool) (_err error) {
_method := "VM.set_is_a_template"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMRefToXen(fmt.Sprintf("%s(... | [
"func",
"(",
"_class",
"VMClass",
")",
"SetIsATemplate",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMRef",
",",
"value",
"bool",
")",
"(",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"convertSession... | // Set the is_a_template field of the given VM. | [
"Set",
"the",
"is_a_template",
"field",
"of",
"the",
"given",
"VM",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vm_gen.go#L2867-L2883 |
137,439 | terra-farm/go-xen-api-client | vm_gen.go | GetSnapshotTime | func (_class VMClass) GetSnapshotTime(sessionID SessionRef, self VMRef) (_retval time.Time, _err error) {
_method := "VM.get_snapshot_time"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMRefToXen(fmt.Spri... | go | func (_class VMClass) GetSnapshotTime(sessionID SessionRef, self VMRef) (_retval time.Time, _err error) {
_method := "VM.get_snapshot_time"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMRefToXen(fmt.Spri... | [
"func",
"(",
"_class",
"VMClass",
")",
"GetSnapshotTime",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMRef",
")",
"(",
"_retval",
"time",
".",
"Time",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=... | // Get the snapshot_time field of the given VM. | [
"Get",
"the",
"snapshot_time",
"field",
"of",
"the",
"given",
"VM",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vm_gen.go#L3456-L3472 |
137,440 | terra-farm/go-xen-api-client | vm_gen.go | GetByNameLabel | func (_class VMClass) GetByNameLabel(sessionID SessionRef, label string) (_retval []VMRef, _err error) {
_method := "VM.get_by_name_label"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_labelArg, _err := convertStringToXen(fmt.Spr... | go | func (_class VMClass) GetByNameLabel(sessionID SessionRef, label string) (_retval []VMRef, _err error) {
_method := "VM.get_by_name_label"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_labelArg, _err := convertStringToXen(fmt.Spr... | [
"func",
"(",
"_class",
"VMClass",
")",
"GetByNameLabel",
"(",
"sessionID",
"SessionRef",
",",
"label",
"string",
")",
"(",
"_retval",
"[",
"]",
"VMRef",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":="... | // Get all the VM instances with the given label. | [
"Get",
"all",
"the",
"VM",
"instances",
"with",
"the",
"given",
"label",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vm_gen.go#L4539-L4555 |
137,441 | terra-farm/go-xen-api-client | host_patch_gen.go | GetAllRecords | func (_class HostPatchClass) GetAllRecords(sessionID SessionRef) (_retval map[HostPatchRef]HostPatchRecord, _err error) {
_method := "host_patch.get_all_records"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _clas... | go | func (_class HostPatchClass) GetAllRecords(sessionID SessionRef) (_retval map[HostPatchRef]HostPatchRecord, _err error) {
_method := "host_patch.get_all_records"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _clas... | [
"func",
"(",
"_class",
"HostPatchClass",
")",
"GetAllRecords",
"(",
"sessionID",
"SessionRef",
")",
"(",
"_retval",
"map",
"[",
"HostPatchRef",
"]",
"HostPatchRecord",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"... | // Return a map of host_patch references to host_patch records for all host_patchs known to the system. | [
"Return",
"a",
"map",
"of",
"host_patch",
"references",
"to",
"host_patch",
"records",
"for",
"all",
"host_patchs",
"known",
"to",
"the",
"system",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/host_patch_gen.go#L54-L66 |
137,442 | terra-farm/go-xen-api-client | host_patch_gen.go | GetAll | func (_class HostPatchClass) GetAll(sessionID SessionRef) (_retval []HostPatchRef, _err error) {
_method := "host_patch.get_all"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _class.client.APICall(_method, _sessio... | go | func (_class HostPatchClass) GetAll(sessionID SessionRef) (_retval []HostPatchRef, _err error) {
_method := "host_patch.get_all"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _class.client.APICall(_method, _sessio... | [
"func",
"(",
"_class",
"HostPatchClass",
")",
"GetAll",
"(",
"sessionID",
"SessionRef",
")",
"(",
"_retval",
"[",
"]",
"HostPatchRef",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"convertSessionRefTo... | // Return a list of all the host_patchs known to the system. | [
"Return",
"a",
"list",
"of",
"all",
"the",
"host_patchs",
"known",
"to",
"the",
"system",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/host_patch_gen.go#L69-L81 |
137,443 | terra-farm/go-xen-api-client | host_patch_gen.go | Destroy | func (_class HostPatchClass) Destroy(sessionID SessionRef, self HostPatchRef) (_err error) {
_method := "host_patch.destroy"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertHostPatchRefToXen(fmt.Sprintf("%s(... | go | func (_class HostPatchClass) Destroy(sessionID SessionRef, self HostPatchRef) (_err error) {
_method := "host_patch.destroy"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertHostPatchRefToXen(fmt.Sprintf("%s(... | [
"func",
"(",
"_class",
"HostPatchClass",
")",
"Destroy",
"(",
"sessionID",
"SessionRef",
",",
"self",
"HostPatchRef",
")",
"(",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"convertSessionRefToXen",
"(",
"... | // Destroy the specified host patch, removing it from the disk. This does NOT reverse the patch | [
"Destroy",
"the",
"specified",
"host",
"patch",
"removing",
"it",
"from",
"the",
"disk",
".",
"This",
"does",
"NOT",
"reverse",
"the",
"patch"
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/host_patch_gen.go#L103-L115 |
137,444 | terra-farm/go-xen-api-client | host_patch_gen.go | GetPoolPatch | func (_class HostPatchClass) GetPoolPatch(sessionID SessionRef, self HostPatchRef) (_retval PoolPatchRef, _err error) {
_method := "host_patch.get_pool_patch"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convert... | go | func (_class HostPatchClass) GetPoolPatch(sessionID SessionRef, self HostPatchRef) (_retval PoolPatchRef, _err error) {
_method := "host_patch.get_pool_patch"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convert... | [
"func",
"(",
"_class",
"HostPatchClass",
")",
"GetPoolPatch",
"(",
"sessionID",
"SessionRef",
",",
"self",
"HostPatchRef",
")",
"(",
"_retval",
"PoolPatchRef",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
"... | // Get the pool_patch field of the given host_patch. | [
"Get",
"the",
"pool_patch",
"field",
"of",
"the",
"given",
"host_patch",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/host_patch_gen.go#L198-L214 |
137,445 | terra-farm/go-xen-api-client | host_patch_gen.go | GetSize | func (_class HostPatchClass) GetSize(sessionID SessionRef, self HostPatchRef) (_retval int, _err error) {
_method := "host_patch.get_size"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertHostPatchRefToXen(fm... | go | func (_class HostPatchClass) GetSize(sessionID SessionRef, self HostPatchRef) (_retval int, _err error) {
_method := "host_patch.get_size"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertHostPatchRefToXen(fm... | [
"func",
"(",
"_class",
"HostPatchClass",
")",
"GetSize",
"(",
"sessionID",
"SessionRef",
",",
"self",
"HostPatchRef",
")",
"(",
"_retval",
"int",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"conver... | // Get the size field of the given host_patch. | [
"Get",
"the",
"size",
"field",
"of",
"the",
"given",
"host_patch",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/host_patch_gen.go#L217-L233 |
137,446 | terra-farm/go-xen-api-client | host_patch_gen.go | GetTimestampApplied | func (_class HostPatchClass) GetTimestampApplied(sessionID SessionRef, self HostPatchRef) (_retval time.Time, _err error) {
_method := "host_patch.get_timestamp_applied"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err... | go | func (_class HostPatchClass) GetTimestampApplied(sessionID SessionRef, self HostPatchRef) (_retval time.Time, _err error) {
_method := "host_patch.get_timestamp_applied"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err... | [
"func",
"(",
"_class",
"HostPatchClass",
")",
"GetTimestampApplied",
"(",
"sessionID",
"SessionRef",
",",
"self",
"HostPatchRef",
")",
"(",
"_retval",
"time",
".",
"Time",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",... | // Get the timestamp_applied field of the given host_patch. | [
"Get",
"the",
"timestamp_applied",
"field",
"of",
"the",
"given",
"host_patch",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/host_patch_gen.go#L236-L252 |
137,447 | terra-farm/go-xen-api-client | host_patch_gen.go | GetApplied | func (_class HostPatchClass) GetApplied(sessionID SessionRef, self HostPatchRef) (_retval bool, _err error) {
_method := "host_patch.get_applied"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertHostPatchRefT... | go | func (_class HostPatchClass) GetApplied(sessionID SessionRef, self HostPatchRef) (_retval bool, _err error) {
_method := "host_patch.get_applied"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertHostPatchRefT... | [
"func",
"(",
"_class",
"HostPatchClass",
")",
"GetApplied",
"(",
"sessionID",
"SessionRef",
",",
"self",
"HostPatchRef",
")",
"(",
"_retval",
"bool",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"co... | // Get the applied field of the given host_patch. | [
"Get",
"the",
"applied",
"field",
"of",
"the",
"given",
"host_patch",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/host_patch_gen.go#L255-L271 |
137,448 | terra-farm/go-xen-api-client | host_patch_gen.go | GetHost | func (_class HostPatchClass) GetHost(sessionID SessionRef, self HostPatchRef) (_retval HostRef, _err error) {
_method := "host_patch.get_host"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertHostPatchRefToXe... | go | func (_class HostPatchClass) GetHost(sessionID SessionRef, self HostPatchRef) (_retval HostRef, _err error) {
_method := "host_patch.get_host"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertHostPatchRefToXe... | [
"func",
"(",
"_class",
"HostPatchClass",
")",
"GetHost",
"(",
"sessionID",
"SessionRef",
",",
"self",
"HostPatchRef",
")",
"(",
"_retval",
"HostRef",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"co... | // Get the host field of the given host_patch. | [
"Get",
"the",
"host",
"field",
"of",
"the",
"given",
"host_patch",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/host_patch_gen.go#L274-L290 |
137,449 | terra-farm/go-xen-api-client | host_patch_gen.go | GetByNameLabel | func (_class HostPatchClass) GetByNameLabel(sessionID SessionRef, label string) (_retval []HostPatchRef, _err error) {
_method := "host_patch.get_by_name_label"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_labelArg, _err := conv... | go | func (_class HostPatchClass) GetByNameLabel(sessionID SessionRef, label string) (_retval []HostPatchRef, _err error) {
_method := "host_patch.get_by_name_label"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_labelArg, _err := conv... | [
"func",
"(",
"_class",
"HostPatchClass",
")",
"GetByNameLabel",
"(",
"sessionID",
"SessionRef",
",",
"label",
"string",
")",
"(",
"_retval",
"[",
"]",
"HostPatchRef",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
... | // Get all the host_patch instances with the given label. | [
"Get",
"all",
"the",
"host_patch",
"instances",
"with",
"the",
"given",
"label",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/host_patch_gen.go#L369-L385 |
137,450 | terra-farm/go-xen-api-client | host_patch_gen.go | GetRecord | func (_class HostPatchClass) GetRecord(sessionID SessionRef, self HostPatchRef) (_retval HostPatchRecord, _err error) {
_method := "host_patch.get_record"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertHost... | go | func (_class HostPatchClass) GetRecord(sessionID SessionRef, self HostPatchRef) (_retval HostPatchRecord, _err error) {
_method := "host_patch.get_record"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertHost... | [
"func",
"(",
"_class",
"HostPatchClass",
")",
"GetRecord",
"(",
"sessionID",
"SessionRef",
",",
"self",
"HostPatchRef",
")",
"(",
"_retval",
"HostPatchRecord",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
"... | // Get a record containing the current state of the given host_patch. | [
"Get",
"a",
"record",
"containing",
"the",
"current",
"state",
"of",
"the",
"given",
"host_patch",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/host_patch_gen.go#L407-L423 |
137,451 | terra-farm/go-xen-api-client | host_crashdump_gen.go | GetAllRecords | func (_class HostCrashdumpClass) GetAllRecords(sessionID SessionRef) (_retval map[HostCrashdumpRef]HostCrashdumpRecord, _err error) {
_method := "host_crashdump.get_all_records"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_resul... | go | func (_class HostCrashdumpClass) GetAllRecords(sessionID SessionRef) (_retval map[HostCrashdumpRef]HostCrashdumpRecord, _err error) {
_method := "host_crashdump.get_all_records"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_resul... | [
"func",
"(",
"_class",
"HostCrashdumpClass",
")",
"GetAllRecords",
"(",
"sessionID",
"SessionRef",
")",
"(",
"_retval",
"map",
"[",
"HostCrashdumpRef",
"]",
"HostCrashdumpRecord",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg"... | // Return a map of host_crashdump references to host_crashdump records for all host_crashdumps known to the system. | [
"Return",
"a",
"map",
"of",
"host_crashdump",
"references",
"to",
"host_crashdump",
"records",
"for",
"all",
"host_crashdumps",
"known",
"to",
"the",
"system",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/host_crashdump_gen.go#L44-L56 |
137,452 | terra-farm/go-xen-api-client | host_crashdump_gen.go | GetAll | func (_class HostCrashdumpClass) GetAll(sessionID SessionRef) (_retval []HostCrashdumpRef, _err error) {
_method := "host_crashdump.get_all"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _class.client.APICall(_met... | go | func (_class HostCrashdumpClass) GetAll(sessionID SessionRef) (_retval []HostCrashdumpRef, _err error) {
_method := "host_crashdump.get_all"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _class.client.APICall(_met... | [
"func",
"(",
"_class",
"HostCrashdumpClass",
")",
"GetAll",
"(",
"sessionID",
"SessionRef",
")",
"(",
"_retval",
"[",
"]",
"HostCrashdumpRef",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"convertSess... | // Return a list of all the host_crashdumps known to the system. | [
"Return",
"a",
"list",
"of",
"all",
"the",
"host_crashdumps",
"known",
"to",
"the",
"system",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/host_crashdump_gen.go#L59-L71 |
137,453 | terra-farm/go-xen-api-client | host_crashdump_gen.go | Upload | func (_class HostCrashdumpClass) Upload(sessionID SessionRef, self HostCrashdumpRef, url string, options map[string]string) (_err error) {
_method := "host_crashdump.upload"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, ... | go | func (_class HostCrashdumpClass) Upload(sessionID SessionRef, self HostCrashdumpRef, url string, options map[string]string) (_err error) {
_method := "host_crashdump.upload"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, ... | [
"func",
"(",
"_class",
"HostCrashdumpClass",
")",
"Upload",
"(",
"sessionID",
"SessionRef",
",",
"self",
"HostCrashdumpRef",
",",
"url",
"string",
",",
"options",
"map",
"[",
"string",
"]",
"string",
")",
"(",
"_err",
"error",
")",
"{",
"_method",
":=",
"\... | // Upload the specified host crash dump to a specified URL | [
"Upload",
"the",
"specified",
"host",
"crash",
"dump",
"to",
"a",
"specified",
"URL"
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/host_crashdump_gen.go#L74-L94 |
137,454 | terra-farm/go-xen-api-client | host_crashdump_gen.go | Destroy | func (_class HostCrashdumpClass) Destroy(sessionID SessionRef, self HostCrashdumpRef) (_err error) {
_method := "host_crashdump.destroy"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertHostCrashdumpRefToXen(... | go | func (_class HostCrashdumpClass) Destroy(sessionID SessionRef, self HostCrashdumpRef) (_err error) {
_method := "host_crashdump.destroy"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertHostCrashdumpRefToXen(... | [
"func",
"(",
"_class",
"HostCrashdumpClass",
")",
"Destroy",
"(",
"sessionID",
"SessionRef",
",",
"self",
"HostCrashdumpRef",
")",
"(",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"convertSessionRefToXen",
... | // Destroy specified host crash dump, removing it from the disk. | [
"Destroy",
"specified",
"host",
"crash",
"dump",
"removing",
"it",
"from",
"the",
"disk",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/host_crashdump_gen.go#L97-L109 |
137,455 | terra-farm/go-xen-api-client | host_crashdump_gen.go | GetSize | func (_class HostCrashdumpClass) GetSize(sessionID SessionRef, self HostCrashdumpRef) (_retval int, _err error) {
_method := "host_crashdump.get_size"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertHostCras... | go | func (_class HostCrashdumpClass) GetSize(sessionID SessionRef, self HostCrashdumpRef) (_retval int, _err error) {
_method := "host_crashdump.get_size"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertHostCras... | [
"func",
"(",
"_class",
"HostCrashdumpClass",
")",
"GetSize",
"(",
"sessionID",
"SessionRef",
",",
"self",
"HostCrashdumpRef",
")",
"(",
"_retval",
"int",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
... | // Get the size field of the given host_crashdump. | [
"Get",
"the",
"size",
"field",
"of",
"the",
"given",
"host_crashdump",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/host_crashdump_gen.go#L192-L208 |
137,456 | terra-farm/go-xen-api-client | host_crashdump_gen.go | GetTimestamp | func (_class HostCrashdumpClass) GetTimestamp(sessionID SessionRef, self HostCrashdumpRef) (_retval time.Time, _err error) {
_method := "host_crashdump.get_timestamp"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err :=... | go | func (_class HostCrashdumpClass) GetTimestamp(sessionID SessionRef, self HostCrashdumpRef) (_retval time.Time, _err error) {
_method := "host_crashdump.get_timestamp"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err :=... | [
"func",
"(",
"_class",
"HostCrashdumpClass",
")",
"GetTimestamp",
"(",
"sessionID",
"SessionRef",
",",
"self",
"HostCrashdumpRef",
")",
"(",
"_retval",
"time",
".",
"Time",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
"... | // Get the timestamp field of the given host_crashdump. | [
"Get",
"the",
"timestamp",
"field",
"of",
"the",
"given",
"host_crashdump",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/host_crashdump_gen.go#L211-L227 |
137,457 | terra-farm/go-xen-api-client | host_crashdump_gen.go | GetHost | func (_class HostCrashdumpClass) GetHost(sessionID SessionRef, self HostCrashdumpRef) (_retval HostRef, _err error) {
_method := "host_crashdump.get_host"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertHost... | go | func (_class HostCrashdumpClass) GetHost(sessionID SessionRef, self HostCrashdumpRef) (_retval HostRef, _err error) {
_method := "host_crashdump.get_host"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertHost... | [
"func",
"(",
"_class",
"HostCrashdumpClass",
")",
"GetHost",
"(",
"sessionID",
"SessionRef",
",",
"self",
"HostCrashdumpRef",
")",
"(",
"_retval",
"HostRef",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=... | // Get the host field of the given host_crashdump. | [
"Get",
"the",
"host",
"field",
"of",
"the",
"given",
"host_crashdump",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/host_crashdump_gen.go#L230-L246 |
137,458 | terra-farm/go-xen-api-client | host_crashdump_gen.go | GetRecord | func (_class HostCrashdumpClass) GetRecord(sessionID SessionRef, self HostCrashdumpRef) (_retval HostCrashdumpRecord, _err error) {
_method := "host_crashdump.get_record"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _er... | go | func (_class HostCrashdumpClass) GetRecord(sessionID SessionRef, self HostCrashdumpRef) (_retval HostCrashdumpRecord, _err error) {
_method := "host_crashdump.get_record"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _er... | [
"func",
"(",
"_class",
"HostCrashdumpClass",
")",
"GetRecord",
"(",
"sessionID",
"SessionRef",
",",
"self",
"HostCrashdumpRef",
")",
"(",
"_retval",
"HostCrashdumpRecord",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
... | // Get a record containing the current state of the given host_crashdump. | [
"Get",
"a",
"record",
"containing",
"the",
"current",
"state",
"of",
"the",
"given",
"host_crashdump",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/host_crashdump_gen.go#L287-L303 |
137,459 | terra-farm/go-xen-api-client | console_gen.go | GetAllRecords | func (_class ConsoleClass) GetAllRecords(sessionID SessionRef) (_retval map[ConsoleRef]ConsoleRecord, _err error) {
_method := "console.get_all_records"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _class.client.... | go | func (_class ConsoleClass) GetAllRecords(sessionID SessionRef) (_retval map[ConsoleRef]ConsoleRecord, _err error) {
_method := "console.get_all_records"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _class.client.... | [
"func",
"(",
"_class",
"ConsoleClass",
")",
"GetAllRecords",
"(",
"sessionID",
"SessionRef",
")",
"(",
"_retval",
"map",
"[",
"ConsoleRef",
"]",
"ConsoleRecord",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",... | // Return a map of console references to console records for all consoles known to the system. | [
"Return",
"a",
"map",
"of",
"console",
"references",
"to",
"console",
"records",
"for",
"all",
"consoles",
"known",
"to",
"the",
"system",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/console_gen.go#L55-L67 |
137,460 | terra-farm/go-xen-api-client | console_gen.go | GetAll | func (_class ConsoleClass) GetAll(sessionID SessionRef) (_retval []ConsoleRef, _err error) {
_method := "console.get_all"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _class.client.APICall(_method, _sessionIDArg)... | go | func (_class ConsoleClass) GetAll(sessionID SessionRef) (_retval []ConsoleRef, _err error) {
_method := "console.get_all"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _class.client.APICall(_method, _sessionIDArg)... | [
"func",
"(",
"_class",
"ConsoleClass",
")",
"GetAll",
"(",
"sessionID",
"SessionRef",
")",
"(",
"_retval",
"[",
"]",
"ConsoleRef",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"convertSessionRefToXen"... | // Return a list of all the consoles known to the system. | [
"Return",
"a",
"list",
"of",
"all",
"the",
"consoles",
"known",
"to",
"the",
"system",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/console_gen.go#L70-L82 |
137,461 | terra-farm/go-xen-api-client | console_gen.go | GetVM | func (_class ConsoleClass) GetVM(sessionID SessionRef, self ConsoleRef) (_retval VMRef, _err error) {
_method := "console.get_VM"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertConsoleRefToXen(fmt.Sprintf("... | go | func (_class ConsoleClass) GetVM(sessionID SessionRef, self ConsoleRef) (_retval VMRef, _err error) {
_method := "console.get_VM"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertConsoleRefToXen(fmt.Sprintf("... | [
"func",
"(",
"_class",
"ConsoleClass",
")",
"GetVM",
"(",
"sessionID",
"SessionRef",
",",
"self",
"ConsoleRef",
")",
"(",
"_retval",
"VMRef",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"convertSes... | // Get the VM field of the given console. | [
"Get",
"the",
"VM",
"field",
"of",
"the",
"given",
"console",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/console_gen.go#L165-L181 |
137,462 | terra-farm/go-xen-api-client | console_gen.go | GetProtocol | func (_class ConsoleClass) GetProtocol(sessionID SessionRef, self ConsoleRef) (_retval ConsoleProtocol, _err error) {
_method := "console.get_protocol"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertConsole... | go | func (_class ConsoleClass) GetProtocol(sessionID SessionRef, self ConsoleRef) (_retval ConsoleProtocol, _err error) {
_method := "console.get_protocol"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertConsole... | [
"func",
"(",
"_class",
"ConsoleClass",
")",
"GetProtocol",
"(",
"sessionID",
"SessionRef",
",",
"self",
"ConsoleRef",
")",
"(",
"_retval",
"ConsoleProtocol",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=... | // Get the protocol field of the given console. | [
"Get",
"the",
"protocol",
"field",
"of",
"the",
"given",
"console",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/console_gen.go#L203-L219 |
137,463 | terra-farm/go-xen-api-client | console_gen.go | Destroy | func (_class ConsoleClass) Destroy(sessionID SessionRef, self ConsoleRef) (_err error) {
_method := "console.destroy"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertConsoleRefToXen(fmt.Sprintf("%s(%s)", _me... | go | func (_class ConsoleClass) Destroy(sessionID SessionRef, self ConsoleRef) (_err error) {
_method := "console.destroy"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertConsoleRefToXen(fmt.Sprintf("%s(%s)", _me... | [
"func",
"(",
"_class",
"ConsoleClass",
")",
"Destroy",
"(",
"sessionID",
"SessionRef",
",",
"self",
"ConsoleRef",
")",
"(",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"convertSessionRefToXen",
"(",
"fmt"... | // Destroy the specified console instance. | [
"Destroy",
"the",
"specified",
"console",
"instance",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/console_gen.go#L241-L253 |
137,464 | terra-farm/go-xen-api-client | console_gen.go | GetRecord | func (_class ConsoleClass) GetRecord(sessionID SessionRef, self ConsoleRef) (_retval ConsoleRecord, _err error) {
_method := "console.get_record"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertConsoleRefToX... | go | func (_class ConsoleClass) GetRecord(sessionID SessionRef, self ConsoleRef) (_retval ConsoleRecord, _err error) {
_method := "console.get_record"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertConsoleRefToX... | [
"func",
"(",
"_class",
"ConsoleClass",
")",
"GetRecord",
"(",
"sessionID",
"SessionRef",
",",
"self",
"ConsoleRef",
")",
"(",
"_retval",
"ConsoleRecord",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
... | // Get a record containing the current state of the given console. | [
"Get",
"a",
"record",
"containing",
"the",
"current",
"state",
"of",
"the",
"given",
"console",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/console_gen.go#L295-L311 |
137,465 | terra-farm/go-xen-api-client | usb_group_gen.go | GetAllRecords | func (_class USBGroupClass) GetAllRecords(sessionID SessionRef) (_retval map[USBGroupRef]USBGroupRecord, _err error) {
_method := "USB_group.get_all_records"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _class.cl... | go | func (_class USBGroupClass) GetAllRecords(sessionID SessionRef) (_retval map[USBGroupRef]USBGroupRecord, _err error) {
_method := "USB_group.get_all_records"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _class.cl... | [
"func",
"(",
"_class",
"USBGroupClass",
")",
"GetAllRecords",
"(",
"sessionID",
"SessionRef",
")",
"(",
"_retval",
"map",
"[",
"USBGroupRef",
"]",
"USBGroupRecord",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_er... | // Return a map of USB_group references to USB_group records for all USB_groups known to the system. | [
"Return",
"a",
"map",
"of",
"USB_group",
"references",
"to",
"USB_group",
"records",
"for",
"all",
"USB_groups",
"known",
"to",
"the",
"system",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/usb_group_gen.go#L46-L58 |
137,466 | terra-farm/go-xen-api-client | usb_group_gen.go | GetAll | func (_class USBGroupClass) GetAll(sessionID SessionRef) (_retval []USBGroupRef, _err error) {
_method := "USB_group.get_all"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _class.client.APICall(_method, _sessionID... | go | func (_class USBGroupClass) GetAll(sessionID SessionRef) (_retval []USBGroupRef, _err error) {
_method := "USB_group.get_all"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _class.client.APICall(_method, _sessionID... | [
"func",
"(",
"_class",
"USBGroupClass",
")",
"GetAll",
"(",
"sessionID",
"SessionRef",
")",
"(",
"_retval",
"[",
"]",
"USBGroupRef",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"convertSessionRefToXe... | // Return a list of all the USB_groups known to the system. | [
"Return",
"a",
"list",
"of",
"all",
"the",
"USB_groups",
"known",
"to",
"the",
"system",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/usb_group_gen.go#L61-L73 |
137,467 | terra-farm/go-xen-api-client | usb_group_gen.go | GetVUSBs | func (_class USBGroupClass) GetVUSBs(sessionID SessionRef, self USBGroupRef) (_retval []VUSBRef, _err error) {
_method := "USB_group.get_VUSBs"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertUSBGroupRefToXe... | go | func (_class USBGroupClass) GetVUSBs(sessionID SessionRef, self USBGroupRef) (_retval []VUSBRef, _err error) {
_method := "USB_group.get_VUSBs"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertUSBGroupRefToXe... | [
"func",
"(",
"_class",
"USBGroupClass",
")",
"GetVUSBs",
"(",
"sessionID",
"SessionRef",
",",
"self",
"USBGroupRef",
")",
"(",
"_retval",
"[",
"]",
"VUSBRef",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
... | // Get the VUSBs field of the given USB_group. | [
"Get",
"the",
"VUSBs",
"field",
"of",
"the",
"given",
"USB_group",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/usb_group_gen.go#L236-L252 |
137,468 | terra-farm/go-xen-api-client | usb_group_gen.go | GetPUSBs | func (_class USBGroupClass) GetPUSBs(sessionID SessionRef, self USBGroupRef) (_retval []PUSBRef, _err error) {
_method := "USB_group.get_PUSBs"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertUSBGroupRefToXe... | go | func (_class USBGroupClass) GetPUSBs(sessionID SessionRef, self USBGroupRef) (_retval []PUSBRef, _err error) {
_method := "USB_group.get_PUSBs"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertUSBGroupRefToXe... | [
"func",
"(",
"_class",
"USBGroupClass",
")",
"GetPUSBs",
"(",
"sessionID",
"SessionRef",
",",
"self",
"USBGroupRef",
")",
"(",
"_retval",
"[",
"]",
"PUSBRef",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
... | // Get the PUSBs field of the given USB_group. | [
"Get",
"the",
"PUSBs",
"field",
"of",
"the",
"given",
"USB_group",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/usb_group_gen.go#L255-L271 |
137,469 | terra-farm/go-xen-api-client | usb_group_gen.go | GetByNameLabel | func (_class USBGroupClass) GetByNameLabel(sessionID SessionRef, label string) (_retval []USBGroupRef, _err error) {
_method := "USB_group.get_by_name_label"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_labelArg, _err := convert... | go | func (_class USBGroupClass) GetByNameLabel(sessionID SessionRef, label string) (_retval []USBGroupRef, _err error) {
_method := "USB_group.get_by_name_label"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_labelArg, _err := convert... | [
"func",
"(",
"_class",
"USBGroupClass",
")",
"GetByNameLabel",
"(",
"sessionID",
"SessionRef",
",",
"label",
"string",
")",
"(",
"_retval",
"[",
"]",
"USBGroupRef",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_... | // Get all the USB_group instances with the given label. | [
"Get",
"all",
"the",
"USB_group",
"instances",
"with",
"the",
"given",
"label",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/usb_group_gen.go#L331-L347 |
137,470 | terra-farm/go-xen-api-client | usb_group_gen.go | GetRecord | func (_class USBGroupClass) GetRecord(sessionID SessionRef, self USBGroupRef) (_retval USBGroupRecord, _err error) {
_method := "USB_group.get_record"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertUSBGroup... | go | func (_class USBGroupClass) GetRecord(sessionID SessionRef, self USBGroupRef) (_retval USBGroupRecord, _err error) {
_method := "USB_group.get_record"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertUSBGroup... | [
"func",
"(",
"_class",
"USBGroupClass",
")",
"GetRecord",
"(",
"sessionID",
"SessionRef",
",",
"self",
"USBGroupRef",
")",
"(",
"_retval",
"USBGroupRecord",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":="... | // Get a record containing the current state of the given USB_group. | [
"Get",
"a",
"record",
"containing",
"the",
"current",
"state",
"of",
"the",
"given",
"USB_group",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/usb_group_gen.go#L369-L385 |
137,471 | terra-farm/go-xen-api-client | vmpp_gen.go | GetAllRecords | func (_class VMPPClass) GetAllRecords(sessionID SessionRef) (_retval map[VMPPRef]VMPPRecord, _err error) {
_method := "VMPP.get_all_records"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _class.client.APICall(_met... | go | func (_class VMPPClass) GetAllRecords(sessionID SessionRef) (_retval map[VMPPRef]VMPPRecord, _err error) {
_method := "VMPP.get_all_records"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _class.client.APICall(_met... | [
"func",
"(",
"_class",
"VMPPClass",
")",
"GetAllRecords",
"(",
"sessionID",
"SessionRef",
")",
"(",
"_retval",
"map",
"[",
"VMPPRef",
"]",
"VMPPRecord",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
... | // Return a map of VMPP references to VMPP records for all VMPPs known to the system. | [
"Return",
"a",
"map",
"of",
"VMPP",
"references",
"to",
"VMPP",
"records",
"for",
"all",
"VMPPs",
"known",
"to",
"the",
"system",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vmpp_gen.go#L118-L130 |
137,472 | terra-farm/go-xen-api-client | vmpp_gen.go | GetAll | func (_class VMPPClass) GetAll(sessionID SessionRef) (_retval []VMPPRef, _err error) {
_method := "VMPP.get_all"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _class.client.APICall(_method, _sessionIDArg)
if _err... | go | func (_class VMPPClass) GetAll(sessionID SessionRef) (_retval []VMPPRef, _err error) {
_method := "VMPP.get_all"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _class.client.APICall(_method, _sessionIDArg)
if _err... | [
"func",
"(",
"_class",
"VMPPClass",
")",
"GetAll",
"(",
"sessionID",
"SessionRef",
")",
"(",
"_retval",
"[",
"]",
"VMPPRef",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"convertSessionRefToXen",
"(... | // Return a list of all the VMPPs known to the system. | [
"Return",
"a",
"list",
"of",
"all",
"the",
"VMPPs",
"known",
"to",
"the",
"system",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vmpp_gen.go#L133-L145 |
137,473 | terra-farm/go-xen-api-client | vmpp_gen.go | SetArchiveTargetType | func (_class VMPPClass) SetArchiveTargetType(sessionID SessionRef, self VMPPRef, value VmppArchiveTargetType) (_err error) {
_method := "VMPP.set_archive_target_type"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err :=... | go | func (_class VMPPClass) SetArchiveTargetType(sessionID SessionRef, self VMPPRef, value VmppArchiveTargetType) (_err error) {
_method := "VMPP.set_archive_target_type"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err :=... | [
"func",
"(",
"_class",
"VMPPClass",
")",
"SetArchiveTargetType",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMPPRef",
",",
"value",
"VmppArchiveTargetType",
")",
"(",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err"... | // Set the value of the archive_target_config_type field | [
"Set",
"the",
"value",
"of",
"the",
"archive_target_config_type",
"field"
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vmpp_gen.go#L411-L427 |
137,474 | terra-farm/go-xen-api-client | vmpp_gen.go | SetArchiveFrequency | func (_class VMPPClass) SetArchiveFrequency(sessionID SessionRef, self VMPPRef, value VmppArchiveFrequency) (_err error) {
_method := "VMPP.set_archive_frequency"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := con... | go | func (_class VMPPClass) SetArchiveFrequency(sessionID SessionRef, self VMPPRef, value VmppArchiveFrequency) (_err error) {
_method := "VMPP.set_archive_frequency"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := con... | [
"func",
"(",
"_class",
"VMPPClass",
")",
"SetArchiveFrequency",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMPPRef",
",",
"value",
"VmppArchiveFrequency",
")",
"(",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
... | // Set the value of the archive_frequency field | [
"Set",
"the",
"value",
"of",
"the",
"archive_frequency",
"field"
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vmpp_gen.go#L449-L465 |
137,475 | terra-farm/go-xen-api-client | vmpp_gen.go | SetBackupFrequency | func (_class VMPPClass) SetBackupFrequency(sessionID SessionRef, self VMPPRef, value VmppBackupFrequency) (_err error) {
_method := "VMPP.set_backup_frequency"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := conver... | go | func (_class VMPPClass) SetBackupFrequency(sessionID SessionRef, self VMPPRef, value VmppBackupFrequency) (_err error) {
_method := "VMPP.set_backup_frequency"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := conver... | [
"func",
"(",
"_class",
"VMPPClass",
")",
"SetBackupFrequency",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMPPRef",
",",
"value",
"VmppBackupFrequency",
")",
"(",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
... | // Set the value of the backup_frequency field | [
"Set",
"the",
"value",
"of",
"the",
"backup_frequency",
"field"
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vmpp_gen.go#L487-L503 |
137,476 | terra-farm/go-xen-api-client | vmpp_gen.go | GetAlerts | func (_class VMPPClass) GetAlerts(sessionID SessionRef, vmpp VMPPRef, hoursFromNow int) (_retval []string, _err error) {
_method := "VMPP.get_alerts"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_vmppArg, _err := convertVMPPRefTo... | go | func (_class VMPPClass) GetAlerts(sessionID SessionRef, vmpp VMPPRef, hoursFromNow int) (_retval []string, _err error) {
_method := "VMPP.get_alerts"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_vmppArg, _err := convertVMPPRefTo... | [
"func",
"(",
"_class",
"VMPPClass",
")",
"GetAlerts",
"(",
"sessionID",
"SessionRef",
",",
"vmpp",
"VMPPRef",
",",
"hoursFromNow",
"int",
")",
"(",
"_retval",
"[",
"]",
"string",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessio... | // This call fetches a history of alerts for a given protection policy | [
"This",
"call",
"fetches",
"a",
"history",
"of",
"alerts",
"for",
"a",
"given",
"protection",
"policy"
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vmpp_gen.go#L525-L545 |
137,477 | terra-farm/go-xen-api-client | vmpp_gen.go | ArchiveNow | func (_class VMPPClass) ArchiveNow(sessionID SessionRef, snapshot VMRef) (_retval string, _err error) {
_method := "VMPP.archive_now"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_snapshotArg, _err := convertVMRefToXen(fmt.Sprint... | go | func (_class VMPPClass) ArchiveNow(sessionID SessionRef, snapshot VMRef) (_retval string, _err error) {
_method := "VMPP.archive_now"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_snapshotArg, _err := convertVMRefToXen(fmt.Sprint... | [
"func",
"(",
"_class",
"VMPPClass",
")",
"ArchiveNow",
"(",
"sessionID",
"SessionRef",
",",
"snapshot",
"VMRef",
")",
"(",
"_retval",
"string",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"convertS... | // This call archives the snapshot provided as a parameter | [
"This",
"call",
"archives",
"the",
"snapshot",
"provided",
"as",
"a",
"parameter"
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vmpp_gen.go#L548-L564 |
137,478 | terra-farm/go-xen-api-client | vmpp_gen.go | ProtectNow | func (_class VMPPClass) ProtectNow(sessionID SessionRef, vmpp VMPPRef) (_retval string, _err error) {
_method := "VMPP.protect_now"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_vmppArg, _err := convertVMPPRefToXen(fmt.Sprintf("%... | go | func (_class VMPPClass) ProtectNow(sessionID SessionRef, vmpp VMPPRef) (_retval string, _err error) {
_method := "VMPP.protect_now"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_vmppArg, _err := convertVMPPRefToXen(fmt.Sprintf("%... | [
"func",
"(",
"_class",
"VMPPClass",
")",
"ProtectNow",
"(",
"sessionID",
"SessionRef",
",",
"vmpp",
"VMPPRef",
")",
"(",
"_retval",
"string",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"convertSes... | // This call executes the protection policy immediately | [
"This",
"call",
"executes",
"the",
"protection",
"policy",
"immediately"
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vmpp_gen.go#L567-L583 |
137,479 | terra-farm/go-xen-api-client | vmpp_gen.go | SetBackupType | func (_class VMPPClass) SetBackupType(sessionID SessionRef, self VMPPRef, value VmppBackupType) (_err error) {
_method := "VMPP.set_backup_type"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMPPRefToXen(f... | go | func (_class VMPPClass) SetBackupType(sessionID SessionRef, self VMPPRef, value VmppBackupType) (_err error) {
_method := "VMPP.set_backup_type"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMPPRefToXen(f... | [
"func",
"(",
"_class",
"VMPPClass",
")",
"SetBackupType",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMPPRef",
",",
"value",
"VmppBackupType",
")",
"(",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"c... | // Set the backup_type field of the given VMPP. | [
"Set",
"the",
"backup_type",
"field",
"of",
"the",
"given",
"VMPP",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vmpp_gen.go#L586-L602 |
137,480 | terra-farm/go-xen-api-client | vmpp_gen.go | SetIsPolicyEnabled | func (_class VMPPClass) SetIsPolicyEnabled(sessionID SessionRef, self VMPPRef, value bool) (_err error) {
_method := "VMPP.set_is_policy_enabled"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMPPRefToXen(... | go | func (_class VMPPClass) SetIsPolicyEnabled(sessionID SessionRef, self VMPPRef, value bool) (_err error) {
_method := "VMPP.set_is_policy_enabled"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMPPRefToXen(... | [
"func",
"(",
"_class",
"VMPPClass",
")",
"SetIsPolicyEnabled",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMPPRef",
",",
"value",
"bool",
")",
"(",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"conver... | // Set the is_policy_enabled field of the given VMPP. | [
"Set",
"the",
"is_policy_enabled",
"field",
"of",
"the",
"given",
"VMPP",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vmpp_gen.go#L605-L621 |
137,481 | terra-farm/go-xen-api-client | vmpp_gen.go | GetVMs | func (_class VMPPClass) GetVMs(sessionID SessionRef, self VMPPRef) (_retval []VMRef, _err error) {
_method := "VMPP.get_VMs"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMPPRefToXen(fmt.Sprintf("%s(%s)",... | go | func (_class VMPPClass) GetVMs(sessionID SessionRef, self VMPPRef) (_retval []VMRef, _err error) {
_method := "VMPP.get_VMs"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMPPRefToXen(fmt.Sprintf("%s(%s)",... | [
"func",
"(",
"_class",
"VMPPClass",
")",
"GetVMs",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMPPRef",
")",
"(",
"_retval",
"[",
"]",
"VMRef",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"c... | // Get the VMs field of the given VMPP. | [
"Get",
"the",
"VMs",
"field",
"of",
"the",
"given",
"VMPP",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vmpp_gen.go#L719-L735 |
137,482 | terra-farm/go-xen-api-client | vmpp_gen.go | GetArchiveLastRunTime | func (_class VMPPClass) GetArchiveLastRunTime(sessionID SessionRef, self VMPPRef) (_retval time.Time, _err error) {
_method := "VMPP.get_archive_last_run_time"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := conver... | go | func (_class VMPPClass) GetArchiveLastRunTime(sessionID SessionRef, self VMPPRef) (_retval time.Time, _err error) {
_method := "VMPP.get_archive_last_run_time"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := conver... | [
"func",
"(",
"_class",
"VMPPClass",
")",
"GetArchiveLastRunTime",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMPPRef",
")",
"(",
"_retval",
"time",
".",
"Time",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_e... | // Get the archive_last_run_time field of the given VMPP. | [
"Get",
"the",
"archive_last_run_time",
"field",
"of",
"the",
"given",
"VMPP",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vmpp_gen.go#L738-L754 |
137,483 | terra-farm/go-xen-api-client | vmpp_gen.go | GetArchiveFrequency | func (_class VMPPClass) GetArchiveFrequency(sessionID SessionRef, self VMPPRef) (_retval VmppArchiveFrequency, _err error) {
_method := "VMPP.get_archive_frequency"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := c... | go | func (_class VMPPClass) GetArchiveFrequency(sessionID SessionRef, self VMPPRef) (_retval VmppArchiveFrequency, _err error) {
_method := "VMPP.get_archive_frequency"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := c... | [
"func",
"(",
"_class",
"VMPPClass",
")",
"GetArchiveFrequency",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMPPRef",
")",
"(",
"_retval",
"VmppArchiveFrequency",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err"... | // Get the archive_frequency field of the given VMPP. | [
"Get",
"the",
"archive_frequency",
"field",
"of",
"the",
"given",
"VMPP",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vmpp_gen.go#L795-L811 |
137,484 | terra-farm/go-xen-api-client | vmpp_gen.go | GetArchiveTargetType | func (_class VMPPClass) GetArchiveTargetType(sessionID SessionRef, self VMPPRef) (_retval VmppArchiveTargetType, _err error) {
_method := "VMPP.get_archive_target_type"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err ... | go | func (_class VMPPClass) GetArchiveTargetType(sessionID SessionRef, self VMPPRef) (_retval VmppArchiveTargetType, _err error) {
_method := "VMPP.get_archive_target_type"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err ... | [
"func",
"(",
"_class",
"VMPPClass",
")",
"GetArchiveTargetType",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMPPRef",
")",
"(",
"_retval",
"VmppArchiveTargetType",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_er... | // Get the archive_target_type field of the given VMPP. | [
"Get",
"the",
"archive_target_type",
"field",
"of",
"the",
"given",
"VMPP",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vmpp_gen.go#L833-L849 |
137,485 | terra-farm/go-xen-api-client | vmpp_gen.go | GetIsBackupRunning | func (_class VMPPClass) GetIsBackupRunning(sessionID SessionRef, self VMPPRef) (_retval bool, _err error) {
_method := "VMPP.get_is_backup_running"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMPPRefToXe... | go | func (_class VMPPClass) GetIsBackupRunning(sessionID SessionRef, self VMPPRef) (_retval bool, _err error) {
_method := "VMPP.get_is_backup_running"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMPPRefToXe... | [
"func",
"(",
"_class",
"VMPPClass",
")",
"GetIsBackupRunning",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMPPRef",
")",
"(",
"_retval",
"bool",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"conv... | // Get the is_backup_running field of the given VMPP. | [
"Get",
"the",
"is_backup_running",
"field",
"of",
"the",
"given",
"VMPP",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vmpp_gen.go#L871-L887 |
137,486 | terra-farm/go-xen-api-client | vmpp_gen.go | GetBackupFrequency | func (_class VMPPClass) GetBackupFrequency(sessionID SessionRef, self VMPPRef) (_retval VmppBackupFrequency, _err error) {
_method := "VMPP.get_backup_frequency"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := conv... | go | func (_class VMPPClass) GetBackupFrequency(sessionID SessionRef, self VMPPRef) (_retval VmppBackupFrequency, _err error) {
_method := "VMPP.get_backup_frequency"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := conv... | [
"func",
"(",
"_class",
"VMPPClass",
")",
"GetBackupFrequency",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMPPRef",
")",
"(",
"_retval",
"VmppBackupFrequency",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
... | // Get the backup_frequency field of the given VMPP. | [
"Get",
"the",
"backup_frequency",
"field",
"of",
"the",
"given",
"VMPP",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vmpp_gen.go#L909-L925 |
137,487 | terra-farm/go-xen-api-client | vmpp_gen.go | GetBackupRetentionValue | func (_class VMPPClass) GetBackupRetentionValue(sessionID SessionRef, self VMPPRef) (_retval int, _err error) {
_method := "VMPP.get_backup_retention_value"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVM... | go | func (_class VMPPClass) GetBackupRetentionValue(sessionID SessionRef, self VMPPRef) (_retval int, _err error) {
_method := "VMPP.get_backup_retention_value"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVM... | [
"func",
"(",
"_class",
"VMPPClass",
")",
"GetBackupRetentionValue",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMPPRef",
")",
"(",
"_retval",
"int",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"... | // Get the backup_retention_value field of the given VMPP. | [
"Get",
"the",
"backup_retention_value",
"field",
"of",
"the",
"given",
"VMPP",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vmpp_gen.go#L928-L944 |
137,488 | terra-farm/go-xen-api-client | vmpp_gen.go | GetBackupType | func (_class VMPPClass) GetBackupType(sessionID SessionRef, self VMPPRef) (_retval VmppBackupType, _err error) {
_method := "VMPP.get_backup_type"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMPPRefToXen... | go | func (_class VMPPClass) GetBackupType(sessionID SessionRef, self VMPPRef) (_retval VmppBackupType, _err error) {
_method := "VMPP.get_backup_type"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMPPRefToXen... | [
"func",
"(",
"_class",
"VMPPClass",
")",
"GetBackupType",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMPPRef",
")",
"(",
"_retval",
"VmppBackupType",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
... | // Get the backup_type field of the given VMPP. | [
"Get",
"the",
"backup_type",
"field",
"of",
"the",
"given",
"VMPP",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vmpp_gen.go#L947-L963 |
137,489 | terra-farm/go-xen-api-client | vmpp_gen.go | GetByNameLabel | func (_class VMPPClass) GetByNameLabel(sessionID SessionRef, label string) (_retval []VMPPRef, _err error) {
_method := "VMPP.get_by_name_label"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_labelArg, _err := convertStringToXen(f... | go | func (_class VMPPClass) GetByNameLabel(sessionID SessionRef, label string) (_retval []VMPPRef, _err error) {
_method := "VMPP.get_by_name_label"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_labelArg, _err := convertStringToXen(f... | [
"func",
"(",
"_class",
"VMPPClass",
")",
"GetByNameLabel",
"(",
"sessionID",
"SessionRef",
",",
"label",
"string",
")",
"(",
"_retval",
"[",
"]",
"VMPPRef",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
... | // Get all the VMPP instances with the given label. | [
"Get",
"all",
"the",
"VMPP",
"instances",
"with",
"the",
"given",
"label",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vmpp_gen.go#L1042-L1058 |
137,490 | terra-farm/go-xen-api-client | vmpp_gen.go | Destroy | func (_class VMPPClass) Destroy(sessionID SessionRef, self VMPPRef) (_err error) {
_method := "VMPP.destroy"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMPPRefToXen(fmt.Sprintf("%s(%s)", _method, "self"... | go | func (_class VMPPClass) Destroy(sessionID SessionRef, self VMPPRef) (_err error) {
_method := "VMPP.destroy"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMPPRefToXen(fmt.Sprintf("%s(%s)", _method, "self"... | [
"func",
"(",
"_class",
"VMPPClass",
")",
"Destroy",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMPPRef",
")",
"(",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"convertSessionRefToXen",
"(",
"fmt",
".... | // Destroy the specified VMPP instance. | [
"Destroy",
"the",
"specified",
"VMPP",
"instance",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vmpp_gen.go#L1061-L1073 |
137,491 | terra-farm/go-xen-api-client | vmpp_gen.go | GetRecord | func (_class VMPPClass) GetRecord(sessionID SessionRef, self VMPPRef) (_retval VMPPRecord, _err error) {
_method := "VMPP.get_record"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMPPRefToXen(fmt.Sprintf(... | go | func (_class VMPPClass) GetRecord(sessionID SessionRef, self VMPPRef) (_retval VMPPRecord, _err error) {
_method := "VMPP.get_record"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertVMPPRefToXen(fmt.Sprintf(... | [
"func",
"(",
"_class",
"VMPPClass",
")",
"GetRecord",
"(",
"sessionID",
"SessionRef",
",",
"self",
"VMPPRef",
")",
"(",
"_retval",
"VMPPRecord",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"convert... | // Get a record containing the current state of the given VMPP. | [
"Get",
"a",
"record",
"containing",
"the",
"current",
"state",
"of",
"the",
"given",
"VMPP",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/vmpp_gen.go#L1115-L1131 |
137,492 | terra-farm/go-xen-api-client | pci_gen.go | GetAllRecords | func (_class PCIClass) GetAllRecords(sessionID SessionRef) (_retval map[PCIRef]PCIRecord, _err error) {
_method := "PCI.get_all_records"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _class.client.APICall(_method,... | go | func (_class PCIClass) GetAllRecords(sessionID SessionRef) (_retval map[PCIRef]PCIRecord, _err error) {
_method := "PCI.get_all_records"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _class.client.APICall(_method,... | [
"func",
"(",
"_class",
"PCIClass",
")",
"GetAllRecords",
"(",
"sessionID",
"SessionRef",
")",
"(",
"_retval",
"map",
"[",
"PCIRef",
"]",
"PCIRecord",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"... | // Return a map of PCI references to PCI records for all PCIs known to the system. | [
"Return",
"a",
"map",
"of",
"PCI",
"references",
"to",
"PCI",
"records",
"for",
"all",
"PCIs",
"known",
"to",
"the",
"system",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/pci_gen.go#L56-L68 |
137,493 | terra-farm/go-xen-api-client | pci_gen.go | GetAll | func (_class PCIClass) GetAll(sessionID SessionRef) (_retval []PCIRef, _err error) {
_method := "PCI.get_all"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _class.client.APICall(_method, _sessionIDArg)
if _err !=... | go | func (_class PCIClass) GetAll(sessionID SessionRef) (_retval []PCIRef, _err error) {
_method := "PCI.get_all"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _class.client.APICall(_method, _sessionIDArg)
if _err !=... | [
"func",
"(",
"_class",
"PCIClass",
")",
"GetAll",
"(",
"sessionID",
"SessionRef",
")",
"(",
"_retval",
"[",
"]",
"PCIRef",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"convertSessionRefToXen",
"(",... | // Return a list of all the PCIs known to the system. | [
"Return",
"a",
"list",
"of",
"all",
"the",
"PCIs",
"known",
"to",
"the",
"system",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/pci_gen.go#L71-L83 |
137,494 | terra-farm/go-xen-api-client | pool_patch_gen.go | GetAllRecords | func (_class PoolPatchClass) GetAllRecords(sessionID SessionRef) (_retval map[PoolPatchRef]PoolPatchRecord, _err error) {
_method := "pool_patch.get_all_records"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _clas... | go | func (_class PoolPatchClass) GetAllRecords(sessionID SessionRef) (_retval map[PoolPatchRef]PoolPatchRecord, _err error) {
_method := "pool_patch.get_all_records"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _clas... | [
"func",
"(",
"_class",
"PoolPatchClass",
")",
"GetAllRecords",
"(",
"sessionID",
"SessionRef",
")",
"(",
"_retval",
"map",
"[",
"PoolPatchRef",
"]",
"PoolPatchRecord",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"... | // Return a map of pool_patch references to pool_patch records for all pool_patchs known to the system. | [
"Return",
"a",
"map",
"of",
"pool_patch",
"references",
"to",
"pool_patch",
"records",
"for",
"all",
"pool_patchs",
"known",
"to",
"the",
"system",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/pool_patch_gen.go#L67-L79 |
137,495 | terra-farm/go-xen-api-client | pool_patch_gen.go | GetAll | func (_class PoolPatchClass) GetAll(sessionID SessionRef) (_retval []PoolPatchRef, _err error) {
_method := "pool_patch.get_all"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _class.client.APICall(_method, _sessio... | go | func (_class PoolPatchClass) GetAll(sessionID SessionRef) (_retval []PoolPatchRef, _err error) {
_method := "pool_patch.get_all"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_result, _err := _class.client.APICall(_method, _sessio... | [
"func",
"(",
"_class",
"PoolPatchClass",
")",
"GetAll",
"(",
"sessionID",
"SessionRef",
")",
"(",
"_retval",
"[",
"]",
"PoolPatchRef",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"convertSessionRefTo... | // Return a list of all the pool_patchs known to the system. | [
"Return",
"a",
"list",
"of",
"all",
"the",
"pool_patchs",
"known",
"to",
"the",
"system",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/pool_patch_gen.go#L82-L94 |
137,496 | terra-farm/go-xen-api-client | pool_patch_gen.go | CleanOnHost | func (_class PoolPatchClass) CleanOnHost(sessionID SessionRef, self PoolPatchRef, host HostRef) (_err error) {
_method := "pool_patch.clean_on_host"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertPoolPatchR... | go | func (_class PoolPatchClass) CleanOnHost(sessionID SessionRef, self PoolPatchRef, host HostRef) (_err error) {
_method := "pool_patch.clean_on_host"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertPoolPatchR... | [
"func",
"(",
"_class",
"PoolPatchClass",
")",
"CleanOnHost",
"(",
"sessionID",
"SessionRef",
",",
"self",
"PoolPatchRef",
",",
"host",
"HostRef",
")",
"(",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"c... | // Removes the patch's files from the specified host | [
"Removes",
"the",
"patch",
"s",
"files",
"from",
"the",
"specified",
"host"
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/pool_patch_gen.go#L97-L113 |
137,497 | terra-farm/go-xen-api-client | pool_patch_gen.go | PoolApply | func (_class PoolPatchClass) PoolApply(sessionID SessionRef, self PoolPatchRef) (_err error) {
_method := "pool_patch.pool_apply"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertPoolPatchRefToXen(fmt.Sprintf... | go | func (_class PoolPatchClass) PoolApply(sessionID SessionRef, self PoolPatchRef) (_err error) {
_method := "pool_patch.pool_apply"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertPoolPatchRefToXen(fmt.Sprintf... | [
"func",
"(",
"_class",
"PoolPatchClass",
")",
"PoolApply",
"(",
"sessionID",
"SessionRef",
",",
"self",
"PoolPatchRef",
")",
"(",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
":=",
"convertSessionRefToXen",
"(",
... | // Apply the selected patch to all hosts in the pool and return a map of host_ref -> patch output | [
"Apply",
"the",
"selected",
"patch",
"to",
"all",
"hosts",
"in",
"the",
"pool",
"and",
"return",
"a",
"map",
"of",
"host_ref",
"-",
">",
"patch",
"output"
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/pool_patch_gen.go#L184-L196 |
137,498 | terra-farm/go-xen-api-client | pool_patch_gen.go | Apply | func (_class PoolPatchClass) Apply(sessionID SessionRef, self PoolPatchRef, host HostRef) (_retval string, _err error) {
_method := "pool_patch.apply"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertPoolPatc... | go | func (_class PoolPatchClass) Apply(sessionID SessionRef, self PoolPatchRef, host HostRef) (_retval string, _err error) {
_method := "pool_patch.apply"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := convertPoolPatc... | [
"func",
"(",
"_class",
"PoolPatchClass",
")",
"Apply",
"(",
"sessionID",
"SessionRef",
",",
"self",
"PoolPatchRef",
",",
"host",
"HostRef",
")",
"(",
"_retval",
"string",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
"... | // Apply the selected patch to a host and return its output | [
"Apply",
"the",
"selected",
"patch",
"to",
"a",
"host",
"and",
"return",
"its",
"output"
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/pool_patch_gen.go#L199-L219 |
137,499 | terra-farm/go-xen-api-client | pool_patch_gen.go | GetPoolUpdate | func (_class PoolPatchClass) GetPoolUpdate(sessionID SessionRef, self PoolPatchRef) (_retval PoolUpdateRef, _err error) {
_method := "pool_patch.get_pool_update"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := conv... | go | func (_class PoolPatchClass) GetPoolUpdate(sessionID SessionRef, self PoolPatchRef) (_retval PoolUpdateRef, _err error) {
_method := "pool_patch.get_pool_update"
_sessionIDArg, _err := convertSessionRefToXen(fmt.Sprintf("%s(%s)", _method, "session_id"), sessionID)
if _err != nil {
return
}
_selfArg, _err := conv... | [
"func",
"(",
"_class",
"PoolPatchClass",
")",
"GetPoolUpdate",
"(",
"sessionID",
"SessionRef",
",",
"self",
"PoolPatchRef",
")",
"(",
"_retval",
"PoolUpdateRef",
",",
"_err",
"error",
")",
"{",
"_method",
":=",
"\"",
"\"",
"\n",
"_sessionIDArg",
",",
"_err",
... | // Get the pool_update field of the given pool_patch. | [
"Get",
"the",
"pool_update",
"field",
"of",
"the",
"given",
"pool_patch",
"."
] | edb53e3930c18c373c1a5e6c0eacd0b5c669fefb | https://github.com/terra-farm/go-xen-api-client/blob/edb53e3930c18c373c1a5e6c0eacd0b5c669fefb/pool_patch_gen.go#L302-L318 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.