Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotImplemented = errors.New("chef authorization not implemented")
Functions ¶
This section is empty.
Types ¶
type ACL ¶
type ACL struct {
Create Permission `json:"create"`
Read Permission `json:"read"`
Update Permission `json:"update"`
Delete Permission `json:"delete"`
Grant Permission `json:"grant"`
}
type ACLAuthorizer ¶
type ACLAuthorizer struct {
// contains filtered or unexported fields
}
func NewACLAuthorizer ¶
func NewACLAuthorizer(resolver ACLResolver) ACLAuthorizer
func (ACLAuthorizer) Name ¶
func (ACLAuthorizer) Name() string
type ACLResolver ¶
type Authorizer ¶
type NoopAuthorizer ¶
type NoopAuthorizer struct{}
func (NoopAuthorizer) Name ¶
func (NoopAuthorizer) Name() string
type Permission ¶
Click to show internal directories.
Click to hide internal directories.