Discover Packages
github.com/kinvolk/lokomotive
pkg
components
openebs-storage-class
package
Version:
v0.6.1
Opens a new window with list of versions in this module.
Published: Feb 12, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func NewConfig() *component
NewConfig returns new OpenEBS Storage Class component configuration with default values set.
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.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.