acl

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Target_name = map[int32]string{
	0: "Unknown",
	1: "User",
	2: "System",
	3: "Others",
	4: "PubKey",
}
View Source
var Target_value = map[string]int32{
	"Unknown": 0,
	"User":    1,
	"System":  2,
	"Others":  3,
	"PubKey":  4,
}

Functions

This section is empty.

Types

type Target

type Target int32

Target of the access control rule in access control list.

const (
	// Unknown target, default value.
	Target_Unknown Target = 0
	// User target rule is applied if sender is the owner of the container.
	Target_User Target = 1
	// System target rule is applied if sender is the storage node within the
	// container or inner ring node.
	Target_System Target = 2
	// Others target rule is applied if sender is not user or system target.
	Target_Others Target = 3
	// PubKey target rule is applied if sender has public key provided in
	// extended ACL.
	Target_PubKey Target = 4
)

func (Target) EnumDescriptor

func (Target) EnumDescriptor() ([]byte, []int)

func (Target) String

func (x Target) String() string

Jump to

Keyboard shortcuts

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