-
Notifications
You must be signed in to change notification settings - Fork 8
/
reexport.go
20 lines (13 loc) · 976 Bytes
/
reexport.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package api
import "go.anx.io/go-anxcloud/pkg/api/types"
// We re-export them here to group options given by this package under their options in the docs.
// ListOption is the interface options have to implement to be usable with List operation. Re-exported from pkg/api/types.
type ListOption = types.ListOption
// GetOption is the interface options have to implement to be usable with Get operation. Re-exported from pkg/api/types.
type GetOption = types.GetOption
// CreateOption is the interface options have to implement to be usable with Create operation. Re-exported from pkg/api/types.
type CreateOption = types.CreateOption
// UpdateOption is the interface options have to implement to be usable with Update operation. Re-exported from pkg/api/types.
type UpdateOption = types.UpdateOption
// DestroyOption is the interface options have to implement to be usable with Destroy operation. Re-exported from pkg/api/types.
type DestroyOption = types.DestroyOption