custombrowserstructs

package
v1.7.0-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2026 License: BSD-3-Clause Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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"`
	DisplayName                string                                `json:"display_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(context.Context, sharedStructs.ContainerOnStartMessage) sharedStructs.ContainerOnStartMessageResponse `json:"-"`
}

type CustomBrowserExportFunction

type CustomBrowserExportFunction func(context.Context, ExportFunctionMessage) ExportFunctionMessageResponse

func (CustomBrowserExportFunction) MarshalJSON

func (f CustomBrowserExportFunction) MarshalJSON() ([]byte, error)

type CustomBrowserExtraTableTaskingInput

type CustomBrowserExtraTableTaskingInput struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	DisplayName string `json:"display_name"`
	Required    bool   `json:"required"`
}

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"`
}

type ExportFunctionMessageResponse

type ExportFunctionMessageResponse struct {
	Success           bool   `json:"success"`
	Error             string `json:"error"`
	CompletionMessage string `json:"completion_message"`
	OperationID       int    `json:"operation_id"`
	TreeType          string `json:"tree_type"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL