-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdashboard_without_ctx.go
49 lines (36 loc) · 1.86 KB
/
dashboard_without_ctx.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// Code generated from dashboard.go using tools/withoutctx.go; DO NOT EDIT.
package redash
import "context"
func (client *ClientWithoutContext) ListDashboards(input *ListDashboardsInput) (*DashboardPage, error) {
return client.withCtx.ListDashboards(context.Background(), input)
}
func (client *ClientWithoutContext) GetDashboard(id int) (*Dashboard, error) {
return client.withCtx.GetDashboard(context.Background(), id)
}
func (client *ClientWithoutContext) CreateFavoriteDashboard(id int) error {
return client.withCtx.CreateFavoriteDashboard(context.Background(), id)
}
func (client *ClientWithoutContext) CreateDashboard(input *CreateDashboardInput) (*Dashboard, error) {
return client.withCtx.CreateDashboard(context.Background(), input)
}
func (client *ClientWithoutContext) UpdateDashboard(id int, input *UpdateDashboardInput) (*Dashboard, error) {
return client.withCtx.UpdateDashboard(context.Background(), id, input)
}
func (client *ClientWithoutContext) ArchiveDashboard(id int) error {
return client.withCtx.ArchiveDashboard(context.Background(), id)
}
func (client *ClientWithoutContext) GetDashboardTags() (*DashboardTags, error) {
return client.withCtx.GetDashboardTags(context.Background())
}
func (client *ClientWithoutContext) ListMyDashboards(input *ListMyDashboardsInput) (*DashboardPage, error) {
return client.withCtx.ListMyDashboards(context.Background(), input)
}
func (client *ClientWithoutContext) ListFavoriteDashboards(input *ListFavoriteDashboardsInput) (*DashboardPage, error) {
return client.withCtx.ListFavoriteDashboards(context.Background(), input)
}
func (client *ClientWithoutContext) ShareDashboard(id int) (*ShareDashboardOutput, error) {
return client.withCtx.ShareDashboard(context.Background(), id)
}
func (client *ClientWithoutContext) UnshareDashboard(id int) error {
return client.withCtx.UnshareDashboard(context.Background(), id)
}