jiva

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

This file provides the necessary implementation to establish jiva as a mayaserver volume plugin.

This file handles jiva storage logic related to mayaserver's orchestration provider.

NOTE:

jiva storage delegates the provisioning, placement & other operational

aspects to an orchestration provider. Some of the orchestration providers can be Kubernetes, Nomad, etc.

Index

Constants

View Source
const (
	// A well defined namespaced name given to this volume plugin implementation
	JivaStorPluginName = "openebs.io/jiva"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type JivaOps

type JivaOps interface {
	Provision(*v1.PersistentVolumeClaim) (*v1.PersistentVolume, error)

	Delete(*v1.PersistentVolume) error
}

type JivaStorNomadAspect

type JivaStorNomadAspect struct {

	// The aspect that deals with orchestration needs for jiva
	// storage
	Nomad orchprovider.OrchestratorInterface
}

JivaStorNomadAspect is a concrete implementation of VolumePluginAspect This is a utility struct (publicly scoped) that can be used during jiva volume plugin initialization

func (*JivaStorNomadAspect) GetOrchProvider

func (jAspect *JivaStorNomadAspect) GetOrchProvider() (orchprovider.OrchestratorInterface, error)

Jump to

Keyboard shortcuts

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