Documentation
¶
Index ¶
- Constants
- Variables
- func BuildImage(ctx context.Context) error
- func BuildImageWithOptions(ctx context.Context, options BuildOptions) error
- func RestoreTerminal(fd uintptr, state *syscall.Termios) error
- func SetRawTerminal(fd uintptr) (*syscall.Termios, error)
- type BuildOptions
- type Manager
- func (m *Manager) ContainerExists(ctx context.Context) (bool, error)
- func (m *Manager) CreateAndStartContainer(ctx context.Context, cfg *config.Config) error
- func (m *Manager) ExecInteractive(ctx context.Context, cmd []string) error
- func (m *Manager) GetContainerName() string
- func (m *Manager) IsContainerRunning(ctx context.Context) (bool, error)
- func (m *Manager) StopAndRemoveContainer(ctx context.Context) error
- func (m *Manager) WaitForInitialization(ctx context.Context) error
- type TerminalSize
Constants ¶
View Source
const ImageName = "claudeway:latest"
Variables ¶
View Source
var BuildDockerImage = func() error { return nil }
Functions ¶
func BuildImage ¶
func BuildImageWithOptions ¶
func BuildImageWithOptions(ctx context.Context, options BuildOptions) error
Types ¶
type BuildOptions ¶
type BuildOptions struct {
NoCache bool
}
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) ContainerExists ¶
func (*Manager) CreateAndStartContainer ¶
func (*Manager) ExecInteractive ¶
func (*Manager) GetContainerName ¶
func (*Manager) IsContainerRunning ¶
func (*Manager) StopAndRemoveContainer ¶
type TerminalSize ¶
func GetTerminalSize ¶
func GetTerminalSize() (*TerminalSize, error)
Click to show internal directories.
Click to hide internal directories.