Documentation ¶
Index ¶
- Variables
- func GetCurrentProjectID() (string, error)
- type FileEntry
- type GCPbucket
- func (b *GCPbucket) BucketCreate(bucketName string) error
- func (b *GCPbucket) BucketExists(bucketName string) bool
- func (b *GCPbucket) BucketRemove(bucketName string) error
- func (b *GCPbucket) FileRead(filePath string) (*[]byte, time.Time, string, error)
- func (b *GCPbucket) FileStat(filePath string) (*FileEntry, error)
- func (b *GCPbucket) FileStatDump(filePath string)
- func (b *GCPbucket) FileWrite(filePath string, data *[]byte) error
- func (b *GCPbucket) FileWriteWithTimeStamp(filePath string, data *[]byte, ti time.Time) error
- func (b *GCPbucket) ListDirFiles(dirName string, startIx int) (*[]FileEntry, error)
- func (b *GCPbucket) ListFiles(dirName string, startIx int) (*[]FileEntry, error)
- func (b *GCPbucket) ListRoot() *[]FileEntry
- func (b *GCPbucket) SetUniformAccess(enabled bool) error
- type GCPclient
Constants ¶
This section is empty.
Variables ¶
View Source
var FileLocation = "eu"
FileLocation #default eu
Functions ¶
Types ¶
type FileEntry ¶
type FileEntry struct { FileName string `json:"filename"` Size int `json:"size"` FTime int64 `json:"ftime"` }
FileEntry #
type GCPbucket ¶
type GCPbucket struct {
// contains filtered or unexported fields
}
GCPbucket #
func (*GCPbucket) BucketCreate ¶
BucketCreate #
func (*GCPbucket) BucketExists ¶
BucketExists #
func (*GCPbucket) BucketRemove ¶
BucketRemove #
func (*GCPbucket) FileWriteWithTimeStamp ¶
FileWriteWithTimeStamp #
func (*GCPbucket) ListDirFiles ¶
ListDirFiles # listen NUR files in Dir
func (*GCPbucket) SetUniformAccess ¶ added in v1.9.12
SetUniformAccess #einheitlichwer zugriff auf bucketebene
Click to show internal directories.
Click to hide internal directories.