v1alpha1

package
v0.0.2-0...-ab5d7df Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2019 License: MIT Imports: 8 Imported by: 0

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

View Source
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

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

func (in *Checks) DeepCopy() *Checks

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

func (*Checks) DeepCopyInto

func (in *Checks) DeepCopyInto(out *Checks)

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

func (*Checks) DeepCopyObject

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

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

func (*Checks) DeleteHTTP

func (checks *Checks) DeleteHTTP() error

DeleteHTTP deletes HTTP check

func (*Checks) SetupHTTP

func (checks *Checks) SetupHTTP() error

SetupHTTP setups HTTP check

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

type HTTPCheck pingdom.HttpCheck

HTTPCheck is representation of the http check

func (*HTTPCheck) DeepCopy

func (in *HTTPCheck) DeepCopy() *HTTPCheck

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

func (*HTTPCheck) DeepCopyInto

func (in *HTTPCheck) DeepCopyInto(out *HTTPCheck)

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