Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the notification-ctrlr v1alpha1 API group +kubebuilder:object:generate=true +groupName=notification-ctrlr.netop-types.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "notification-ctrlr.netop-types.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Notification ¶
type Notification struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NotificationSpec `json:"spec,omitempty"` Status *NotificationStatus `json:"status,omitempty"` }
Notification is the Schema for the notifications API
func (*Notification) DeepCopy ¶
func (in *Notification) DeepCopy() *Notification
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Notification.
func (*Notification) DeepCopyInto ¶
func (in *Notification) DeepCopyInto(out *Notification)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Notification) DeepCopyObject ¶
func (in *Notification) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NotificationList ¶
type NotificationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Notification `json:"items"` }
NotificationList contains a list of Notification
func (*NotificationList) DeepCopy ¶
func (in *NotificationList) DeepCopy() *NotificationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationList.
func (*NotificationList) DeepCopyInto ¶
func (in *NotificationList) DeepCopyInto(out *NotificationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NotificationList) DeepCopyObject ¶
func (in *NotificationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NotificationSpec ¶
type NotificationSpec struct { // Name of the cluster ClusterName string `json:"clusterName,omitempty"` ObjRef corev1.ObjectReference `json:"objRef,omitempty"` // Serialized version of referred Object SerializedObj string `json:"serializedObj,omitempty"` }
NotificationSpec defines the desired state of Notification
func (*NotificationSpec) DeepCopy ¶
func (in *NotificationSpec) DeepCopy() *NotificationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationSpec.
func (*NotificationSpec) DeepCopyInto ¶
func (in *NotificationSpec) DeepCopyInto(out *NotificationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationState ¶
type NotificationState string
const ( NotificationCreated NotificationState = "Created" NotificationActive NotificationState = "Delivered" )
type NotificationStatus ¶
type NotificationStatus struct { // State of syncing this object, when syncing is enabled State NotificationState `json:"state,omitempty"` }
NotificationStatus defines the observed state of Notification
func (*NotificationStatus) DeepCopy ¶
func (in *NotificationStatus) DeepCopy() *NotificationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationStatus.
func (*NotificationStatus) DeepCopyInto ¶
func (in *NotificationStatus) DeepCopyInto(out *NotificationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.