Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPods ¶
func CheckPods(cfg Config, isps []v1beta1.ImageSecurityPolicy) error
CheckPods checks all running pods against defined policies.
func RunInForeground ¶
RunInForeground checks Pods in foreground.
Types ¶
type Config ¶
type Config struct {
PodLister podLister
Client metadata.ReadWriteClient
ReviewConfig *review.Config
SecurityPolicyLister func(namespace string) ([]v1beta1.ImageSecurityPolicy, error)
}
func NewCronConfig ¶
func NewCronConfig(cs *kubernetes.Clientset, client metadata.ReadWriteClient) *Config
Source Files
¶
- cron.go
Click to show internal directories.
Click to hide internal directories.