provisioner

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package provisioner to provision Rook volumes on Kubernetes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(context *clusterd.Context) controller.Provisioner

New creates RookVolumeProvisioner

Types

type RookVolumeProvisioner

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

RookVolumeProvisioner is used to provision Rook volumes on Kubernetes

func (*RookVolumeProvisioner) Delete

func (p *RookVolumeProvisioner) Delete(volume *v1.PersistentVolume) error

Delete removes the storage asset that was created by Provision represented by the given PV.

func (*RookVolumeProvisioner) Provision

Provision creates a storage asset and returns a PV object representing it.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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