Implement basic CSI driver

Currently can create and remove volumes, but resizing and snapshots is not supported yet
This commit is contained in:
Vitaliy Filippov
2021-05-16 01:15:43 +03:00
parent eaac1fc5d1
commit fd8244699b
22 changed files with 1808 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
// Copyright (c) Vitaliy Filippov, 2019+
// License: VNPL-1.1 or GNU GPL-2.0+ (see README.md for details)
package vitastor
const (
vitastorCSIDriverName = "csi.vitastor.io"
vitastorCSIDriverVersion = "0.6.3"
)
// Config struct fills the parameters of request or user input
type Config struct
{
Endpoint string
NodeID string
}
// NewConfig returns config struct to initialize new driver
func NewConfig() *Config
{
return &Config{}
}