v1

package
v0.1.0-1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2026 License: EUPL-1.2 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Autoscaling

type Autoscaling struct {
	MinReplicas int `json:"minReplicas"`
	MaxReplicas int `json:"maxReplicas"`
}

type GeneralLabels

type GeneralLabels struct {
	DatasetOwner   string `json:"datasetOwner"`
	Dataset        string `json:"dataset"`
	ServiceVersion string `json:"serviceVersion"`
	DataVersion    string `json:"dataVersion"`
}

type HealthCheck

type HealthCheck struct {
	QueryString string `json:"queryString"`
	Mimetype    string `json:"mimetype"`
}

type KubernetesSettings

type KubernetesSettings struct {
	Autoscaling *Autoscaling `json:"autoscaling"`
	HealthCheck HealthCheck  `json:"healthCheck"`
}

type Layer

type Layer struct {
	Name       string    `json:"name"`
	Title      string    `json:"title"`
	Abstract   string    `json:"abstract"`
	LegendFile string    `json:"legendFile"`
	WmsSource  WmsSource `json:"wmsSource"`
}

type Options

type Options struct {
	Cached         *bool   `json:"cached"`
	IncludeIngress *bool   `json:"includeIngress"`
	MetaSize       *string `json:"metaSize"`
}

type Service

type Service struct {
	Title             string         `json:"title"`
	Abstract          string         `json:"abstract"`
	WmtsPath          string         `json:"wmtsPath"`
	BlobPath          string         `json:"blobPath"`
	AccessConstraints string         `json:"accessConstraints"`
	GetFeatureInfo    bool           `json:"getFeatureInfo"`
	SupportedSrs      []SupportedSrs `json:"supportedSrs"`
	Layers            []Layer        `json:"layers"`
}

type SupportedSrs

type SupportedSrs struct {
	Srs        string   `json:"srs"`
	ZoomLevels []string `json:"zoomLevels"`
}

type WMTS

type WMTS struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              WMTSSpec `json:"spec"`
}

func (*WMTS) ToV2

func (src *WMTS) ToV2() (v2.WMTS, error)

type WMTSSpec

type WMTSSpec struct {
	General    GeneralLabels      `json:"general"`
	Kubernetes KubernetesSettings `json:"kubernetes"`
	Options    Options            `json:"options"`
	Service    Service            `json:"service"`
}

type WmsSource

type WmsSource struct {
	URL         string   `json:"url"`
	Layers      []string `json:"layers,omitempty"`
	Transparent *bool    `json:"transparent"`
	Styles      []string `json:"styles,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL