Documentation ¶
Overview ¶
Package pipinfile defines the implementations of the Policy Information Point output adapters to read information from files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionCollection ¶
type ActionCollection struct {
Actions []string `yaml:"actions"`
}
ActionCollection group of actions.
type DefaultRBACActionsPolicyInformationPointYAMLOutputAdapter ¶
type DefaultRBACActionsPolicyInformationPointYAMLOutputAdapter struct {
// contains filtered or unexported fields
}
DefaultRBACActionsPolicyInformationPointYAMLOutputAdapter is a port to adapt requests related to the Actions
func ProvideDefaultRBACActionsPolicyInformationPointYAMLOutputAdapter ¶
func ProvideDefaultRBACActionsPolicyInformationPointYAMLOutputAdapter(options DefaultRBACActionsPolicyInformationPointYAMLOutputAdapterOptions) (*DefaultRBACActionsPolicyInformationPointYAMLOutputAdapter, error)
ProvideDefaultRBACActionsPolicyInformationPointYAMLOutputAdapter provides an instance of an DefaultRBACActionsPolicyInformationPointYAMLOutputAdapter
func (DefaultRBACActionsPolicyInformationPointYAMLOutputAdapter) ListActions ¶
func (d DefaultRBACActionsPolicyInformationPointYAMLOutputAdapter) ListActions(_ context.Context, input pdp.ListActionsInput) (*pdp.ListActionsOutput, error)
ListActions list the Actions assigned to the given roles
type DefaultRBACActionsPolicyInformationPointYAMLOutputAdapterOptions ¶
type DefaultRBACActionsPolicyInformationPointYAMLOutputAdapterOptions struct { FileSystem fs.FS BasePath string }
DefaultRBACActionsPolicyInformationPointYAMLOutputAdapterOptions are the set of fields to create an DefaultRBACActionsPolicyInformationPointYAMLOutputAdapter
type Permission ¶
type Permission struct { // ID identifier of the permission. ID string `yaml:"id"` // Description of the permission. Description string `yaml:"description"` // Actions group of actions the permission grants access to. Actions []string `yaml:"actions"` }
Permission contains a set of actions.
type PermissionCollection ¶
type PermissionCollection struct {
Permissions []Permission `yaml:"permissions"`
}
PermissionCollection group of Permission.