cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2017 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "kubeaudit",
	Short: "A Kubernetes security auditor",
	Long: `kubeaudit is a program that will help you audit
your Kubernetes clusters. Specify -l to run kubeaudit using ~/.kube/config
otherwise it will attempt to create an in-cluster client.

#patcheswelcome`,
}

Functions

func Execute

func Execute()

Types

type DebugHook

type DebugHook struct{}

func NewDebugHook

func NewDebugHook() *DebugHook

func (*DebugHook) Fire

func (hook *DebugHook) Fire(entry *logrus.Entry) error

func (*DebugHook) Levels

func (hook *DebugHook) Levels() []logrus.Level

type Items

type Items interface {
	Iter() []interface{}
}

type Result

type Result struct {
	// contains filtered or unexported fields
}

func ServiceAccountIter

func ServiceAccountIter(t interface{}) (result *Result)

Jump to

Keyboard shortcuts

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