Documentation
¶
Index ¶
- func GetInclude(obj *pdoknlv2.WMTS) (string, error)
- func GetMapproxyConfigString(obj *pdoknlv2.WMTS) (string, error)
- func GetMapproxyContainer(obj *pdoknlv2.WMTS, images *types.Images) (*corev1.Container, error)
- func GetResponse(_ *pdoknlv2.WMTS) (string, error)
- type Cache
- type CacheDetails
- type Globals
- type GlobalsCache
- type GlobalsImage
- type GlobalsImageFormats
- type Grid
- type Layer
- type MapproxyConfig
- type Png24
- type ServiceWMTS
- type Services
- type Source
- type SourceCoverage
- type SourceReq
- type SourceWMSOpts
- type WMTSFeatureInfoFormat
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMapproxyContainer ¶
Types ¶
type Cache ¶
type Cache struct {
Sources []string `yaml:"sources"`
Grids []string `yaml:"grids"`
DisableStorage bool `yaml:"disable_storage"`
CacheDetails *CacheDetails `yaml:"cache,omitempty"`
}
type CacheDetails ¶
type Globals ¶
type Globals struct {
Cache GlobalsCache `yaml:"cache"`
Image GlobalsImage `yaml:"image"`
}
type GlobalsCache ¶
type GlobalsImage ¶
type GlobalsImage struct {
ResamplingMethod string `yaml:"resampling_method"`
Paletted bool `yaml:"paletted"`
Formats GlobalsImageFormats `yaml:"formats"`
}
type GlobalsImageFormats ¶
type GlobalsImageFormats struct {
Png24 Png24 `yaml:"png24"`
}
type MapproxyConfig ¶
type MapproxyConfig struct {
Services Services `yaml:"services"`
Layers []Layer `yaml:"layers"`
Caches map[string]Cache `yaml:"caches"`
Sources map[string]Source `yaml:"sources"`
Grids map[string]Grid `yaml:"grids"`
Globals Globals `yaml:"globals"`
}
func GetMapproxyConfig ¶
func GetMapproxyConfig(obj *pdoknlv2.WMTS) (MapproxyConfig, error)
func (*MapproxyConfig) Equal ¶
func (m *MapproxyConfig) Equal(o *MapproxyConfig) bool
type ServiceWMTS ¶
type ServiceWMTS struct {
Kvp bool `yaml:"kvp"`
Restful bool `yaml:"restful"`
FeatureinfoFormats []WMTSFeatureInfoFormat `yaml:"featureinfo_formats,omitempty"`
}
type Services ¶
type Services struct {
Wmts ServiceWMTS `yaml:"wmts"`
}
type Source ¶
type Source struct {
Type string `yaml:"type"`
WMSOpts SourceWMSOpts `yaml:"wms_opts"`
SupportedSrs []string `yaml:"supported_srs"`
Coverage SourceCoverage `yaml:"coverage"`
MinRes *float64 `yaml:"min_res,omitempty"`
MaxRes *float64 `yaml:"max_res,omitempty"`
Req SourceReq `yaml:"req"`
}
type SourceCoverage ¶
type SourceWMSOpts ¶
type WMTSFeatureInfoFormat ¶
Click to show internal directories.
Click to hide internal directories.