Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMountPod ¶
func NewMountPod(jfsSetting *config.JfsSetting) *corev1.Pod
Types ¶
type MntInterface ¶ added in v0.12.0
type MntInterface interface { k8sMount.Interface JMount(jfsSetting *jfsConfig.JfsSetting) error JUmount(volumeId, target string) error AddRefOfMount(target string, podName string) error }
func NewPodMount ¶
func NewPodMount(client *k8sclient.K8sClient, mounter k8sMount.SafeFormatAndMount) MntInterface
func NewProcessMount ¶
func NewProcessMount(mounter k8sMount.SafeFormatAndMount) MntInterface
type PodMount ¶
type PodMount struct { k8sMount.SafeFormatAndMount K8sClient *k8sclient.K8sClient }
func (*PodMount) AddRefOfMount ¶
type ProcessMount ¶
type ProcessMount struct {
k8sMount.SafeFormatAndMount
}
func (*ProcessMount) AddRefOfMount ¶
func (p *ProcessMount) AddRefOfMount(target string, podName string) error
func (*ProcessMount) JMount ¶
func (p *ProcessMount) JMount(jfsSetting *jfsConfig.JfsSetting) error
func (*ProcessMount) JUmount ¶
func (p *ProcessMount) JUmount(volumeId, target string) error
Click to show internal directories.
Click to hide internal directories.