Documentation
¶
Overview ¶
Package preview implements server-local job preview leases and loopback proxying.
Index ¶
- type Lease
- type Manager
- func (m *Manager) Close(id, reason string) error
- func (m *Manager) CloseAll()
- func (m *Manager) CloseJob(jobID string)
- func (m *Manager) Create(ctx context.Context, jobID, caller, host string, port, ttl int, ...) (Lease, string, error)
- func (m *Manager) Get(id string) (Lease, bool, error)
- func (m *Manager) List(jobID string) ([]Lease, error)
- func (m *Manager) String() string
- func (m *Manager) Sweep()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.