Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config is the global seccomp configuration type
func (*Config) IsDisabled ¶
IsDisabled returns true if seccomp is disabled either via the missing `seccomp` buildtag or globally by the system.
func (*Config) LoadProfile ¶
LoadProfile can be used to load a seccomp profile from the provided path. This method will not fail if seccomp is disabled.
func (*Config) SetDefaultWhenEmpty ¶ added in v1.19.4
func (c *Config) SetDefaultWhenEmpty()
Set the seccomp config to use default profile when the profile is empty
func (*Config) UseDefaultWhenEmpty ¶ added in v1.19.4
Returns whether the seccomp config is set to use default profile when the profile is empty
Click to show internal directories.
Click to hide internal directories.