Documentation ¶
Index ¶
- type ContainerEngine
- func (ic *ContainerEngine) Config(_ context.Context) (*config.Config, error)
- func (ic *ContainerEngine) ContainerAttach(ctx context.Context, nameOrId string, options entities.AttachOptions) error
- func (ic *ContainerEngine) ContainerCheckpoint(ctx context.Context, namesOrIds []string, options entities.CheckpointOptions) ([]*entities.CheckpointReport, error)
- func (ic *ContainerEngine) ContainerCleanup(ctx context.Context, namesOrIds []string, ...) ([]*entities.ContainerCleanupReport, error)
- func (ic *ContainerEngine) ContainerCommit(ctx context.Context, nameOrId string, options entities.CommitOptions) (*entities.CommitReport, error)
- func (ic *ContainerEngine) ContainerCreate(ctx context.Context, s *specgen.SpecGenerator) (*entities.ContainerCreateReport, error)
- func (ic *ContainerEngine) ContainerDiff(ctx context.Context, nameOrId string, _ entities.DiffOptions) (*entities.DiffReport, error)
- func (ic *ContainerEngine) ContainerExec(ctx context.Context, nameOrId string, options entities.ExecOptions) (int, error)
- func (ic *ContainerEngine) ContainerExists(ctx context.Context, nameOrId string) (*entities.BoolReport, error)
- func (ic *ContainerEngine) ContainerExport(ctx context.Context, nameOrId string, options entities.ContainerExportOptions) error
- func (ic *ContainerEngine) ContainerInit(ctx context.Context, namesOrIds []string, ...) ([]*entities.ContainerInitReport, error)
- func (ic *ContainerEngine) ContainerInspect(ctx context.Context, namesOrIds []string, options entities.InspectOptions) ([]*entities.ContainerInspectReport, error)
- func (ic *ContainerEngine) ContainerKill(ctx context.Context, namesOrIds []string, options entities.KillOptions) ([]*entities.KillReport, error)
- func (ic *ContainerEngine) ContainerList(ctx context.Context, options entities.ContainerListOptions) ([]entities.ListContainer, error)
- func (ic *ContainerEngine) ContainerLogs(ctx context.Context, containers []string, ...) error
- func (ic *ContainerEngine) ContainerMount(ctx context.Context, nameOrIds []string, ...) ([]*entities.ContainerMountReport, error)
- func (ic *ContainerEngine) ContainerPause(ctx context.Context, namesOrIds []string, options entities.PauseUnPauseOptions) ([]*entities.PauseUnpauseReport, error)
- func (ic *ContainerEngine) ContainerRestart(ctx context.Context, namesOrIds []string, options entities.RestartOptions) ([]*entities.RestartReport, error)
- func (ic *ContainerEngine) ContainerRestore(ctx context.Context, namesOrIds []string, options entities.RestoreOptions) ([]*entities.RestoreReport, error)
- func (ic *ContainerEngine) ContainerRm(ctx context.Context, namesOrIds []string, options entities.RmOptions) ([]*entities.RmReport, error)
- func (ic *ContainerEngine) ContainerRun(ctx context.Context, opts entities.ContainerRunOptions) (*entities.ContainerRunReport, error)
- func (ic *ContainerEngine) ContainerStart(ctx context.Context, namesOrIds []string, ...) ([]*entities.ContainerStartReport, error)
- func (ic *ContainerEngine) ContainerStop(ctx context.Context, namesOrIds []string, options entities.StopOptions) ([]*entities.StopReport, error)
- func (ic *ContainerEngine) ContainerTop(ctx context.Context, options entities.TopOptions) (*entities.StringSliceReport, error)
- func (ic *ContainerEngine) ContainerUnmount(ctx context.Context, nameOrIds []string, ...) ([]*entities.ContainerUnmountReport, error)
- func (ic *ContainerEngine) ContainerUnpause(ctx context.Context, namesOrIds []string, options entities.PauseUnPauseOptions) ([]*entities.PauseUnpauseReport, error)
- func (ic *ContainerEngine) ContainerWait(ctx context.Context, namesOrIds []string, options entities.WaitOptions) ([]entities.WaitReport, error)
- func (ic *ContainerEngine) HealthCheckRun(ctx context.Context, nameOrId string, options entities.HealthCheckOptions) (*define.HealthCheckResults, error)
- func (ic *ContainerEngine) Info(ctx context.Context) (*define.Info, error)
- func (ic *ContainerEngine) PodCreate(ctx context.Context, opts entities.PodCreateOptions) (*entities.PodCreateReport, error)
- func (ic *ContainerEngine) PodExists(ctx context.Context, nameOrId string) (*entities.BoolReport, error)
- func (ic *ContainerEngine) PodInspect(ctx context.Context, options entities.PodInspectOptions) (*entities.PodInspectReport, error)
- func (ic *ContainerEngine) PodKill(ctx context.Context, namesOrIds []string, options entities.PodKillOptions) ([]*entities.PodKillReport, error)
- func (ic *ContainerEngine) PodPause(ctx context.Context, namesOrIds []string, options entities.PodPauseOptions) ([]*entities.PodPauseReport, error)
- func (ic *ContainerEngine) PodPs(ctx context.Context, options entities.PodPSOptions) ([]*entities.ListPodsReport, error)
- func (ic *ContainerEngine) PodRestart(ctx context.Context, namesOrIds []string, options entities.PodRestartOptions) ([]*entities.PodRestartReport, error)
- func (ic *ContainerEngine) PodRm(ctx context.Context, namesOrIds []string, options entities.PodRmOptions) ([]*entities.PodRmReport, error)
- func (ic *ContainerEngine) PodStart(ctx context.Context, namesOrIds []string, options entities.PodStartOptions) ([]*entities.PodStartReport, error)
- func (ic *ContainerEngine) PodStop(ctx context.Context, namesOrIds []string, options entities.PodStopOptions) ([]*entities.PodStopReport, error)
- func (ic *ContainerEngine) PodTop(ctx context.Context, options entities.PodTopOptions) (*entities.StringSliceReport, error)
- func (ic *ContainerEngine) PodUnpause(ctx context.Context, namesOrIds []string, options entities.PodunpauseOptions) ([]*entities.PodUnpauseReport, error)
- func (ic *ContainerEngine) RestService(_ context.Context, _ entities.ServiceOptions) error
- func (ic *ContainerEngine) VarlinkService(_ context.Context, _ entities.ServiceOptions) error
- func (ic *ContainerEngine) VolumeCreate(ctx context.Context, opts entities.VolumeCreateOptions) (*entities.IdOrNameResponse, error)
- func (ic *ContainerEngine) VolumeInspect(ctx context.Context, namesOrIds []string, opts entities.VolumeInspectOptions) ([]*entities.VolumeInspectReport, error)
- func (ic *ContainerEngine) VolumeList(ctx context.Context, opts entities.VolumeListOptions) ([]*entities.VolumeListReport, error)
- func (ic *ContainerEngine) VolumePrune(ctx context.Context, opts entities.VolumePruneOptions) ([]*entities.VolumePruneReport, error)
- func (ic *ContainerEngine) VolumeRm(ctx context.Context, namesOrIds []string, opts entities.VolumeRmOptions) ([]*entities.VolumeRmReport, error)
- type ImageEngine
- func (ir *ImageEngine) Config(_ context.Context) (*config.Config, error)
- func (ir *ImageEngine) Delete(ctx context.Context, nameOrId []string, opts entities.ImageDeleteOptions) (*entities.ImageDeleteReport, error)
- func (ir *ImageEngine) Diff(ctx context.Context, nameOrId string, _ entities.DiffOptions) (*entities.DiffReport, error)
- func (ir *ImageEngine) Exists(_ context.Context, nameOrId string) (*entities.BoolReport, error)
- func (ir *ImageEngine) History(ctx context.Context, nameOrId string, opts entities.ImageHistoryOptions) (*entities.ImageHistoryReport, error)
- func (ir *ImageEngine) Import(ctx context.Context, opts entities.ImageImportOptions) (*entities.ImageImportReport, error)
- func (ir *ImageEngine) Inspect(_ context.Context, names []string, opts entities.InspectOptions) (*entities.ImageInspectReport, error)
- func (ir *ImageEngine) List(ctx context.Context, opts entities.ImageListOptions) ([]*entities.ImageSummary, error)
- func (ir *ImageEngine) Load(ctx context.Context, opts entities.ImageLoadOptions) (*entities.ImageLoadReport, error)
- func (ir *ImageEngine) Prune(ctx context.Context, opts entities.ImagePruneOptions) (*entities.ImagePruneReport, error)
- func (ir *ImageEngine) Pull(ctx context.Context, rawImage string, options entities.ImagePullOptions) (*entities.ImagePullReport, error)
- func (ir *ImageEngine) Push(ctx context.Context, source string, destination string, ...) error
- func (ir *ImageEngine) Save(ctx context.Context, nameOrId string, tags []string, ...) error
- func (ir *ImageEngine) Search(ctx context.Context, term string, opts entities.ImageSearchOptions) ([]entities.ImageSearchReport, error)
- func (ir *ImageEngine) Tag(ctx context.Context, nameOrId string, tags []string, ...) error
- func (ir *ImageEngine) Untag(ctx context.Context, nameOrId string, tags []string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerEngine ¶
Container-related runtime using an ssh-tunnel to utilize Podman service
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 (ic *ContainerEngine) ContainerCreate(ctx context.Context, s *specgen.SpecGenerator) (*entities.ContainerCreateReport, error)
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 (ic *ContainerEngine) ContainerList(ctx context.Context, options entities.ContainerListOptions) ([]entities.ListContainer, error)
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 (*ContainerEngine) ContainerRun ¶ added in v1.9.0
func (ic *ContainerEngine) ContainerRun(ctx context.Context, opts entities.ContainerRunOptions) (*entities.ContainerRunReport, error)
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 (ic *ContainerEngine) ContainerTop(ctx context.Context, options entities.TopOptions) (*entities.StringSliceReport, error)
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) PodCreate ¶ added in v1.9.0
func (ic *ContainerEngine) PodCreate(ctx context.Context, opts entities.PodCreateOptions) (*entities.PodCreateReport, error)
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 (ic *ContainerEngine) PodInspect(ctx context.Context, options entities.PodInspectOptions) (*entities.PodInspectReport, error)
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 (ic *ContainerEngine) PodPs(ctx context.Context, options entities.PodPSOptions) ([]*entities.ListPodsReport, error)
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 (ic *ContainerEngine) PodTop(ctx context.Context, options entities.PodTopOptions) (*entities.StringSliceReport, error)
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 (ic *ContainerEngine) RestService(_ context.Context, _ entities.ServiceOptions) error
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 (ic *ContainerEngine) VolumeCreate(ctx context.Context, opts entities.VolumeCreateOptions) (*entities.IdOrNameResponse, error)
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 (ic *ContainerEngine) VolumeList(ctx context.Context, opts entities.VolumeListOptions) ([]*entities.VolumeListReport, error)
func (*ContainerEngine) VolumePrune ¶
func (ic *ContainerEngine) VolumePrune(ctx context.Context, opts entities.VolumePruneOptions) ([]*entities.VolumePruneReport, error)
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 ¶
Image-related runtime using an ssh-tunnel to utilize Podman service
func (*ImageEngine) Delete ¶
func (ir *ImageEngine) Delete(ctx context.Context, nameOrId []string, opts entities.ImageDeleteOptions) (*entities.ImageDeleteReport, error)
func (*ImageEngine) Diff ¶ added in v1.9.0
func (ir *ImageEngine) Diff(ctx context.Context, nameOrId string, _ entities.DiffOptions) (*entities.DiffReport, error)
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 (ir *ImageEngine) History(ctx context.Context, nameOrId string, opts entities.ImageHistoryOptions) (*entities.ImageHistoryReport, error)
func (*ImageEngine) Import ¶ added in v1.9.0
func (ir *ImageEngine) Import(ctx context.Context, opts entities.ImageImportOptions) (*entities.ImageImportReport, error)
func (*ImageEngine) Inspect ¶ added in v1.9.0
func (ir *ImageEngine) Inspect(_ context.Context, names []string, opts entities.InspectOptions) (*entities.ImageInspectReport, error)
func (*ImageEngine) List ¶
func (ir *ImageEngine) List(ctx context.Context, opts entities.ImageListOptions) ([]*entities.ImageSummary, error)
func (*ImageEngine) Load ¶ added in v1.9.0
func (ir *ImageEngine) Load(ctx context.Context, opts entities.ImageLoadOptions) (*entities.ImageLoadReport, error)
func (*ImageEngine) Prune ¶
func (ir *ImageEngine) Prune(ctx context.Context, opts entities.ImagePruneOptions) (*entities.ImagePruneReport, error)
func (*ImageEngine) Pull ¶ added in v1.9.0
func (ir *ImageEngine) Pull(ctx context.Context, rawImage string, options entities.ImagePullOptions) (*entities.ImagePullReport, error)
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 (ir *ImageEngine) Search(ctx context.Context, term string, opts entities.ImageSearchOptions) ([]entities.ImageSearchReport, error)
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
Click to show internal directories.
Click to hide internal directories.