provisioner

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2019 License: Apache-2.0 Imports: 11 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, flexDriverVendor string) 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.

Jump to

Keyboard shortcuts

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