Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataSource ¶
type DataSource struct {
// contains filtered or unexported fields
}
DataSource is an implementation of authz.DataSource It sources additional data for the policy engine from the local filesystem
func DataSourceFromPath ¶
func DataSourceFromPath(path string) *DataSource
DataSourceFromPath builds an instance of *DataSource which reads the provided path and parses it as JSON on calls to Get
type PolicySource ¶
type PolicySource struct {
// contains filtered or unexported fields
}
PolicySource is an implementation of authz.PolicySource It sources policy definitions from the location filesystem
func PolicySourceFromPath ¶
func PolicySourceFromPath(path string) *PolicySource
PolicySourceFromPath builds an instance pof *PolicySourceFromPath which reads the provided path and returns the located policy
Click to show internal directories.
Click to hide internal directories.