mirror of
https://github.com/containers/podman.git
synced 2025-08-14 02:41:34 +08:00

With the advent of Podman 2.0.0 we crossed the magical barrier of go modules. While we were able to continue importing all packages inside of the project, the project could not be vendored anymore from the outside. Move the go module to new major version and change all imports to `github.com/containers/libpod/v2`. The renaming of the imports was done via `gomove` [1]. [1] https://github.com/KSubedi/gomove Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
52 lines
1.2 KiB
Go
52 lines
1.2 KiB
Go
// +build !linux
|
|
|
|
package libpod
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/containers/libpod/v2/libpod/define"
|
|
"github.com/containers/libpod/v2/pkg/lookup"
|
|
spec "github.com/opencontainers/runtime-spec/specs-go"
|
|
)
|
|
|
|
func (c *Container) mountSHM(shmOptions string) error {
|
|
return define.ErrNotImplemented
|
|
}
|
|
|
|
func (c *Container) unmountSHM(mount string) error {
|
|
return define.ErrNotImplemented
|
|
}
|
|
|
|
func (c *Container) prepare() (err error) {
|
|
return define.ErrNotImplemented
|
|
}
|
|
|
|
func (c *Container) cleanupNetwork() error {
|
|
return define.ErrNotImplemented
|
|
}
|
|
|
|
func (c *Container) generateSpec(ctx context.Context) (*spec.Spec, error) {
|
|
return nil, define.ErrNotImplemented
|
|
}
|
|
|
|
func (c *Container) checkpoint(ctx context.Context, options ContainerCheckpointOptions) error {
|
|
return define.ErrNotImplemented
|
|
}
|
|
|
|
func (c *Container) restore(ctx context.Context, options ContainerCheckpointOptions) error {
|
|
return define.ErrNotImplemented
|
|
}
|
|
|
|
func (c *Container) copyOwnerAndPerms(source, dest string) error {
|
|
return nil
|
|
}
|
|
|
|
func (c *Container) getOCICgroupPath() (string, error) {
|
|
return "", define.ErrNotImplemented
|
|
}
|
|
|
|
func (c *Container) getUserOverrides() *lookup.Overrides {
|
|
return nil
|
|
}
|