Update jen20/riviera dependency
This commit is contained in:
parent
17a7990708
commit
dbc5464a19
|
@ -37,7 +37,6 @@ func readTaggedFields(command interface{}) map[string]interface{} {
|
|||
result := make(map[string]interface{})
|
||||
|
||||
for i := 0; i < value.NumField(); i++ { // iterates through every struct type field
|
||||
fmt.Println(i, value.Type().Field(i).Name)
|
||||
tag := value.Type().Field(i).Tag // returns the tag string
|
||||
tagValue := tag.Get("riviera")
|
||||
if tagValue != "" {
|
||||
|
|
|
@ -3,17 +3,17 @@ package search
|
|||
import "github.com/jen20/riviera/azure"
|
||||
|
||||
type GetSearchServiceResponse struct {
|
||||
ID *string `mapstructure:"id"`
|
||||
Name string `json:"-"`
|
||||
ResourceGroupName string `json:"-"`
|
||||
Location string `json:"-" riviera:"location"`
|
||||
Tags map[string]*string `json:"-" riviera:"tags"`
|
||||
Sku *Sku `json:"sku,omitempty"`
|
||||
ReplicaCount *string `json:"replicaCount,omitempty"`
|
||||
PartitionCount *string `json:"partitionCount,omitempty"`
|
||||
Status *string `mapstructure:"status"`
|
||||
StatusDetails *string `mapstructure:"statusDetails"`
|
||||
ProvisioningStatus *string `mapstructure:"provisioningStatus"`
|
||||
ID *string `mapstructure:"id"`
|
||||
Name string `json:"-"`
|
||||
ResourceGroupName string `json:"-"`
|
||||
Location string `json:"-" riviera:"location"`
|
||||
Tags map[string]*string `json:"-" riviera:"tags"`
|
||||
Sku *Sku `json:"sku,omitempty"`
|
||||
ReplicaCount *string `json:"replicaCount,omitempty"`
|
||||
PartitionCount *string `json:"partitionCount,omitempty"`
|
||||
Status *string `mapstructure:"status"`
|
||||
StatusDetails *string `mapstructure:"statusDetails"`
|
||||
ProvisioningState *string `mapstructure:"provisioningState"`
|
||||
}
|
||||
|
||||
type GetSearchService struct {
|
||||
|
|
Loading…
Reference in New Issue