Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AcceptedPods242414 ¶ added in v0.6.0
type AcceptedPods242414 struct { PodMatchLabels map[string]string `json:"podMatchLabels" yaml:"podMatchLabels"` NamespaceMatchLabels map[string]string `json:"namespaceMatchLabels" yaml:"namespaceMatchLabels"` Justification string `json:"justification" yaml:"justification"` Ports []int32 `json:"ports" yaml:"ports"` }
AcceptedPods242414 contains option specifications for appected pods
type AcceptedPods242415 ¶ added in v0.6.0
type AcceptedPods242415 struct { PodMatchLabels map[string]string `json:"podMatchLabels" yaml:"podMatchLabels"` NamespaceMatchLabels map[string]string `json:"namespaceMatchLabels" yaml:"namespaceMatchLabels"` Justification string `json:"justification" yaml:"justification"` EnvironmentVariables []string `json:"environmentVariables" yaml:"environmentVariables"` }
AcceptedPods242415 contains option specifications for appected 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 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
Click to show internal directories.
Click to hide internal directories.