2018-06-20 18:23:24 +00:00
|
|
|
// +build !linux
|
|
|
|
|
|
|
|
package libpod
|
|
|
|
|
2018-07-04 15:51:20 +00:00
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
2020-07-28 12:23:45 +00:00
|
|
|
"github.com/containers/podman/v2/libpod/define"
|
|
|
|
"github.com/containers/podman/v2/pkg/lookup"
|
2018-07-04 15:51:20 +00:00
|
|
|
spec "github.com/opencontainers/runtime-spec/specs-go"
|
|
|
|
)
|
|
|
|
|
|
|
|
func (c *Container) mountSHM(shmOptions string) error {
|
2019-06-24 20:48:34 +00:00
|
|
|
return define.ErrNotImplemented
|
2018-07-04 15:51:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (c *Container) unmountSHM(mount string) error {
|
2019-06-24 20:48:34 +00:00
|
|
|
return define.ErrNotImplemented
|
2018-07-04 15:51:20 +00:00
|
|
|
}
|
|
|
|
|
2020-07-09 17:50:01 +00:00
|
|
|
func (c *Container) prepare() error {
|
2019-06-24 20:48:34 +00:00
|
|
|
return define.ErrNotImplemented
|
2018-07-04 15:51:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (c *Container) cleanupNetwork() error {
|
2019-06-24 20:48:34 +00:00
|
|
|
return define.ErrNotImplemented
|
2018-07-04 15:51:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (c *Container) generateSpec(ctx context.Context) (*spec.Spec, error) {
|
2019-06-24 20:48:34 +00:00
|
|
|
return nil, define.ErrNotImplemented
|
2018-07-04 15:51:20 +00:00
|
|
|
}
|
2018-09-18 09:56:19 +00:00
|
|
|
|
2018-12-03 20:49:08 +00:00
|
|
|
func (c *Container) checkpoint(ctx context.Context, options ContainerCheckpointOptions) error {
|
2019-06-24 20:48:34 +00:00
|
|
|
return define.ErrNotImplemented
|
2018-09-18 09:56:19 +00:00
|
|
|
}
|
|
|
|
|
2018-12-03 20:49:08 +00:00
|
|
|
func (c *Container) restore(ctx context.Context, options ContainerCheckpointOptions) error {
|
2019-06-24 20:48:34 +00:00
|
|
|
return define.ErrNotImplemented
|
2018-09-18 09:56:19 +00:00
|
|
|
}
|
2019-03-14 12:33:53 +00:00
|
|
|
|
|
|
|
func (c *Container) copyOwnerAndPerms(source, dest string) error {
|
|
|
|
return nil
|
|
|
|
}
|
2019-09-23 18:54:10 +00:00
|
|
|
|
2019-10-10 18:45:56 +00:00
|
|
|
func (c *Container) getOCICgroupPath() (string, error) {
|
|
|
|
return "", define.ErrNotImplemented
|
|
|
|
}
|
2020-02-24 16:38:06 +00:00
|
|
|
|
2020-07-09 19:46:14 +00:00
|
|
|
func (c *Container) cleanupOverlayMounts() error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-06-09 21:10:37 +00:00
|
|
|
func (c *Container) reloadNetwork() error {
|
|
|
|
return define.ErrNotImplemented
|
|
|
|
}
|
|
|
|
|
2020-02-24 16:38:06 +00:00
|
|
|
func (c *Container) getUserOverrides() *lookup.Overrides {
|
|
|
|
return nil
|
|
|
|
}
|