discover

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2017 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Clientset talks to kubernetes API

Functions

func GetAllCronJobFromApi

func GetAllCronJobFromApi() []v2alpha1.CronJob

func GetAllDaemonSetFromApi added in v1.0.2

func GetAllDaemonSetFromApi() []v1beta1.DaemonSet

func GetAllDeployFromApi

func GetAllDeployFromApi() []v1beta1.Deployment

func GetAllIngressFromApi

func GetAllIngressFromApi() []v1beta1.Ingress

func GetAllJobFromApi

func GetAllJobFromApi() []batch.Job

func GetAllNamespaceFromApi added in v1.0.2

func GetAllNamespaceFromApi() []v1.Namespace

func GetAllPodsFromApi

func GetAllPodsFromApi() []v1.Pod

func GetBadContainers

func GetBadContainers(namespace string, entityType string, spec v1.PodSpec, entity *lib.ViolatableEntity)

GetBadContainers Gets Containers with invalid size, invalid repo, or cababilities/privileged

func GetBadCronJobs

func GetBadCronJobs(allCronJobs []v2alpha1.CronJob, sendToBroker bool) []lib.CronJob

func GetBadDaemonSets added in v1.0.2

func GetBadDaemonSets(theDaemonSets []v1beta1.DaemonSet, sendToBroker bool) []lib.DaemonSet

func GetBadDeploys

func GetBadDeploys(theDeploys []v1beta1.Deployment, sendToBroker bool) []lib.Deployment

func GetBadIngresses

func GetBadIngresses(allIngresses []v1beta1.Ingress, sendToBroker bool) []lib.Ingress

func GetBadJobs

func GetBadJobs(allJobs []batch.Job, sendToBroker bool) []lib.Job

func GetBadNamespaces added in v1.0.0

func GetBadNamespaces(theNamespaces []v1.Namespace, sendToBroker bool) []lib.Namespace

func GetBadPods

func GetBadPods(allPods []v1.Pod, sendToBroker bool) []lib.Pod

Types

This section is empty.

Jump to

Keyboard shortcuts

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