common

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OSSFullAccess = "oss_full_access"
	OSSReadOnly   = "oss_read_only"
)

Variables

View Source
var ErrAccessKeyNotExist = errors.New("Access key does not exist")

Functions

This section is empty.

Types

type Credential

type Credential struct {
	// UserId               string
	ExternUserId         string
	ExternRootId         string
	ExternRootName       string
	DisplayName          string
	AccessKeyID          string
	SecretAccessKey      string
	Policy               *policy.Policy
	AllowOtherUserAccess bool
}

credential container for access and secret keys.

func (Credential) String

func (a Credential) String() string

Jump to

Keyboard shortcuts

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