package
0.34.1
Repository: https://github.com/linki/chaoskube.git
Documentation: pkg.go.dev

# Functions

FormatDays takes a slice of times and returns a slice of strings in YearDate format (e.g.
NewNamespace returns a new namespace instance for testing purposes.
NewPod returns a new pod instance for testing purposes.
NewPodWithOwner returns a new pod instance for testing purposes with a given owner UID.
NewTimePeriod returns a normalized TimePeriod given a start and end time.
No description provided by the author
ParseTimePeriods takes a comma-separated list of time periods in Kitchen24 format and turns them into a slice of TimePeriods.
ParseWeekdays takes a comma-separated list of abbreviated weekdays (e.g.
RandomPodSubSlice creates a shuffled subslice of the give pods slice.
TimeOfDay normalizes the given point in time by returning a time object that represents the same time of day of the given time but on the very first day (day 0).

# Constants

a short time format; like time.Kitchen but with 24-hour notation.
a time format that just cares about the day and month.

# Structs

TimePeriod represents a time period with a single beginning and end.