-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR modified the method signature for Configure as described in #18. It doesn't cover all features described in that issue. As it's a breaking change for the early API it would be good to merge it sooner rather than later and add to it once it's in place.
- Loading branch information
Showing
4 changed files
with
33 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package netrasp | ||
|
||
// ConfigResult is returned by a Configure operation and contains output and results. | ||
type ConfigResult struct { | ||
ConfigCommands []ConfigCommand | ||
} | ||
|
||
// ConfigCommand contains a configuration command together with the output from that command. | ||
type ConfigCommand struct { | ||
Command string | ||
Output string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters