openebsstorageclass

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Name represents OpenEBS Storage Class component name as it should be referenced in function calls
	// and in configuration.
	Name = "openebs-storage-class"
)

Variables

This section is empty.

Functions

func NewConfig added in v0.6.0

func NewConfig() *component

NewConfig returns new OpenEBS Storage Class component configuration with default values set.

Types

type StorageClass added in v0.6.0

type StorageClass struct {
	Name         string   `hcl:"name,label"`
	ReplicaCount int      `hcl:"replica_count,optional"`
	Default      bool     `hcl:"default,optional"`
	Disks        []string `hcl:"disks,optional"`
}

StorageClass represents single OpenEBS storage class with properties.

Jump to

Keyboard shortcuts

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