Documentation ¶
Index ¶
Constants ¶
View Source
const ( GRPCServiceTimeout = 3 * time.Minute ProcessStateRunning = "running" ProcessStateStarting = "starting" ProcessStateStopped = "stopped" ProcessStateStopping = "stopping" ProcessStateError = "error" DiskGrpcService = "disk gRPC server" SpdkGrpcService = "spdk gRPC server" ProcessManagerGrpcService = "process-manager gRPC server" InstanceGrpcService = "instance gRPC server" ProxyGRPCService = "proxy gRPC server" )
View Source
const ( InstanceManagerProcessManagerServiceDefaultPort = 8500 InstanceManagerProxyServiceDefaultPort = InstanceManagerProcessManagerServiceDefaultPort + 1 // 8501 InstanceManagerDiskServiceDefaultPort = InstanceManagerProcessManagerServiceDefaultPort + 2 // 8502 InstanceManagerInstanceServiceDefaultPort = InstanceManagerProcessManagerServiceDefaultPort + 3 // 8503 InstanceManagerSpdkServiceDefaultPort = InstanceManagerProcessManagerServiceDefaultPort + 4 // 8504 )
View Source
const ( RetryInterval = 3 * time.Second RetryCounts = 3 )
View Source
const ( InstanceTypeEngine = "engine" InstanceTypeReplica = "replica" )
View Source
const ( GlobalMountPathPattern = "/host/var/lib/kubelet/plugins/kubernetes.io/csi/driver.longhorn.io/*/globalmount" EngineConditionFilesystemReadOnly = "FilesystemReadOnly" )
Variables ¶
View Source
var ( WaitInterval = 100 * time.Millisecond WaitCount = 600 )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.