Add explanations of various claim and allocation fields

This commit is contained in:
Bryan Boreham committed 2017-02-13 17:31:02 +00:00
1 parent 293abd953e
commit 4e37f5ec42
3 files changed
+9 -8

No files matched your search

+4 -4
View File
@@ -12,10 +12,10 @@ import (
type claim struct {
resultChan chan<- error
ident string
cidr address.CIDR
isContainer bool
noErrorOnUnknown bool
ident string // a container ID, something like "weave:expose", or api.NoContainerID
cidr address.CIDR // single address being claimed
isContainer bool // true if ident is a container ID
noErrorOnUnknown bool // if false, error or block if we don't know; if true return ok but keep trying
hasBeenCancelled func() bool
}