seccompmanager

package
v0.2.217 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SeccompManagerClient

type SeccompManagerClient interface {
	AddSeccompProfile(obj *v1beta1api.SeccompProfile) error
	DeleteSeccompProfile(obj *v1beta1api.SeccompProfile) error
	GetSeccompProfile(name string, path *string) (v1beta1.SingleSeccompProfile, error)
}

type SeccompManagerMock

type SeccompManagerMock struct {
}

func NewSeccompManagerMock

func NewSeccompManagerMock() *SeccompManagerMock

func (*SeccompManagerMock) AddSeccompProfile

func (s *SeccompManagerMock) AddSeccompProfile(_ *v1beta1api.SeccompProfile) error

func (*SeccompManagerMock) DeleteSeccompProfile

func (s *SeccompManagerMock) DeleteSeccompProfile(_ *v1beta1api.SeccompProfile) error

func (*SeccompManagerMock) GetSeccompProfile

func (s *SeccompManagerMock) GetSeccompProfile(_ string, _ *string) (v1beta1.SingleSeccompProfile, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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