systemConfiguration

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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 DynamicStoreKeyCreate(format string, args ...interface{}) string

func DynamicStoreKeyCreateComputerName

func DynamicStoreKeyCreateComputerName() string

func DynamicStoreKeyCreateConsoleUser

func DynamicStoreKeyCreateConsoleUser() string

func DynamicStoreKeyCreateHostNames

func DynamicStoreKeyCreateHostNames() string

func DynamicStoreKeyCreateLocation

func DynamicStoreKeyCreateLocation() string

func DynamicStoreKeyCreateNetworkGlobalEntity

func DynamicStoreKeyCreateNetworkGlobalEntity(domain, entity string) string

func DynamicStoreKeyCreateNetworkInterface

func DynamicStoreKeyCreateNetworkInterface(domain string) string

func DynamicStoreKeyCreateNetworkInterfaceEntity

func DynamicStoreKeyCreateNetworkInterfaceEntity(domain, ifname, entity string) string

func DynamicStoreKeyCreateNetworkServiceEntity

func DynamicStoreKeyCreateNetworkServiceEntity(domain, serviceId, entity string) 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

Jump to

Keyboard shortcuts

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