docker

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerSetup

type DockerSetup struct {
	// contains filtered or unexported fields
}

DockerSetup handles one-click Docker setup for TypoSentinel

func NewDockerSetup

func NewDockerSetup(opts SetupOptions) *DockerSetup

NewDockerSetup creates a new Docker setup instance

func (*DockerSetup) Cleanup

func (d *DockerSetup) Cleanup() error

Cleanup removes Docker resources

func (*DockerSetup) QuickSetup

func (d *DockerSetup) QuickSetup(ctx context.Context) (*SetupResult, error)

QuickSetup performs a one-click Docker setup

type SetupOptions

type SetupOptions struct {
	ProjectPath string
	Verbose     bool
	Output      io.Writer
}

SetupOptions configures the Docker setup process

type SetupResult

type SetupResult struct {
	Success       bool
	ContainerID   string
	ImageName     string
	Port          int
	WebURL        string
	ConfigPath    string
	LogsPath      string
	ErrorMessage  string
	SetupDuration time.Duration
}

SetupResult contains the result of the Docker setup

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL