MCPcopy Create free account
hub / github.com/Mirantis/cri-dockerd / getSecurityOpts

Method getSecurityOpts

core/security_context_windows.go:28–36  ·  view source on GitHub ↗
(
	seccompProfile *v1.SecurityProfile,
	separator rune,
)

Source from the content-addressed store, hash-verified

26)
27
28func (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
38func (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

Calls 1

InfoMethod · 0.65

Tested by

no test coverage detected