policy

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2025 License: BSD-3-Clause-Clear Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AttributeValuesCmd *cobra.Command
View Source
var (
	AttributesCmd = man.Docs.GetCommand("policy/attributes")
)
View Source
var (
	Cmd = &cobra.Command{
		Use:   man.Docs.GetDoc("policy").Use,
		Short: man.Docs.GetDoc("policy").Short,
		Long:  man.Docs.GetDoc("policy").Long,
	}
)
View Source
var (
	KasRegistryCmd = man.Docs.GetCommand("policy/kas-registry")
)
View Source
var KeyManagementCmd = man.Docs.GetCommand("policy/key-management")

KeyManagementCmd is the command for managing keys

View Source
var (
	NamespacesCmd = man.Docs.GetCommand("policy/attributes/namespaces")
)

Functions

func InitCommands

func InitCommands()

Types

type TriggerRequest

type TriggerRequest struct {
	Action         string                 `json:"action"`
	AttributeValue string                 `json:"attribute_value"`
	Context        *policy.RequestContext `json:"context,omitempty"`
}

TriggerRequest represents the JSON structure for a trigger

Jump to

Keyboard shortcuts

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