package
0.0.0-20201102054017-282493799a89
Repository: https://github.com/golangltd/leafltd.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

Restart the bot without downloading a new version.
Shut down the bot.
Download and run a new version of the bot.
Restart the host computer.
Illegal value.
Default value; do not use.
The bot has been asked to shut down.
The bot has been asked to reboot the host.
The bot is healthy, and will accept leases as normal.
The bot is unhealthy and will not accept new leases.
Active: the bot has accepted this lease.
Cancelled: The bot should immediately release all resources associated with the lease.
Completed: the bot is no longer leased.
Default value; do not use.
Pending: the server expects the bot to accept this lease.
Error condition.
Interesting but harmless event.
Illegal value.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Request message for `AddTaskLog`.
Response message for `AddTaskLog`.
AdminTemp is a prelimiary set of administration tasks.
A bot session represents the state of a bot while in continuous contact with the server for a period of time.
Describes the actual outputs from the task.
Can be used as part of CompleteRequest.metadata, or are part of a more sophisticated message.
Describes a shell-style task to execute.
Describes the inputs to a shell-style task.
An environment variable required by this task.
Describes the expected outputs of the command.
Describes the timeouts associated with this task.
Request message for CreateBotSession.
Any device, including computers, phones, accelerators (e.g.
A device property; see `properties` for more information.
A reference to the contents of a file or a directory.
The contents of a directory.
The metadata for a directory.
The metadata for a file.
Request message for `GetTask`.
A Lease is a lease that the scheduler has assigned to this bot.
Request message for PostBotEventTemp.
A Task represents a unit of work.
The result and metadata of the task.
Request message for UpdateBotSession.
Request message for `UpdateTaskResult`.
Describes a worker, which is a list of one or more devices and the connections between them.
A global property; see the `properties` field for more information.

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

Possible administration actions.
A coarse description of the status of the bot that the server uses to determine whether to assign the bot new leases.
The state of the lease.
Types of bot events.