gatekeeper

package
v0.0.0-...-bca5c2c Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gatekeeper

type Gatekeeper struct {
	Config *config.Config
	Logger log.Logger

	K8sClient           kubernetes.Interface
	GatekeeperK8sClient gatekeeperclientset.Interface
}

func Get

func Get(c *config.Config, out io.Writer) (*Gatekeeper, error)

func NewGatekeeper

func NewGatekeeper(logger log.Logger, config *config.Config, k8sClient kubernetes.Interface, gatekeeperK8sClient gatekeeperclientset.Interface) (*Gatekeeper, error)

func (*Gatekeeper) RunPolicies

func (g *Gatekeeper) RunPolicies(ctx context.Context) error

RunPolicies executes the status command of the CLI

Jump to

Keyboard shortcuts

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