package
0.12.2
Repository: https://github.com/tinkerbell/tink.git
Documentation: pkg.go.dev

# Functions

NewContainerManager returns a new container manager.
NewDockerLogCapturer returns a LogCapturer that can stream container logs to a given writer.
NewWorker creates a new Worker, creating a new Docker registry client.
WithDataDir changes the default directory for a worker.
WithLogCapture enables capture of container logs.
WithMaxFileSize changes the max file size for a worker.
WithPrivileged enables containers to be privileged.
WithRetries adds custom retries to a worker.

# Structs

DockerLogCapturer is a LogCapturer that can stream docker container logs to an io.Writer.
ImagePullStatus is the status of the downloaded Image chunk.
RegistryConnDetails are the connection details for accessing a Docker registry.
Worker details provide all the context needed to run workflows.
WorkflowMetadata is the metadata related to workflow data.

# Interfaces

ContainerManager manages linux containers for Tinkerbell workers.
DockerClient is a subset of the interfaces implemented by docker's client.Client.
LogCapturer emits container logs.

# Type aliases

Option is a type for modifying a worker.