controls

package
v0.0.0-...-e7e5610 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const AllBenchmarks = "all"

Variables

This section is empty.

Functions

func NewProfileHelper

func NewProfileHelper(kuser common.KubeClientUser, name string, streams genericclioptions.IOStreams, b string) common.ObjectHelper

Types

type BenchMarkCtrlsMapping

type BenchMarkCtrlsMapping map[string]CtrlRulesMapping

type ControlsContext

type ControlsContext struct {
	common.CommandContext
	Benchmark string
}

func NewControlsContext

func NewControlsContext(streams genericclioptions.IOStreams) *ControlsContext

func (*ControlsContext) Run

func (o *ControlsContext) Run() error

func (*ControlsContext) Validate

func (o *ControlsContext) Validate() error

Validate ensures that all required arguments and flag values are provided

type CtrlRulesMapping

type CtrlRulesMapping map[string]RulesList

type ProfileHelper

type ProfileHelper struct {
	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

func (*ProfileHelper) Handle

func (h *ProfileHelper) Handle() error

type RulesList

type RulesList []string

Jump to

Keyboard shortcuts

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