azuretest: Refactor clean up code to separate functions
In order to run the clean up in a separate binary it is necessary to refactor the clean up code away from the context manager.
This commit is contained in:
parent
a3478ffff0
commit
e80110a12c
3 changed files with 126 additions and 110 deletions
|
|
@ -41,7 +41,7 @@ func newDeploymentParameter(value string) deploymentParameter {
|
|||
}
|
||||
|
||||
// struct for encoding deployment parameters
|
||||
type deploymentParameters struct {
|
||||
type DeploymentParameters struct {
|
||||
NetworkInterfaceName deploymentParameter `json:"networkInterfaceName"`
|
||||
NetworkSecurityGroupName deploymentParameter `json:"networkSecurityGroupName"`
|
||||
VirtualNetworkName deploymentParameter `json:"virtualNetworkName"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue