v1alpha1

package
Version: v0.0.0-...-c4470db Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API. +groupName=pager.k8s.co

Index

Constants

View Source
const (
	AnnotationCustomTitle = "pager.k8s.co/title"
)

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: pager.GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_pager_AlertList_To_v1alpha1_AlertList

func Convert_pager_AlertList_To_v1alpha1_AlertList(in *pager.AlertList, out *AlertList, s conversion.Scope) error

Convert_pager_AlertList_To_v1alpha1_AlertList is an autogenerated conversion function.

func Convert_pager_AlertSpec_To_v1alpha1_AlertSpec

func Convert_pager_AlertSpec_To_v1alpha1_AlertSpec(in *pager.AlertSpec, out *AlertSpec, s conversion.Scope) error

func Convert_pager_AlertStatus_To_v1alpha1_AlertStatus

func Convert_pager_AlertStatus_To_v1alpha1_AlertStatus(in *pager.AlertStatus, out *AlertStatus, s conversion.Scope) error

Convert_pager_AlertStatus_To_v1alpha1_AlertStatus is an autogenerated conversion function.

func Convert_pager_Alert_To_v1alpha1_Alert

func Convert_pager_Alert_To_v1alpha1_Alert(in *pager.Alert, out *Alert, s conversion.Scope) error

func Convert_v1alpha1_AlertList_To_pager_AlertList

func Convert_v1alpha1_AlertList_To_pager_AlertList(in *AlertList, out *pager.AlertList, s conversion.Scope) error

Convert_v1alpha1_AlertList_To_pager_AlertList is an autogenerated conversion function.

func Convert_v1alpha1_AlertSpec_To_pager_AlertSpec

func Convert_v1alpha1_AlertSpec_To_pager_AlertSpec(in *AlertSpec, out *pager.AlertSpec, s conversion.Scope) error

Convert_v1alpha1_AlertSpec_To_pager_AlertSpec is an autogenerated conversion function.

func Convert_v1alpha1_AlertStatus_To_pager_AlertStatus

func Convert_v1alpha1_AlertStatus_To_pager_AlertStatus(in *AlertStatus, out *pager.AlertStatus, s conversion.Scope) error

Convert_v1alpha1_AlertStatus_To_pager_AlertStatus is an autogenerated conversion function.

func Convert_v1alpha1_Alert_To_pager_Alert

func Convert_v1alpha1_Alert_To_pager_Alert(in *Alert, out *pager.Alert, s conversion.Scope) error

func RegisterConversions

func RegisterConversions(scheme *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDeepCopies deprecated

This function has been deprecated.
func RegisterDeepCopies(scheme *runtime.Scheme) error

RegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.

Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Alert

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

	Spec   AlertSpec   `json:"spec,omitempty"`
	Status AlertStatus `json:"status,omitempty"`
}

func (*Alert) DeepCopy

func (in *Alert) DeepCopy() *Alert

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

func (*Alert) DeepCopyInto

func (in *Alert) DeepCopyInto(out *Alert)

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

func (*Alert) DeepCopyObject

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

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

type AlertList

type AlertList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []Alert `json:"items"`
}

func (*AlertList) DeepCopy

func (in *AlertList) DeepCopy() *AlertList

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

func (*AlertList) DeepCopyInto

func (in *AlertList) DeepCopyInto(out *AlertList)

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

func (*AlertList) DeepCopyObject

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

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

type AlertSpec

type AlertSpec struct {
	Message string `json:"message"`
}

func (*AlertSpec) DeepCopy

func (in *AlertSpec) DeepCopy() *AlertSpec

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

func (*AlertSpec) DeepCopyInto

func (in *AlertSpec) DeepCopyInto(out *AlertSpec)

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

type AlertStatus

type AlertStatus struct {
	Sent bool `json:"sent"`
}

func (*AlertStatus) DeepCopy

func (in *AlertStatus) DeepCopy() *AlertStatus

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

func (*AlertStatus) DeepCopyInto

func (in *AlertStatus) DeepCopyInto(out *AlertStatus)

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
t or T : Toggle theme light dark auto
y or Y : Canonical URL