actions

package
v0.0.0-...-ad0604f Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Subscribe

func Subscribe(r interface{})

Types

type ChangeEvent

type ChangeEvent struct {
	Event interface{}
}

change event

type ChangeNotifier

type ChangeNotifier interface {
	OnChange(event interface{})
}

type ConfigLoad

type ConfigLoad struct {
	Force     bool
	UseSocket bool
}

type ConfigLoadFailed

type ConfigLoadFailed string

type ConfigLoaded

type ConfigLoaded string

type ConfigString

type ConfigString struct {
	Value string
}

type ConfigUseSocket

type ConfigUseSocket bool

type ConfigViewStore

type ConfigViewStore struct {
	Loading      bool
	UseSocket    bool
	Config       core.CachedQuery[ConfigString]
	DisplayError string
}

func GetConfigViewStore

func GetConfigViewStore() *ConfigViewStore

func (*ConfigViewStore) ConfigValue

func (vs *ConfigViewStore) ConfigValue() (v string)

type DiscoveryData

type DiscoveryData struct {
	Input  *api.ProtocolDiscover
	Result *api.ProtocolDiscoveryResult
}

type DiscoveryLoad

type DiscoveryLoad struct{}

type DiscoveryViewStore

type DiscoveryViewStore struct {
	Loading      bool
	Initialized  bool
	Protocols    *api.ProtocolInfoResult
	Discoveries  map[uuid.UUID]*DiscoveryData
	DisplayError string
	// contains filtered or unexported fields
}

func GetDiscoveryViewStore

func GetDiscoveryViewStore() *DiscoveryViewStore

type LoadEvent

type LoadEvent int

load page event

type LoadNotifier

type LoadNotifier interface {
	OnLoad()
}

type ProtocolViewStore

type ProtocolViewStore struct {
	Loading      bool
	UseSocket    bool
	Protocols    core.CachedQuery[api.ProtocolInfoResult]
	DisplayError string
	// contains filtered or unexported fields
}

func GetProtocolViewStore

func GetProtocolViewStore() *ProtocolViewStore

type ProtocolsLoad

type ProtocolsLoad struct {
	Force     bool
	UseSocket bool
}

type ProtocolsLoadFailed

type ProtocolsLoadFailed string

type ProtocolsLoaded

type ProtocolsLoaded *api.ProtocolInfoResult

type ProtocolsUseSocket

type ProtocolsUseSocket bool

type RouteNotifier

type RouteNotifier interface {
	OnRouteChange(route core.PageRoute)
}

type ServicesAdd

type ServicesAdd struct {
	UseSocket bool
	Service   *core.ServiceEntryData
}

type ServicesChangeAlias

type ServicesChangeAlias struct {
	UseSocket bool
	Service   *api.ServiceKey
	NewAlias  string
}

type ServicesLoad

type ServicesLoad struct {
	Force     bool
	UseSocket bool
}

type ServicesLoadFailed

type ServicesLoadFailed string

type ServicesLoaded

type ServicesLoaded *api.ListServicesResult

type ServicesOpFailed

type ServicesOpFailed string

type ServicesOpRetry

type ServicesOpRetry struct{}

type ServicesOpSucceeded

type ServicesOpSucceeded struct{}

type ServicesRemove

type ServicesRemove struct {
	UseSocket bool
	Service   *api.ServiceKey
}

type ServicesUseSocket

type ServicesUseSocket bool

type ServicesViewStore

type ServicesViewStore struct {
	Loading      int
	UseSocket    bool
	Protocols    core.CachedQuery[api.ProtocolInfoResult]
	Services     core.CachedQuery[api.ListServicesResult]
	LastOp       *api.Query
	OpError      string
	DisplayError string
}

func GetServicesViewStore

func GetServicesViewStore() *ServicesViewStore

Jump to

Keyboard shortcuts

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