This commit allows to tolerate up to three timeout errors that
came from poll requests before interruption of apply process.
Change-Id: I6cb95eba908e62ee44be3338c263b20c7dffc34b
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Relates-To: #579
Closes: #579
In preparation to the support of Bootstrap Container/Ephemeral Cluster
feature, the following updates have been added:
- Added Bootstrap event type, structure and method in event.go
- added processing of Bootstrap event in processor.go
Change-Id: Ic054f6b198648a4e1edcef71d8cfc0907bb775bc
This will allow to reuse the error in other packages and compare
it in assert.Equal unit-tests and similar
Change-Id: Iccc6df713cedb78f6e75f7fba8d317bfcc6e8e84
Change executors interface to return event channels and allow to
to set event processors. In further development this will allow better
visibility in UI or in command line, also opens the room for concurency.
Also add kubeconfig provider interface that will return kubeconfig.File
object to provide uniform way of accessing kubeconfig
Change-Id: I47bf9409a9b4286905cd9fc4ce172ee33e16dfa6
The package will have Event object, that would represent any event
that airshipctl can have, also this package provides Processor interface
that is to be used to process, print, or track progress of the executor
runners
Change-Id: I184408f7b6130653cdbabbe5e5adaac2dd758663