Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterDetails ¶
type CommandEvent ¶
type CommandEvent struct {
// contains filtered or unexported fields
}
func (CommandEvent) AddClusterDetails ¶
func (c CommandEvent) AddClusterDetails(d ClusterDetails)
func (CommandEvent) AddErrorMessage ¶
func (c CommandEvent) AddErrorMessage(e error)
func (CommandEvent) AddExitCode ¶
func (c CommandEvent) AddExitCode(e int)
func (CommandEvent) AddSuccessMessage ¶
func (c CommandEvent) AddSuccessMessage(msg string)
func (CommandEvent) Name ¶
func (c CommandEvent) Name() string
func (CommandEvent) Properties ¶
func (c CommandEvent) Properties() map[string]any
type Event ¶
type Event interface { Properties() map[string]any AddErrorMessage(msg error) AddSuccessMessage(msg string) AddClusterDetails(c ClusterDetails) AddExitCode(code int) Name() string }
func NewCommandEvent ¶
func NewStopEvent ¶
func NewStopEvent() Event
NewStopEvent creates a new StopEvent. StopEvent is a special type of event used to close the events processing.
type StopEvent ¶
type StopEvent struct {
// contains filtered or unexported fields
}
StopEvent is a special event used to close the events processing.
func (StopEvent) AddClusterDetails ¶
func (g StopEvent) AddClusterDetails(d ClusterDetails)
func (StopEvent) AddErrorMessage ¶
func (StopEvent) AddExitCode ¶
func (StopEvent) AddSuccessMessage ¶
func (StopEvent) Properties ¶
type Tracker ¶
type Tracker struct {
// contains filtered or unexported fields
}
func NewTracker ¶
NewTracker returns a new Tracker instance.
Click to show internal directories.
Click to hide internal directories.