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)
Click to show internal directories.
Click to hide internal directories.