Skip to content

Commit

Permalink
datasource: add secureJsonData
Browse files Browse the repository at this point in the history
Add a new member to the `Datasource` struct called SecureJSONData which
gets passed as `secureJsonData`. This is needed because certain features
are only available via that e.g. passing custom header values.

Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com>
  • Loading branch information
GiedriusS committed Dec 20, 2019
1 parent 690a0c6 commit f97ef24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ type Datasource struct {
BasicAuthPassword *string `json:"basicAuthPassword,omitempty"`
IsDefault bool `json:"isDefault"`
JSONData interface{} `json:"jsonData"`
SecureJSONData interface{} `json:"secureJsonData"`
}

// Datasource type as described in
Expand Down

0 comments on commit f97ef24

Please sign in to comment.