Documentation ¶
Index ¶
Constants ¶
View Source
const ( OPTION_DEFAULT_PROFILE = "defaultProfile" OPTION_DISABLE_DEFAULT_PROFILE = "disableDefaultProfile" )
Variables ¶
View Source
var (
ErrProfileNotFound, ErrProfileNotFoundFn = errors.NewErrorAndErrorFunc[string]("profile not found")
ErrDeviceNotFound, ErrDeviceNotFoundFn = errors.NewErrorAndErrorFunc[string]("device not found")
)
View Source
var (
WithDefaultProfile, GetDefaultProfile = option.New[string](OPTION_DEFAULT_PROFILE)
WithDisableDefaultProfile, GetDisableDefaultProfile = option.New[bool](OPTION_DISABLE_DEFAULT_PROFILE)
)
View Source
var (
Register, New = registerer.Pair[intf.ProfileStorage]()
)
Functions ¶
func DefaultGetProfileByDeviceOptions ¶
func DefaultGetProfileByDeviceOptions() option.Option
func DefaultNewStorageOptions ¶
func DefaultNewStorageOptions() option.Option
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.