Skip to content

Commit

Permalink
chore: add DataSets desc
Browse files Browse the repository at this point in the history
  • Loading branch information
bzp2010 committed Mar 10, 2022
1 parent 9036dd0 commit 61acb82
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/internal/handler/data_loader/loader/loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ package loader

import "github.com/apisix/manager-api/internal/core/entity"

// DataSets are intermediate structures used to handle
// import and export data with APISIX entities.
// On import, raw data will be parsed as DataSets
// On export, DataSets will be encoded to raw data
type DataSets struct {
Routes []entity.Route
Upstreams []entity.Upstream
Expand Down

0 comments on commit 61acb82

Please sign in to comment.