Documentation
¶
Index ¶
Constants ¶
View Source
const ( MaxRetries = 10 RetrySleepTime = 1000 * time.Millisecond AccessZoneParam = "AccessZone" ExportPathParam = "Path" IsiPathParam = "IsiPath" AzServiceIPParam = "AzServiceIP" RootClientEnabledParam = "RootClientEnabled" RootClientEnabledParamDefault = "false" DeleteSnapshotMarker = "DELETE_SNAPSHOT" IgnoreDotAndDotDotSubDirs = 2 ClusterNameParam = "ClusterName" )
constants
Variables ¶
View Source
var Manifest = map[string]string{ "url": "http://github.com/dell/csi-isilon", "semver": core.SemVer, "commit": core.CommitSha32, "formed": core.CommitTime.Format(time.RFC1123), }
Manifest is the SP's manifest.
Functions ¶
Types ¶
type IsilonClusterConfig ¶ added in v1.5.0
type IsilonClusterConfig struct {
ClusterName string `json:"clusterName" yaml:"clusterName"`
IsiIP string `json:"isiIP,omitempty" yaml:"isiIP,omitempty"` // deprecate this attribute in future release
Endpoint string `json:"endpoint,omitempty" yaml:"endpoint,omitempty"`
IsiPort string `json:"isiPort,omitempty" yaml:"isiPort,omitempty"`
EndpointURL string
User string `json:"username" yaml:"username"`
Password string `json:"password" yaml:"password"`
IsiInsecure *bool `json:"isiInsecure,omitempty" yaml:"isiInsecure,omitempty"` // deprecate this attribute in future release
SkipCertificateValidation *bool `json:"skipCertificateValidation,omitempty" yaml:"skipCertificateValidation,omitempty"`
IsiPath string `json:"isiPath,omitempty" yaml:"isiPath,omitempty"`
IsDefaultCluster *bool `json:"isDefaultCluster,omitempty" yaml:"isDefaultCluster,omitempty"` // deprecate this attribute in future release
IsDefault *bool `json:"isDefault,omitempty" yaml:"isDefault,omitempty"`
// contains filtered or unexported fields
}
IsilonClusterConfig To hold config details of a isilon cluster
func (IsilonClusterConfig) String ¶ added in v1.5.0
func (s IsilonClusterConfig) String() string
To display the IsilonClusterConfig of a cluster
type IsilonClusters ¶ added in v1.5.0
type IsilonClusters struct {
IsilonClusters []IsilonClusterConfig `json:"isilonClusters" yaml:"isilonClusters"`
LogLevel string `json:"logLevel,omitempty" yaml:"logLevel,omitempty"`
}
IsilonClusters To unmarshal secret.json file
type Opts ¶
type Opts struct {
Port string
AccessZone string
Path string
Insecure bool
AutoProbe bool
QuotaEnabled bool
DebugEnabled bool
Verbose uint
NfsV3 bool
CustomTopologyEnabled bool
KubeConfigPath string
MaxVolumesPerNode int64
// contains filtered or unexported fields
}
Opts defines service configuration options.
type Service ¶
type Service interface {
csi.ControllerServer
csi.IdentityServer
csi.NodeServer
BeforeServe(context.Context, *gocsi.StoragePlugin, net.Listener) error
}
Service is the CSI service provider.
Click to show internal directories.
Click to hide internal directories.