Alejandro Lopez
90799497d3
All checks were successful
ci/woodpecker/push/pre-commit Pipeline was successful
Signed-off-by: Alejandro Lopez <a.lopez@yadro.com>
46 lines
875 B
Go
46 lines
875 B
Go
package control
|
|
|
|
// SetBody sets health check request body.
|
|
func (x *HealthCheckRequest) SetBody(v *HealthCheckRequest_Body) {
|
|
if x != nil {
|
|
x.Body = v
|
|
}
|
|
}
|
|
|
|
// SetHealthStatus sets health status of the IR application.
|
|
func (x *HealthCheckResponse_Body) SetHealthStatus(v HealthStatus) {
|
|
if x != nil {
|
|
x.HealthStatus = v
|
|
}
|
|
}
|
|
|
|
// SetBody sets health check response body.
|
|
func (x *HealthCheckResponse) SetBody(v *HealthCheckResponse_Body) {
|
|
if x != nil {
|
|
x.Body = v
|
|
}
|
|
}
|
|
|
|
func (x *TickEpochRequest) SetBody(v *TickEpochRequest_Body) {
|
|
if x != nil {
|
|
x.Body = v
|
|
}
|
|
}
|
|
|
|
func (x *TickEpochResponse) SetBody(v *TickEpochResponse_Body) {
|
|
if x != nil {
|
|
x.Body = v
|
|
}
|
|
}
|
|
|
|
func (x *RemoveNodeRequest) SetBody(v *RemoveNodeRequest_Body) {
|
|
if x != nil {
|
|
x.Body = v
|
|
}
|
|
}
|
|
|
|
func (x *RemoveNodeResponse) SetBody(v *RemoveNodeResponse_Body) {
|
|
if x != nil {
|
|
x.Body = v
|
|
}
|
|
}
|