Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolveResourceTypeHandler ¶
func ResolveResourceTypeHandler(resourceType string) resourceTypeHandler
ResolveResourceTypeHandler
Resolves a function handler fo a specific type of resource name. The function handler will have a signature of:
func(client kubernetes.Clientset, name string, namespace string) ([]ContainerSpec)
func ScanContainer ¶
func ScanContainer(setup *VerificationSetup, imageName string) error
ScanDefinition scans the provided resource definition.
Types ¶
type ContainerSpec ¶
A small helper struct to hold container image information
func ResolvePod ¶
func ResolvePod(client *kubernetes.Clientset, name string, namespace string) []ContainerSpec
Click to show internal directories.
Click to hide internal directories.