Documentation
¶
Index ¶
- func CopyRelatedDatasetItems(ctx context.Context, s *Services, opts CopyRelatedItemsOpts) error
- func Handler(conf Config, g *echo.Group) error
- func SetupCityItems(ctx context.Context, s *Services, inp SetupCityItemsInput, ...) error
- func SetupCityModel(ctx context.Context, s *Services, i SetupConfig) error
- func SetupEmptyCityModel(ctx context.Context, s *Services, i SetupConfig) error
- func SetupFeatureModel(ctx context.Context, s *Services, i SetupConfig) error
- func SetupGenericModel(ctx context.Context, s *Services, i SetupConfig) error
- func SetupGeospatialjpDataModel(ctx context.Context, s *Services, i SetupConfig) error
- func SetupGeospatialjpIndexModel(ctx context.Context, s *Services, i SetupConfig) error
- func SetupModels(ctx context.Context, s *Services, i SetupConfig) error
- func SetupPlateauModels(ctx context.Context, s *Services, i SetupConfig) error
- func SetupRelatedModel(ctx context.Context, s *Services, i SetupConfig) error
- func SetupSystemModel(ctx context.Context, s *Services, i SetupConfig) error
- func SetupTilesModel(ctx context.Context, s *Services, i SetupConfig) error
- type Config
- type CopyRelatedItemsOpts
- type PlateauCMS
- type Services
- type SetupCSVItem
- type SetupCityItemsInput
- type SetupConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyRelatedDatasetItems ¶
func CopyRelatedDatasetItems(ctx context.Context, s *Services, opts CopyRelatedItemsOpts) error
func SetupCityItems ¶
func SetupCityItems(ctx context.Context, s *Services, inp SetupCityItemsInput, onprogress func(i, l int, c SetupCSVItem)) error
func SetupCityModel ¶
func SetupCityModel(ctx context.Context, s *Services, i SetupConfig) error
func SetupEmptyCityModel ¶
func SetupEmptyCityModel(ctx context.Context, s *Services, i SetupConfig) error
func SetupFeatureModel ¶
func SetupFeatureModel(ctx context.Context, s *Services, i SetupConfig) error
func SetupGenericModel ¶
func SetupGenericModel(ctx context.Context, s *Services, i SetupConfig) error
func SetupGeospatialjpDataModel ¶
func SetupGeospatialjpDataModel(ctx context.Context, s *Services, i SetupConfig) error
func SetupGeospatialjpIndexModel ¶
func SetupGeospatialjpIndexModel(ctx context.Context, s *Services, i SetupConfig) error
func SetupModels ¶
func SetupModels(ctx context.Context, s *Services, i SetupConfig) error
func SetupPlateauModels ¶
func SetupPlateauModels(ctx context.Context, s *Services, i SetupConfig) error
func SetupRelatedModel ¶
func SetupRelatedModel(ctx context.Context, s *Services, i SetupConfig) error
func SetupSystemModel ¶
func SetupSystemModel(ctx context.Context, s *Services, i SetupConfig) error
func SetupTilesModel ¶
func SetupTilesModel(ctx context.Context, s *Services, i SetupConfig) error
Types ¶
type CopyRelatedItemsOpts ¶
type PlateauCMS ¶
func NewPlateauCMS ¶
func NewPlateauCMS(cms cms.Interface, cacheBasePath string) *PlateauCMS
func (*PlateauCMS) GetAllCities ¶
func (c *PlateauCMS) GetAllCities(ctx context.Context, prj string, featureTypes []string) ([]*cmsintegrationcommon.CityItem, error)
func (*PlateauCMS) GetAllRelated ¶
func (c *PlateauCMS) GetAllRelated(ctx context.Context, prj string, relatedDataTypes []string) ([]*cmsintegrationcommon.RelatedItem, error)
type Services ¶
type Services struct {
CMS cms.Interface
PCMS plateaucms.FeatureTypeStore
PlateauCMS *PlateauCMS
HTTP *http.Client
}
func NewServices ¶
type SetupCSVItem ¶
type SetupCityItemsInput ¶
type SetupConfig ¶
Click to show internal directories.
Click to hide internal directories.