Documentation ¶
Index ¶
- Constants
- type MgrOpt
- func WithConnectionAcknowledgeTimeout(acknowledgeTimeout time.Duration) MgrOpt
- func WithConnectionBroker(broker string) MgrOpt
- func WithConnectionClientPassword(password string) MgrOpt
- func WithConnectionClientUsername(username string) MgrOpt
- func WithConnectionConnectTimeout(connectTimeout time.Duration) MgrOpt
- func WithConnectionDisconnectTimeout(disconnectTimeout time.Duration) MgrOpt
- func WithConnectionKeepAlive(keepAlive time.Duration) MgrOpt
- func WithConnectionSubscribeTimeout(subscribeTimeout time.Duration) MgrOpt
- func WithConnectionUnsubscribeTimeout(unsubscribeTimeout time.Duration) MgrOpt
- type RebootManager
Constants ¶
const UpdateOrchestratorServiceID = "update.orchestrator.mgr"
UpdateOrchestratorServiceID is the ID of the locally registered update orchestrator manager
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MgrOpt ¶
type MgrOpt func(mgrOptions *mgrOpts) error
MgrOpt defines the creation configuration options for a self update manager implementation
func WithConnectionAcknowledgeTimeout ¶
WithConnectionAcknowledgeTimeout configures the timeout for the acknowledge receival
func WithConnectionBroker ¶
WithConnectionBroker configures the broker, where the connection will be established
func WithConnectionClientPassword ¶
WithConnectionClientPassword configures the client password used when establishing connection to the broker
func WithConnectionClientUsername ¶
WithConnectionClientUsername configures the client username used when establishing connection to the broker
func WithConnectionConnectTimeout ¶
WithConnectionConnectTimeout configures the timeout before terminating the connect attempt
func WithConnectionDisconnectTimeout ¶
WithConnectionDisconnectTimeout configures the duration of inactivity before disconnecting from the broker
func WithConnectionKeepAlive ¶
WithConnectionKeepAlive configures the time between between each check for the connection presence
func WithConnectionSubscribeTimeout ¶
WithConnectionSubscribeTimeout configures the timeout before terminating the subscribe attempt
func WithConnectionUnsubscribeTimeout ¶
WithConnectionUnsubscribeTimeout configures the timeout before terminating the unsubscribe attempt
type RebootManager ¶
RebootManager defines an interface for restarting the host system