Documentation
¶
Index ¶
Constants ¶
View Source
const ( NAMESPACE = metav1.NamespaceDefault IDENTIFIER = "kube-monkey-id" KIND = "Pod" NAME = "name" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chaos ¶
type Chaos struct {
// contains filtered or unexported fields
}
func (*Chaos) DurationToKillTime ¶
Calculates the duration from now until Chaos.killAt
func (*Chaos) Execute ¶
func (c *Chaos) Execute(resultchan chan<- *ChaosResult)
Exposed function that calls the actual execution of the chaos, i.e. termination of pods The result is sent back over the channel provided
func (*Chaos) NewResult ¶
func (c *Chaos) NewResult(e error) *ChaosResult
Create a ChaosResult instance
func (*Chaos) Schedule ¶
func (c *Chaos) Schedule(resultchan chan<- *ChaosResult)
Schedule the execution of Chaos
type ChaosResult ¶
type ChaosResult struct {
// contains filtered or unexported fields
}
func (*ChaosResult) Error ¶
func (r *ChaosResult) Error() error
func (*ChaosResult) Victim ¶
func (r *ChaosResult) Victim() victims.Victim
Click to show internal directories.
Click to hide internal directories.