Documentation ¶
Index ¶
- type AllowedImages
- type AllowedIsolations
- type AllowedVolumeTart
- type IsolationPolicyContainer
- type IsolationPolicyNone
- type IsolationPolicyParallels
- type IsolationPolicyTart
- type IsolationPolicyVetu
- type Security
- func (security *Security) ContainerPolicy() *IsolationPolicyContainer
- func (security *Security) NonePolicy() *IsolationPolicyNone
- func (security *Security) ParallelsPolicy() *IsolationPolicyParallels
- func (security *Security) TartPolicy() *IsolationPolicyTart
- func (security *Security) VetuPolicy() *IsolationPolicyVetu
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllowedImages ¶ added in v0.108.0
type AllowedImages []string
func (AllowedImages) ImageAllowed ¶ added in v0.108.0
func (allowedImages AllowedImages) ImageAllowed(name string) bool
type AllowedIsolations ¶
type AllowedIsolations struct { None *IsolationPolicyNone `yaml:"none"` Container *IsolationPolicyContainer `yaml:"container"` Parallels *IsolationPolicyParallels `yaml:"parallels"` Tart *IsolationPolicyTart `yaml:"tart"` Vetu *IsolationPolicyVetu `yaml:"vetu"` }
type AllowedVolumeTart ¶ added in v0.105.0
type IsolationPolicyContainer ¶
type IsolationPolicyContainer struct { }
type IsolationPolicyNone ¶
type IsolationPolicyNone struct { }
type IsolationPolicyParallels ¶
type IsolationPolicyParallels struct { }
type IsolationPolicyTart ¶
type IsolationPolicyTart struct { AllowedImages AllowedImages `yaml:"allowed-images"` AllowedVolumes []AllowedVolumeTart `yaml:"allowed-volumes"` ForceSoftnet bool `yaml:"force-softnet"` }
func (IsolationPolicyTart) VolumeAllowed ¶ added in v0.105.0
func (tart IsolationPolicyTart) VolumeAllowed(volume *api.Isolation_Tart_Volume) bool
type IsolationPolicyVetu ¶ added in v0.108.0
type IsolationPolicyVetu struct {
AllowedImages AllowedImages `yaml:"allowed-images"`
}
type Security ¶
type Security struct {
AllowedIsolations *AllowedIsolations `yaml:"allowed-isolations"`
}
func NoSecurity ¶
func NoSecurity() *Security
func NoSecurityAllowAllVolumes ¶ added in v0.105.0
func NoSecurityAllowAllVolumes() *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
func (*Security) VetuPolicy ¶ added in v0.108.0
func (security *Security) VetuPolicy() *IsolationPolicyVetu
Click to show internal directories.
Click to hide internal directories.