@@ -42,27 +42,27 @@ type AppWrapperComponent struct {
4242 //+optional
4343 Annotations map [string ]string `json:"annotations,omitempty"`
4444
45- // DeclaredPodSets for the Component (optional for known PodCreating GVKs)
45+ // DeclaredPodSets for the Component (optional for known GVKs whose PodSets can be automatically inferred )
4646 //+optional
4747 DeclaredPodSets []AppWrapperPodSet `json:"podSets,omitempty"`
4848
4949 // PodSetInfos assigned to the Component's PodSets by Kueue
5050 //+optional
5151 PodSetInfos []AppWrapperPodSetInfo `json:"podSetInfos,omitempty"`
5252
53+ // Template defines the Kubernetes resource for the Component
5354 // +kubebuilder:pruning:PreserveUnknownFields
5455 // +kubebuilder:validation:EmbeddedResource
55- // Template defines the Kubernetes resource for the Component
5656 Template runtime.RawExtension `json:"template"`
5757}
5858
59- // AppWrapperPodSet describes an homogeneous set of pods
59+ // AppWrapperPodSet describes a homogeneous set of pods
6060type AppWrapperPodSet struct {
6161 // Replicas is the number of pods in this PodSet
6262 //+optional
6363 Replicas * int32 `json:"replicas,omitempty"`
6464
65- // Path is the path Component.Template to the PodTemplateSpec for this PodSet
65+ // Path is the path within Component.Template to the PodTemplateSpec for this PodSet
6666 Path string `json:"path"`
6767
6868 // Annotations is an unstructured key value map that may be used to store and retrieve
@@ -90,7 +90,7 @@ type AppWrapperPodSetInfo struct {
9090 SchedulingGates []corev1.PodSchedulingGate `json:"schedulingGates,omitempty"`
9191}
9292
93- // AppWrapperStatus defines the observed state of the appwrapper
93+ // AppWrapperStatus defines the observed state of the AppWrapper
9494type AppWrapperStatus struct {
9595 // Phase of the AppWrapper object
9696 //+optional
@@ -149,7 +149,7 @@ type AppWrapperComponentStatus struct {
149149 Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
150150}
151151
152- // AppWrapperPhase is the phase of the appwrapper
152+ // AppWrapperPhase enumerates the valid Phases of an AppWrapper
153153type AppWrapperPhase string
154154
155155const (
@@ -164,6 +164,7 @@ const (
164164 AppWrapperTerminating AppWrapperPhase = "Terminating"
165165)
166166
167+ // AppWrapperCondition enumerates the Condition Types that may appear in AppWrapper status
167168type AppWrapperCondition string
168169
169170const (
0 commit comments