Documentation ¶
Index ¶
Constants ¶
View Source
const ( FmtAny = stringFormat("") FmtDateTime = stringFormat("date-time") FmtDate = stringFormat("date") FmtTime = stringFormat("time") FmtEmail = stringFormat("email") FmtHostname = stringFormat("hostname") FmtIPv4 = stringFormat("ipv4") FmtIPv6 = stringFormat("ipv6") FmtURI = stringFormat("uri") FmtURIRef = stringFormat("uri-reference") FmtUUID = stringFormat("uuid") FmtRegex = stringFormat("regex") )
Variables ¶
This section is empty.
Functions ¶
func WriteJsonSchema ¶
WriteJsonSchema generates a JSON schema to validate (and complete) resticprofile JSON and YAML configuration files. Use version and resticVersion to specify what config file format and restic version to use when generating the schema.
Types ¶
type SchemaType ¶
type SchemaType interface {
// contains filtered or unexported methods
}
SchemaType is the interface for all json schema types
Click to show internal directories.
Click to hide internal directories.