File: doc.go

package info (click to toggle)
golang-github-gophercloud-gophercloud 0.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, bullseye-backports
  • size: 10,224 kB
  • sloc: sh: 125; makefile: 21
file content (14 lines) | stat: -rw-r--r-- 437 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
Package resetnetwork provides functionality to reset the network of a server
that has been provisioned by the OpenStack Compute service. This action
requires admin privileges and Nova configured with a Xen hypervisor driver.

Example to Reset a Network of a Server

	serverID := "47b6b7b7-568d-40e4-868c-d5c41735532e"
	err := resetnetwork.ResetNetwork(client, id).ExtractErr()
	if err != nil {
		panic(err)
	}
*/
package resetnetwork