Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=pdok.nl
Index ¶
- Variables
- type OGCAPI
- func (in *OGCAPI) DeepCopy() *OGCAPI
- func (in *OGCAPI) DeepCopyInto(out *OGCAPI)
- func (in *OGCAPI) DeepCopyObject() runtime.Object
- func (r *OGCAPI) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *OGCAPI) ValidateCreate() (admission.Warnings, error)
- func (r *OGCAPI) ValidateDelete() (admission.Warnings, error)
- func (r *OGCAPI) ValidateUpdate(_ runtime.Object) (admission.Warnings, error)
- type OGCAPIList
- type OGCAPISpec
- type OGCAPIStatus
Constants ¶
This section is empty.
Variables ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OGCAPI.
func (*OGCAPI) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OGCAPI) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OGCAPI) SetupWebhookWithManager ¶ added in v0.6.0
SetupWebhookWithManager will setup the manager to manage the webhooks
func (*OGCAPI) ValidateCreate ¶ added in v0.6.0
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*OGCAPI) ValidateDelete ¶ added in v0.6.0
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
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.