File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -41,13 +41,16 @@ pub enum Capability {
41
41
Discover ,
42
42
/// The extension aids in retrieving secrets.
43
43
Secret ,
44
+ /// The extension imports configuration from a different format.
45
+ Import ,
44
46
}
45
47
46
48
impl Display for Capability {
47
49
fn fmt ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> std:: fmt:: Result {
48
50
match self {
49
51
Capability :: Discover => write ! ( f, "Discover" ) ,
50
52
Capability :: Secret => write ! ( f, "Secret" ) ,
53
+ Capability :: Import => write ! ( f, "Import" ) ,
51
54
}
52
55
}
53
56
}
Original file line number Diff line number Diff line change
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+
Original file line number Diff line number Diff line change @@ -5,3 +5,4 @@ pub mod discover;
5
5
pub mod dscextension;
6
6
pub mod extension_manifest;
7
7
pub mod secret;
8
+ pub mod import;
You can’t perform that action at this time.
0 commit comments