Add explanations of various claim and allocation fields
This commit is contained in:
1 parent
293abd953e
commit
4e37f5ec42
3 files changed
+9
-8
No files matched your search
+3
-2
@@ -76,9 +76,10 @@ type Allocator struct {
|
||||
now func() time.Time
|
||||
}
|
||||
|
||||
// PreClaims are IP addresses discovered before we could initialize IPAM
|
||||
type PreClaim struct {
|
||||
Ident string
|
||||
IsContainer bool
|
||||
Ident string // a container ID, something like "weave:expose", or api.NoContainerID
|
||||
IsContainer bool // true if Ident is a container ID
|
||||
Cidr address.CIDR
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user