@ludeo/cloud-common 1.2.264 → 1.2.267
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/main.yaml +20 -6
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/v4/events/index.d.ts +2 -0
- package/dist/v4/events/index.js +2 -0
- package/dist/v4/events/index.js.map +1 -1
- package/dist/v4/events/ludeocast-agent/index.d.ts +1 -0
- package/dist/v4/events/ludeocast-agent/index.js +1 -0
- package/dist/v4/events/ludeocast-agent/index.js.map +1 -1
- package/dist/v4/events/ludeocast-agent/set-sftp-credentials-ended.d.ts +9 -0
- package/dist/v4/events/ludeocast-agent/set-sftp-credentials-ended.js +39 -0
- package/dist/v4/events/ludeocast-agent/set-sftp-credentials-ended.js.map +1 -0
- package/dist/v4/events/set-sftp-credentials.d.ts +12 -0
- package/dist/v4/events/set-sftp-credentials.js +45 -0
- package/dist/v4/events/set-sftp-credentials.js.map +1 -0
- package/dist/v4/events/sftp-credentials-installed.d.ts +14 -0
- package/dist/v4/events/sftp-credentials-installed.js +51 -0
- package/dist/v4/events/sftp-credentials-installed.js.map +1 -0
- package/dist/v4/events/site-controller/index.d.ts +1 -0
- package/dist/v4/events/site-controller/index.js +1 -0
- package/dist/v4/events/site-controller/index.js.map +1 -1
- package/dist/v4/events/site-controller/set-sftp-credentials.command.d.ts +9 -0
- package/dist/v4/events/site-controller/set-sftp-credentials.command.js +37 -0
- package/dist/v4/events/site-controller/set-sftp-credentials.command.js.map +1 -0
- package/dist/v4/types/cloud/cloud-configuration-settings.js +9 -9
- package/dist/v4/types/cloud/cloud-configuration-settings.js.map +1 -1
- package/dist/v4/types/site-controller/types.d.ts +6 -0
- package/dist/v4/types/site-controller/types.js +8 -1
- package/dist/v4/types/site-controller/types.js.map +1 -1
- package/package.json +1 -1
- package/src/v4/events/index.ts +2 -0
- package/src/v4/events/ludeocast-agent/index.ts +2 -1
- package/src/v4/events/ludeocast-agent/set-sftp-credentials-ended.ts +26 -0
- package/src/v4/events/set-sftp-credentials.ts +34 -0
- package/src/v4/events/sftp-credentials-installed.ts +37 -0
- package/src/v4/events/site-controller/index.ts +1 -0
- package/src/v4/events/site-controller/set-sftp-credentials.command.ts +23 -0
- package/src/v4/types/cloud/cloud-configuration-settings.ts +9 -9
- package/src/v4/types/site-controller/types.ts +9 -0
|
@@ -110,55 +110,55 @@ export const CLOUD_SETTINGS_DEFAULT_VALUES: Record<
|
|
|
110
110
|
[CloudSettingsKeys.GAME_LOADING_TIME]: {
|
|
111
111
|
type: "number",
|
|
112
112
|
key: CloudSettingsKeys.GAME_LOADING_TIME,
|
|
113
|
-
displayKey: "Game
|
|
113
|
+
displayKey: "Game Startup Timeout (ms)",
|
|
114
114
|
defaultValue: 180000,
|
|
115
115
|
},
|
|
116
116
|
[CloudSettingsKeys.FIRST_TIME_LUDEO_LOAD]: {
|
|
117
117
|
type: "number",
|
|
118
118
|
key: CloudSettingsKeys.FIRST_TIME_LUDEO_LOAD,
|
|
119
|
-
displayKey: "First
|
|
119
|
+
displayKey: "First Ludeo Load Timeout (ms)",
|
|
120
120
|
defaultValue: 40000,
|
|
121
121
|
},
|
|
122
122
|
[CloudSettingsKeys.NON_PRELOADED_LUDEO_LOAD]: {
|
|
123
123
|
type: "number",
|
|
124
124
|
key: CloudSettingsKeys.NON_PRELOADED_LUDEO_LOAD,
|
|
125
|
-
displayKey: "
|
|
125
|
+
displayKey: "Subsequent Ludeo Load Timeout (ms)",
|
|
126
126
|
defaultValue: 25000,
|
|
127
127
|
},
|
|
128
128
|
[CloudSettingsKeys.POST_GAME_LOAD_DELAY]: {
|
|
129
129
|
type: "number",
|
|
130
130
|
key: CloudSettingsKeys.POST_GAME_LOAD_DELAY,
|
|
131
|
-
displayKey: "
|
|
131
|
+
displayKey: "Delay Before Ludeo Load (ms)",
|
|
132
132
|
defaultValue: 0,
|
|
133
133
|
},
|
|
134
134
|
[CloudSettingsKeys.ADDITIONAL_LAUNCH_ARGS]: {
|
|
135
135
|
type: "array",
|
|
136
136
|
key: CloudSettingsKeys.ADDITIONAL_LAUNCH_ARGS,
|
|
137
|
-
displayKey: "
|
|
137
|
+
displayKey: "Game Launch Arguments",
|
|
138
138
|
defaultValue: [],
|
|
139
139
|
},
|
|
140
140
|
[CloudSettingsKeys.ADDITIONAL_ENVIRONMENT_VARIABLES]: {
|
|
141
141
|
type: "object",
|
|
142
142
|
key: CloudSettingsKeys.ADDITIONAL_ENVIRONMENT_VARIABLES,
|
|
143
|
-
displayKey: "
|
|
143
|
+
displayKey: "Game Environment Variables",
|
|
144
144
|
defaultValue: {},
|
|
145
145
|
},
|
|
146
146
|
[CloudSettingsKeys.MACHINE_CLASS_PRIORITY]: {
|
|
147
147
|
type: "array",
|
|
148
148
|
key: CloudSettingsKeys.MACHINE_CLASS_PRIORITY,
|
|
149
|
-
displayKey: "
|
|
149
|
+
displayKey: "Hardware Priority",
|
|
150
150
|
defaultValue: MACHINE_CLASS_PRIORITY_DEFAULT_VALUES,
|
|
151
151
|
},
|
|
152
152
|
[CloudSettingsKeys.SPOT_ROLLOUT]: {
|
|
153
153
|
type: "number",
|
|
154
154
|
key: CloudSettingsKeys.SPOT_ROLLOUT,
|
|
155
|
-
displayKey: "Spot
|
|
155
|
+
displayKey: "Max Spot Instances (%)",
|
|
156
156
|
defaultValue: 100,
|
|
157
157
|
},
|
|
158
158
|
[CloudSettingsKeys.SCALING]: {
|
|
159
159
|
type: "enum",
|
|
160
160
|
key: CloudSettingsKeys.SCALING,
|
|
161
|
-
displayKey: "Scaling",
|
|
161
|
+
displayKey: "Cloud Scaling Mode",
|
|
162
162
|
defaultValue: CloudScalingMode.AUTO_SCALING,
|
|
163
163
|
},
|
|
164
164
|
};
|
|
@@ -103,6 +103,15 @@ export enum SiteOperationStatus {
|
|
|
103
103
|
Error = "error",
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
+
// Failure reasons for SFTP credential provisioning. Reported by the agent, except
|
|
107
|
+
// AGENT_TIMEOUT which site-controller raises when the agent never acks.
|
|
108
|
+
export enum SftpErrorCode {
|
|
109
|
+
PermissionDenied = "PERMISSION_DENIED",
|
|
110
|
+
FsError = "FS_ERROR",
|
|
111
|
+
MountFailed = "MOUNT_FAILED",
|
|
112
|
+
AgentTimeout = "AGENT_TIMEOUT",
|
|
113
|
+
}
|
|
114
|
+
|
|
106
115
|
export enum MachineStatusReason {
|
|
107
116
|
VMReady = "VMReady",
|
|
108
117
|
AgentReadyForCommands = "AgentReadyForCommands",
|