policy

package
v0.10.0-rc.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

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) EnforceCreateContainerPolicy(_ string, _ []string, _ []string, _ string) error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL