advisor

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Advisor

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

func NewAdvisor

func NewAdvisor(kubeconfig string) (*Advisor, error)

Create an podSecurityPolicy advisor instance

func (*Advisor) GetPodSecurityPolicy

func (advisor *Advisor) GetPodSecurityPolicy() *v1beta1.PodSecurityPolicy

func (*Advisor) PrintPodSecurityPolicy

func (advisor *Advisor) PrintPodSecurityPolicy() error

func (*Advisor) PrintPodSecurityPolicyWithGrants added in v1.2.0

func (advisor *Advisor) PrintPodSecurityPolicyWithGrants() error

func (*Advisor) PrintReport

func (advisor *Advisor) PrintReport()

func (*Advisor) Process

func (advisor *Advisor) Process(namespace string, excludeNamespaces []string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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