Closed ygalblum closed 2 years ago
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/reopen
/remove-lifecycle rotten
Please send feedback to sig-contributor-experience at kubernetes/community.
/close
@k8s-triage-robot: Closing this issue.
Hello,
I'm implementing a CSI based on NFS and I am using the mount-utils package. Since un-mounts may occur when the NFS server is down, I would like to use the
CleanupMountPointWithForce
method. For that I need an instance of aMounterForceUnmounter
, instead of that of anInterface
.Looking at the code, I've found that the mount interface is split into two. The base interface called Interface and the
MounterForceUnmounter
interface that inherits from the base and adds theUnmountWithForce
method. The Linux implementation (in mount_linux) actually implementsMounterForceUnmounter
interface (by implementingUnmountWithForce
), in theMounter
struct but it'sNew
method returns the base interfaceInterface
. mount_linux also defines a variable calledMounterForceUnmounter
as a pointer to a staticMounter
instance, but does not instantiate its fields likeNew
does.I am kinda new to Golang, so maybe I am missing something, but shouldn't there be a way to get a
MounterForceUnmounter
interface implementation? Since theNew
method calls an internaldetectSystemd
method, I would rather not create the instance manuallyAny help will be much appreciated