Documentation ¶
Index ¶
- func GetPodmanConnection() (context.Context, error)
- type NoOpPodmanRuntime
- func (n NoOpPodmanRuntime) ContainerStatus(unitName, unitImage string) (*api.UnitStatus, error)
- func (n NoOpPodmanRuntime) CreateContainer(unit api.Unit, spec *api.PodSpec, podName string, ...) (*api.UnitStatus, error)
- func (n NoOpPodmanRuntime) GetLogBuffer(options runtime.LogOptions) (*logbuf.LogBuffer, error)
- func (n NoOpPodmanRuntime) GetPid(unitName string) (int, bool)
- func (n NoOpPodmanRuntime) ReadSystemMetrics(s string) api.ResourceMetrics
- func (n NoOpPodmanRuntime) ReadUnitMetrics(s string) api.ResourceMetrics
- func (n NoOpPodmanRuntime) RemoveContainer(unit *api.Unit) error
- func (n NoOpPodmanRuntime) RemovePodSandbox(spec *api.PodSpec) error
- func (n NoOpPodmanRuntime) RunPodSandbox(spec *api.PodSpec) error
- func (n NoOpPodmanRuntime) SetPodNetwork(netNS, podIP string)
- func (n NoOpPodmanRuntime) StartContainer(unit api.Unit, spec *api.PodSpec, podName string) (*api.UnitStatus, error)
- func (n NoOpPodmanRuntime) StopPodSandbox(spec *api.PodSpec) error
- func (n NoOpPodmanRuntime) UnitRunning(unitName string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPodmanConnection ¶
Types ¶
type NoOpPodmanRuntime ¶
type NoOpPodmanRuntime struct{}
func NewRuntime ¶
func NewRuntime(rootdir string) (*NoOpPodmanRuntime, error)
func (NoOpPodmanRuntime) ContainerStatus ¶
func (n NoOpPodmanRuntime) ContainerStatus(unitName, unitImage string) (*api.UnitStatus, error)
func (NoOpPodmanRuntime) CreateContainer ¶
func (n NoOpPodmanRuntime) CreateContainer(unit api.Unit, spec *api.PodSpec, podName string, registryCredentials map[string]api.RegistryCredentials, useOverlayfs bool) (*api.UnitStatus, error)
func (NoOpPodmanRuntime) GetLogBuffer ¶
func (n NoOpPodmanRuntime) GetLogBuffer(options runtime.LogOptions) (*logbuf.LogBuffer, error)
func (NoOpPodmanRuntime) ReadSystemMetrics ¶
func (n NoOpPodmanRuntime) ReadSystemMetrics(s string) api.ResourceMetrics
func (NoOpPodmanRuntime) ReadUnitMetrics ¶
func (n NoOpPodmanRuntime) ReadUnitMetrics(s string) api.ResourceMetrics
func (NoOpPodmanRuntime) RemoveContainer ¶
func (n NoOpPodmanRuntime) RemoveContainer(unit *api.Unit) error
func (NoOpPodmanRuntime) RemovePodSandbox ¶
func (n NoOpPodmanRuntime) RemovePodSandbox(spec *api.PodSpec) error
func (NoOpPodmanRuntime) RunPodSandbox ¶
func (n NoOpPodmanRuntime) RunPodSandbox(spec *api.PodSpec) error
func (NoOpPodmanRuntime) SetPodNetwork ¶
func (n NoOpPodmanRuntime) SetPodNetwork(netNS, podIP string)
func (NoOpPodmanRuntime) StartContainer ¶
func (n NoOpPodmanRuntime) StartContainer(unit api.Unit, spec *api.PodSpec, podName string) (*api.UnitStatus, error)
func (NoOpPodmanRuntime) StopPodSandbox ¶
func (n NoOpPodmanRuntime) StopPodSandbox(spec *api.PodSpec) error
func (NoOpPodmanRuntime) UnitRunning ¶
func (n NoOpPodmanRuntime) UnitRunning(unitName string) bool
Click to show internal directories.
Click to hide internal directories.