Documentation ¶
Index ¶
Constants ¶
View Source
const EtcdPrefix = "/kube-scheduler-simulator"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SchedulerService ¶
type SchedulerService interface {
ResetScheduler() error
}
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service cleans up resources stored in etcd.
func NewResetService ¶
func NewResetService( etcdClient *clientv3.Client, k8sClient clientset.Interface, schedService SchedulerService, ) (*Service, error)
NewResetService initializes Service. ResetService always tries to restore the cluster to the initial state.
Click to show internal directories.
Click to hide internal directories.