seccompmanager

package
v0.2.103 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: Apache-2.0 Imports: 2 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 *unstructured.Unstructured) error
	DeleteSeccompProfile(obj *unstructured.Unstructured) 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(_ *unstructured.Unstructured) error

func (*SeccompManagerMock) DeleteSeccompProfile

func (s *SeccompManagerMock) DeleteSeccompProfile(_ *unstructured.Unstructured) 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