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 ¶
Click to show internal directories.
Click to hide internal directories.