...
- Includes Asserts[]
WaitforAsserts( timeout) - w8 for some time. Fail on single AssertFail or all AssertSuccess
...
- SetNetwork - creates a Network for AppInstance
State - global state
observe() - starts monitoring
getState()
State - something that we get from metric/Info and update
EdgeNode1.getState.lastreboot
reboot - do polling of State
Struct - look into Proto.info - ZinfoMessage - UNION of Records that we save in memory
StreamProcessor - reads stream from Info/Log/Metrics
CreateProcessor(func)
func - processes single log. Returns true if found something. false if not found
.Success
.Fail
Fail or Succcess - rely on Go infrastructure
/* Asserts - used for getting status - waiting for some action and return
createAssertSuccess (AssertType, ObjectName, AssertFunction) -creates Assert for Success.
...
createAssertFail(Checkreboot(EdgeNode1, 5, controller))
*/