File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -175,6 +175,7 @@ type BaseComponentStatefulSet interface {
175175 GetAnnotations () map [string ]string
176176}
177177
178+ // This struct is taken from the Probe implementation in https://github.com/kubernetes/api/blob/v0.24.2/core/v1/types.go
178179// +kubebuilder:object:generate=true
179180type BaseComponentProbe struct {
180181 // The action taken to determine the health of a container
@@ -214,6 +215,7 @@ type BaseComponentProbe struct {
214215 TerminationGracePeriodSeconds * int64 `json:"terminationGracePeriodSeconds,omitempty"`
215216}
216217
218+ // This struct is taken from the ProbeHandler implementation in https://github.com/kubernetes/api/blob/v0.24.2/core/v1/types.go
217219// +kubebuilder:object:generate=true
218220type BaseComponentProbeHandler struct {
219221 // Exec specifies the action to take.
@@ -233,6 +235,7 @@ type BaseComponentProbeHandler struct {
233235 GRPC * corev1.GRPCAction `json:"grpc,omitempty"`
234236}
235237
238+ // This struct is based upon the HTTPGetAction implementation in https://github.com/kubernetes/api/blob/v0.24.2/core/v1/types.go
236239// +kubebuilder:object:generate=true
237240type OptionalHTTPGetAction struct {
238241 // Path to access on the HTTP server.
You can’t perform that action at this time.
0 commit comments