updateagent

package
v0.0.0-...-a24a58a Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: Apache-2.0, EPL-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FileDirectory = ""

FileDirectory points to the directory managed by the Files Update Agent

Functions

func Init

func Init(config *mqtt.ConnectionConfig, domainName string) (interface{}, error)

Init initializes a new Update Agent instance using given configuration and domain

Types

type UpdateOperation

type UpdateOperation interface {
	GetActivityID() string
	Identify() (bool, error)
	Execute(command types.CommandType, baseline string)
	Feedback(status types.StatusType, message string, baseline string)
}

UpdateOperation defines an interface for an update operation process

Jump to

Keyboard shortcuts

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