gluster

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const MaxMB = 1024

Variables

View Source
var BasePath string
View Source
var MaxGB int
View Source
var PoolName string
View Source
var Port int
View Source
var Replicas int
View Source
var Secret string
View Source
var VgName string

Functions

func CheckVolumeHandler

func CheckVolumeHandler(c *gin.Context)

func CreateLVHandler

func CreateLVHandler(c *gin.Context)

func CreateVolumeHandler

func CreateVolumeHandler(c *gin.Context)

func DeleteLVHandler added in v1.3.3

func DeleteLVHandler(c *gin.Context)

func DeleteVolumeHandler added in v1.3.3

func DeleteVolumeHandler(c *gin.Context)

func GrowLVHandler

func GrowLVHandler(c *gin.Context)

func GrowVolumeHandler

func GrowVolumeHandler(c *gin.Context)

func VolumeInfoHandler

func VolumeInfoHandler(c *gin.Context)

Types

type BashRunner added in v1.0.8

type BashRunner struct{}

func (BashRunner) Run added in v1.0.8

func (r BashRunner) Run(command string, args ...string) ([]byte, error)

type Runner added in v1.0.8

type Runner interface {
	Run(string, ...string) ([]byte, error)
}
var ExecRunner Runner

Jump to

Keyboard shortcuts

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