Documentation ¶
Index ¶
Constants ¶
View Source
const DIGITALOCEAN_REPLACE_TARGET_FOR_TEAM = "sfo3.digitaloceanspaces.com/"
View Source
const TEAM_FOLDER_PREFIX = "team-"
View Source
const TEAM_ICON_FOLDER = "/icon"
View Source
const TEAM_SPACE_FOLDER = "/team"
View Source
const TEAM_SYSTEM_FOLDER = "/system"
Variables ¶
This section is empty.
Functions ¶
func FormatTeamIconURL ¶
Types ¶
type Drive ¶
type Drive struct { SystemDriveS3Instance S3Instance TeamDriveS3Instance S3Instance // contains filtered or unexported fields }
func NewDrive ¶
func NewDrive(teamDriveS3Instance S3Instance, logger *zap.SugaredLogger) *Drive
type S3Instance ¶
type TeamDrive ¶
type TeamDrive struct { UID uuid.UUID `json:"uid"` Drive S3Instance `json:"-"` TeamSystemFolder string `json:"teamsystemfolder"` TeamSpaceFolder string `json:"teamspacefolder"` }
func NewTeamDrive ¶
func (*TeamDrive) GetAIAgentIconUploadPreSignedURL ¶
func (*TeamDrive) GetIconUploadPreSignedURL ¶
Click to show internal directories.
Click to hide internal directories.