Versions in this module Expand all Collapse all v0 v0.12.0 Jul 28, 2026 v0.11.1 Jun 26, 2026 v0.11.0 Jun 22, 2026 v0.10.0 Jun 20, 2026 Changes in this version + func ValidateFlags(args []string, validFlags []string, valueFlags []string) error + type ExitError struct + Code int + func (e *ExitError) Error() string v0.9.3 Jun 8, 2026 Changes in this version type DokiCLI + func (c *DokiCLI) LinkAdd(id, addr, pubB64 string) error + func (c *DokiCLI) LinkRemove(id string) error + func (c *DokiCLI) LinkShow() error + func (c *DokiCLI) MeshLs() error + func (c *DokiCLI) MeshStatus() error v0.9.2 Jun 4, 2026 Changes in this version + type DokiCLI struct + func New(socket string) *DokiCLI + func (c *DokiCLI) Apply(file string) error + func (c *DokiCLI) Attach(containerID string, detachKeys, sigProxy string) error + func (c *DokiCLI) AutoUpdate() error + func (c *DokiCLI) Build(contextDir, dokifile string, tags []string, buildArgs map[string]string, ...) error + func (c *DokiCLI) Commit(containerID, repo, tag, author, message string, pause bool, changes []string) error + func (c *DokiCLI) Cp(containerID, srcPath, destPath string, followLink, copyUIDGID bool) error + func (c *DokiCLI) CpToContainer(containerID, srcPath, destPath string, followLink, copyUIDGID bool) error + func (c *DokiCLI) Create(image string, cmd []string, opts *RunFlags) (string, error) + func (c *DokiCLI) Diff(containerID string) error + func (c *DokiCLI) Events(filter string) error + func (c *DokiCLI) Exec(containerID string, cmd []string, tty, detach, interactive bool, env []string, ...) error + func (c *DokiCLI) Export(containerID string, output string) error + func (c *DokiCLI) GenerateKube(containerID string, service bool) error + func (c *DokiCLI) Healthcheck(containerID string) error + func (c *DokiCLI) History(imageName string, noTrunc, quiet bool) error + func (c *DokiCLI) Images(all, quiet, noTrunc bool, filter string) error + func (c *DokiCLI) ImagesPrune(all bool, filter string) error + func (c *DokiCLI) Import(source, repo, tag string, changes []string, message string) error + func (c *DokiCLI) Inspect(containerIDs []string, format string) error + func (c *DokiCLI) Kill(ids []string, signal string) error + func (c *DokiCLI) KubeDown(file string) error + func (c *DokiCLI) KubeGenerate(what string) error + func (c *DokiCLI) KubePlay(file string) error + func (c *DokiCLI) Load(input string, quiet bool) error + func (c *DokiCLI) Login(server, username, password string) error + func (c *DokiCLI) Logout(server string) error + func (c *DokiCLI) Logs(containerID string, follow, timestamps bool, tail int, since string) error + func (c *DokiCLI) Mount(containerIDs []string) error + func (c *DokiCLI) NetworkConnect(networkID, containerID string, aliases []string) error + func (c *DokiCLI) NetworkCreate(name, driver string, internal, ipv6 bool, subnet, gateway string, ...) error + func (c *DokiCLI) NetworkDisconnect(networkID, containerID string, force bool) error + func (c *DokiCLI) NetworkInspect(ids []string) error + func (c *DokiCLI) NetworkLs(quiet bool, noTrunc bool, filter, format string) error + func (c *DokiCLI) NetworkPrune(filter string) error + func (c *DokiCLI) NetworkRm(ids []string) error + func (c *DokiCLI) Pause(ids []string) error + func (c *DokiCLI) Ping() error + func (c *DokiCLI) PodCreate(name string, labels map[string]string) (string, error) + func (c *DokiCLI) PodPs() error + func (c *DokiCLI) PodRm(ids []string, force bool) error + func (c *DokiCLI) PodStart(ids []string) error + func (c *DokiCLI) PodStop(ids []string) error + func (c *DokiCLI) Port(containerID, privatePort string) error + func (c *DokiCLI) Prune(all bool, filter string) error + func (c *DokiCLI) Ps(all, quiet, noTrunc bool, filter, format string, lastN int, size bool) error + func (c *DokiCLI) Pull(imageName string, allTags, quiet bool) error + func (c *DokiCLI) Push(imageName string, allTags, quiet bool) error + func (c *DokiCLI) Rename(containerID, newName string) error + func (c *DokiCLI) Restart(ids []string, timeout int) error + func (c *DokiCLI) Rm(ids []string, force, volumes, link bool) error + func (c *DokiCLI) Rmi(ids []string, force, noPrune bool) error + func (c *DokiCLI) Run(args []string) error + func (c *DokiCLI) Save(imageNames []string, output string) error + func (c *DokiCLI) Scout(target string) error + func (c *DokiCLI) Search(term string, limit int, noTrunc bool, filterStars int) error + func (c *DokiCLI) Start(ids []string) error + func (c *DokiCLI) Stats(containerIDs []string, noStream bool) error + func (c *DokiCLI) Stop(ids []string, timeout int) error + func (c *DokiCLI) SystemDf(verbose bool) error + func (c *DokiCLI) SystemDialStdio() error + func (c *DokiCLI) SystemEvents(since, until, filter string) error + func (c *DokiCLI) SystemInfo() error + func (c *DokiCLI) SystemPrune(all, volumes bool, filter string) error + func (c *DokiCLI) SystemVersion() error + func (c *DokiCLI) Tag(source, target string) error + func (c *DokiCLI) Top(containerID string, psArgs string) error + func (c *DokiCLI) Unmount(containerIDs []string) error + func (c *DokiCLI) Unpause(ids []string) error + func (c *DokiCLI) Unshare(cmd []string) error + func (c *DokiCLI) Untag(imageName string) error + func (c *DokiCLI) Update(containerID string, flags *RunFlags) error + func (c *DokiCLI) VerifyImageSignature(imageName string) error + func (c *DokiCLI) VolumeCreate(name, driver string, opts, labels map[string]string) error + func (c *DokiCLI) VolumeInspect(ids []string) error + func (c *DokiCLI) VolumeLs(quiet bool, filter string) error + func (c *DokiCLI) VolumePrune(filter string) error + func (c *DokiCLI) VolumeRm(ids []string, force bool) error + func (c *DokiCLI) Wait(containerID string) (int, error) + type MountOpt struct + Consistency string + ReadOnly bool + Source string + Target string + Type string + type RunFlags struct + Annotations map[string]string + BlkioWeight uint16 + CPUPeriod int64 + CPUQuota int64 + CPUSetCPUs string + CPUSetMems string + CPUShares int64 + CapAdd []string + CapDrop []string + CgroupNS string + CgroupParent string + DNS []string + DNSOptions []string + DNSSearch []string + Detach bool + DeviceCgroupRules []string + Devices []string + Domainname string + Entrypoint string + Env []string + EnvFile []string + Expose []string + ExtraHosts []string + GPUs string + GroupAdd []string + HealthCmd string + HealthInterval string + HealthRetries int + HealthStartPeriod string + HealthTimeout string + Hostname string + IP string + IP6 string + IPCMode string + Init bool + Interactive bool + Isolation string + LabelFile []string + Labels map[string]string + Link []string + LinkLocalIP string + LogDriver string + LogOpts map[string]string + MACAddress string + Memory int64 + MemorySwap int64 + Mounts []MountOpt + Name string + NanoCPUs int64 + Network string + OOMKillDisable bool + PIDMode string + PidsLimit int64 + Platform string + Ports []string + Privileged bool + PublishAll bool + Pull string + RM bool + ReadOnly bool + RestartPolicy string + Runtime_RT string + SecurityOpt []string + ShmSize int64 + StopSignal string + StopTimeout int + StorageOpt map[string]string + Sysctls map[string]string + TTY bool + UTSMode string + Ulimits []string + User string + UsernsMode string + VolumeDriver string + Volumes []string + VolumesFrom []string + Workdir string + func ParseRunFlags(args []string) (image string, cmd []string, flags *RunFlags)