Depricate runtime scheduler (#2037)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user