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 @@ -176,6 +176,7 @@ type BaseComponentStatefulSet interface {
176176 GetAnnotations () map [string ]string
177177}
178178
179+ // This struct is taken from the Probe implementation in https://github.com/kubernetes/api/blob/v0.24.2/core/v1/types.go
179180// +kubebuilder:object:generate=true
180181type BaseComponentProbe struct {
181182 // The action taken to determine the health of a container
@@ -215,6 +216,7 @@ type BaseComponentProbe struct {
215216 TerminationGracePeriodSeconds * int64 `json:"terminationGracePeriodSeconds,omitempty"`
216217}
217218
219+ // This struct is taken from the ProbeHandler implementation in https://github.com/kubernetes/api/blob/v0.24.2/core/v1/types.go
218220// +kubebuilder:object:generate=true
219221type BaseComponentProbeHandler struct {
220222 // Exec specifies the action to take.
@@ -234,6 +236,7 @@ type BaseComponentProbeHandler struct {
234236 GRPC * corev1.GRPCAction `json:"grpc,omitempty"`
235237}
236238
239+ // This struct is based upon the HTTPGetAction implementation in https://github.com/kubernetes/api/blob/v0.24.2/core/v1/types.go
237240// +kubebuilder:object:generate=true
238241type OptionalHTTPGetAction struct {
239242 // Path to access on the HTTP server.
You can’t perform that action at this time.
0 commit comments