diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-09-18 07:46:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-18 07:46:04 -0400 |
commit | a9e95eb3274140318fe723dc60deb1627bfa31ec (patch) | |
tree | b7cdc5c5c024a11e44d1b6e2704b21aa07df3bbb /libpod/container_internal_unsupported.go | |
parent | fc4a47e0e7ef9404d725d3d1fc7beb621879640c (diff) | |
parent | c692f7a18b0dc49aace5eddc61072667d25d6dc7 (diff) | |
download | podman-a9e95eb3274140318fe723dc60deb1627bfa31ec.tar.gz podman-a9e95eb3274140318fe723dc60deb1627bfa31ec.tar.bz2 podman-a9e95eb3274140318fe723dc60deb1627bfa31ec.zip |
Merge pull request #11628 from Luap99/remove-unsued-code
Remove unused code from libpod
Diffstat (limited to 'libpod/container_internal_unsupported.go')
-rw-r--r-- | libpod/container_internal_unsupported.go | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/libpod/container_internal_unsupported.go b/libpod/container_internal_unsupported.go deleted file mode 100644 index 125329ce5..000000000 --- a/libpod/container_internal_unsupported.go +++ /dev/null @@ -1,64 +0,0 @@ -// +build !linux - -package libpod - -import ( - "context" - - "github.com/containers/podman/v3/libpod/define" - "github.com/containers/podman/v3/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() 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) cleanupOverlayMounts() error { - return nil -} - -func (c *Container) reloadNetwork() error { - return define.ErrNotImplemented -} - -func (c *Container) getUserOverrides() *lookup.Overrides { - return nil -} - -// Fix ownership and permissions of the specified volume if necessary. -func (c *Container) fixVolumePermissions(v *ContainerNamedVolume) error { - return define.ErrNotImplemented -} |