Documentation
¶
Index ¶
- type 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) LinkAdd(id, addr, pubB64 string) error
- func (c *DokiCLI) LinkRemove(id string) error
- func (c *DokiCLI) LinkShow() 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) MeshLs() error
- func (c *DokiCLI) MeshStatus() 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
- type RunFlags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DokiCLI ¶
type DokiCLI struct {
// contains filtered or unexported fields
}
func (*DokiCLI) AutoUpdate ¶
func (*DokiCLI) CpToContainer ¶
func (*DokiCLI) GenerateKube ¶
func (*DokiCLI) Healthcheck ¶
func (*DokiCLI) KubeGenerate ¶
func (*DokiCLI) LinkRemove ¶ added in v0.9.3
LinkRemove removes a peer from the static list.
func (*DokiCLI) MeshStatus ¶ added in v0.9.3
MeshStatus returns the local mesh install id and CA fingerprint.
func (*DokiCLI) NetworkConnect ¶
func (*DokiCLI) NetworkCreate ¶
func (*DokiCLI) NetworkDisconnect ¶
func (*DokiCLI) NetworkInspect ¶
func (*DokiCLI) NetworkPrune ¶
func (*DokiCLI) SystemDialStdio ¶
func (*DokiCLI) SystemEvents ¶
func (*DokiCLI) SystemInfo ¶
func (*DokiCLI) SystemVersion ¶
func (*DokiCLI) VerifyImageSignature ¶
func (*DokiCLI) VolumeCreate ¶
func (*DokiCLI) VolumeInspect ¶
func (*DokiCLI) VolumePrune ¶
type RunFlags ¶
type RunFlags struct {
Name string
Detach bool
Interactive bool
TTY bool
RM bool
Privileged bool
ReadOnly bool
Network string
RestartPolicy string
Memory int64
MemorySwap int64
NanoCPUs int64
CPUSetCPUs string
CPUSetMems string
CPUPeriod int64
CPUQuota int64
PidsLimit int64
OOMKillDisable bool
ShmSize int64
DNS []string
DNSSearch []string
DNSOptions []string
ExtraHosts []string
Env []string
EnvFile []string
Workdir string
User string
Entrypoint string
StopSignal string
StopTimeout int
Init bool
Pull string
Platform string
CapAdd []string
CapDrop []string
SecurityOpt []string
Sysctls map[string]string
Ulimits []string
LogDriver string
LogOpts map[string]string
Ports []string
PublishAll bool
Volumes []string
Mounts []MountOpt
Devices []string
DeviceCgroupRules []string
GroupAdd []string
Hostname string
Domainname string
IP string
IP6 string
Link []string
LinkLocalIP string
MACAddress string
BlkioWeight uint16
CgroupParent string
CgroupNS string
IPCMode string
PIDMode string
UTSMode string
UsernsMode string
Isolation string
Runtime_RT string
StorageOpt map[string]string
VolumeDriver string
VolumesFrom []string
Expose []string
Labels map[string]string
LabelFile []string
Annotations map[string]string
HealthCmd string
HealthInterval string
HealthTimeout string
HealthRetries int
HealthStartPeriod string
GPUs string
}
Click to show internal directories.
Click to hide internal directories.