Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // HeartbeatRetryInterval TODO: remove 'nolint:gochecknoglobals' - should be passed in rather than re-defined in agent_test.go HeartbeatRetryInterval = 1 * time.Second //nolint:gochecknoglobals )
Functions ¶
This section is empty.
Types ¶
type ActionDispatcher ¶
type ActionDispatcher interface { ResumePreviouslyDispatchedTasks() Dispatch(req boshhandler.Request) (resp boshhandler.Response) }
func NewActionDispatcher ¶
func NewActionDispatcher( logger boshlog.Logger, taskService boshtask.Service, taskManager boshtask.Manager, actionFactory boshaction.Factory, actionRunner boshaction.Runner, ) (dispatcher ActionDispatcher)
type Agent ¶
type Agent struct {
// contains filtered or unexported fields
}
func New ¶
func New( logger boshlog.Logger, mbusHandler boshhandler.Handler, platform boshplatform.Platform, actionDispatcher ActionDispatcher, jobSupervisor boshjobsuper.JobSupervisor, specService boshas.V1Service, heartbeatInterval time.Duration, settingsService boshsettings.Service, uuidGenerator boshuuid.Generator, timeService clock.Clock, startManager StartManager, ) Agent
type StartManager ¶
Directories ¶
Path | Synopsis |
---|---|
fakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
bundlecollection/fakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
jobs/jobsfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
blobstorefakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
blobstore_delegator/blobstore_delegatorfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
httpblobproviderfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
logstarproviderfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
drain/drainfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
pathenv
Package pathenv returns the OS specific PATH environment variable to use when shelling out to user scripts (e.g pre-start, drain).
|
Package pathenv returns the OS specific PATH environment variable to use when shelling out to user scripts (e.g pre-start, drain). |
scriptfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
tarpathfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
utilsfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Click to show internal directories.
Click to hide internal directories.