authorizer

package
v0.32.36 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 21 Imported by: 1

Documentation

Index

Constants

This section is empty.

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 DecisionTreeCmd struct {
	Request  string `` /* 131-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"`
	azc.Config
}

func (*DecisionTreeCmd) Run added in v0.32.4

func (cmd *DecisionTreeCmd) Run(c *cc.CommonCtx) error

type EvalCmd added in v0.32.4

type EvalCmd struct {
	Request  string `` /* 129-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"`
	azc.Config
}

func (*EvalCmd) Run added in v0.32.4

func (cmd *EvalCmd) Run(c *cc.CommonCtx) error

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
}

func (*GetPolicyCmd) Run added in v0.32.4

func (cmd *GetPolicyCmd) Run(c *cc.CommonCtx) error

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
}

func (*ListPoliciesCmd) Run added in v0.32.4

func (cmd *ListPoliciesCmd) Run(c *cc.CommonCtx) error

type QueryCmd added in v0.32.4

type QueryCmd struct {
	Request  string `` /* 134-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"`
	azc.Config
}

func (*QueryCmd) Run added in v0.32.4

func (cmd *QueryCmd) Run(c *cc.CommonCtx) error

type TestCmd

type TestCmd struct {
	Exec     TestExecCmd     `cmd:"" help:"execute assertions"`
	Template TestTemplateCmd `cmd:"" help:"output assertions template"`
}

type TestExecCmd

type TestExecCmd struct {
	common.TestExecCmd
	azc.Config
}

func (*TestExecCmd) Run

func (cmd *TestExecCmd) Run(c *cc.CommonCtx) error

type TestTemplateCmd

type TestTemplateCmd struct {
	Pretty bool `flag:"" default:"false" help:"pretty print JSON"`
}

func (*TestTemplateCmd) Run

func (cmd *TestTemplateCmd) Run(c *cc.CommonCtx) error

Jump to

Keyboard shortcuts

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