kube-monkey: github.com/asobti/kube-monkey/schedule Index | Files

package schedule

import "github.com/asobti/kube-monkey/schedule"

Index

Package Files

schedule.go

Constants

const (
    Today         = "\t********** Today's schedule **********"
    NoTermination = "No terminations scheduled"
    HeaderRow     = "\tk8 Api Kind\tKind Namespace\tKind Name\t\tTermination Time"
    SepRow        = "\t-----------\t--------------\t---------\t\t----------------"
    RowFormat     = "\t%s\t%s\t%s\t\t%s"
    DateFormat    = "01/02/2006 15:04:05 -0700 MST"
    End           = "\t********** End of schedule **********"
)

func CalculateKillTime Uses

func CalculateKillTime() time.Time

func ShouldScheduleChaos Uses

func ShouldScheduleChaos(mtbf int) bool

type Schedule Uses

type Schedule struct {
    // contains filtered or unexported fields
}

func New Uses

func New() (*Schedule, error)

func (*Schedule) Add Uses

func (s *Schedule) Add(entry *chaos.Chaos)

func (*Schedule) Entries Uses

func (s *Schedule) Entries() []*chaos.Chaos

func (Schedule) Print Uses

func (s Schedule) Print()

func (*Schedule) String Uses

func (s *Schedule) String() string

Package schedule imports 9 packages (graph) and is imported by 1 packages. Updated 2019-03-10. Refresh now. Tools for package owners.