Documentation ¶
Index ¶
- type Api
- type Bucket
- type Dashboard
- func (d *Dashboard) AddBucket(name string)
- func (d *Dashboard) AddWebsocketInfoMessage(socket string, message WebsocketMessage) error
- func (d *Dashboard) Refresh(opts *RefreshOptions) error
- func (d *Dashboard) RefreshHistory() error
- func (d *Dashboard) Serve(storagePlugin storage.StorageService) (*int, error)
- func (d *Dashboard) UpdateWebsocketInfoCount(socket string, count int) error
- type DashboardResponse
- type RefreshOptions
- type WebsocketInfo
- type WebsocketMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dashboard ¶ added in v1.18.0
type Dashboard struct {
// contains filtered or unexported fields
}
func (*Dashboard) AddWebsocketInfoMessage ¶ added in v1.27.0
func (d *Dashboard) AddWebsocketInfoMessage(socket string, message WebsocketMessage) error
func (*Dashboard) Refresh ¶ added in v1.18.0
func (d *Dashboard) Refresh(opts *RefreshOptions) error
func (*Dashboard) RefreshHistory ¶ added in v1.21.0
type DashboardResponse ¶ added in v1.19.0
type DashboardResponse struct { Apis []*openapi3.T `json:"apis,omitempty"` Buckets []string `json:"buckets,omitempty"` Schedules []*codeconfig.TopicResult `json:"schedules,omitempty"` Topics []*codeconfig.TopicResult `json:"topics,omitempty"` Websockets []*codeconfig.WebsocketResult `json:"websockets,omitempty"` ProjectName string `json:"projectName,omitempty"` ApiAddresses map[string]string `json:"apiAddresses,omitempty"` WebsocketAddresses map[string]string `json:"websocketAddresses,omitempty"` TriggerAddress string `json:"triggerAddress,omitempty"` StorageAddress string `json:"storageAddress,omitempty"` BucketNotifications []*codeconfig.BucketNotification `json:"bucketNotifications,omitempty"` CurrentVersion string `json:"currentVersion,omitempty"` LatestVersion string `json:"latestVersion,omitempty"` }
type RefreshOptions ¶ added in v1.18.0
type WebsocketInfo ¶ added in v1.27.0
type WebsocketInfo struct { ConnectionCount int `json:"connectionCount,omitempty"` Messages []WebsocketMessage `json:"messages,omitempty"` }
Click to show internal directories.
Click to hide internal directories.