You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/cockpit/v1/cockpit_sdk.go
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1570,7 +1570,8 @@ func (s *GlobalAPI) SyncGrafanaDataSources(req *GlobalAPISyncGrafanaDataSourcesR
1570
1570
returnnil
1571
1571
}
1572
1572
1573
-
// CreateGrafanaUser: Create a Grafana user to connect to your Cockpit's Grafana. Upon creation, your user password displays only once, so make sure that you save it.
1573
+
// Deprecated: CreateGrafanaUser: Create a Grafana user
1574
+
// Create a Grafana user to connect to your Cockpit's Grafana. Upon creation, your user password displays only once, so make sure that you save it.
1574
1575
// Each Grafana user is associated with a role: viewer or editor. A viewer can only view dashboards, whereas an editor can create and edit dashboards. Note that the `admin` username is not available for creation.
@@ -1599,7 +1600,8 @@ func (s *GlobalAPI) CreateGrafanaUser(req *GlobalAPICreateGrafanaUserRequest, op
1599
1600
return&resp, nil
1600
1601
}
1601
1602
1602
-
// ListGrafanaUsers: List all Grafana users created in your Cockpit's Grafana. By default, the Grafana users returned in the list are ordered in ascending order.
1603
+
// Deprecated: ListGrafanaUsers: List Grafana users
1604
+
// List all Grafana users created in your Cockpit's Grafana. By default, the Grafana users returned in the list are ordered in ascending order.
@@ -1634,7 +1636,8 @@ func (s *GlobalAPI) ListGrafanaUsers(req *GlobalAPIListGrafanaUsersRequest, opts
1634
1636
return&resp, nil
1635
1637
}
1636
1638
1637
-
// DeleteGrafanaUser: Delete a Grafana user from your Cockpit's Grafana, specified by the ID of the Project the Cockpit belongs to, and the ID of the Grafana user.
1639
+
// Deprecated: DeleteGrafanaUser: Delete a Grafana user
1640
+
// Delete a Grafana user from your Cockpit's Grafana, specified by the ID of the Project the Cockpit belongs to, and the ID of the Grafana user.
@@ -1663,7 +1666,8 @@ func (s *GlobalAPI) DeleteGrafanaUser(req *GlobalAPIDeleteGrafanaUserRequest, op
1663
1666
returnnil
1664
1667
}
1665
1668
1666
-
// ResetGrafanaUserPassword: Reset the password of a Grafana user, specified by the ID of the Project the Cockpit belongs to, and the ID of the Grafana user.
1669
+
// Deprecated: ResetGrafanaUserPassword: Reset a Grafana user password
1670
+
// Reset the password of a Grafana user, specified by the ID of the Project the Cockpit belongs to, and the ID of the Grafana user.
1667
1671
// A new password regenerates and only displays once. Make sure that you save it.
0 commit comments