authorizer

package
v0.33.28 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: Apache-2.0 Imports: 17 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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(ctx context.Context) error

type EvalCmd

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

func (*EvalCmd) Run

func (cmd *EvalCmd) Run(ctx context.Context) 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(ctx context.Context) 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(ctx context.Context) error

type QueryCmd

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

func (*QueryCmd) Run

func (cmd *QueryCmd) Run(ctx context.Context) 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(ctx context.Context) error

type TestTemplateCmd

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

func (*TestTemplateCmd) Run

func (cmd *TestTemplateCmd) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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