Documentation ¶
Index ¶
- type AddJobArgs
- type FakeJobSupervisor
- func (m *FakeJobSupervisor) AddJob(jobName string, jobIndex int, configPath string) error
- func (m *FakeJobSupervisor) MonitorJobFailures(handler boshjobsuper.JobFailureHandler) error
- func (m *FakeJobSupervisor) Reload() error
- func (m *FakeJobSupervisor) RemoveAllJobs() error
- func (m *FakeJobSupervisor) Start() error
- func (m *FakeJobSupervisor) Status() string
- func (m *FakeJobSupervisor) Stop() error
- func (m *FakeJobSupervisor) Unmonitor() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddJobArgs ¶
type FakeJobSupervisor ¶
type FakeJobSupervisor struct { Reloaded bool ReloadErr error AddJobArgs []AddJobArgs RemovedAllJobs bool RemovedAllJobsErr error Started bool StartErr error Stopped bool StopErr error Unmonitored bool UnmonitorErr error StatusStatus string JobFailureAlert *boshalert.MonitAlert }
func NewFakeJobSupervisor ¶
func NewFakeJobSupervisor() *FakeJobSupervisor
func (*FakeJobSupervisor) AddJob ¶
func (m *FakeJobSupervisor) AddJob(jobName string, jobIndex int, configPath string) error
func (*FakeJobSupervisor) MonitorJobFailures ¶
func (m *FakeJobSupervisor) MonitorJobFailures(handler boshjobsuper.JobFailureHandler) error
func (*FakeJobSupervisor) Reload ¶
func (m *FakeJobSupervisor) Reload() error
func (*FakeJobSupervisor) RemoveAllJobs ¶
func (m *FakeJobSupervisor) RemoveAllJobs() error
func (*FakeJobSupervisor) Start ¶
func (m *FakeJobSupervisor) Start() error
func (*FakeJobSupervisor) Status ¶
func (m *FakeJobSupervisor) Status() string
func (*FakeJobSupervisor) Stop ¶
func (m *FakeJobSupervisor) Stop() error
func (*FakeJobSupervisor) Unmonitor ¶
func (m *FakeJobSupervisor) Unmonitor() error
Click to show internal directories.
Click to hide internal directories.