Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type View ¶
type View struct {
ID string `db:"id" json:"id"`
UserID string `db:"user_id" json:"user_id"`
CodebaseID string `db:"codebase_id" json:"codebase_id"`
// Deprecated in favour for workspace.ViewID
// TODO: Make nulllable, migrate, and delete?
WorkspaceID string `db:"workspace_id" json:"workspace_id"`
// Deprecated: use MountPath and MountHostname instead
Name *string `db:"name" json:"name"`
MountPath *string `db:"mount_path" json:"mount_path"`
MountHostname *string `db:"mount_hostname" json:"mount_hostname"`
// When the view was last used by a fuse-client
LastUsedAt *time.Time `db:"last_used_at" json:"last_used_at"`
CreatedAt *time.Time `db:"created_at" json:"created_at"`
}
type ViewWithMetadataJSON ¶
type ViewWithMetadataJSON struct {
ViewJSON
ViewWorkspaceMeta ViewWorkspaceMeta `json:"workspace"`
User author.Author `json:"user"`
}
type ViewWorkspaceMeta ¶
Click to show internal directories.
Click to hide internal directories.