func (m *ClusterStatus) Validate(formats strfmt.Registry) error {
	var res []error
	if err := m.validatePeers(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateStatus(formats); err != nil {
		res = append(res, err)
	}
	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}
Validate validates this cluster status
package models
import (
	"encoding/json"
	"strconv"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/strfmt"
	"github.com/go-openapi/swag"
	"github.com/go-openapi/validate"
)
type ClusterStatus struct {
	Name string `json:"name,omitempty"`
	Peers []*PeerStatus `json:"peers"`
	Status *string `json:"status"`
}