open-nomad/vendor/github.com/hashicorp/nomad/api
Tim Gross 23be116da0
csi: add -force flag to volume deregister (#8295)
The `nomad volume deregister` command currently returns an error if the volume
has any claims, but in cases where the claims can't be dropped because of
plugin errors, providing a `-force` flag gives the operator an escape hatch.

If the volume has no allocations or if they are all terminal, this flag
deletes the volume from the state store, immediately and implicitly dropping
all claims without further CSI RPCs. Note that this will not also
unmount/detach the volume, which we'll make the responsibility of a separate
`nomad volume detach` command.
2020-07-01 12:17:51 -04:00
..
contexts
acl.go
agent.go
allocations.go command: correctly show host IP in ports output /w multi-host networks (#8289) 2020-06-25 15:16:01 -04:00
api.go cli: jobs allow querying jobs in all namespaces 2020-06-17 16:31:01 -04:00
constraint.go
csi.go csi: add -force flag to volume deregister (#8295) 2020-07-01 12:17:51 -04:00
deployments.go
evaluations.go
fs.go
go.mod
go.sum
ioutil.go
jobs.go vendor: sync api changes 2020-06-19 11:31:39 -04:00
namespace.go
nodes.go
operator.go allow raw body instead of JSON encoded string (#8211) 2020-06-19 10:57:09 -04:00
operator_autopilot.go
quota.go
raw.go
regions.go
resources.go vendor: sync api changes 2020-06-19 11:31:39 -04:00
scaling.go
search.go
sentinel.go
services.go consul/connect: split connect native flag and task in service 2020-06-23 10:22:22 -05:00
status.go
system.go
tasks.go
utils.go