app

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(opt *ServerOption) error

Run creates the Kubebench controller and starts the server

Types

type ServerOption

type ServerOption struct {
	Kubeconfig  string
	Config      string
	Namespace   string
	Threadiness int
}

ServerOption is the main options for the controller.

func NewServerOption

func NewServerOption() *ServerOption

NewServerOption creates a new ServerOption

func (*ServerOption) AddFlags

func (opt *ServerOption) AddFlags(fs *flag.FlagSet)

AddFlags adds flags to the specified FlagSet.

Jump to

Keyboard shortcuts

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