Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AddPublicKeysValidator ¶
type AddPublicKeysValidator struct { }
AddPublicKeysValidator implements validator for "add-public-keys" patch.
func NewAddPublicKeysValidator ¶
func NewAddPublicKeysValidator() *AddPublicKeysValidator
NewAddPublicKeysValidator creates new validator.
type AddServicesValidator ¶
type AddServicesValidator struct { }
AddServicesValidator implements validator for "add-public-keys" patch.
func NewAddServicesValidator ¶
func NewAddServicesValidator() *AddServicesValidator
NewAddServicesValidator creates new validator.
type AlsoKnownAsValidator ¶ added in v1.0.0
type AlsoKnownAsValidator struct { }
AlsoKnownAsValidator implements validator for "add-also-known-as" and "remove-also-known-as" patches. Both patches take have as value URIs so the validation for both add and remove are the same.
func NewAlsoKnownAsValidator ¶ added in v1.0.0
func NewAlsoKnownAsValidator() *AlsoKnownAsValidator
NewAlsoKnownAsValidator creates new validator.
type JSONValidator ¶
type JSONValidator struct { }
JSONValidator implements validator for "ietf-json-patch" patch.
func NewJSONValidator ¶
func NewJSONValidator() *JSONValidator
NewJSONValidator creates new validator.
type RemovePublicKeysValidator ¶
type RemovePublicKeysValidator struct { }
RemovePublicKeysValidator implements validator for "remove-public-keys" patch.
func NewRemovePublicKeysValidator ¶
func NewRemovePublicKeysValidator() *RemovePublicKeysValidator
NewRemovePublicKeysValidator creates validator for "remove-public-keys" patch.
type RemoveServicesValidator ¶
type RemoveServicesValidator struct { }
RemoveServicesValidator implements validator for "remove-services" patch.
func NewRemoveServicesValidator ¶
func NewRemoveServicesValidator() *RemoveServicesValidator
NewRemoveServicesValidator creates new validator.
type ReplaceValidator ¶
type ReplaceValidator struct { }
ReplaceValidator implements validator for "replace" patch.
func NewReplaceValidator ¶
func NewReplaceValidator() *ReplaceValidator
NewReplaceValidator creates new validator.