pub type MC = MgmtCommand;Aliased Type§
pub enum MC {
Show 26 variants
Noop,
SetSuperuser(bool),
SetRestrictedSshScope {
key: KeySpec,
},
CreateAccount(AccountDetails),
UpdateAccount(AccountDetails),
DeleteAccount(AccountName),
ListAccounts {
all: Option<bool>,
},
SelectAccount(AccountName),
CheckAccount,
CreateGame {
game: InstanceName,
insns: Vec<MgmtGameInstruction>,
},
ListGames {
all: Option<bool>,
},
AlterGame {
game: InstanceName,
insns: Vec<MgmtGameInstruction>,
how: MgmtGameUpdateMode,
},
DestroyGame {
game: InstanceName,
},
ClearBundles {
game: InstanceName,
},
UploadBundle {
game: InstanceName,
size: usize,
hash: Hash,
kind: Kind,
progress: ProgressUpdateMode,
},
ListBundles {
game: InstanceName,
},
DownloadBundle {
game: InstanceName,
id: Id,
},
LibraryListLibraries {
game: InstanceName,
},
LibraryListByGlob {
game: InstanceName,
lib: Option<String>,
pat: String,
},
SshListKeys,
SshAddKey {
akl: AuthkeysLine,
},
SshDeleteKey {
index: usize,
id: Id,
},
ThisConnAuthBy,
SshReinstallKeys,
LoadFakeRng(Vec<String>),
SetFakeTime(FakeTimeSpec),
}Variants§
Noop
SetSuperuser(bool)
SetRestrictedSshScope
CreateAccount(AccountDetails)
UpdateAccount(AccountDetails)
DeleteAccount(AccountName)
ListAccounts
SelectAccount(AccountName)
CheckAccount
CreateGame
ListGames
AlterGame
DestroyGame
Fields
§
game: InstanceNameClearBundles
Fields
§
game: InstanceNameUploadBundle
ListBundles
Fields
§
game: InstanceNameDownloadBundle
LibraryListLibraries
Fields
§
game: InstanceNameLibraryListByGlob
SshListKeys
SshAddKey
Fields
§
akl: AuthkeysLine