package
Version:
v1.110.0
Opens a new window with list of versions in this module.
Published: Jun 27, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
type Policy struct {
Name string `json:"name,omitempty" yaml:"name,omitempty"`
Description string `json:"description,omitempty" yaml:"description,omitempty"`
Action string `json:"action" yaml:"action"`
Resource string `json:"resource" yaml:"resource"`
}
type Role struct {
ID string `json:"id" yaml:"id"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
Description string `json:"description,omitempty" yaml:"description,omitempty"`
Allow []Policy `json:"allow" yaml:"allow"`
Deny []Policy `json:"deny" yaml:"deny"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.