Documentation
¶
Index ¶
Constants ¶
View Source
const ( DirPath = "scalecsilogs" LogFile = "ibm-spectrum-scale-csi.logs" PersistentLog = "PERSISTENT_LOG" NodePublishMethod = "NODEPUBLISH_METHOD" VolumeStatsCapability = "VOLUME_STATS_CAPABILITY" HostPath = "/host/var/adm/ras/" RotateSize = 1024 DiscoverCGFileset = "DISCOVER_CG_FILESET" )
Variables ¶
This section is empty.
Functions ¶
func HandleSecretsAndCerts ¶
func HandleSecretsAndCerts(ctx context.Context, cmap *ScaleSettingsConfigMap) error
Types ¶
type Clusters ¶
type Clusters struct { ID string `json:"id"` Primary Primary `json:"primary,omitempty"` SecureSslMode bool `json:"secureSslMode"` Cacert string `json:"cacert"` Secrets string `json:"secrets"` RestAPI []RestAPI `json:"restApi"` PrimaryCluster string `json:"primaryCluster"` MgmtUsername string MgmtPassword string CacertValue *x509.CertPool }
type Primary ¶
type Primary struct { PrimaryFSDep string `json:"primaryFS"` // Deprecated PrimaryFs string `json:"primaryFs"` //Deprecated PrimaryFset string `json:"primaryFset"` //Deprecated PrimaryCid string `json:"primaryCid"` InodeLimitDep string `json:"inode-limit"` // Deprecated InodeLimits string `json:"inodeLimit"` //Deprecated RemoteCluster string `json:"remoteCluster"` //Deprecated PrimaryFSMount string PrimaryFsetLink string SymlinkAbsolutePath string SymlinkRelativePath string }
type ScaleSettingsConfigMap ¶
type ScaleSettingsConfigMap struct { LocalScaleCluster string `json:"localScaleCluster"` Clusters []Clusters }
func LoadScaleConfigSettings ¶
func LoadScaleConfigSettings(ctx context.Context) ScaleSettingsConfigMap
Click to show internal directories.
Click to hide internal directories.