mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
This change moves the `system.SecurityOpt` type and `system.DecodeSecurityOptions` function to the client and adds a set of unit tests to capture current implementation. This change also create a set of daemon backend copies for usage. Signed-off-by: Austin Vazquez <austin.vazquez@docker.com>
13 lines
240 B
Go
13 lines
240 B
Go
package systembackend
|
|
|
|
// SecurityOption contains the name and options of a security option
|
|
type SecurityOption struct {
|
|
Name string
|
|
Options []KeyValue
|
|
}
|
|
|
|
// KeyValue holds a key/value pair.
|
|
type KeyValue struct {
|
|
Key, Value string
|
|
}
|