Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RestReqestValidator ¶
type RestReqestValidator interface { //Validate the Host and the backends on the host. ValidateHost(host *hostRestImpl) []ValidationError }
type ValidationError ¶
type ValidationError interface { GetCode() string GetMessage() string SubValidationErrors() []ValidationError AddSubValidationError(ValidationError) }
func NewValidationError ¶
func NewValidationError(code, message string) ValidationError
Click to show internal directories.
Click to hide internal directories.