Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filters ¶
type Filters struct { Name []string `help:"Filter policies by name"` NameRegexp string `help:"Filter policies by name, using regular expression"` Version []string `help:"Filter policies by version"` VersionRegexp string `help:"Filter policies by version, using regular expression"` ScopeRegexp string `help:"Filter policies by scope, using regular expression"` IncludeDisabled bool `help:"Include disabled policies"` }
type Format ¶
type Format struct { Output OutputFormat `short:"o" default:"" help:"Output format for the policies; json, yaml, prettyjson formats are supported"` NoHeaders bool `help:"Do not output headers"` }
type OutputFormat ¶ added in v0.14.0
type OutputFormat string
const ( OutputFormatNone OutputFormat = "" OutputFormatJSON OutputFormat = "json" OutputFormatYAML OutputFormat = "yaml" OutputFormatPrettyJSON OutputFormat = "prettyjson" )
Click to show internal directories.
Click to hide internal directories.