Documentation ¶
Index ¶
Constants ¶
View Source
const ( CrusoeAPIEndpointFlag = "crusoe-api-endpoint" CrusoeAccessKeyFlag = "crusoe-csi-access-key" CrusoeSecretKeyFlag = "crusoe-csi-secret-key" //nolint:gosec // false positive, this is a flag name CrusoeProjectIDFlag = "crusoe-project-id" CSIDriverTypeFlag = "crusoe-csi-driver-type" ServicesFlag = "services" NodeNameFlag = "node-name" SocketAddressFlag = "socket-address" )
View Source
const ( CrusoeAPIEndpointDefault = "https://api.crusoecloud.com/v1alpha5" SocketAddressDefault = "unix:/tmp/csi.sock" )
Variables ¶
View Source
var CSIDriverTypeNames = map[CSIDriverType][]string{ CSIDriverTypeSSD: {"ssd"}, CSIDriverTypeFS: {"fs"}, }
View Source
var SelectedCSIDriverType = CSIDriverTypeSSD //nolint:gochecknoglobals // flag variable
View Source
var ServiceTypeNames = map[ServiceType][]string{ ServiceTypeIdentity: {"identity"}, ServiceTypeController: {"controller"}, ServiceTypeNode: {"node"}, }
View Source
var Services = []ServiceType{ServiceTypeIdentity} //nolint:gochecknoglobals // flag variable
Functions ¶
Types ¶
type CSIDriverType ¶ added in v0.1.0
type CSIDriverType enumflag.Flag
const ( CSIDriverTypeSSD CSIDriverType = iota CSIDriverTypeFS )
type ServiceType ¶ added in v0.1.0
type ServiceType enumflag.Flag
const ( ServiceTypeIdentity ServiceType = iota ServiceTypeController ServiceTypeNode )
Click to show internal directories.
Click to hide internal directories.