Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Flush ¶
func Flush(endpoint *inapi.HostletStatusEndpoint, instanceName string, repId uint32)
Flush POSTs the current stage tree to the hostlet status API when there are unsent changes or the heartbeat interval has elapsed. On success it clears the dirty flag. A missing endpoint (old hostlet / not yet provisioned) is a no-op.
func SetRevision ¶
func SetRevision(rev uint64)
SetRevision sets the AppDeploy.Revision stages are stamped with. When the revision changes, prior stages are cleared (they were based on stale meta).
func SetSpecLoad ¶
func SetSpecLoad(state, msg string)
SetSpecLoad records the app_replica.json load result.
func SetTaskRun ¶
func SetTaskRun(state, msg string)
SetTaskRun records the aggregate OnStartup task execution state.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.