Foundation for ScheduledOverrides (#513)

Adds two types `RecurrenceRule` and `Period` and one function `MatchSchedule` as the foundation for building the upcoming ScheduledOverrides feature.

Ref #484
This commit is contained in:
Yusuke Kuoka
2021-05-03 22:03:49 +09:00
committed by GitHub
parent 5f59734078
commit 469b117a09
4 changed files with 732 additions and 0 deletions

1
go.mod
View File

@@ -14,6 +14,7 @@ require (
github.com/onsi/gomega v1.5.0
github.com/prometheus/client_golang v0.9.2
github.com/stretchr/testify v1.4.0 // indirect
github.com/teambition/rrule-go v1.6.2
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
k8s.io/api v0.0.0-20190918155943-95b840bb6a1f
k8s.io/apimachinery v0.0.0-20190913080033-27d36303b655