Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AcceptedPods242414 ¶ added in v0.6.0
type AcceptedPods242414 struct { PodSelector Justification string `json:"justification" yaml:"justification"` Ports []int32 `json:"ports" yaml:"ports"` }
AcceptedPods242414 contains option specifications for accepted pods
type AcceptedPods242415 ¶ added in v0.6.0
type AcceptedPods242415 struct { PodSelector Justification string `json:"justification" yaml:"justification"` EnvironmentVariables []string `json:"environmentVariables" yaml:"environmentVariables"` }
AcceptedPods242415 contains option specifications for accepted pods
type ExpectedOwner ¶
type ExpectedOwner struct { Users []string `json:"users" yaml:"users"` Groups []string `json:"groups" yaml:"groups"` }
ExpectedOwner contains expected user and group owners
type FileOwnerOptions ¶
type FileOwnerOptions struct {
ExpectedFileOwner ExpectedOwner `json:"expectedFileOwner" yaml:"expectedFileOwner"`
}
FileOwnerOptions contains expected user and group owners for files
func (FileOwnerOptions) Validate ¶ added in v0.6.0
func (o FileOwnerOptions) Validate() field.ErrorList
Validate validates that option configurations are correctly defined
type KubeProxyOptions ¶ added in v0.10.0
type KubeProxyOptions struct {
KubeProxyDisabled bool `json:"kubeProxyDisabled" yaml:"kubeProxyDisabled"`
}
KubeProxyOptions contains options for kube-proxy rules
type Option ¶ added in v0.6.0
Option that can be validated in order to ensure that configurations are correctly defined
type Options242414 ¶ added in v0.6.0
type Options242414 struct {
AcceptedPods []AcceptedPods242414 `json:"acceptedPods" yaml:"acceptedPods"`
}
Options242414 contains options for rule 242414
func (Options242414) Validate ¶ added in v0.6.0
func (o Options242414) Validate() field.ErrorList
Validate validates that option configurations are correctly defined
type Options242415 ¶ added in v0.6.0
type Options242415 struct {
AcceptedPods []AcceptedPods242415 `json:"acceptedPods" yaml:"acceptedPods"`
}
Options242415 contains options for rule 242415
func (Options242415) Validate ¶ added in v0.6.0
func (o Options242415) Validate() field.ErrorList
Validate validates that option configurations are correctly defined
type PodSelector ¶ added in v0.12.0
type PodSelector struct { PodMatchLabels map[string]string `json:"podMatchLabels" yaml:"podMatchLabels"` NamespaceMatchLabels map[string]string `json:"namespaceMatchLabels" yaml:"namespaceMatchLabels"` }
PodSelector contains generalized options for matching entities by their attribute labels
func (PodSelector) Validate ¶ added in v0.12.0
func (e PodSelector) Validate() field.ErrorList
Validate validates that option configurations are correctly defined