Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the pingdom v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=pingdom.k8s
Package v1alpha1 contains API Schema definitions for the pingdom v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=pingdom.k8s
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "pingdom.k8s", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
Types ¶
type Checks ¶
type Checks struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ChecksSpec `json:"spec,omitempty"` Status ChecksStatus `json:"status,omitempty"` }
Checks is the Schema for the checks API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=checks,scope=Namespaced
func (*Checks) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Checks.
func (*Checks) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Checks) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ChecksList ¶
type ChecksList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Checks `json:"items"` }
ChecksList contains a list of Checks
func (*ChecksList) DeepCopy ¶
func (in *ChecksList) DeepCopy() *ChecksList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChecksList.
func (*ChecksList) DeepCopyInto ¶
func (in *ChecksList) DeepCopyInto(out *ChecksList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ChecksList) DeepCopyObject ¶
func (in *ChecksList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ChecksSpec ¶
type ChecksSpec struct { // You don't have to define this, in fact, it's better to use // kubernetes secret for these settings, you can set them up // as env variables - "PINGDOM_(USER|PASSWORD|KEY)" User string `json:"user"` Password string `json:"password"` Key string `json:"key"` BaseURL string `json:"base-url,omitempty"` HTTP *HTTPCheck `json:"http"` }
ChecksSpec defines the desired state of Checks +k8s:openapi-gen=true
func (*ChecksSpec) DeepCopy ¶
func (in *ChecksSpec) DeepCopy() *ChecksSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChecksSpec.
func (*ChecksSpec) DeepCopyInto ¶
func (in *ChecksSpec) DeepCopyInto(out *ChecksSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChecksStatus ¶
type ChecksStatus struct { // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html ID int }
ChecksStatus defines the observed state of Checks +k8s:openapi-gen=true
func (*ChecksStatus) DeepCopy ¶
func (in *ChecksStatus) DeepCopy() *ChecksStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChecksStatus.
func (*ChecksStatus) DeepCopyInto ¶
func (in *ChecksStatus) DeepCopyInto(out *ChecksStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HTTPCheck ¶
HTTPCheck is representation of the http check
func (*HTTPCheck) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPCheck.
func (*HTTPCheck) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.