Documentation ¶
Index ¶
- type MountMonitoringSecurityPolicyEnforcer
- func (MountMonitoringSecurityPolicyEnforcer) EncodedSecurityPolicy() string
- func (MountMonitoringSecurityPolicyEnforcer) EnforceCreateContainerPolicy(_ string, _ []string, _ []string, _ string) error
- func (p *MountMonitoringSecurityPolicyEnforcer) EnforceDeviceMountPolicy(_ string, _ string) error
- func (p *MountMonitoringSecurityPolicyEnforcer) EnforceDeviceUnmountPolicy(_ string) error
- func (MountMonitoringSecurityPolicyEnforcer) EnforceMountPolicy(_, _ string, _ *oci.Spec) error
- func (p *MountMonitoringSecurityPolicyEnforcer) EnforceOverlayMountPolicy(_ string, _ []string) error
- func (MountMonitoringSecurityPolicyEnforcer) EnforceWaitMountPointsPolicy(_ string, _ *oci.Spec) error
- func (MountMonitoringSecurityPolicyEnforcer) ExtendDefaultMounts(_ []oci.Mount) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MountMonitoringSecurityPolicyEnforcer ¶
type MountMonitoringSecurityPolicyEnforcer struct { DeviceMountCalls int DeviceUnmountCalls int OverlayMountCalls int }
MountMonitoringSecurityPolicyEnforcer is used for testing and records the number of calls to each method, so we can verify the expected interactions took place.
func (MountMonitoringSecurityPolicyEnforcer) EncodedSecurityPolicy ¶
func (MountMonitoringSecurityPolicyEnforcer) EncodedSecurityPolicy() string
func (MountMonitoringSecurityPolicyEnforcer) EnforceCreateContainerPolicy ¶
func (*MountMonitoringSecurityPolicyEnforcer) EnforceDeviceMountPolicy ¶
func (p *MountMonitoringSecurityPolicyEnforcer) EnforceDeviceMountPolicy(_ string, _ string) error
func (*MountMonitoringSecurityPolicyEnforcer) EnforceDeviceUnmountPolicy ¶
func (p *MountMonitoringSecurityPolicyEnforcer) EnforceDeviceUnmountPolicy(_ string) error
func (MountMonitoringSecurityPolicyEnforcer) EnforceMountPolicy ¶
func (MountMonitoringSecurityPolicyEnforcer) EnforceMountPolicy(_, _ string, _ *oci.Spec) error
func (*MountMonitoringSecurityPolicyEnforcer) EnforceOverlayMountPolicy ¶
func (p *MountMonitoringSecurityPolicyEnforcer) EnforceOverlayMountPolicy(_ string, _ []string) error
func (MountMonitoringSecurityPolicyEnforcer) EnforceWaitMountPointsPolicy ¶
func (MountMonitoringSecurityPolicyEnforcer) EnforceWaitMountPointsPolicy(_ string, _ *oci.Spec) error
func (MountMonitoringSecurityPolicyEnforcer) ExtendDefaultMounts ¶
func (MountMonitoringSecurityPolicyEnforcer) ExtendDefaultMounts(_ []oci.Mount) error
Click to show internal directories.
Click to hide internal directories.