Method
getSecurityOpts
(
seccompProfile *v1.SecurityProfile,
separator rune,
)
Source from the content-addressed store, hash-verified
| 26 | ) |
| 27 | |
| 28 | func (ds *dockerService) getSecurityOpts( |
| 29 | seccompProfile *v1.SecurityProfile, |
| 30 | separator rune, |
| 31 | ) ([]string, error) { |
| 32 | if seccompProfile != nil { |
| 33 | logrus.Info("seccomp annotations are not supported on windows") |
| 34 | } |
| 35 | return nil, nil |
| 36 | } |
| 37 | |
| 38 | func (ds *dockerService) getSandBoxSecurityOpts(separator rune) []string { |
| 39 | // Currently, Windows container does not support privileged mode, so no no-new-privileges flag can be returned directly like Linux |
Callers
nothing calls this directly
Tested by
no test coverage detected