v1alpha1

package
v0.0.0-...-50f0284 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the monitoring v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=monitoring.adrianriobo.com

Package v1alpha1 contains API Schema definitions for the monitoring v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=monitoring.adrianriobo.com

Index

Constants

This section is empty.

Variables

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

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

Functions

This section is empty.

Types

type PingdomCheck

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

	Spec   PingdomCheckSpec   `json:"spec,omitempty"`
	Status PingdomCheckStatus `json:"status,omitempty"`
}

PingdomCheck is the Schema for the pingdomchecks API +kubebuilder:subresource:status +kubebuilder:resource:path=pingdomchecks,scope=Namespaced

func (*PingdomCheck) DeepCopy

func (in *PingdomCheck) DeepCopy() *PingdomCheck

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

func (*PingdomCheck) DeepCopyInto

func (in *PingdomCheck) DeepCopyInto(out *PingdomCheck)

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

func (*PingdomCheck) DeepCopyObject

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

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

type PingdomCheckList

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

PingdomCheckList contains a list of PingdomCheck

func (*PingdomCheckList) DeepCopy

func (in *PingdomCheckList) DeepCopy() *PingdomCheckList

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

func (*PingdomCheckList) DeepCopyInto

func (in *PingdomCheckList) DeepCopyInto(out *PingdomCheckList)

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

func (*PingdomCheckList) DeepCopyObject

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

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

type PingdomCheckSpec

type PingdomCheckSpec struct {
	Name string `json:"name"`
	// +kubebuilder:validation:Pattern=`^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)$`
	URL string `json:"url"`
}

PingdomCheckSpec defines the desired state of PingdomCheck

func (*PingdomCheckSpec) DeepCopy

func (in *PingdomCheckSpec) DeepCopy() *PingdomCheckSpec

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

func (*PingdomCheckSpec) DeepCopyInto

func (in *PingdomCheckSpec) DeepCopyInto(out *PingdomCheckSpec)

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

type PingdomCheckStatus

type PingdomCheckStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// 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 `json:"id"`
}

PingdomCheckStatus defines the observed state of PingdomCheck

func (*PingdomCheckStatus) DeepCopy

func (in *PingdomCheckStatus) DeepCopy() *PingdomCheckStatus

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

func (*PingdomCheckStatus) DeepCopyInto

func (in *PingdomCheckStatus) DeepCopyInto(out *PingdomCheckStatus)

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