Depricate runtime scheduler (#2037)

This commit is contained in:
ben-toogood
2020-10-07 12:31:41 +01:00
committed by GitHub
parent 8f6ba4a56e
commit 27aa1ff2ab
4 changed files with 10 additions and 306 deletions

View File

@@ -15,8 +15,6 @@ type Options struct {
Client client.Client
// Base image to use
Image string
// Scheduler for updates
Scheduler Scheduler
// Source of the services repository
Source string
// Service type to manage
@@ -30,13 +28,6 @@ func WithSource(src string) Option {
}
}
// WithScheduler specifies a scheduler for updates
func WithScheduler(n Scheduler) Option {
return func(o *Options) {
o.Scheduler = n
}
}
// WithType sets the service type to manage
func WithType(t string) Option {
return func(o *Options) {