Documentation
¶
Overview ¶
Package v2beta1 contains API Schema definitions for the v2beta1 API group. +kubebuilder:object:generate=true +groupName=pdok.nl
Index ¶
- Variables
- func GetFloat32AsString(value float32) string
- func GetInt32Pointer(value int32) *int32
- func GetIntPointer(value int) *int
- func GetStringAsFloat32(value string) float32
- type Atom
- type AtomList
- type AtomService
- type AtomSpec
- type AtomStatus
- type Author
- type Autoscaling
- type Bbox
- type Condition
- type ConditionStatus
- type ConditionType
- type Dataset
- type Download
- type General
- type HealthCheck
- type Kubernetes
- type Lifecycle
- type Link
- type OtherLink
- type Resources
- type ResultAnsible
- type Srs
- type Status
Constants ¶
This section is empty.
Variables ¶
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 GetFloat32AsString ¶
func GetInt32Pointer ¶
func GetIntPointer ¶
func GetStringAsFloat32 ¶
Types ¶
type Atom ¶
type Atom struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec AtomSpec `json:"spec,omitempty"`
Status AtomStatus `json:"status,omitempty"`
}
Atom is the Schema for the atoms API.
func (*Atom) ConvertFrom ¶
func (a *Atom) ConvertFrom(srcRaw conversion.Hub) error
ConvertFrom converts the Hub version (v3) to this Atom (v2beta1).
func (*Atom) ConvertTo ¶
func (a *Atom) ConvertTo(dstRaw conversion.Hub) error
ConvertTo converts this Atom (v2beta1) to the Hub version (v3).
func (*Atom) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Atom.
func (*Atom) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Atom) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AtomList ¶
type AtomList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Atom `json:"items"`
}
AtomList contains a list of Atom.
func (*AtomList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AtomList.
func (*AtomList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AtomList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AtomService ¶
type AtomService struct {
Title string `json:"title"`
Subtitle string `json:"subtitle"`
MetadataIdentifier string `json:"metadataIdentifier"`
Rights string `json:"rights"`
Updated *string `json:"updated,omitempty"` // deprecated
Author Author `json:"author"`
Datasets []Dataset `json:"datasets"`
}
AtomService is the struct for all service level fields
func (*AtomService) DeepCopy ¶
func (in *AtomService) DeepCopy() *AtomService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AtomService.
func (*AtomService) DeepCopyInto ¶
func (in *AtomService) DeepCopyInto(out *AtomService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AtomSpec ¶
type AtomSpec struct {
General General `json:"general"`
Service AtomService `json:"service"`
Kubernetes *Kubernetes `json:"kubernetes,omitempty"`
}
AtomSpec defines the desired state of Atom.
func (*AtomSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AtomSpec.
func (*AtomSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AtomStatus ¶
type AtomStatus struct {
}
AtomStatus defines the observed state of Atom.
func (*AtomStatus) DeepCopy ¶
func (in *AtomStatus) DeepCopy() *AtomStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AtomStatus.
func (*AtomStatus) DeepCopyInto ¶
func (in *AtomStatus) DeepCopyInto(out *AtomStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Author ¶
Author is the struct with the input for the author field of an atom
func (*Author) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Author.
func (*Author) DeepCopyInto ¶
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 Bbox ¶
type Bbox struct {
Minx float32 `json:"minx"`
Maxx float32 `json:"maxx"`
Miny float32 `json:"miny"`
Maxy float32 `json:"maxy"`
}
Bbox is the struct for the bounding box extent of an atom
func (*Bbox) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bbox.
func (*Bbox) DeepCopyInto ¶
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
func (*Condition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
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
type ConditionType ¶
type ConditionType string
ConditionType specifies a string for field ConditionType
type Dataset ¶
type Dataset struct {
Name string `json:"name"`
Title string `json:"title"`
Subtitle string `json:"subtitle"`
MetadataIdentifier string `json:"metadataIdentifier"`
SourceIdentifier string `json:"sourceIdentifier"`
Links []OtherLink `json:"links,omitempty"`
Downloads []Download `json:"downloads"`
Bbox Bbox `json:"bbox"`
}
Dataset is the struct for all dataset level fields
func (*Dataset) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Dataset.
func (*Dataset) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Download ¶
type Download struct {
Name string `json:"name"`
Title *string `json:"title,omitempty"`
Updated *string `json:"updated,omitempty"`
Content *string `json:"content,omitempty"`
Links []Link `json:"links,omitempty"`
Srs Srs `json:"srs"`
}
Download is the struct for the download level fields
func (*Download) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Download.
func (*Download) DeepCopyInto ¶
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 (*General) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new General.
func (*General) DeepCopyInto ¶
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 (*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 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Lifecycle.
func (*Lifecycle) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Link ¶
type Link struct {
BlobKey *string `json:"blobKey"`
Updated *string `json:"updated,omitempty"`
Version *string `json:"version,omitempty"`
Bbox *Bbox `json:"bbox,omitempty"`
Rel *string `json:"rel,omitempty"`
}
Link represents a link in a download entry
func (*Link) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Link.
func (*Link) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OtherLink ¶
type OtherLink struct {
Type string `json:"type"`
URI string `json:"uri"`
ContentType *string `json:"contentType,omitempty"`
Language *string `json:"language,omitempty"`
}
OtherLink represents any type of link that is not a download link related to the data (see Link)
func (*OtherLink) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OtherLink.
func (*OtherLink) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resources.
func (*Resources) DeepCopyInto ¶
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 Srs ¶
Srs is the struct with the information for the srs field of an atom
func (*Srs) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Srs.
func (*Srs) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status.
func (*Status) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.