Documentation ¶
Index ¶
Constants ¶
View Source
const ( CheckUnknown checkType = iota CheckDecision )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizerCmd ¶
type AuthorizerCmd struct { CheckDecision EvalCmd `cmd:"" name:"eval" help:"evaluate policy decision"` ExecQuery QueryCmd `cmd:"" name:"query" help:"execute query"` DecisionTree DecisionTreeCmd `cmd:"" name:"decisiontree" help:"get decision tree"` Get GetCmd `cmd:"" help:"get policy"` List ListCmd `cmd:"" help:"list policy"` Test TestCmd `cmd:"" help:"execute authorizer assertions"` }
type DecisionTreeCmd ¶ added in v0.32.4
type EvalCmd ¶ added in v0.32.4
type GetCmd ¶ added in v0.32.12
type GetCmd struct {
Policy GetPolicyCmd `cmd:"" help:"get policy"`
}
type GetPolicyCmd ¶ added in v0.32.4
type GetPolicyCmd struct { Request string `` /* 128-byte string literal not displayed */ Template bool `name:"template" short:"t" help:"prints a check permission request template on stdout"` Editor bool `name:"edit" short:"e" help:"edit request" hidden:"" type:"fflag.Editor"` Raw bool `name:"raw" help:"return raw request output"` azc.Config }
type ListCmd ¶ added in v0.32.12
type ListCmd struct {
Policies ListPoliciesCmd `cmd:"" help:"list policies"`
}
type ListPoliciesCmd ¶ added in v0.32.4
type ListPoliciesCmd struct { Request string `arg:"" type:"string" name:"request" optional:"" help:"json request or file path to list request or '-' to read from stdin"` Template bool `name:"template" short:"t" help:"prints a check permission request template on stdout"` Editor bool `name:"edit" short:"e" help:"edit request" hidden:"" type:"fflag.Editor"` Raw bool `name:"raw" help:"return raw request output"` azc.Config }
type QueryCmd ¶ added in v0.32.4
type TestCmd ¶
type TestCmd struct { Exec TestExecCmd `cmd:"" help:"execute assertions"` Template TestTemplateCmd `cmd:"" help:"output assertions template"` }
type TestExecCmd ¶
type TestExecCmd struct { File string `arg:"" default:"assertions.json" help:"filepath to assertions file"` NoColor bool `flag:"" default:"false" help:"disable colorized output"` Summary bool `flag:"" default:"false" help:"display test summary"` azc.Config // contains filtered or unexported fields }
type TestTemplateCmd ¶
type TestTemplateCmd struct {
Pretty bool `flag:"" default:"false" help:"pretty print JSON"`
}
Click to show internal directories.
Click to hide internal directories.