client/lxd_containers.go
func (r *ProtocolLXD) UpdateContainerState(name string, state api.ContainerStatePut, ETag string) (Operation, error) {
	// Send the request
	op, _, err := r.queryOperation("PUT", fmt.Sprintf("/containers/%s/state", url.QueryEscape(name)), state, ETag)
	if err != nil {
		return nil, err
	}

	return op, nil
}
func (r *ProtocolLXD) UpdateContainerState(name string, state api.ContainerStatePut, ETag string) (Operation, error) {
	// Send the request
	op, _, err := r.queryOperation("PUT", fmt.Sprintf("/containers/%s/state", url.QueryEscape(name)), state, ETag)
	if err != nil {
		return nil, err
	}

	return op, nil
}
func ( r * ProtocolLXD ) UpdateContainerState ( name string , state api . ContainerStatePut , ETag string ) ( Operation , error ) { // Send the request op , _ , err := r . queryOperation ( " " , fmt . Sprintf ( " " , url . QueryEscape ( name ) ) , state , ETag ) if err != nil { return nil , err } return op , nil }
// UpdateContainerState updates the container to match the requested state
UpdateContainerState updates the container to match the requested state