Documentation ¶
Index ¶
- Constants
- func DynamicStoreCopyComputerName(store *DynamicStore) string
- func DynamicStoreCopyConsoleUser(store *DynamicStore) (string, uint, uint)
- func DynamicStoreCopyLocalHostName(store *DynamicStore) string
- func DynamicStoreCopyLocation(store *DynamicStore) string
- func DynamicStoreKeyCreate(format string, args ...interface{}) string
- func DynamicStoreKeyCreateComputerName() string
- func DynamicStoreKeyCreateConsoleUser() string
- func DynamicStoreKeyCreateHostNames() string
- func DynamicStoreKeyCreateLocation() string
- func DynamicStoreKeyCreateNetworkGlobalEntity(domain, entity string) string
- func DynamicStoreKeyCreateNetworkInterface(domain string) string
- func DynamicStoreKeyCreateNetworkInterfaceEntity(domain, ifname, entity string) string
- func DynamicStoreKeyCreateNetworkServiceEntity(domain, serviceId, entity string) string
- func DynamicStoreKeyCreateProxies() string
- type DynamicStore
- type DynamicStoreCallBack
- type DynamicStoreRef
Constants ¶
View Source
const ( DynamicStoreDomainFile = "File:" DynamicStoreDomainPlugin = "Plugin:" DynamicStoreDomainSetup = "Setup:" DynamicStoreDomainState = "State:" DynamicStoreDomainPrefs = "Prefs:" )
Variables ¶
This section is empty.
Functions ¶
func DynamicStoreCopyComputerName ¶
func DynamicStoreCopyComputerName(store *DynamicStore) string
func DynamicStoreCopyConsoleUser ¶
func DynamicStoreCopyConsoleUser(store *DynamicStore) (string, uint, uint)
func DynamicStoreCopyLocalHostName ¶
func DynamicStoreCopyLocalHostName(store *DynamicStore) string
func DynamicStoreCopyLocation ¶
func DynamicStoreCopyLocation(store *DynamicStore) string
func DynamicStoreKeyCreate ¶
func DynamicStoreKeyCreateComputerName ¶
func DynamicStoreKeyCreateComputerName() string
func DynamicStoreKeyCreateConsoleUser ¶
func DynamicStoreKeyCreateConsoleUser() string
func DynamicStoreKeyCreateHostNames ¶
func DynamicStoreKeyCreateHostNames() string
func DynamicStoreKeyCreateLocation ¶
func DynamicStoreKeyCreateLocation() string
func DynamicStoreKeyCreateProxies ¶
func DynamicStoreKeyCreateProxies() string
Types ¶
type DynamicStore ¶
type DynamicStore struct {
// contains filtered or unexported fields
}
func DynamicStoreCreate ¶
func DynamicStoreCreate(name string, callback DynamicStoreCallBack, context interface{}) (*DynamicStore, error)
func (*DynamicStore) RunLoop ¶
func (store *DynamicStore) RunLoop()
func (*DynamicStore) SetNotificationKeys ¶
func (store *DynamicStore) SetNotificationKeys(keys, patterns []string) (err error)
func (*DynamicStore) StopLoop ¶
func (store *DynamicStore) StopLoop()
type DynamicStoreCallBack ¶
type DynamicStoreCallBack func(store *DynamicStore, changedKeys []interface{}, context interface{})
DynamicStoreCallBack is a function invoked when the state of a dynamic store is changed due to a notification.
When invoked the callback will be provided with reference to the store that changed and an array of the keys that changed.
type DynamicStoreRef ¶
type DynamicStoreRef C.SCDynamicStoreRef
Click to show internal directories.
Click to hide internal directories.