Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +groupName=kubeopbot.k8s.io
Index ¶
- Constants
- Variables
- func Convert_kubeopbot_AlertList_To_v1alpha1_AlertList(in *kubeopbot.AlertList, out *AlertList, s conversion.Scope) error
- func Convert_kubeopbot_AlertSpec_To_v1alpha1_AlertSpec(in *kubeopbot.AlertSpec, out *AlertSpec, s conversion.Scope) error
- func Convert_kubeopbot_AlertStatus_To_v1alpha1_AlertStatus(in *kubeopbot.AlertStatus, out *AlertStatus, s conversion.Scope) error
- func Convert_kubeopbot_Alert_To_v1alpha1_Alert(in *kubeopbot.Alert, out *Alert, s conversion.Scope) error
- func Convert_v1alpha1_AlertList_To_kubeopbot_AlertList(in *AlertList, out *kubeopbot.AlertList, s conversion.Scope) error
- func Convert_v1alpha1_AlertSpec_To_kubeopbot_AlertSpec(in *AlertSpec, out *kubeopbot.AlertSpec, s conversion.Scope) error
- func Convert_v1alpha1_AlertStatus_To_kubeopbot_AlertStatus(in *AlertStatus, out *kubeopbot.AlertStatus, s conversion.Scope) error
- func Convert_v1alpha1_Alert_To_kubeopbot_Alert(in *Alert, out *kubeopbot.Alert, s conversion.Scope) error
- func RegisterConversions(scheme *runtime.Scheme) error
- func RegisterDeepCopies(scheme *runtime.Scheme) errordeprecated
- func Resource(resource string) schema.GroupResource
- type Alert
- type AlertList
- type AlertSpec
- type AlertStatus
Constants ¶
const GroupName = "kubeopbot.k8s.io"
Variables ¶
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 )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_kubeopbot_AlertList_To_v1alpha1_AlertList ¶
func Convert_kubeopbot_AlertList_To_v1alpha1_AlertList(in *kubeopbot.AlertList, out *AlertList, s conversion.Scope) error
Convert_kubeopbot_AlertList_To_v1alpha1_AlertList is an autogenerated conversion function.
func Convert_kubeopbot_AlertSpec_To_v1alpha1_AlertSpec ¶
func Convert_kubeopbot_AlertSpec_To_v1alpha1_AlertSpec(in *kubeopbot.AlertSpec, out *AlertSpec, s conversion.Scope) error
Convert_kubeopbot_AlertSpec_To_v1alpha1_AlertSpec is an autogenerated conversion function.
func Convert_kubeopbot_AlertStatus_To_v1alpha1_AlertStatus ¶
func Convert_kubeopbot_AlertStatus_To_v1alpha1_AlertStatus(in *kubeopbot.AlertStatus, out *AlertStatus, s conversion.Scope) error
Convert_kubeopbot_AlertStatus_To_v1alpha1_AlertStatus is an autogenerated conversion function.
func Convert_kubeopbot_Alert_To_v1alpha1_Alert ¶
func Convert_kubeopbot_Alert_To_v1alpha1_Alert(in *kubeopbot.Alert, out *Alert, s conversion.Scope) error
Convert_kubeopbot_Alert_To_v1alpha1_Alert is an autogenerated conversion function.
func Convert_v1alpha1_AlertList_To_kubeopbot_AlertList ¶
func Convert_v1alpha1_AlertList_To_kubeopbot_AlertList(in *AlertList, out *kubeopbot.AlertList, s conversion.Scope) error
Convert_v1alpha1_AlertList_To_kubeopbot_AlertList is an autogenerated conversion function.
func Convert_v1alpha1_AlertSpec_To_kubeopbot_AlertSpec ¶
func Convert_v1alpha1_AlertSpec_To_kubeopbot_AlertSpec(in *AlertSpec, out *kubeopbot.AlertSpec, s conversion.Scope) error
Convert_v1alpha1_AlertSpec_To_kubeopbot_AlertSpec is an autogenerated conversion function.
func Convert_v1alpha1_AlertStatus_To_kubeopbot_AlertStatus ¶
func Convert_v1alpha1_AlertStatus_To_kubeopbot_AlertStatus(in *AlertStatus, out *kubeopbot.AlertStatus, s conversion.Scope) error
Convert_v1alpha1_AlertStatus_To_kubeopbot_AlertStatus is an autogenerated conversion function.
func Convert_v1alpha1_Alert_To_kubeopbot_Alert ¶
func Convert_v1alpha1_Alert_To_kubeopbot_Alert(in *Alert, out *kubeopbot.Alert, s conversion.Scope) error
Convert_v1alpha1_Alert_To_kubeopbot_Alert is an autogenerated conversion function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDeepCopies
deprecated
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" protobuf:"bytes,1,opt,name=metadata"` Spec AlertSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status AlertStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
func (*Alert) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Alert.
func (*Alert) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Alert) DeepCopyObject ¶
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" protobuf:"bytes,1,opt,name=metadata"` // Items is a list of Alert Items []Alert `json:"items" protobuf:"bytes,2,rep,name=items"` }
func (*AlertList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertList.
func (*AlertList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AlertList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AlertSpec ¶
type AlertSpec struct { }
func (*AlertSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertSpec.
func (*AlertSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertStatus ¶
type AlertStatus struct { }
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.