-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move the exposed Metalconfig struct to separate package (#11)
- Loading branch information
Showing
7 changed files
with
70 additions
and
61 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,13 @@ | ||
package api | ||
|
||
// MetalConfig is consumed by metal-hammer to get all options to open a grpc connection to the metal-api | ||
type MetalConfig struct { | ||
Debug bool | ||
GRPCAddress string `json:"address,omitempty"` | ||
MetalAPIUrl string `json:"metal_api_url,omitempty"` | ||
PixieAPIURL string `json:"pixie_api_url"` | ||
CACert string `json:"ca_cert,omitempty"` | ||
Cert string `json:"cert,omitempty"` | ||
Key string `json:"key,omitempty"` | ||
HMAC string `json:"hmac,omitempty"` | ||
} |
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
Oops, something went wrong.