mock

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockChecker

type MockChecker struct{}

MockChecker returns true all clients and accounts except those that start with "Deny".

func New

func New() (*MockChecker, error)

New creates a new mock checker.

func (*MockChecker) Check

func (c *MockChecker) Check(ctx context.Context, credentials *checker.Credentials, account string, operation string) bool

Check returns true.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL