tunnel

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: May 22, 2020 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerEngine

type ContainerEngine struct {
	ClientCxt context.Context
}

Container-related runtime using an ssh-tunnel to utilize Podman service

func (*ContainerEngine) Config added in v1.9.0

func (ic *ContainerEngine) Config(_ context.Context) (*config.Config, error)

func (*ContainerEngine) ContainerAttach added in v1.9.0

func (ic *ContainerEngine) ContainerAttach(ctx context.Context, nameOrId string, options entities.AttachOptions) error

func (*ContainerEngine) ContainerCheckpoint added in v1.9.0

func (ic *ContainerEngine) ContainerCheckpoint(ctx context.Context, namesOrIds []string, options entities.CheckpointOptions) ([]*entities.CheckpointReport, error)

func (*ContainerEngine) ContainerCleanup added in v1.9.0

func (ic *ContainerEngine) ContainerCleanup(ctx context.Context, namesOrIds []string, options entities.ContainerCleanupOptions) ([]*entities.ContainerCleanupReport, error)

func (*ContainerEngine) ContainerCommit added in v1.9.0

func (ic *ContainerEngine) ContainerCommit(ctx context.Context, nameOrId string, options entities.CommitOptions) (*entities.CommitReport, error)

func (*ContainerEngine) ContainerCreate added in v1.9.0

func (*ContainerEngine) ContainerDiff added in v1.9.0

func (ic *ContainerEngine) ContainerDiff(ctx context.Context, nameOrId string, _ entities.DiffOptions) (*entities.DiffReport, error)

func (*ContainerEngine) ContainerExec added in v1.9.0

func (ic *ContainerEngine) ContainerExec(ctx context.Context, nameOrId string, options entities.ExecOptions) (int, error)

func (*ContainerEngine) ContainerExists added in v1.9.0

func (ic *ContainerEngine) ContainerExists(ctx context.Context, nameOrId string) (*entities.BoolReport, error)

func (*ContainerEngine) ContainerExport added in v1.9.0

func (ic *ContainerEngine) ContainerExport(ctx context.Context, nameOrId string, options entities.ContainerExportOptions) error

func (*ContainerEngine) ContainerInit added in v1.9.0

func (ic *ContainerEngine) ContainerInit(ctx context.Context, namesOrIds []string, options entities.ContainerInitOptions) ([]*entities.ContainerInitReport, error)

func (*ContainerEngine) ContainerInspect added in v1.9.0

func (ic *ContainerEngine) ContainerInspect(ctx context.Context, namesOrIds []string, options entities.InspectOptions) ([]*entities.ContainerInspectReport, error)

func (*ContainerEngine) ContainerKill added in v1.9.0

func (ic *ContainerEngine) ContainerKill(ctx context.Context, namesOrIds []string, options entities.KillOptions) ([]*entities.KillReport, error)

func (*ContainerEngine) ContainerList added in v1.9.0

func (*ContainerEngine) ContainerLogs added in v1.9.0

func (ic *ContainerEngine) ContainerLogs(ctx context.Context, containers []string, options entities.ContainerLogsOptions) error

func (*ContainerEngine) ContainerMount added in v1.9.0

func (ic *ContainerEngine) ContainerMount(ctx context.Context, nameOrIds []string, options entities.ContainerMountOptions) ([]*entities.ContainerMountReport, error)

func (*ContainerEngine) ContainerPause added in v1.9.0

func (ic *ContainerEngine) ContainerPause(ctx context.Context, namesOrIds []string, options entities.PauseUnPauseOptions) ([]*entities.PauseUnpauseReport, error)

func (*ContainerEngine) ContainerRestart added in v1.9.0

func (ic *ContainerEngine) ContainerRestart(ctx context.Context, namesOrIds []string, options entities.RestartOptions) ([]*entities.RestartReport, error)

func (*ContainerEngine) ContainerRestore added in v1.9.0

func (ic *ContainerEngine) ContainerRestore(ctx context.Context, namesOrIds []string, options entities.RestoreOptions) ([]*entities.RestoreReport, error)

func (*ContainerEngine) ContainerRm added in v1.9.0

func (ic *ContainerEngine) ContainerRm(ctx context.Context, namesOrIds []string, options entities.RmOptions) ([]*entities.RmReport, error)

func (*ContainerEngine) ContainerRun added in v1.9.0

func (*ContainerEngine) ContainerStart added in v1.9.0

func (ic *ContainerEngine) ContainerStart(ctx context.Context, namesOrIds []string, options entities.ContainerStartOptions) ([]*entities.ContainerStartReport, error)

func (*ContainerEngine) ContainerStop added in v1.9.0

func (ic *ContainerEngine) ContainerStop(ctx context.Context, namesOrIds []string, options entities.StopOptions) ([]*entities.StopReport, error)

func (*ContainerEngine) ContainerTop added in v1.9.0

func (*ContainerEngine) ContainerUnmount added in v1.9.0

func (ic *ContainerEngine) ContainerUnmount(ctx context.Context, nameOrIds []string, options entities.ContainerUnmountOptions) ([]*entities.ContainerUnmountReport, error)

func (*ContainerEngine) ContainerUnpause added in v1.9.0

func (ic *ContainerEngine) ContainerUnpause(ctx context.Context, namesOrIds []string, options entities.PauseUnPauseOptions) ([]*entities.PauseUnpauseReport, error)

func (*ContainerEngine) ContainerWait added in v1.9.0

func (ic *ContainerEngine) ContainerWait(ctx context.Context, namesOrIds []string, options entities.WaitOptions) ([]entities.WaitReport, error)

func (*ContainerEngine) HealthCheckRun added in v1.9.0

func (ic *ContainerEngine) HealthCheckRun(ctx context.Context, nameOrId string, options entities.HealthCheckOptions) (*define.HealthCheckResults, error)

func (*ContainerEngine) Info added in v1.9.0

func (ic *ContainerEngine) Info(ctx context.Context) (*define.Info, error)

func (*ContainerEngine) PodCreate added in v1.9.0

func (*ContainerEngine) PodExists added in v1.9.0

func (ic *ContainerEngine) PodExists(ctx context.Context, nameOrId string) (*entities.BoolReport, error)

func (*ContainerEngine) PodInspect added in v1.9.0

func (*ContainerEngine) PodKill added in v1.9.0

func (ic *ContainerEngine) PodKill(ctx context.Context, namesOrIds []string, options entities.PodKillOptions) ([]*entities.PodKillReport, error)

func (*ContainerEngine) PodPause added in v1.9.0

func (ic *ContainerEngine) PodPause(ctx context.Context, namesOrIds []string, options entities.PodPauseOptions) ([]*entities.PodPauseReport, error)

func (*ContainerEngine) PodPs added in v1.9.0

func (*ContainerEngine) PodRestart added in v1.9.0

func (ic *ContainerEngine) PodRestart(ctx context.Context, namesOrIds []string, options entities.PodRestartOptions) ([]*entities.PodRestartReport, error)

func (*ContainerEngine) PodRm added in v1.9.0

func (ic *ContainerEngine) PodRm(ctx context.Context, namesOrIds []string, options entities.PodRmOptions) ([]*entities.PodRmReport, error)

func (*ContainerEngine) PodStart added in v1.9.0

func (ic *ContainerEngine) PodStart(ctx context.Context, namesOrIds []string, options entities.PodStartOptions) ([]*entities.PodStartReport, error)

func (*ContainerEngine) PodStop added in v1.9.0

func (ic *ContainerEngine) PodStop(ctx context.Context, namesOrIds []string, options entities.PodStopOptions) ([]*entities.PodStopReport, error)

func (*ContainerEngine) PodTop added in v1.9.0

func (*ContainerEngine) PodUnpause added in v1.9.0

func (ic *ContainerEngine) PodUnpause(ctx context.Context, namesOrIds []string, options entities.PodunpauseOptions) ([]*entities.PodUnpauseReport, error)

func (*ContainerEngine) RestService added in v1.9.0

func (*ContainerEngine) VarlinkService added in v1.9.0

func (ic *ContainerEngine) VarlinkService(_ context.Context, _ entities.ServiceOptions) error

func (*ContainerEngine) VolumeCreate added in v1.9.0

func (*ContainerEngine) VolumeInspect added in v1.9.0

func (ic *ContainerEngine) VolumeInspect(ctx context.Context, namesOrIds []string, opts entities.VolumeInspectOptions) ([]*entities.VolumeInspectReport, error)

func (*ContainerEngine) VolumeList added in v1.9.0

func (*ContainerEngine) VolumePrune

func (*ContainerEngine) VolumeRm added in v1.9.0

func (ic *ContainerEngine) VolumeRm(ctx context.Context, namesOrIds []string, opts entities.VolumeRmOptions) ([]*entities.VolumeRmReport, error)

type ImageEngine

type ImageEngine struct {
	ClientCxt context.Context
}

Image-related runtime using an ssh-tunnel to utilize Podman service

func (*ImageEngine) Config added in v1.9.0

func (ir *ImageEngine) Config(_ context.Context) (*config.Config, error)

func (*ImageEngine) Delete

func (*ImageEngine) Diff added in v1.9.0

Diff reports the changes to the given image

func (*ImageEngine) Exists added in v1.9.0

func (ir *ImageEngine) Exists(_ context.Context, nameOrId string) (*entities.BoolReport, error)

func (*ImageEngine) History

func (*ImageEngine) Import added in v1.9.0

func (*ImageEngine) Inspect added in v1.9.0

func (*ImageEngine) List

func (*ImageEngine) Load added in v1.9.0

func (*ImageEngine) Prune

func (*ImageEngine) Pull added in v1.9.0

func (*ImageEngine) Push added in v1.9.0

func (ir *ImageEngine) Push(ctx context.Context, source string, destination string, options entities.ImagePushOptions) error

func (*ImageEngine) Save added in v1.9.0

func (ir *ImageEngine) Save(ctx context.Context, nameOrId string, tags []string, options entities.ImageSaveOptions) error

func (*ImageEngine) Search added in v1.9.0

func (*ImageEngine) Tag added in v1.9.0

func (ir *ImageEngine) Tag(ctx context.Context, nameOrId string, tags []string, options entities.ImageTagOptions) error

func (*ImageEngine) Untag added in v1.9.0

func (ir *ImageEngine) Untag(ctx context.Context, nameOrId string, tags []string, options entities.ImageUntagOptions) error

Jump to

Keyboard shortcuts

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