v1alpha1

package
v0.20.3 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

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

	// 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

This section is empty.

Types

type OGCAPI

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

	Spec   OGCAPISpec   `json:"spec,omitempty"`
	Status OGCAPIStatus `json:"status,omitempty"`
}

OGCAPI is the Schema for the ogcapis API +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:categories=pdok

func (*OGCAPI) DeepCopy

func (in *OGCAPI) DeepCopy() *OGCAPI

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

func (*OGCAPI) DeepCopyInto

func (in *OGCAPI) DeepCopyInto(out *OGCAPI)

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

func (*OGCAPI) DeepCopyObject

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

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

func (*OGCAPI) SetupWebhookWithManager added in v0.6.0

func (r *OGCAPI) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager will setup the manager to manage the webhooks

func (*OGCAPI) ValidateCreate added in v0.6.0

func (r *OGCAPI) ValidateCreate() (admission.Warnings, error)

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*OGCAPI) ValidateDelete added in v0.6.0

func (r *OGCAPI) ValidateDelete() (admission.Warnings, error)

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*OGCAPI) ValidateUpdate added in v0.6.0

func (r *OGCAPI) ValidateUpdate(_ runtime.Object) (admission.Warnings, error)

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type the 'old' Object is passed as an argument, so it can be used in the validation

type OGCAPIList

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

OGCAPIList contains a list of OGCAPI +kubebuilder:object:root=true

func (*OGCAPIList) DeepCopy

func (in *OGCAPIList) DeepCopy() *OGCAPIList

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

func (*OGCAPIList) DeepCopyInto

func (in *OGCAPIList) DeepCopyInto(out *OGCAPIList)

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

func (*OGCAPIList) DeepCopyObject

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

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

type OGCAPISpec

type OGCAPISpec struct {
	Service gokoalaconfig.Config `json:"service"`
	//+kubebuilder:validation:Type=object
	//+kubebuilder:validation:Schemaless
	//+kubebuilder:pruning:PreserveUnknownFields
	// Optional strategic merge patch for the pod in the deployment. E.g. to patch the resources or add extra env vars.
	PodSpecPatch *corev1.PodSpec `json:"podSpecPatch,omitempty"`
}

OGCAPISpec defines the desired state of OGCAPI +kubebuilder:pruning:PreserveUnknownFields ^^ unknown fields are allowed (but ignored and not maintained when marshalling) for backwards compatibility

func (*OGCAPISpec) DeepCopy

func (in *OGCAPISpec) DeepCopy() *OGCAPISpec

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

func (*OGCAPISpec) DeepCopyInto

func (in *OGCAPISpec) DeepCopyInto(out *OGCAPISpec)

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

type OGCAPIStatus

type OGCAPIStatus struct {
	// Each condition contains details for one aspect of the current state of this OGCAPI.
	// Known .status.conditions.type are: "Reconciled"
	Conditions []metav1.Condition `json:"conditions,omitempty"`
	// The result of creating or updating of each derived resource for this OGCAPI.
	OperationResults map[string]controllerutil.OperationResult `json:"operationResults,omitempty"`
}

OGCAPIStatus defines the observed state of OGCAPI

func (*OGCAPIStatus) DeepCopy

func (in *OGCAPIStatus) DeepCopy() *OGCAPIStatus

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

func (*OGCAPIStatus) DeepCopyInto

func (in *OGCAPIStatus) DeepCopyInto(out *OGCAPIStatus)

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