provider

package
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseProvider

type BaseProvider struct {
}

func (*BaseProvider) NodeCheckMountVolume

func (provider *BaseProvider) NodeCheckMountVolume(path string) (bool, error)

func (*BaseProvider) NodeUmountVolume

func (provider *BaseProvider) NodeUmountVolume(path string) error

func (*BaseProvider) NodeWaitMountVolume

func (provider *BaseProvider) NodeWaitMountVolume(path string, timeout time.Duration) error

type Provider

type Provider interface {
	ParseFlag() error
	ControllerExpandVolume(bucket, prefix string, capacity uint64, context map[string]string) error
	NodeMountVolume(bucket, prefix, path string, capacity uint64, context map[string]string, options ...string) error
	NodeUmountVolume(path string) error
	NodeWaitMountVolume(path string, timeout time.Duration) error
	NodeCheckMountVolume(path string) (bool, error)
}

func GetProvider

func GetProvider(providerString string) (Provider, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL