-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsession.go
127 lines (122 loc) · 7.24 KB
/
session.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
// Copyright (c) 2021 AccelByte Inc. All Rights Reserved.
// This is licensed software from AccelByte Inc, for limitations
// and restrictions contact your company contract manager.
// Code generated. DO NOT EDIT.
package session
import (
"github.com/AccelByte/sample-apps/cmd/session/certificate"
"github.com/AccelByte/sample-apps/cmd/session/config"
"github.com/AccelByte/sample-apps/cmd/session/configurationTemplate"
"github.com/AccelByte/sample-apps/cmd/session/dsmcDefaultConfiguration"
"github.com/AccelByte/sample-apps/cmd/session/environmentVariable"
"github.com/AccelByte/sample-apps/cmd/session/gameSession"
"github.com/AccelByte/sample-apps/cmd/session/globalConfiguration"
"github.com/AccelByte/sample-apps/cmd/session/maxActive"
"github.com/AccelByte/sample-apps/cmd/session/nativeSession"
"github.com/AccelByte/sample-apps/cmd/session/operations"
"github.com/AccelByte/sample-apps/cmd/session/party"
"github.com/AccelByte/sample-apps/cmd/session/platformCredential"
"github.com/AccelByte/sample-apps/cmd/session/player"
"github.com/AccelByte/sample-apps/cmd/session/recentPlayer"
"github.com/AccelByte/sample-apps/cmd/session/sessionStorage"
"github.com/spf13/cobra"
)
// SessionCmd represents the service's child command
var SessionCmd = &cobra.Command{
Use: "Session",
Short: "Session to get all the commands",
}
func init() {
SessionCmd.AddCommand(operations.GetHealthcheckInfoCmd)
SessionCmd.AddCommand(operations.GetHealthcheckInfoV1Cmd)
SessionCmd.AddCommand(config.AdminGetLogConfigCmd)
SessionCmd.AddCommand(config.AdminPatchUpdateLogConfigCmd)
SessionCmd.AddCommand(dsmcDefaultConfiguration.AdminGetDSMCConfigurationDefaultCmd)
SessionCmd.AddCommand(environmentVariable.AdminListEnvironmentVariablesCmd)
SessionCmd.AddCommand(globalConfiguration.AdminListGlobalConfigurationCmd)
SessionCmd.AddCommand(globalConfiguration.AdminUpdateGlobalConfigurationCmd)
SessionCmd.AddCommand(globalConfiguration.AdminDeleteGlobalConfigurationCmd)
SessionCmd.AddCommand(configurationTemplate.AdminGetConfigurationAlertV1Cmd)
SessionCmd.AddCommand(configurationTemplate.AdminUpdateConfigurationAlertV1Cmd)
SessionCmd.AddCommand(configurationTemplate.AdminCreateConfigurationAlertV1Cmd)
SessionCmd.AddCommand(configurationTemplate.AdminDeleteConfigurationAlertV1Cmd)
SessionCmd.AddCommand(certificate.AdminUploadXBoxCertificateCmd)
SessionCmd.AddCommand(configurationTemplate.AdminCreateConfigurationTemplateV1Cmd)
SessionCmd.AddCommand(configurationTemplate.AdminGetAllConfigurationTemplatesV1Cmd)
SessionCmd.AddCommand(configurationTemplate.AdminGetConfigurationTemplateV1Cmd)
SessionCmd.AddCommand(configurationTemplate.AdminUpdateConfigurationTemplateV1Cmd)
SessionCmd.AddCommand(configurationTemplate.AdminDeleteConfigurationTemplateV1Cmd)
SessionCmd.AddCommand(maxActive.AdminGetMemberActiveSessionCmd)
SessionCmd.AddCommand(maxActive.AdminReconcileMaxActiveSessionCmd)
SessionCmd.AddCommand(configurationTemplate.AdminGetDSMCConfigurationCmd)
SessionCmd.AddCommand(configurationTemplate.AdminSyncDSMCConfigurationCmd)
SessionCmd.AddCommand(gameSession.AdminQueryGameSessionsCmd)
SessionCmd.AddCommand(gameSession.AdminQueryGameSessionsByAttributesCmd)
SessionCmd.AddCommand(gameSession.AdminDeleteBulkGameSessionsCmd)
SessionCmd.AddCommand(gameSession.AdminSetDSReadyCmd)
SessionCmd.AddCommand(gameSession.AdminKickGameSessionMemberCmd)
SessionCmd.AddCommand(gameSession.AdminUpdateGameSessionMemberCmd)
SessionCmd.AddCommand(nativeSession.AdminGetListNativeSessionCmd)
SessionCmd.AddCommand(party.AdminQueryPartiesCmd)
SessionCmd.AddCommand(party.AdminDeleteBulkPartiesCmd)
SessionCmd.AddCommand(sessionStorage.AdminReadPartySessionStorageCmd)
SessionCmd.AddCommand(platformCredential.AdminGetPlatformCredentialsCmd)
SessionCmd.AddCommand(platformCredential.AdminUpdatePlatformCredentialsCmd)
SessionCmd.AddCommand(platformCredential.AdminDeletePlatformCredentialsCmd)
SessionCmd.AddCommand(platformCredential.AdminDeletePlatformCredentialsByPlatformIdCmd)
SessionCmd.AddCommand(platformCredential.AdminSyncPlatformCredentialsCmd)
SessionCmd.AddCommand(recentPlayer.AdminGetRecentPlayerCmd)
SessionCmd.AddCommand(recentPlayer.AdminGetRecentTeamPlayerCmd)
SessionCmd.AddCommand(sessionStorage.AdminReadSessionStorageCmd)
SessionCmd.AddCommand(sessionStorage.AdminDeleteUserSessionStorageCmd)
SessionCmd.AddCommand(sessionStorage.AdminReadUserSessionStorageCmd)
SessionCmd.AddCommand(player.AdminQueryPlayerAttributesCmd)
SessionCmd.AddCommand(player.AdminGetPlayerAttributesCmd)
SessionCmd.AddCommand(party.AdminSyncNativeSessionCmd)
SessionCmd.AddCommand(gameSession.CreateGameSessionCmd)
SessionCmd.AddCommand(gameSession.PublicQueryGameSessionsByAttributesCmd)
SessionCmd.AddCommand(gameSession.PublicSessionJoinCodeCmd)
SessionCmd.AddCommand(gameSession.GetGameSessionByPodNameCmd)
SessionCmd.AddCommand(gameSession.GetGameSessionCmd)
SessionCmd.AddCommand(gameSession.UpdateGameSessionCmd)
SessionCmd.AddCommand(gameSession.DeleteGameSessionCmd)
SessionCmd.AddCommand(gameSession.PatchUpdateGameSessionCmd)
SessionCmd.AddCommand(gameSession.UpdateGameSessionBackfillTicketIDCmd)
SessionCmd.AddCommand(gameSession.GameSessionGenerateCodeCmd)
SessionCmd.AddCommand(gameSession.PublicRevokeGameSessionCodeCmd)
SessionCmd.AddCommand(gameSession.PublicGameSessionInviteCmd)
SessionCmd.AddCommand(gameSession.JoinGameSessionCmd)
SessionCmd.AddCommand(gameSession.PublicPromoteGameSessionLeaderCmd)
SessionCmd.AddCommand(gameSession.LeaveGameSessionCmd)
SessionCmd.AddCommand(gameSession.PublicKickGameSessionMemberCmd)
SessionCmd.AddCommand(gameSession.PublicGameSessionRejectCmd)
SessionCmd.AddCommand(gameSession.GetSessionServerSecretCmd)
SessionCmd.AddCommand(gameSession.AppendTeamGameSessionCmd)
SessionCmd.AddCommand(gameSession.PublicGameSessionCancelCmd)
SessionCmd.AddCommand(party.PublicPartyJoinCodeCmd)
SessionCmd.AddCommand(party.PublicGetPartyCmd)
SessionCmd.AddCommand(party.PublicUpdatePartyCmd)
SessionCmd.AddCommand(party.PublicPatchUpdatePartyCmd)
SessionCmd.AddCommand(party.PublicGeneratePartyCodeCmd)
SessionCmd.AddCommand(party.PublicRevokePartyCodeCmd)
SessionCmd.AddCommand(party.PublicPartyInviteCmd)
SessionCmd.AddCommand(party.PublicPromotePartyLeaderCmd)
SessionCmd.AddCommand(sessionStorage.PublicReadPartySessionStorageCmd)
SessionCmd.AddCommand(sessionStorage.PublicUpdateInsertPartySessionStorageReservedCmd)
SessionCmd.AddCommand(party.PublicPartyJoinCmd)
SessionCmd.AddCommand(party.PublicPartyLeaveCmd)
SessionCmd.AddCommand(party.PublicPartyRejectCmd)
SessionCmd.AddCommand(party.PublicPartyCancelCmd)
SessionCmd.AddCommand(party.PublicPartyKickCmd)
SessionCmd.AddCommand(party.PublicCreatePartyCmd)
SessionCmd.AddCommand(recentPlayer.PublicGetRecentPlayerCmd)
SessionCmd.AddCommand(recentPlayer.PublicGetRecentTeamPlayerCmd)
SessionCmd.AddCommand(sessionStorage.PublicUpdateInsertSessionStorageLeaderCmd)
SessionCmd.AddCommand(sessionStorage.PublicUpdateInsertSessionStorageCmd)
SessionCmd.AddCommand(player.PublicGetBulkPlayerCurrentPlatformCmd)
SessionCmd.AddCommand(player.PublicGetPlayerAttributesCmd)
SessionCmd.AddCommand(player.PublicStorePlayerAttributesCmd)
SessionCmd.AddCommand(player.PublicDeletePlayerAttributesCmd)
SessionCmd.AddCommand(gameSession.PublicQueryMyGameSessionsCmd)
SessionCmd.AddCommand(party.PublicQueryMyPartiesCmd)
}