github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/compute/v2/extensions/evacuate/doc.go (about)

     1  /*
     2  Package evacuate provides functionality to evacuates servers that have been
     3  provisioned by the OpenStack Compute service from a failed host to a new host.
     4  
     5  Example to Evacuate a Server from a Host
     6  
     7  	serverID := "b16ba811-199d-4ffd-8839-ba96c1185a67"
     8  	err := evacuate.Evacuate(computeClient, serverID, evacuate.EvacuateOpts{}).ExtractErr()
     9  	if err != nil {
    10  		panic(err)
    11  	}
    12  */
    13  package evacuate