in_toto

package
v0.0.0-...-7d09744 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2019 License: MIT Imports: 6 Imported by: 0

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

type ContainerSpec struct {
	Imagename string
	ImageID   string
}

A small helper struct to hold container image information

func ResolvePod

func ResolvePod(client *kubernetes.Clientset, name string, namespace string) []ContainerSpec

type VerificationSetup

type VerificationSetup struct {
	TargetType string
	Name       string
	KeyPath    string
	LayoutPath string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL