types

package
v0.0.1-beta Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrDenied access denied
	ErrDenied = errors.New("access denied")

	// ErrInvalidArgs invalid arguments provided
	ErrInvalidArgs = errors.New("invalid arguments")

	// ErrUnknownProvider if provider is unknown
	ErrUnknownProvider = errors.New("Unknown provider")

	// ErrAlreadyExists object already exists
	ErrAlreadyExists = errors.New("Already exists")

	// ErrNotFound object not found
	ErrNotFound = errors.New("Not found")

	// ErrNotOpen storage is not open
	ErrNotOpen = errors.New("not open")

	// ErrInternal something bad happened
	ErrInternal = errors.New("internal error")
)

Functions

This section is empty.

Types

type AccessType

type AccessType int

AccessType acl type

const (
	// AuthAccessTypeRead read access
	AuthAccessTypeRead AccessType = 1
	// AuthAccessTypeWrite write access
	AuthAccessTypeWrite = 2
)

func (AccessType) Type

func (t AccessType) Type() string

Type return string representation of the type

Jump to

Keyboard shortcuts

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