Skip to content

Commit

Permalink
Merge branch 'master' into template_output
Browse files Browse the repository at this point in the history
  • Loading branch information
remyleone authored Aug 27, 2020
2 parents 52be852 + 20c655f commit 7034b9b
Showing 1 changed file with 108 additions and 0 deletions.
108 changes: 108 additions & 0 deletions internal/namespaces/iot/v1beta1/iot_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,50 @@ func iotHubList() *core.Command {
return resp.Hubs, nil

},
View: &core.View{Fields: []*core.ViewField{
{
FieldName: "ID",
},
{
FieldName: "Name",
},
{
FieldName: "Status",
},
{
FieldName: "ProductPlan",
},
{
FieldName: "Enabled",
},
{
FieldName: "DeviceCount",
},
{
FieldName: "ConnectedDeviceCount",
},
{
FieldName: "Endpoint",
},
{
FieldName: "EventsEnabled",
},
{
FieldName: "EventsTopicPrefix",
},
{
FieldName: "Region",
},
{
FieldName: "CreatedAt",
},
{
FieldName: "UpdatedAt",
},
{
FieldName: "OrganizationID",
},
}},
}
}

Expand Down Expand Up @@ -464,6 +508,41 @@ func iotDeviceList() *core.Command {
return resp.Devices, nil

},
View: &core.View{Fields: []*core.ViewField{
{
FieldName: "ID",
},
{
FieldName: "Name",
},
{
FieldName: "Status",
},
{
FieldName: "HubID",
},
{
FieldName: "LastActivityAt",
},
{
FieldName: "IsConnected",
},
{
FieldName: "AllowInsecure",
},
{
FieldName: "MessageFilters",
},
{
FieldName: "CreatedAt",
},
{
FieldName: "UpdatedAt",
},
{
FieldName: "OrganizationID",
},
}},
}
}

Expand Down Expand Up @@ -800,6 +879,35 @@ func iotNetworkList() *core.Command {
return resp.Networks, nil

},
View: &core.View{Fields: []*core.ViewField{
{
FieldName: "ID",
},
{
FieldName: "Name",
},
{
FieldName: "Type",
},
{
FieldName: "Endpoint",
},
{
FieldName: "HubID",
},
{
FieldName: "CreatedAt",
},
{
FieldName: "TopicPrefix",
},
{
FieldName: "Region",
},
{
FieldName: "OrganizationID",
},
}},
}
}

Expand Down

0 comments on commit 7034b9b

Please sign in to comment.