storagepool

package
v0.0.0-...-a88c85e Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package storagepool provides a specific implementation of CAS template engine

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCasPoolOperation

func NewCasPoolOperation(pool *v1alpha1.CasPool) (*casPoolOperation, error)

NewCasPoolOperation returns a new instance of casPoolOperation

func NewStoragePoolEngine

func NewStoragePoolEngine(
	castObj *v1alpha1.CASTemplate,
	openebsConfig string,
	key string,
	storagePoolValues map[string]interface{}) (e *storagePoolEngine, err error)

NewStoragePoolEngine returns a new instance of storagePoolEngine

Types

type StoragePoolOperation

type StoragePoolOperation struct {
	// contains filtered or unexported fields
}

StoragePoolOperation holds the instance of StoragePool related operations

func NewStoragePoolOperation

func NewStoragePoolOperation(poolName string) (*StoragePoolOperation, error)

NewStoragePoolOperation returns a new instance of StoragePoolOperation

func (*StoragePoolOperation) List

List returns the list of storagepools

func (*StoragePoolOperation) Read

Read returns the list of storagepools

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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