security

package
v0.103.1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: AGPL-3.0 Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllowedIsolations

type AllowedIsolations struct {
	None      *IsolationPolicyNone      `yaml:"none"`
	Container *IsolationPolicyContainer `yaml:"container"`
	Parallels *IsolationPolicyParallels `yaml:"parallels"`
	Tart      *IsolationPolicyTart      `yaml:"tart"`
}

type IsolationPolicyContainer

type IsolationPolicyContainer struct {
}

type IsolationPolicyNone

type IsolationPolicyNone struct {
}

type IsolationPolicyParallels

type IsolationPolicyParallels struct {
}

type IsolationPolicyTart

type IsolationPolicyTart struct {
	AllowedImages []string `yaml:"allowed-images"`
	ForceSoftnet  bool     `yaml:"force-softnet"`
}

func (IsolationPolicyTart) ImageAllowed

func (tart IsolationPolicyTart) ImageAllowed(name string) bool

type Security

type Security struct {
	AllowedIsolations *AllowedIsolations `yaml:"allowed-isolations"`
}

func NoSecurity

func NoSecurity() *Security

func (*Security) ContainerPolicy

func (security *Security) ContainerPolicy() *IsolationPolicyContainer

func (*Security) NonePolicy

func (security *Security) NonePolicy() *IsolationPolicyNone

func (*Security) ParallelsPolicy

func (security *Security) ParallelsPolicy() *IsolationPolicyParallels

func (*Security) TartPolicy

func (security *Security) TartPolicy() *IsolationPolicyTart

Jump to

Keyboard shortcuts

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