Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the watch v1alpha1 API group +kubebuilder:object:generate=true +groupName=monitor.nephio.org
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "monitor.nephio.org", 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 EdgeWatcher ¶
type EdgeWatcher struct { Addr string `json:"addr,omitempty" yaml:"addr"` Port string `json:"port,omitempty" yaml:"port"` }
EdgeWatcher contains address and port of the edgewatcher GRPC server
func (*EdgeWatcher) DeepCopy ¶
func (in *EdgeWatcher) DeepCopy() *EdgeWatcher
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeWatcher.
func (*EdgeWatcher) DeepCopyInto ¶
func (in *EdgeWatcher) DeepCopyInto(out *EdgeWatcher)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WatchRequest ¶
type WatchRequest struct { // +kubebuilder:validation:Enum=workload.nephio.org Group string `json:"group" yaml:"group"` // +kubebuilder:validation:Enum=v1alpha1 Version string `json:"version" yaml:"version"` // +kubebuilder:validation:Enum=UPFDeployment;SMFDeployment;AMFDeployment Kind string `json:"kind" yaml:"kind"` // Namespace to restrict the watch, defaults to empty string which corresponds // to the "default" namespace Namespace string `json:"namespace" yaml:"namespace"` }
WatchRequest uniquely identifies a list of resources to watch
func (*WatchRequest) DeepCopy ¶
func (in *WatchRequest) DeepCopy() *WatchRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WatchRequest.
func (*WatchRequest) DeepCopyInto ¶
func (in *WatchRequest) DeepCopyInto(out *WatchRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WatchRequestStatus ¶
type WatchRequestStatus struct { WatchRequest `json:"watchRequest"` ResourceVersion string `json:"resourceVersion"` }
WatchRequestStatus specifies the last ResourceVersion sent to edgewatcher
func (*WatchRequestStatus) DeepCopy ¶
func (in *WatchRequestStatus) DeepCopy() *WatchRequestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WatchRequestStatus.
func (*WatchRequestStatus) DeepCopyInto ¶
func (in *WatchRequestStatus) DeepCopyInto(out *WatchRequestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WatcherAgent ¶
type WatcherAgent struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec WatcherAgentSpec `json:"spec,omitempty"` Status WatcherAgentStatus `json:"status,omitempty"` }
WatcherAgent is the Schema for the watcheragents API
func (*WatcherAgent) DeepCopy ¶
func (in *WatcherAgent) DeepCopy() *WatcherAgent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WatcherAgent.
func (*WatcherAgent) DeepCopyInto ¶
func (in *WatcherAgent) DeepCopyInto(out *WatcherAgent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WatcherAgent) DeepCopyObject ¶
func (in *WatcherAgent) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WatcherAgentList ¶
type WatcherAgentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []WatcherAgent `json:"items"` }
WatcherAgentList contains a list of WatcherAgent
func (*WatcherAgentList) DeepCopy ¶
func (in *WatcherAgentList) DeepCopy() *WatcherAgentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WatcherAgentList.
func (*WatcherAgentList) DeepCopyInto ¶
func (in *WatcherAgentList) DeepCopyInto(out *WatcherAgentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WatcherAgentList) DeepCopyObject ¶
func (in *WatcherAgentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WatcherAgentSpec ¶
type WatcherAgentSpec struct { // ResyncTimestamp is the time at which last resync was requested by // edgewatcher ResyncTimestamp metav1.Time `json:"resyncTimestamp,omitempty" yaml:"resyncTimestamp"` EdgeWatcher EdgeWatcher `json:"edgeWatcher,omitempty" yaml:"edgeWatcher"` WatchRequests []WatchRequest `json:"watchRequests" yaml:"watchRequests"` }
WatcherAgentSpec defines the desired state of WatcherAgent
func (*WatcherAgentSpec) DeepCopy ¶
func (in *WatcherAgentSpec) DeepCopy() *WatcherAgentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WatcherAgentSpec.
func (*WatcherAgentSpec) DeepCopyInto ¶
func (in *WatcherAgentSpec) DeepCopyInto(out *WatcherAgentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WatcherAgentStatus ¶
type WatcherAgentStatus struct { // ResyncTimestamp is the timestamp of last successful resync request from // edgewatcher ResyncTimestamp metav1.Time `json:"resyncTimestamp,omitempty"` WatchRequests []WatchRequestStatus `json:"watchRequests,omitempty"` }
WatcherAgentStatus defines the observed state of WatcherAgent
func (*WatcherAgentStatus) DeepCopy ¶
func (in *WatcherAgentStatus) DeepCopy() *WatcherAgentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WatcherAgentStatus.
func (*WatcherAgentStatus) DeepCopyInto ¶
func (in *WatcherAgentStatus) DeepCopyInto(out *WatcherAgentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.