add CliRequest variants to store/erase docker credentials
This commit is contained in:
parent
0a355c299b
commit
8bcdc5420a
@ -9,6 +9,7 @@ use serde::{Serialize, Deserialize};
|
||||
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize)]
|
||||
#[serde(tag = "type")]
|
||||
pub enum CliRequest {
|
||||
GetAwsCredential {
|
||||
name: Option<String>,
|
||||
@ -17,12 +18,13 @@ pub enum CliRequest {
|
||||
GetDockerCredential {
|
||||
server_url: String,
|
||||
},
|
||||
SaveCredential {
|
||||
name: String,
|
||||
is_default: bool,
|
||||
credential: CliCredential,
|
||||
StoreDockerCredential(DockerCredential),
|
||||
EraseDockerCredential {
|
||||
server_url: String,
|
||||
},
|
||||
InvokeShortcut{
|
||||
action: ShortcutAction,
|
||||
},
|
||||
InvokeShortcut(ShortcutAction),
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user