fix: add missing fields to Legacy UniversalClient + bump version to 5.0.56 + concurrency docs
This commit is contained in:
@@ -11,23 +11,23 @@ import (
|
||||
type InstanceState int
|
||||
|
||||
const (
|
||||
StateUnknown InstanceState = iota
|
||||
StateNotCreated // 1
|
||||
StateCreating // 2
|
||||
StateCreationFailed // 3
|
||||
StateRunning // 4
|
||||
StateRunningPending // 5
|
||||
StateModifying // 6
|
||||
StateModificationFailed // 7
|
||||
StateSuspending // 8
|
||||
StateSuspendFailed // 9
|
||||
StateSuspended // 10
|
||||
StateResuming // 11
|
||||
StateResumeFailed // 12
|
||||
StateDeleting // 13
|
||||
StateDeletionFailed // 14
|
||||
StateDeleted // 15
|
||||
StateOrphaned // 16
|
||||
StateUnknown InstanceState = iota
|
||||
StateNotCreated // 1
|
||||
StateCreating // 2
|
||||
StateCreationFailed // 3
|
||||
StateRunning // 4
|
||||
StateRunningPending // 5
|
||||
StateModifying // 6
|
||||
StateModificationFailed // 7
|
||||
StateSuspending // 8
|
||||
StateSuspendFailed // 9
|
||||
StateSuspended // 10
|
||||
StateResuming // 11
|
||||
StateResumeFailed // 12
|
||||
StateDeleting // 13
|
||||
StateDeletionFailed // 14
|
||||
StateDeleted // 15
|
||||
StateOrphaned // 16
|
||||
)
|
||||
|
||||
// classifyStatus определяет состояние инстанса по данным API.
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
version string = "5.0.51"
|
||||
version string = "5.0.56"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
Reference in New Issue
Block a user