Documentation
¶
Index ¶
- func NewPodmanCliOrchestrator(log logr.Logger, executor process.Executor) containers.ContainerOrchestrator
- type PodmanCliOrchestrator
- func (pco *PodmanCliOrchestrator) BuildImage(ctx context.Context, options containers.BuildImageOptions) error
- func (pco *PodmanCliOrchestrator) CaptureContainerLogs(ctx context.Context, container string, stdout usvc_io.WriteSyncerCloser, ...) error
- func (pco *PodmanCliOrchestrator) CheckStatus(ctx context.Context, cacheUsage containers.CachedRuntimeStatusUsage) containers.ContainerRuntimeStatus
- func (pco *PodmanCliOrchestrator) ConnectNetwork(ctx context.Context, options containers.ConnectNetworkOptions) error
- func (*PodmanCliOrchestrator) ContainerHost() string
- func (pco *PodmanCliOrchestrator) CreateContainer(ctx context.Context, options containers.CreateContainerOptions) (string, error)
- func (pco *PodmanCliOrchestrator) CreateFiles(ctx context.Context, options containers.CreateFilesOptions) error
- func (pco *PodmanCliOrchestrator) CreateNetwork(ctx context.Context, options containers.CreateNetworkOptions) (string, error)
- func (pco *PodmanCliOrchestrator) CreateVolume(ctx context.Context, options containers.CreateVolumeOptions) error
- func (pco *PodmanCliOrchestrator) DefaultNetworkName() string
- func (pco *PodmanCliOrchestrator) DisconnectNetwork(ctx context.Context, options containers.DisconnectNetworkOptions) error
- func (pco *PodmanCliOrchestrator) EnsureBackgroundStatusUpdates(ctx context.Context)
- func (pco *PodmanCliOrchestrator) ExecContainer(ctx context.Context, options containers.ExecContainerOptions) (<-chan int32, error)
- func (pco *PodmanCliOrchestrator) GetDiagnostics(ctx context.Context) (containers.ContainerDiagnostics, error)
- func (pco *PodmanCliOrchestrator) InspectContainers(ctx context.Context, options containers.InspectContainersOptions) ([]containers.InspectedContainer, error)
- func (pco *PodmanCliOrchestrator) InspectImages(ctx context.Context, options containers.InspectImagesOptions) ([]containers.InspectedImage, error)
- func (pco *PodmanCliOrchestrator) InspectNetworks(ctx context.Context, options containers.InspectNetworksOptions) ([]containers.InspectedNetwork, error)
- func (pco *PodmanCliOrchestrator) InspectVolumes(ctx context.Context, options containers.InspectVolumesOptions) ([]containers.InspectedVolume, error)
- func (*PodmanCliOrchestrator) IsDefault() bool
- func (pco *PodmanCliOrchestrator) ListContainers(ctx context.Context, options containers.ListContainersOptions) ([]containers.ListedContainer, error)
- func (pco *PodmanCliOrchestrator) ListNetworks(ctx context.Context, options containers.ListNetworksOptions) ([]containers.ListedNetwork, error)
- func (*PodmanCliOrchestrator) Name() string
- func (dco *PodmanCliOrchestrator) PullImage(ctx context.Context, options containers.PullImageOptions) (string, error)
- func (pco *PodmanCliOrchestrator) RemoveContainers(ctx context.Context, options containers.RemoveContainersOptions) ([]string, error)
- func (pco *PodmanCliOrchestrator) RemoveNetworks(ctx context.Context, options containers.RemoveNetworksOptions) ([]string, error)
- func (pco *PodmanCliOrchestrator) RemoveVolumes(ctx context.Context, options containers.RemoveVolumesOptions) ([]string, error)
- func (pco *PodmanCliOrchestrator) RunContainer(ctx context.Context, options containers.RunContainerOptions) (string, error)
- func (pco *PodmanCliOrchestrator) StartContainers(ctx context.Context, options containers.StartContainersOptions) ([]string, error)
- func (pco *PodmanCliOrchestrator) StopContainers(ctx context.Context, options containers.StopContainersOptions) ([]string, error)
- func (pco *PodmanCliOrchestrator) WatchContainers(sink chan<- containers.EventMessage) (*pubsub.Subscription[containers.EventMessage], error)
- func (pco *PodmanCliOrchestrator) WatchNetworks(sink chan<- containers.EventMessage) (*pubsub.Subscription[containers.EventMessage], error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPodmanCliOrchestrator ¶
func NewPodmanCliOrchestrator(log logr.Logger, executor process.Executor) containers.ContainerOrchestrator
Types ¶
type PodmanCliOrchestrator ¶
type PodmanCliOrchestrator struct {
// contains filtered or unexported fields
}
func (*PodmanCliOrchestrator) BuildImage ¶
func (pco *PodmanCliOrchestrator) BuildImage(ctx context.Context, options containers.BuildImageOptions) error
func (*PodmanCliOrchestrator) CaptureContainerLogs ¶
func (pco *PodmanCliOrchestrator) CaptureContainerLogs(ctx context.Context, container string, stdout usvc_io.WriteSyncerCloser, stderr usvc_io.WriteSyncerCloser, options containers.StreamContainerLogsOptions) error
func (*PodmanCliOrchestrator) CheckStatus ¶
func (pco *PodmanCliOrchestrator) CheckStatus(ctx context.Context, cacheUsage containers.CachedRuntimeStatusUsage) containers.ContainerRuntimeStatus
func (*PodmanCliOrchestrator) ConnectNetwork ¶
func (pco *PodmanCliOrchestrator) ConnectNetwork(ctx context.Context, options containers.ConnectNetworkOptions) error
func (*PodmanCliOrchestrator) ContainerHost ¶
func (*PodmanCliOrchestrator) ContainerHost() string
func (*PodmanCliOrchestrator) CreateContainer ¶
func (pco *PodmanCliOrchestrator) CreateContainer(ctx context.Context, options containers.CreateContainerOptions) (string, error)
func (*PodmanCliOrchestrator) CreateFiles ¶
func (pco *PodmanCliOrchestrator) CreateFiles(ctx context.Context, options containers.CreateFilesOptions) error
func (*PodmanCliOrchestrator) CreateNetwork ¶
func (pco *PodmanCliOrchestrator) CreateNetwork(ctx context.Context, options containers.CreateNetworkOptions) (string, error)
func (*PodmanCliOrchestrator) CreateVolume ¶
func (pco *PodmanCliOrchestrator) CreateVolume(ctx context.Context, options containers.CreateVolumeOptions) error
func (*PodmanCliOrchestrator) DefaultNetworkName ¶
func (pco *PodmanCliOrchestrator) DefaultNetworkName() string
func (*PodmanCliOrchestrator) DisconnectNetwork ¶
func (pco *PodmanCliOrchestrator) DisconnectNetwork(ctx context.Context, options containers.DisconnectNetworkOptions) error
func (*PodmanCliOrchestrator) EnsureBackgroundStatusUpdates ¶
func (pco *PodmanCliOrchestrator) EnsureBackgroundStatusUpdates(ctx context.Context)
Check the status of the Podman runtime in the background until the context is canceled.
func (*PodmanCliOrchestrator) ExecContainer ¶
func (pco *PodmanCliOrchestrator) ExecContainer(ctx context.Context, options containers.ExecContainerOptions) (<-chan int32, error)
func (*PodmanCliOrchestrator) GetDiagnostics ¶
func (pco *PodmanCliOrchestrator) GetDiagnostics(ctx context.Context) (containers.ContainerDiagnostics, error)
func (*PodmanCliOrchestrator) InspectContainers ¶
func (pco *PodmanCliOrchestrator) InspectContainers(ctx context.Context, options containers.InspectContainersOptions) ([]containers.InspectedContainer, error)
func (*PodmanCliOrchestrator) InspectImages ¶
func (pco *PodmanCliOrchestrator) InspectImages(ctx context.Context, options containers.InspectImagesOptions) ([]containers.InspectedImage, error)
func (*PodmanCliOrchestrator) InspectNetworks ¶
func (pco *PodmanCliOrchestrator) InspectNetworks(ctx context.Context, options containers.InspectNetworksOptions) ([]containers.InspectedNetwork, error)
func (*PodmanCliOrchestrator) InspectVolumes ¶
func (pco *PodmanCliOrchestrator) InspectVolumes(ctx context.Context, options containers.InspectVolumesOptions) ([]containers.InspectedVolume, error)
func (*PodmanCliOrchestrator) IsDefault ¶
func (*PodmanCliOrchestrator) IsDefault() bool
func (*PodmanCliOrchestrator) ListContainers ¶
func (pco *PodmanCliOrchestrator) ListContainers(ctx context.Context, options containers.ListContainersOptions) ([]containers.ListedContainer, error)
func (*PodmanCliOrchestrator) ListNetworks ¶
func (pco *PodmanCliOrchestrator) ListNetworks(ctx context.Context, options containers.ListNetworksOptions) ([]containers.ListedNetwork, error)
func (*PodmanCliOrchestrator) Name ¶
func (*PodmanCliOrchestrator) Name() string
func (*PodmanCliOrchestrator) PullImage ¶
func (dco *PodmanCliOrchestrator) PullImage(ctx context.Context, options containers.PullImageOptions) (string, error)
func (*PodmanCliOrchestrator) RemoveContainers ¶
func (pco *PodmanCliOrchestrator) RemoveContainers(ctx context.Context, options containers.RemoveContainersOptions) ([]string, error)
func (*PodmanCliOrchestrator) RemoveNetworks ¶
func (pco *PodmanCliOrchestrator) RemoveNetworks(ctx context.Context, options containers.RemoveNetworksOptions) ([]string, error)
func (*PodmanCliOrchestrator) RemoveVolumes ¶
func (pco *PodmanCliOrchestrator) RemoveVolumes(ctx context.Context, options containers.RemoveVolumesOptions) ([]string, error)
func (*PodmanCliOrchestrator) RunContainer ¶
func (pco *PodmanCliOrchestrator) RunContainer(ctx context.Context, options containers.RunContainerOptions) (string, error)
func (*PodmanCliOrchestrator) StartContainers ¶
func (pco *PodmanCliOrchestrator) StartContainers(ctx context.Context, options containers.StartContainersOptions) ([]string, error)
func (*PodmanCliOrchestrator) StopContainers ¶
func (pco *PodmanCliOrchestrator) StopContainers(ctx context.Context, options containers.StopContainersOptions) ([]string, error)
func (*PodmanCliOrchestrator) WatchContainers ¶
func (pco *PodmanCliOrchestrator) WatchContainers(sink chan<- containers.EventMessage) (*pubsub.Subscription[containers.EventMessage], error)
func (*PodmanCliOrchestrator) WatchNetworks ¶
func (pco *PodmanCliOrchestrator) WatchNetworks(sink chan<- containers.EventMessage) (*pubsub.Subscription[containers.EventMessage], error)
Click to show internal directories.
Click to hide internal directories.