Documentation
¶
Overview ¶
+kubebuilder:object:generate=true
+kubebuilder:object:generate=true +groupName=discovery.agntcy.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "discovery.agntcy.io", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type DiscoveredWorkload ¶
type DiscoveredWorkload struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec *runtimev1.Workload `json:"spec,omitempty"`
Status DiscoveredWorkloadStatus `json:"status,omitempty"`
}
DiscoveredWorkload is the Schema for the discoveredworkloads API.
func (*DiscoveredWorkload) DeepCopy ¶
func (in *DiscoveredWorkload) DeepCopy() *DiscoveredWorkload
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveredWorkload.
func (*DiscoveredWorkload) DeepCopyInto ¶
func (in *DiscoveredWorkload) DeepCopyInto(out *DiscoveredWorkload)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DiscoveredWorkload) DeepCopyObject ¶
func (in *DiscoveredWorkload) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DiscoveredWorkloadList ¶
type DiscoveredWorkloadList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []DiscoveredWorkload `json:"items"`
}
DiscoveredWorkloadList contains a list of DiscoveredWorkload.
func (*DiscoveredWorkloadList) DeepCopy ¶
func (in *DiscoveredWorkloadList) DeepCopy() *DiscoveredWorkloadList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveredWorkloadList.
func (*DiscoveredWorkloadList) DeepCopyInto ¶
func (in *DiscoveredWorkloadList) DeepCopyInto(out *DiscoveredWorkloadList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DiscoveredWorkloadList) DeepCopyObject ¶
func (in *DiscoveredWorkloadList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DiscoveredWorkloadStatus ¶
type DiscoveredWorkloadStatus struct {
// Phase indicates the current phase of the workload
// +kubebuilder:validation:Enum=Discovered;Processing;Ready;Error
// +optional
Phase string `json:"phase,omitempty"`
// LastSeen is the timestamp when the workload was last observed
// +optional
LastSeen *metav1.Time `json:"lastSeen,omitempty"`
// Message provides additional information about the current state
// +optional
Message string `json:"message,omitempty"`
// Conditions represent the latest available observations of the workload's state
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
DiscoveredWorkloadStatus defines the observed state of DiscoveredWorkload.
func (*DiscoveredWorkloadStatus) DeepCopy ¶
func (in *DiscoveredWorkloadStatus) DeepCopy() *DiscoveredWorkloadStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveredWorkloadStatus.
func (*DiscoveredWorkloadStatus) DeepCopyInto ¶
func (in *DiscoveredWorkloadStatus) DeepCopyInto(out *DiscoveredWorkloadStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.