authorizer

package
v0.33.11 Latest Latest
Warning

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

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

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

type DecisionTreeCmd struct {
	clients.RequestArgs
	azc.Config
	// contains filtered or unexported fields
}

func (*DecisionTreeCmd) Run

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

type EvalCmd

type EvalCmd struct {
	clients.RequestArgs
	azc.Config
	// contains filtered or unexported fields
}

func (*EvalCmd) Run

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

type GetCmd

type GetCmd struct {
	Policy GetPolicyCmd `cmd:"" help:"get policy"`
}

type GetPolicyCmd

type GetPolicyCmd struct {
	clients.RequestArgs
	azc.Config

	Raw bool `name:"raw" help:"return raw request output"`
	// contains filtered or unexported fields
}

func (*GetPolicyCmd) Run

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

type ListCmd

type ListCmd struct {
	Policies ListPoliciesCmd `cmd:"" help:"list policies"`
}

type ListPoliciesCmd

type ListPoliciesCmd struct {
	clients.RequestArgs
	azc.Config

	Raw bool `name:"raw" help:"return raw request output"`
	// contains filtered or unexported fields
}

func (*ListPoliciesCmd) Run

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

type QueryCmd

type QueryCmd struct {
	clients.RequestArgs
	azc.Config
	// contains filtered or unexported fields
}

func (*QueryCmd) Run

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