Documentation ¶
Index ¶
Constants ¶
View Source
const ( DirPath = "scalecsilogs" LogFile = "ibm-spectrum-scale-csi.logs" LogLevel = "LOGLEVEL" PersistentLog = "PERSISTENT_LOG" NodePublishMethod = "NODEPUBLISH_METHOD" VolumeStatsCapability = "VOLUME_STATS_CAPABILITY" HostPath = "/host/var/adm/ras/" RotateSize = 1024 )
Variables ¶
This section is empty.
Functions ¶
func HandleSecretsAndCerts ¶
func HandleSecretsAndCerts(ctx context.Context, cmap *ScaleSettingsConfigMap) error
Types ¶
type LoggerLevel ¶
type LoggerLevel int
const ( TRACE LoggerLevel = iota DEBUG INFO WARNING ERROR FATAL )
func (LoggerLevel) String ¶
func (level LoggerLevel) String() string
type Primary ¶
type Primary struct { PrimaryFSDep string `json:"primaryFS"` // Deprecated PrimaryFs string `json:"primaryFs"` PrimaryFset string `json:"primaryFset"` PrimaryCid string `json:"primaryCid"` InodeLimitDep string `json:"inode-limit"` // Deprecated InodeLimits string `json:"inodeLimit"` RemoteCluster string `json:"remoteCluster"` PrimaryFSMount string PrimaryFsetLink string SymlinkAbsolutePath string SymlinkRelativePath string }
func (Primary) GetInodeLimit ¶
To support backwards compatibility if the InodeLimit field is not defined then
use the previous version of the field.
func (Primary) GetPrimaryFs ¶
To support backwards compatibility if the PrimaryFs field is not defined then
use the previous version of the field.
type ScaleSettingsConfigMap ¶
type ScaleSettingsConfigMap struct {
Clusters []Clusters
}
func LoadScaleConfigSettings ¶
func LoadScaleConfigSettings(ctx context.Context) ScaleSettingsConfigMap
Click to show internal directories.
Click to hide internal directories.