v2beta1

package
v1.0.0-rc8 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2025 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package v2beta1 contains API Schema definitions for the v2beta1 API group. +kubebuilder:object:generate=true +groupName=pdok.nl

Index

Constants

View Source
const ServiceMetatdataIdentifierAnnotation = "pdok.nl/wms-service-metadata-uuid"

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: "pdok.nl", Version: "v2beta1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme.
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

func ConvertColumnAndAliasesV2ToColumnsWithAliasV3

func ConvertColumnAndAliasesV2ToColumnsWithAliasV3(columns []string, aliases map[string]string) []pdoknlv3.Column

func ConvertColumnsWithAliasV3ToColumnsAndAliasesV2

func ConvertColumnsWithAliasV3ToColumnsAndAliasesV2(columns []pdoknlv3.Column) ([]string, map[string]string)

func ConvertOptionsV2ToV3

func ConvertOptionsV2ToV3(src *WMSWFSOptions) *pdoknlv3.Options

func ConvertResources

func ConvertResources(src corev1.ResourceRequirements) corev1.PodSpec

func ConvertV2DataToV3

func ConvertV2DataToV3(v2 Data) pdoknlv3.Data

func CreateBaseURL

func CreateBaseURL(host string, kind string, general General) (*smoothoperatormodel.URL, error)

Types

type Authority

type Authority struct {
	Name string `json:"name"`
	URL  string `json:"url"`
}

Authority is a struct for the authority fields in WMS and WFS crds

func (*Authority) DeepCopy

func (in *Authority) DeepCopy() *Authority

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Authority.

func (*Authority) DeepCopyInto

func (in *Authority) DeepCopyInto(out *Authority)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Autoscaling

type Autoscaling struct {
	AverageCPUUtilization *int `json:"averageCpuUtilization,omitempty"`
	MinReplicas           *int `json:"minReplicas,omitempty"`
	MaxReplicas           *int `json:"maxReplicas,omitempty"`
}

Autoscaling is the struct with all fields to configure autoscalers for the crs

func (*Autoscaling) DeepCopy

func (in *Autoscaling) DeepCopy() *Autoscaling

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Autoscaling.

func (*Autoscaling) DeepCopyInto

func (in *Autoscaling) DeepCopyInto(out *Autoscaling)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Condition

type Condition struct {
	Type               ConditionType   `json:"type"`
	Status             ConditionStatus `json:"status"`
	LastTransitionTime metav1.Time     `json:"lastTransitionTime"`
	AnsibleResult      *ResultAnsible  `json:"ansibleResult,omitempty"`
	Reason             string          `json:"reason"`
	Message            string          `json:"message"`
}

Condition - the condition for the ansible operator https://github.com/operator-framework/operator-sdk/blob/master/internal/ansible/controller/status/types.go#L101

func (*Condition) DeepCopy

func (in *Condition) DeepCopy() *Condition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.

func (*Condition) DeepCopyInto

func (in *Condition) DeepCopyInto(out *Condition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ConditionStatus

type ConditionStatus string

ConditionStatus specifies a string for field ConditionType

const (
	ConditionTrue    ConditionStatus = "True"
	ConditionFalse   ConditionStatus = "False"
	ConditionUnknown ConditionStatus = "Unknown"
)

This const specifies allowed fields for Status

type ConditionType

type ConditionType string

ConditionType specifies a string for field ConditionType

type ConfigMapRef

type ConfigMapRef struct {
	Name string   `json:"name"`
	Keys []string `json:"keys,omitempty"`
}

ConfigMapRef contains all the config map name and all keys in that mapserver that are relevant the Keys can be empty, so that the v1 WMS can convert to the v2beta1 WMS

func (*ConfigMapRef) DeepCopy

func (in *ConfigMapRef) DeepCopy() *ConfigMapRef

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapRef.

func (*ConfigMapRef) DeepCopyInto

func (in *ConfigMapRef) DeepCopyInto(out *ConfigMapRef)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Data

type Data struct {
	GPKG    *GPKG    `json:"gpkg,omitempty"`
	Postgis *Postgis `json:"postgis,omitempty"`
	Tif     *Tif     `json:"tif,omitempty"`
}

Data is a struct for the data field for a WMSLayer or WFS FeatureType

func ConvertV3DataToV2

func ConvertV3DataToV2(v3 pdoknlv3.Data) Data

func (*Data) DeepCopy

func (in *Data) DeepCopy() *Data

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Data.

func (*Data) DeepCopyInto

func (in *Data) DeepCopyInto(out *Data)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FeatureType

type FeatureType struct {
	Name                      string   `json:"name"`
	Title                     string   `json:"title"`
	Abstract                  string   `json:"abstract"`
	Keywords                  []string `json:"keywords"`
	DatasetMetadataIdentifier string   `json:"datasetMetadataIdentifier"`
	SourceMetadataIdentifier  string   `json:"sourceMetadataIdentifier"`
	Extent                    *string  `json:"extent,omitempty"`
	Data                      Data     `json:"data"`
}

FeatureType is the struct for all feature type level fields

func (*FeatureType) DeepCopy

func (in *FeatureType) DeepCopy() *FeatureType

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureType.

func (*FeatureType) DeepCopyInto

func (in *FeatureType) DeepCopyInto(out *FeatureType)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GPKG

type GPKG struct {
	BlobKey      string   `json:"blobKey"`
	Table        string   `json:"table"`
	GeometryType string   `json:"geometryType"`
	Columns      []string `json:"columns"`
	// In a new version Aliases should become part of Columns
	Aliases map[string]string `json:"aliases,omitempty"`
}

GPKG is a struct for the gpkg field for a WMSLayer or WFS FeatureType

func (*GPKG) DeepCopy

func (in *GPKG) DeepCopy() *GPKG

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GPKG.

func (*GPKG) DeepCopyInto

func (in *GPKG) DeepCopyInto(out *GPKG)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type General

type General struct {
	Dataset        string  `json:"dataset"`
	Theme          *string `json:"theme,omitempty"`
	DatasetOwner   string  `json:"datasetOwner"`
	ServiceVersion *string `json:"serviceVersion,omitempty"`
	DataVersion    *string `json:"dataVersion,omitempty"`
}

General is the struct with all generic fields for the crds

func LabelsToV2General

func LabelsToV2General(labels map[string]string) General

func (*General) DeepCopy

func (in *General) DeepCopy() *General

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new General.

func (*General) DeepCopyInto

func (in *General) DeepCopyInto(out *General)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HealthCheck

type HealthCheck struct {
	Querystring *string `json:"querystring,omitempty"`
	Mimetype    *string `json:"mimetype,omitempty"`
	Boundingbox *string `json:"boundingbox,omitempty"`
}

HealthCheck is the struct with all fields to configure healthchecks for the crs

func (*HealthCheck) DeepCopy

func (in *HealthCheck) DeepCopy() *HealthCheck

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthCheck.

func (*HealthCheck) DeepCopyInto

func (in *HealthCheck) DeepCopyInto(out *HealthCheck)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Kubernetes

type Kubernetes struct {
	Autoscaling *Autoscaling                 `json:"autoscaling,omitempty"`
	HealthCheck *HealthCheck                 `json:"healthCheck,omitempty"`
	Resources   *corev1.ResourceRequirements `json:"resources,omitempty"`
	Lifecycle   *Lifecycle                   `json:"lifecycle,omitempty"`
}

Kubernetes is the struct with all fields that can be defined in kubernetes fields in the crds

func NewV2KubernetesObject

func NewV2KubernetesObject(lifecycle *smoothoperatormodel.Lifecycle, podSpecPatch corev1.PodSpec, scalingSpec *pdoknlv3.HorizontalPodAutoscalerPatch) Kubernetes

func (*Kubernetes) DeepCopy

func (in *Kubernetes) DeepCopy() *Kubernetes

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes.

func (*Kubernetes) DeepCopyInto

func (in *Kubernetes) DeepCopyInto(out *Kubernetes)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LegendFile

type LegendFile struct {
	BlobKey string `json:"blobKey"`
}

LegendFile is the struct containing the location of the legendfile

func (*LegendFile) DeepCopy

func (in *LegendFile) DeepCopy() *LegendFile

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LegendFile.

func (*LegendFile) DeepCopyInto

func (in *LegendFile) DeepCopyInto(out *LegendFile)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Lifecycle

type Lifecycle struct {
	TTLInDays *int `json:"ttlInDays,omitempty"`
}

Lifecycle is the struct with the fields to configure lifecycle settings for the resources

func (*Lifecycle) DeepCopy

func (in *Lifecycle) DeepCopy() *Lifecycle

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Lifecycle.

func (*Lifecycle) DeepCopyInto

func (in *Lifecycle) DeepCopyInto(out *Lifecycle)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Mapfile

type Mapfile struct {
	ConfigMapKeyRef corev1.ConfigMapKeySelector `json:"configMapKeyRef"`
}

Mapfile contains the ConfigMapKeyRef containing a mapfile

func (*Mapfile) DeepCopy

func (in *Mapfile) DeepCopy() *Mapfile

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Mapfile.

func (*Mapfile) DeepCopyInto

func (in *Mapfile) DeepCopyInto(out *Mapfile)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Postgis

type Postgis struct {
	Table        string   `json:"table"`
	GeometryType string   `json:"geometryType"`
	Columns      []string `json:"columns"`
	// In a new version Aliases should become part of Columns
	Aliases map[string]string `json:"aliases,omitempty"`
}

Postgis is a struct for the Postgis db config for a WMSLayer or WFS FeatureType connection details are passed through the environment

func (*Postgis) DeepCopy

func (in *Postgis) DeepCopy() *Postgis

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Postgis.

func (*Postgis) DeepCopyInto

func (in *Postgis) DeepCopyInto(out *Postgis)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Resources

type Resources struct {
	APIVersion *string `json:"apiversion,omitempty"`
	Kind       *string `json:"kind,omitempty"`
	Name       *string `json:"name,omitempty"`
}

Resources is the struct for the resources field within status

func (*Resources) DeepCopy

func (in *Resources) DeepCopy() *Resources

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resources.

func (*Resources) DeepCopyInto

func (in *Resources) DeepCopyInto(out *Resources)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResultAnsible

type ResultAnsible struct {
	Ok               int    `json:"ok"`
	Changed          int    `json:"changed"`
	Skipped          int    `json:"skipped"`
	Failures         int    `json:"failures"`
	TimeOfCompletion string `json:"completion"`
}

ResultAnsible - encapsulation of the ansible result. 'AnsibleResult' is turned around in struct to comply with linting

func (*ResultAnsible) DeepCopy

func (in *ResultAnsible) DeepCopy() *ResultAnsible

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResultAnsible.

func (*ResultAnsible) DeepCopyInto

func (in *ResultAnsible) DeepCopyInto(out *ResultAnsible)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Status

type Status struct {
	Conditions []Condition `json:"conditions,omitempty"`
	Deployment *string     `json:"deployment,omitempty"`
	Resources  []Resources `json:"resources,omitempty"`
}

Status - The status for custom resources managed by the operator-sdk.

func (*Status) DeepCopy

func (in *Status) DeepCopy() *Status

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status.

func (*Status) DeepCopyInto

func (in *Status) DeepCopyInto(out *Status)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Style

type Style struct {
	Name          string      `json:"name"`
	Title         *string     `json:"title,omitempty"`
	Abstract      *string     `json:"abstract,omitempty"`
	Visualization *string     `json:"visualization,omitempty"`
	LegendFile    *LegendFile `json:"legendFile,omitempty"`
}

Style is the struct for all style level fields

func (*Style) DeepCopy

func (in *Style) DeepCopy() *Style

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Style.

func (*Style) DeepCopyInto

func (in *Style) DeepCopyInto(out *Style)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type StylingAssets

type StylingAssets struct {
	ConfigMapRefs []ConfigMapRef `json:"configMapRefs,omitempty"`
	BlobKeys      []string       `json:"blobKeys,omitempty"`
}

StylingAssets is the struct containing the location of styling assets

func (*StylingAssets) DeepCopy

func (in *StylingAssets) DeepCopy() *StylingAssets

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StylingAssets.

func (*StylingAssets) DeepCopyInto

func (in *StylingAssets) DeepCopyInto(out *StylingAssets)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Tif

type Tif struct {
	BlobKey                     string  `json:"blobKey"`
	GetFeatureInfoIncludesClass *bool   `json:"getFeatureInfoIncludesClass,omitempty"`
	Offsite                     *string `json:"offsite,omitempty"`
	Resample                    *string `json:"resample,omitempty"`
}

Tif is a struct for the Tif field for a WMSLayer

func (*Tif) DeepCopy

func (in *Tif) DeepCopy() *Tif

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tif.

func (*Tif) DeepCopyInto

func (in *Tif) DeepCopyInto(out *Tif)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WFS

type WFS struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   WFSSpec `json:"spec,omitempty"`
	Status *Status `json:"status,omitempty"`
}

WFS is the Schema for the wfs API.

func (*WFS) ConvertFrom

func (dst *WFS) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts the Hub version (v3) to this WFS (v2beta1).

func (*WFS) ConvertTo

func (src *WFS) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this WFS (v2beta1) to the Hub version (v3).

func (*WFS) DeepCopy

func (in *WFS) DeepCopy() *WFS

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WFS.

func (*WFS) DeepCopyInto

func (in *WFS) DeepCopyInto(out *WFS)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WFS) DeepCopyObject

func (in *WFS) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*WFS) ToV3

func (src *WFS) ToV3(dst *pdoknlv3.WFS) error

type WFSList

type WFSList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []WFS `json:"items"`
}

WFSList contains a list of WFS.

func (*WFSList) DeepCopy

func (in *WFSList) DeepCopy() *WFSList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WFSList.

func (*WFSList) DeepCopyInto

func (in *WFSList) DeepCopyInto(out *WFSList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WFSList) DeepCopyObject

func (in *WFSList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type WFSService

type WFSService struct {
	Title    string `json:"title"`
	Inspire  bool   `json:"inspire"`
	Abstract string `json:"abstract"`
	// +kubebuilder:default="https://creativecommons.org/publicdomain/zero/1.0/deed.nl"
	AccessConstraints  *string   `json:"accessConstraints,omitempty"`
	Keywords           []string  `json:"keywords"`
	MetadataIdentifier string    `json:"metadataIdentifier"`
	Authority          Authority `json:"authority"`
	Extent             *string   `json:"extent,omitempty"`
	Maxfeatures        *string   `json:"maxfeatures,omitempty"`
	//nolint:tagliatelle
	DataEPSG     string        `json:"dataEPSG"`
	FeatureTypes []FeatureType `json:"featureTypes"`
	Mapfile      *Mapfile      `json:"mapfile,omitempty"`
}

WFSService is the struct with all service specific options

func (*WFSService) DeepCopy

func (in *WFSService) DeepCopy() *WFSService

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WFSService.

func (*WFSService) DeepCopyInto

func (in *WFSService) DeepCopyInto(out *WFSService)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WFSSpec

type WFSSpec struct {
	General    General        `json:"general"`
	Service    WFSService     `json:"service"`
	Kubernetes Kubernetes     `json:"kubernetes"`
	Options    *WMSWFSOptions `json:"options,omitempty"`
}

WFSSpec is the struct for all fields defined in the WFS CRD

func (*WFSSpec) DeepCopy

func (in *WFSSpec) DeepCopy() *WFSSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WFSSpec.

func (*WFSSpec) DeepCopyInto

func (in *WFSSpec) DeepCopyInto(out *WFSSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WMS

type WMS struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   WMSSpec `json:"spec,omitempty"`
	Status *Status `json:"status,omitempty"`
}

WMS is the Schema for the wms API.

func (*WMS) ConvertFrom

func (dst *WMS) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts the Hub version (v3) to this WMS (v2beta1).

func (*WMS) ConvertTo

func (src *WMS) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this WMS (v2beta1) to the Hub version (v3).

func (*WMS) DeepCopy

func (in *WMS) DeepCopy() *WMS

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WMS.

func (*WMS) DeepCopyInto

func (in *WMS) DeepCopyInto(out *WMS)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WMS) DeepCopyObject

func (in *WMS) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*WMS) ToV3

func (src *WMS) ToV3(target *pdoknlv3.WMS) error

type WMSLayer

type WMSLayer struct {
	Name                      string   `json:"name"`
	Group                     *string  `json:"group,omitempty"`
	Visible                   *bool    `json:"visible,omitempty"`
	Title                     *string  `json:"title,omitempty"`
	Abstract                  *string  `json:"abstract,omitempty"`
	Keywords                  []string `json:"keywords,omitempty"`
	DatasetMetadataIdentifier *string  `json:"datasetMetadataIdentifier,omitempty"`
	SourceMetadataIdentifier  *string  `json:"sourceMetadataIdentifier,omitempty"`
	Styles                    []Style  `json:"styles"`
	Extent                    *string  `json:"extent,omitempty"`
	MinScale                  *float64 `json:"minScale,omitempty"`
	MaxScale                  *float64 `json:"maxScale,omitempty"`
	LabelNoClip               bool     `json:"labelNoClip,omitempty"`
	Data                      *Data    `json:"data,omitempty"`
}

WMSLayer is the struct for all layer level fields

func (*WMSLayer) DeepCopy

func (in *WMSLayer) DeepCopy() *WMSLayer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WMSLayer.

func (*WMSLayer) DeepCopyInto

func (in *WMSLayer) DeepCopyInto(out *WMSLayer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (WMSLayer) MapToV3

func (v2Layer WMSLayer) MapToV3(v2Service WMSService) pdoknlv3.Layer

type WMSList

type WMSList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []WMS `json:"items"`
}

WMSList contains a list of WMS.

func (*WMSList) DeepCopy

func (in *WMSList) DeepCopy() *WMSList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WMSList.

func (*WMSList) DeepCopyInto

func (in *WMSList) DeepCopyInto(out *WMSList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WMSList) DeepCopyObject

func (in *WMSList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type WMSService

type WMSService struct {
	Inspire  bool   `json:"inspire,omitempty"`
	Title    string `json:"title"`
	Abstract string `json:"abstract"`
	// +kubebuilder:default="https://creativecommons.org/publicdomain/zero/1.0/deed.nl"
	AccessConstraints  *string    `json:"accessConstraints,omitempty"` // Pointer for CRD conversion as defaulting is not applied there
	Keywords           []string   `json:"keywords"`
	MetadataIdentifier string     `json:"metadataIdentifier"`
	Authority          Authority  `json:"authority"`
	Layers             []WMSLayer `json:"layers"`
	//nolint:tagliatelle
	DataEPSG      string         `json:"dataEPSG"`
	Extent        *string        `json:"extent,omitempty"`
	Maxsize       *float64       `json:"maxSize,omitempty"`
	Resolution    *int           `json:"resolution,omitempty"`
	DefResolution *int           `json:"defResolution,omitempty"`
	StylingAssets *StylingAssets `json:"stylingAssets,omitempty"`
	Mapfile       *Mapfile       `json:"mapfile,omitempty"`
}

WMSService is the struct for all service level fields

func (*WMSService) DeepCopy

func (in *WMSService) DeepCopy() *WMSService

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WMSService.

func (*WMSService) DeepCopyInto

func (in *WMSService) DeepCopyInto(out *WMSService)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (WMSService) GetTopLayer

func (v2Service WMSService) GetTopLayer() (*WMSLayer, error)

func (WMSService) MapLayersToV3

func (v2Service WMSService) MapLayersToV3() pdoknlv3.Layer

MapLayersToV3

type WMSSpec

type WMSSpec struct {
	General    General        `json:"general"`
	Service    WMSService     `json:"service"`
	Options    *WMSWFSOptions `json:"options,omitempty"`
	Kubernetes Kubernetes     `json:"kubernetes"`
}

WMSSpec is the struct for all fields defined in the WMS CRD

func (*WMSSpec) DeepCopy

func (in *WMSSpec) DeepCopy() *WMSSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WMSSpec.

func (*WMSSpec) DeepCopyInto

func (in *WMSSpec) DeepCopyInto(out *WMSSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WMSWFSOptions

type WMSWFSOptions struct {
	// +kubebuilder:default:=true
	IncludeIngress bool `json:"includeIngress"`
	// +kubebuilder:default:=true
	AutomaticCasing bool `json:"automaticCasing"`
	// +kubebuilder:default:=true
	ValidateRequests         *bool `json:"validateRequests,omitempty"`
	RewriteGroupToDataLayers *bool `json:"rewriteGroupToDataLayers,omitempty"`
	DisableWebserviceProxy   *bool `json:"disableWebserviceProxy,omitempty"`
	// +kubebuilder:default:=true
	PrefetchData                *bool `json:"prefetchData,omitempty"`
	ValidateChildStyleNameEqual *bool `json:"validateChildStyleNameEqual,omitempty"`
}

WMSWFSOptions is the struct with options available in the operator

func ConvertOptionsV3ToV2

func ConvertOptionsV3ToV2(src *pdoknlv3.Options) *WMSWFSOptions

func (*WMSWFSOptions) DeepCopy

func (in *WMSWFSOptions) DeepCopy() *WMSWFSOptions

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WMSWFSOptions.

func (*WMSWFSOptions) DeepCopyInto

func (in *WMSWFSOptions) DeepCopyInto(out *WMSWFSOptions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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