Documentation
      ¶
    
    
  
    
  
    Index ¶
- type APIRouter
 - type Backend
 - func (ba *Backend) CreateJob(ctx context.Context, id seqtypes.BuilderID, opts seqtypes.BuildOpts) (work.BuildJob, error)
 - func (ba *Backend) GetJob(id seqtypes.BuildJobID) work.BuildJob
 - func (ba *Backend) Hello(ctx context.Context, name string) (string, error)
 - func (ba *Backend) Start(ctx context.Context) error
 - func (ba *Backend) Stop(ctx context.Context) error
 
- type MockBackend
 - func (ba *MockBackend) CreateJob(ctx context.Context, id seqtypes.BuilderID, opts seqtypes.BuildOpts) (work.BuildJob, error)
 - func (ba *MockBackend) GetJob(id seqtypes.BuildJobID) work.BuildJob
 - func (ba *MockBackend) Hello(ctx context.Context, name string) (string, error)
 - func (ba *MockBackend) Start(ctx context.Context) error
 - func (ba *MockBackend) Stop(ctx context.Context) error
 - func (ba *MockBackend) UnregisterJob(id seqtypes.BuildJobID)
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct {
	// contains filtered or unexported fields
}
    func NewBackend ¶
type MockBackend ¶
type MockBackend struct{}
    func NewMockBackend ¶
func NewMockBackend() *MockBackend
func (*MockBackend) GetJob ¶
func (ba *MockBackend) GetJob(id seqtypes.BuildJobID) work.BuildJob
func (*MockBackend) UnregisterJob ¶
func (ba *MockBackend) UnregisterJob(id seqtypes.BuildJobID)
 Click to show internal directories. 
   Click to hide internal directories.