1
0
mirror of https://github.com/gluster/glusterd2.git synced 2026-02-05 12:45:38 +01:00
Files
glusterd2/pkg/utils/volfiletypes.go
Aravinda VK 8de2a9ee49 Fix Option names in group profile and add db profile
- Group profile for transactional DB workload added
- Fixed the option names used in other group profiles
- Fixed the validation issues related to setting the options

glusterfs PR to support enable/disable of xlators
https://review.gluster.org/21813

Fixes: #1250
Signed-off-by: Aravinda VK <avishwan@redhat.com>
2018-12-07 11:25:17 +05:30

33 lines
893 B
Go

package utils
const (
// BrickVolfile is name of brick volfile template
BrickVolfile = "brick"
// ClientVolfile is a name of client volfile template
ClientVolfile = "client"
// RebalanceVolfile is a name of rebalance volfile template
RebalanceVolfile = "rebalance"
// SelfHealVolfile is a name of selfheal volfile template
SelfHealVolfile = "glustershd"
// BitdVolfile is a name of bitd volfile template
BitdVolfile = "bitd"
// ScrubdVolfile is a name of scrubd volfile template
ScrubdVolfile = "scrubd"
// GfProxyVolfile is a name of gfproxy volfile template
GfProxyVolfile = "gfproxy"
// NFSVolfile is a name of nfs volfile template
NFSVolfile = "nfs"
)
// ValidVolfiles represents list of valid volfile names
var ValidVolfiles = [...]string{
BrickVolfile,
ClientVolfile,
RebalanceVolfile,
SelfHealVolfile,
BitdVolfile,
ScrubdVolfile,
GfProxyVolfile,
NFSVolfile,
}