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 {
4141 Discover ,
4242 /// The extension aids in retrieving secrets.
4343 Secret ,
44+ /// The extension imports configuration from a different format.
45+ Import ,
4446}
4547
4648impl Display for Capability {
4749 fn fmt ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> std:: fmt:: Result {
4850 match self {
4951 Capability :: Discover => write ! ( f, "Discover" ) ,
5052 Capability :: Secret => write ! ( f, "Secret" ) ,
53+ Capability :: Import => write ! ( f, "Import" ) ,
5154 }
5255 }
5356}
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;
55pub mod dscextension;
66pub mod extension_manifest;
77pub mod secret;
8+ pub mod import;
You can’t perform that action at this time.
0 commit comments