Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EntityMap = map[string]string{
"ACLGroups": "acls",
"BasicAuths": "basicauth_credentials",
"CACertificates": "ca_certificates",
"Certificates": "certificates",
"Consumers": "consumers",
"Documents": "documents",
"FilterChains": "filter_chains",
"HMACAuths": "hmacauth_credentials",
"JWTAuths": "jwt_secrets",
"KeyAuths": "keyauth_credentials",
"Oauth2Creds": "oauth2_credentials",
"Partials": "partials",
"Plugins": "plugins",
"RBACEndpointPermissions": "rbac-endpointpermission",
"RBACRoles": "rbac-role",
"Routes": "routes",
"SNIs": "snis",
"Services": "services",
"Targets": "targets",
"Upstreams": "upstreams",
"Vaults": "vaults",
}
Define a map of entity object field names and their corresponding string names
Functions ¶
Types ¶
type ErrorsWrapper ¶
type ErrorsWrapper struct {
Errors []error
}
func (ErrorsWrapper) Error ¶
func (v ErrorsWrapper) Error() string
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
func NewValidator ¶
func NewValidator(opt ValidatorOpts) *Validator
Click to show internal directories.
Click to hide internal directories.