storage

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create added in v0.0.4

func Create(client *occlient.Client, name string, size string, path string, componentName string, applicationName string) (string, error)

Create adds storage to given component of given application

func Remove

func Remove(client *occlient.Client, name string, applicationName string, componentName string) error

Remove removes storage from given component of the given application. If no storage name is provided, all storage for the given component is removed

Types

type StorageInfo added in v0.0.4

type StorageInfo struct {
	Name string
	Size string
	Path string
}

func List

func List(client *occlient.Client, applicationName string, componentName string) ([]StorageInfo, error)

List lists all the storage associated with the given component of the given application

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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