Documentation
¶
Index ¶
- Variables
- func PasswordFromPID(pid uint32) (string, uint32)
- func S3ObjectSize(bucket, key string) (uint64, error)
- func S3StatObject(bucket, key string) (minio.ObjectInfo, error)
- func VerifyObjectPermission(ownerPID, accessorPID uint32, permission *datastore_types.DataStorePermission) uint32
- type S3Presigner
Constants ¶
This section is empty.
Variables ¶
View Source
var AuthenticationServer *nex.Server
View Source
var GRPCAccountClient pb.AccountClient
View Source
var GRPCAccountClientConnection *grpc.ClientConn
View Source
var GRPCAccountCommonMetadata metadata.MD
View Source
var KerberosPassword = "password" // * Default password
View Source
var Logger = plogger.NewLogger()
View Source
var MinIOClient *minio.Client
View Source
var SecureServer *nex.Server
Functions ¶
func PasswordFromPID ¶
func S3ObjectSize ¶
func S3StatObject ¶
func VerifyObjectPermission ¶
func VerifyObjectPermission(ownerPID, accessorPID uint32, permission *datastore_types.DataStorePermission) uint32
Types ¶
type S3Presigner ¶
type S3Presigner struct {
// contains filtered or unexported fields
}
var Presigner *S3Presigner
func NewS3Presigner ¶
func NewS3Presigner(minioClient *minio.Client) *S3Presigner
Click to show internal directories.
Click to hide internal directories.