Documentation
¶
Index ¶
- Constants
- Variables
- type CUSTOMBROWSER_TABLE_COLUMN_TYPE
- type CUSTOMBROWSER_TYPE
- type CustomBrowserDefinition
- type CustomBrowserExportFunction
- type CustomBrowserExtraTableTaskingInput
- type CustomBrowserRowAction
- type CustomBrowserTableColumn
- type ExportFunctionMessage
- type ExportFunctionMessageResponse
Constants ¶
View Source
const ( CUSTOMBROWSER_TABLE_COLUMN_TYPE_STRING = "string" CUSTOMBROWSER_TABLE_COLUMN_TYPE_NUMBER = "number" CUSTOMBROWSER_TABLE_COLUMN_TYPE_DATE = "date" CUSTOMBROWSER_TABLE_COLUMN_TYPE_SIZE = "size" )
View Source
const (
CUSTOMBROWSER_TYPE_FILE = "file"
)
Variables ¶
View Source
var (
AllCustomBrowserData containerCustomBrowserData
)
Functions ¶
This section is empty.
Types ¶
type CUSTOMBROWSER_TABLE_COLUMN_TYPE ¶
type CUSTOMBROWSER_TABLE_COLUMN_TYPE string
type CUSTOMBROWSER_TYPE ¶
type CUSTOMBROWSER_TYPE string
type CustomBrowserDefinition ¶
type CustomBrowserDefinition struct {
Name string `json:"name"`
Description string `json:"description"`
Author string `json:"author"`
SemVer string `json:"semver"`
Type CUSTOMBROWSER_TYPE `json:"type"`
PathSeparator string `json:"separator"`
Columns []CustomBrowserTableColumn `json:"columns"`
DefaultVisibleColumns []string `json:"default_visible_columns"`
IndicatePartialListingInUI bool `json:"indicate_partial_listing"`
ShowCurrentPathAboveTable bool `json:"show_current_path"`
RowActions []CustomBrowserRowAction `json:"row_actions"`
ExtraTableTaskingInputs []CustomBrowserExtraTableTaskingInput `json:"extra_table_inputs"`
ExportFunction CustomBrowserExportFunction `json:"export_function"`
OnContainerStartFunction func(sharedStructs.ContainerOnStartMessage) sharedStructs.ContainerOnStartMessageResponse `json:"-"`
}
type CustomBrowserExportFunction ¶
type CustomBrowserExportFunction func(message ExportFunctionMessage) ExportFunctionMessageResponse
func (CustomBrowserExportFunction) MarshalJSON ¶
func (f CustomBrowserExportFunction) MarshalJSON() ([]byte, error)
type CustomBrowserRowAction ¶
type CustomBrowserRowAction struct {
Name string `json:"name"`
UIFeature string `json:"ui_feature"`
Icon string `json:"icon"`
Color string `json:"color"`
SupportsFile bool `json:"supports_file"`
SupportsFolder bool `json:"supports_folder"`
OpenDialog bool `json:"openDialog"`
GetConfirmation bool `json:"getConfirmation"`
}
type CustomBrowserTableColumn ¶
type CustomBrowserTableColumn struct {
Key string `json:"key"`
Name string `json:"name"`
FillWidth bool `json:"fillWidth"`
Width int64 `json:"width"`
DisableSort bool `json:"disableSort"`
DisableDoubleClick bool `json:"disableDoubleClick"`
DisableFilterMenu bool `json:"disableFilterMenu"`
Type CUSTOMBROWSER_TABLE_COLUMN_TYPE `json:"type"`
}
type ExportFunctionMessage ¶
type ExportFunctionMessage struct {
TreeType string `json:"tree_type"`
ContainerName string `json:"container_name"`
Host string `json:"host"`
Path string `json:"path"`
OperationID int `json:"operation_id"`
OperatorID int `json:"operator_id"`
OperatorUsername string `json:"operator_username"`
CallbackGroup string `json:"callback_group"`
}
Click to show internal directories.
Click to hide internal directories.