provisioner

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2021 License: Apache-2.0 Imports: 13 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

Delete removes the storage asset that was created by Provision represented by the given PV. Right now, we are not using the 'context.Context' argument, so ignoring it.

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