command

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrPolicyFailure = errors.New("check failed")

Functions

func Check

func Check(app clio.Application) *cobra.Command

func List

func List(app clio.Application) *cobra.Command

func Root

func Root(app clio.Application) *cobra.Command

Types

type CheckConfig

type CheckConfig struct {
	Config       string `json:"config" yaml:"config" mapstructure:"config"`
	option.Check `json:"" yaml:",inline" mapstructure:",squash"`
}

func (*CheckConfig) RulesFromConfig

func (cfg *CheckConfig) RulesFromConfig() (rules grant.Rules, err error)

type ListConfig

type ListConfig struct {
	Config      string `json:"config" yaml:"config" mapstructure:"config"`
	option.List `json:"" yaml:",inline" mapstructure:",squash"`
}

Jump to

Keyboard shortcuts

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