File tree Expand file tree Collapse file tree 3 files changed +0
-218
lines changed
src/k8s-runtime/azext_k8s_runtime Expand file tree Collapse file tree 3 files changed +0
-218
lines changed Original file line number Diff line number Diff line change 1515
1616
1717def load_command_table (self : K8sRuntimeCommandsLoader , _ ): # pylint: disable=unused-argument
18- with self .command_group ("k8s-runtime storage-class" , is_preview = True ) as g :
19- g .custom_command ("enable" , enable_storage_class_cmd .__name__ )
20- g .custom_command ("disable" , disable_storage_class_cmd .__name__ )
21-
2218 with self .command_group ("k8s-runtime load-balancer" ) as g :
2319 g .custom_command ("enable" , enable_load_balancer_cmd .__name__ )
2420 g .custom_command ("disable" , disable_load_balancer_cmd .__name__ )
Original file line number Diff line number Diff line change 1414from .custom_commands .load_balancer import enable_load_balancer , disable_load_balancer
1515
1616
17- def enable_storage_class_cmd (cmd : AzCliCommand , resource_uri : str ):
18- """
19- Enable storage class service in a connected cluster
20-
21-
22- :param resource_uri: The resource uri of the connected cluster
23- """
24-
25- return enable_storage_class (cmd , resource_uri )
26-
27-
28- def disable_storage_class_cmd (cmd : AzCliCommand , resource_uri : str ):
29- """
30- Disable storage class service in a connected cluster
31-
32-
33- :param resource_uri: The resource uri of the connected cluster
34- """
35-
36- return disable_storage_class (cmd , resource_uri )
37-
38-
3917def enable_load_balancer_cmd (cmd : AzCliCommand , resource_uri : str ):
4018 """
4119 Enable load balancer service in a connected cluster
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments