Documentation
¶
Index ¶
- type Engine
- type LocalJobSource
- func (s *LocalJobSource) Ack(_ context.Context, _ spec.Lease, _ spec.CheckResult) error
- func (s *LocalJobSource) Heartbeat(_ context.Context, _ spec.Lease) error
- func (s *LocalJobSource) Nack(_ context.Context, _ spec.Lease, _ string) error
- func (s *LocalJobSource) Poll(_ context.Context, _ spec.WorkerInfo) ([]spec.Lease, error)
- func (s *LocalJobSource) UpdateChecks(checks []spec.CheckSpec)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalJobSource ¶
type LocalJobSource struct {
// contains filtered or unexported fields
}
func NewLocalJobSource ¶
func NewLocalJobSource(checks []spec.CheckSpec) *LocalJobSource
func (*LocalJobSource) Ack ¶
func (s *LocalJobSource) Ack(_ context.Context, _ spec.Lease, _ spec.CheckResult) error
func (*LocalJobSource) Poll ¶
func (s *LocalJobSource) Poll(_ context.Context, _ spec.WorkerInfo) ([]spec.Lease, error)
func (*LocalJobSource) UpdateChecks ¶
func (s *LocalJobSource) UpdateChecks(checks []spec.CheckSpec)
Click to show internal directories.
Click to hide internal directories.