v1alpha1

package
v0.0.0-...-cf82eea Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API.

Index

Constants

This section is empty.

Variables

View Source
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
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: pingdomcontroller.GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL