Documentation ¶
Index ¶
- Variables
- func ErrAutoRegister(err error, connType string) error
- func FormatToTitleCase(s string) string
- func InitRegistrationHelperSingleton(dbHandler *database.Handler, log logger.Handler, ...)
- func InitializeMachineWithContext(machineCtx interface{}, ctx context.Context, ID uuid.UUID, userID uuid.UUID, ...) (*machines.StateMachine, error)
- func IsConnectionUpdateErr(err error) bool
- func StatusToEvent(status connections.ConnectionStatus) machines.EventType
- type AutoRegistrationHelper
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrAutoRegisterCode = "1556"
)
Functions ¶
func ErrAutoRegister ¶ added in v0.7.9
func FormatToTitleCase ¶ added in v0.7.9
func InitRegistrationHelperSingleton ¶ added in v0.7.9
func InitializeMachineWithContext ¶
func InitializeMachineWithContext( machineCtx interface{}, ctx context.Context, ID uuid.UUID, userID uuid.UUID, smInstanceTracker *machines.ConnectionToStateMachineInstanceTracker, log logger.Handler, provider models.Provider, initialState machines.StateType, mtype string, initFunc connections.InitFunc, ) (*machines.StateMachine, error)
func IsConnectionUpdateErr ¶ added in v0.7.9
func StatusToEvent ¶
func StatusToEvent(status connections.ConnectionStatus) machines.EventType
Types ¶
type AutoRegistrationHelper ¶ added in v0.7.9
type AutoRegistrationHelper struct {
// contains filtered or unexported fields
}
func GetAutoRegistrationSingleton ¶ added in v0.7.9
func GetAutoRegistrationSingleton() *AutoRegistrationHelper
Click to show internal directories.
Click to hide internal directories.