Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StaticChecker ¶
type StaticChecker struct {
// contains filtered or unexported fields
}
StaticChecker checks against a static list.
func New ¶
func New(ctx context.Context, config *core.Permissions) (*StaticChecker, error)
New creates a new static checker.
func (*StaticChecker) Check ¶
func (c *StaticChecker) Check(ctx context.Context, credentials *checker.Credentials, account string, operation string) bool
Check checks the client to see if the account is allowed.
Click to show internal directories.
Click to hide internal directories.