Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeBuilder initializes a scheme builder SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: pingdomcontroller.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type PingdomOperator ¶
type PingdomOperator struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PingdomOperatorSpec `json:"spec"` }
PingdomOperator is a specification for a PingdomOperator resource
func (*PingdomOperator) DeepCopy ¶
func (in *PingdomOperator) DeepCopy() *PingdomOperator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PingdomOperator.
func (*PingdomOperator) DeepCopyInto ¶
func (in *PingdomOperator) DeepCopyInto(out *PingdomOperator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PingdomOperator) DeepCopyObject ¶
func (in *PingdomOperator) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PingdomOperatorCheck ¶
type PingdomOperatorCheck struct { CheckType string `json:"type"` URL string `json:"url"` Interval uint8 `json:"interval"` }
PingdomOperatorCheck is the structure for the checks definition
func (*PingdomOperatorCheck) DeepCopy ¶
func (in *PingdomOperatorCheck) DeepCopy() *PingdomOperatorCheck
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PingdomOperatorCheck.
func (*PingdomOperatorCheck) DeepCopyInto ¶
func (in *PingdomOperatorCheck) DeepCopyInto(out *PingdomOperatorCheck)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PingdomOperatorList ¶
type PingdomOperatorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []PingdomOperator `json:"items"` }
PingdomOperatorList is a list of PingdomOperator resources
func (*PingdomOperatorList) DeepCopy ¶
func (in *PingdomOperatorList) DeepCopy() *PingdomOperatorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PingdomOperatorList.
func (*PingdomOperatorList) DeepCopyInto ¶
func (in *PingdomOperatorList) DeepCopyInto(out *PingdomOperatorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PingdomOperatorList) DeepCopyObject ¶
func (in *PingdomOperatorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PingdomOperatorSpec ¶
type PingdomOperatorSpec struct {
Checks []PingdomOperatorCheck `json:"checks"`
}
PingdomOperatorSpec is the spec for a PingdomOperator resource
func (*PingdomOperatorSpec) DeepCopy ¶
func (in *PingdomOperatorSpec) DeepCopy() *PingdomOperatorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PingdomOperatorSpec.
func (*PingdomOperatorSpec) DeepCopyInto ¶
func (in *PingdomOperatorSpec) DeepCopyInto(out *PingdomOperatorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.