Help us shape the future of Go! Take the 2026 Go Developer Survey

datasource

package
v0.1.57 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

View Source
const Name = "ui/datasource"

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandOutput

type CommandOutput struct {
	OperationRevision uint32                     `json:"operationRevision,omitempty"`
	Resource          *identity.ResolvedResource `json:"resource,omitempty"`
	ClientID          string                     `json:"clientId,omitempty"`
	OK                bool                       `json:"ok,omitempty"`
	Error             string                     `json:"error,omitempty"`
}

type ListInput

type ListInput struct {
	Target    *types.WindowTarget        `json:"target,omitempty"`
	Resource  *identity.ResolvedResource `json:"resource,omitempty"`
	ClientID  string                     `json:"clientId,omitempty"`
	WindowID  string                     `json:"windowId,omitempty"`
	WindowKey string                     `json:"windowKey,omitempty"`
}

type ListOutput

type ListOutput struct {
	Resource       *identity.ResolvedResource `json:"resource,omitempty"`
	ClientID       string                     `json:"clientId,omitempty"`
	WindowID       string                     `json:"windowId,omitempty"`
	WindowKey      string                     `json:"windowKey,omitempty"`
	DataSourceRefs []string                   `json:"dataSourceRefs,omitempty"`
}

type PeekInput

type PeekInput struct {
	Target        *types.WindowTarget        `json:"target,omitempty"`
	Resource      *identity.ResolvedResource `json:"resource,omitempty"`
	ClientID      string                     `json:"clientId,omitempty"`
	WindowID      string                     `json:"windowId,omitempty"`
	WindowKey     string                     `json:"windowKey,omitempty"`
	DataSourceRef string                     `json:"dataSourceRef"`
}

type PeekOutput

type PeekOutput struct {
	ReadRedacted  bool                       `json:"readRedacted,omitempty"`
	ReadTruncated bool                       `json:"readTruncated,omitempty"`
	Resource      *identity.ResolvedResource `json:"resource,omitempty"`
	ClientID      string                     `json:"clientId,omitempty"`
	WindowID      string                     `json:"windowId,omitempty"`
	WindowKey     string                     `json:"windowKey,omitempty"`
	DataSourceRef string                     `json:"dataSourceRef,omitempty"`
	Snapshot      *uireg.DataSourceSnapshot  `json:"snapshot,omitempty"`
}

type RefreshInput

type RefreshInput struct {
	ExpectedRevision *uint32                    `json:"expectedRevision,omitempty"`
	Target           *types.WindowTarget        `json:"target,omitempty"`
	Resource         *identity.ResolvedResource `json:"resource,omitempty"`
	ClientID         string                     `json:"clientId,omitempty"`
	WindowID         string                     `json:"windowId,omitempty"`
	WindowKey        string                     `json:"windowKey,omitempty"`
	DataSourceRef    string                     `json:"dataSourceRef,omitempty"`
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func New(bridge *forgeuisvc.Service) *Service

func (*Service) Method

func (s *Service) Method(name string) (svc.Executable, error)

func (*Service) Methods

func (s *Service) Methods() svc.Signatures

func (*Service) Name

func (s *Service) Name() string

type SetSelectionInput added in v0.1.37

type SetSelectionInput struct {
	ExpectedRevision *uint32                    `json:"expectedRevision,omitempty"`
	ControlID        string                     `json:"controlId,omitempty"`
	Target           *types.WindowTarget        `json:"target,omitempty"`
	Resource         *identity.ResolvedResource `json:"resource,omitempty"`
	ClientID         string                     `json:"clientId,omitempty"`
	WindowID         string                     `json:"windowId,omitempty"`
	WindowKey        string                     `json:"windowKey,omitempty"`
	DataSourceRef    string                     `json:"dataSourceRef"`
	IdentityFields   []string                   `json:"identityFields,omitempty"`
	Identities       []interface{}              `json:"identities"`
}

type SetSelectionOutput added in v0.1.37

type SetSelectionOutput struct {
	OperationRevision  uint32                     `json:"operationRevision,omitempty"`
	Resource           *identity.ResolvedResource `json:"resource,omitempty"`
	ClientID           string                     `json:"clientId,omitempty"`
	WindowID           string                     `json:"windowId,omitempty"`
	WindowKey          string                     `json:"windowKey,omitempty"`
	DataSourceRef      string                     `json:"dataSourceRef,omitempty"`
	OK                 bool                       `json:"ok,omitempty"`
	Error              string                     `json:"error,omitempty"`
	SelectionMode      string                     `json:"selectionMode,omitempty"`
	IdentityFields     []string                   `json:"identityFields,omitempty"`
	SelectedIdentities []map[string]interface{}   `json:"selectedIdentities,omitempty"`
	RowIndexes         []int                      `json:"rowIndexes,omitempty"`
}

Jump to

Keyboard shortcuts

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