util

package
v0.0.0-...-b934aff Latest Latest
Warning

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

Go to latest
Published: May 16, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DevDir = "/dev/longhorn"

Variables

This section is empty.

Functions

func ConstructSocketNameInContainer

func ConstructSocketNameInContainer(driverName string) string

func ConstructSocketNameOnHost

func ConstructSocketNameOnHost(driverName string) string

func ConvertSize

func ConvertSize(size string) (string, string, error)

func Execute

func Execute(binary string, args []string) (string, error)

Types

type MetadataConfig

type MetadataConfig struct {
	DriverName    string
	Image         string
	ContainerName string
}

func GetMetadataConfig

func GetMetadataConfig(metadataUrl string) (MetadataConfig, error)

Jump to

Keyboard shortcuts

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