Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewRegistryConfig ¶
type PolicyProvider ¶
type PolicyProvider struct {
// contains filtered or unexported fields
}
PolicyProvider represents an external policy provider
type ProviderResponse ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry manages policy providers
func NewRegistry ¶
func NewRegistry(conf ...*NewRegistryConfig) (*Registry, error)
func (*Registry) DefaultProvider ¶
func (r *Registry) DefaultProvider() *PolicyProvider
func (*Registry) GetProvider ¶
func (r *Registry) GetProvider(name string) *PolicyProvider
Click to show internal directories.
Click to hide internal directories.