Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the v1 API group +kubebuilder:object:generate=true +groupName=core.ai.io +k8s:openapi-gen=true
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "core.ai.io", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource is required by pkg/client/listers/...
Types ¶
type Component ¶
type Component struct { Name string `json:"name,omitempty"` PodList []PodStatus `json:"podList,omitempty"` Message string `json:"message,omitempty"` }
func (*Component) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Component.
func (*Component) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Health ¶
type Health struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec HealthSpec `json:"spec,omitempty"` Status Status `json:"status,omitempty"` }
func (*Health) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Health.
func (*Health) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Health) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HealthList ¶
type HealthList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Health `json:"items"` }
func (*HealthList) DeepCopy ¶
func (in *HealthList) DeepCopy() *HealthList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthList.
func (*HealthList) DeepCopyInto ¶
func (in *HealthList) DeepCopyInto(out *HealthList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HealthList) DeepCopyObject ¶
func (in *HealthList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HealthSpec ¶
type HealthSpec struct { Interval time.Duration `json:"interval,omitempty"` ComponentSelectors map[string]string `json:"componentSelectors,omitempty"` ServiceProbes map[string]v1.Probe `json:"serviceProbes,omitempty"` }
func (*HealthSpec) DeepCopy ¶
func (in *HealthSpec) DeepCopy() *HealthSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthSpec.
func (*HealthSpec) DeepCopyInto ¶
func (in *HealthSpec) DeepCopyInto(out *HealthSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PodStatus ¶
type PodStatus struct { Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` RestartCount int `json:"restartCount,omitempty"` Status string `json:"status,omitempty"` CreationTimestamp metav1.Time `json:"creationTimestamp,omitempty"` }
func (*PodStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodStatus.
func (*PodStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.