Documentation
¶
Index ¶
- type AttachState
- type Bridge
- func (b *Bridge) AttachSession(sessionID, clientID string, afterSeq uint64) (*bridge.AttachState, error)
- func (b *Bridge) AttachSessionObserver(sessionID, clientID string, afterSeq uint64) (*bridge.AttachState, error)
- func (b *Bridge) Get(sessionID string) (*SessionInfo, error)
- func (b *Bridge) List(projectID string) []SessionInfo
- func (b *Bridge) ResizeSession(sessionID, clientID string, cols, rows uint32) error
- func (b *Bridge) StartSession(ctx context.Context, projectID, sessionID, repoPath, providerID string, ...) (*SessionInfo, error)
- func (b *Bridge) Stop(sessionID string, force bool) error
- func (b *Bridge) WriteInput(sessionID, clientID string, data []byte) (int, error)
- type Config
- type OutputChunk
- type ProviderConfig
- type SessionInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachState ¶
type AttachState struct {
ClientID string
Replay []OutputChunk
Live <-chan OutputChunk
ReplayGap bool
}
type Bridge ¶
type Bridge struct {
// contains filtered or unexported fields
}
func (*Bridge) AttachSession ¶
func (*Bridge) AttachSessionObserver ¶
func (*Bridge) List ¶
func (b *Bridge) List(projectID string) []SessionInfo
func (*Bridge) ResizeSession ¶
func (*Bridge) StartSession ¶
type OutputChunk ¶
type OutputChunk = bridge.OutputChunk
type ProviderConfig ¶
type SessionInfo ¶
type SessionInfo = bridge.SessionInfo
Click to show internal directories.
Click to hide internal directories.