kubernetes/vendor/k8s.io/kube-openapi/pkg/validation/strfmt/default.go

const HostnamePattern

const UUIDPattern

const UUID3Pattern

const UUID4Pattern

const UUID5Pattern

const jsonNull

var rxHostname

var rxUUID

var rxUUID3

var rxUUID4

var rxUUID5

// IsHostname returns true when the string is a valid hostname
func IsHostname(str string) bool {}

// IsUUID returns true is the string matches a UUID, upper case is allowed
func IsUUID(str string) bool {}

// IsUUID3 returns true is the string matches a UUID, upper case is allowed
func IsUUID3(str string) bool {}

// IsUUID4 returns true is the string matches a UUID, upper case is allowed
func IsUUID4(str string) bool {}

// IsUUID5 returns true is the string matches a UUID, upper case is allowed
func IsUUID5(str string) bool {}

// IsEmail validates an email address.
func IsEmail(str string) bool {}

func init() {}

// isIPv4 checks if the string is an IPv4 address, tolerating leading 0's for compatibility with go < 1.17.
func isIPv4(s string) bool {}

// isCIDR checks if the string is valid CIDR notation, tolerating leading 0's for compatibility with go < 1.17.
func isCIDR(s string) bool {}

type Base64

// MarshalText turns this instance into text
func (b Base64) MarshalText() ([]byte, error) {}

// UnmarshalText hydrates this instance from text
func (b *Base64) UnmarshalText(data []byte) error {}

// Scan read a value from a database driver
func (b *Base64) Scan(raw interface{}

func (b Base64) String() string {}

// MarshalJSON returns the Base64 as JSON
func (b Base64) MarshalJSON() ([]byte, error) {}

// UnmarshalJSON sets the Base64 from JSON
func (b *Base64) UnmarshalJSON(data []byte) error {}

// DeepCopyInto copies the receiver and writes its value into out.
func (b *Base64) DeepCopyInto(out *Base64) {}

// DeepCopy copies the receiver into a new Base64.
func (b *Base64) DeepCopy() *Base64 {}

type URI

// MarshalText turns this instance into text
func (u URI) MarshalText() ([]byte, error) {}

// UnmarshalText hydrates this instance from text
func (u *URI) UnmarshalText(data []byte) error {}

// Scan read a value from a database driver
func (u *URI) Scan(raw interface{}

func (u URI) String() string {}

// MarshalJSON returns the URI as JSON
func (u URI) MarshalJSON() ([]byte, error) {}

// UnmarshalJSON sets the URI from JSON
func (u *URI) UnmarshalJSON(data []byte) error {}

// DeepCopyInto copies the receiver and writes its value into out.
func (u *URI) DeepCopyInto(out *URI) {}

// DeepCopy copies the receiver into a new URI.
func (u *URI) DeepCopy() *URI {}

type Email

// MarshalText turns this instance into text
func (e Email) MarshalText() ([]byte, error) {}

// UnmarshalText hydrates this instance from text
func (e *Email) UnmarshalText(data []byte) error {}

// Scan read a value from a database driver
func (e *Email) Scan(raw interface{}

func (e Email) String() string {}

// MarshalJSON returns the Email as JSON
func (e Email) MarshalJSON() ([]byte, error) {}

// UnmarshalJSON sets the Email from JSON
func (e *Email) UnmarshalJSON(data []byte) error {}

// DeepCopyInto copies the receiver and writes its value into out.
func (e *Email) DeepCopyInto(out *Email) {}

// DeepCopy copies the receiver into a new Email.
func (e *Email) DeepCopy() *Email {}

type Hostname

// MarshalText turns this instance into text
func (h Hostname) MarshalText() ([]byte, error) {}

// UnmarshalText hydrates this instance from text
func (h *Hostname) UnmarshalText(data []byte) error {}

// Scan read a value from a database driver
func (h *Hostname) Scan(raw interface{}

func (h Hostname) String() string {}

// MarshalJSON returns the Hostname as JSON
func (h Hostname) MarshalJSON() ([]byte, error) {}

// UnmarshalJSON sets the Hostname from JSON
func (h *Hostname) UnmarshalJSON(data []byte) error {}

// DeepCopyInto copies the receiver and writes its value into out.
func (h *Hostname) DeepCopyInto(out *Hostname) {}

// DeepCopy copies the receiver into a new Hostname.
func (h *Hostname) DeepCopy() *Hostname {}

type IPv4

// MarshalText turns this instance into text
func (u IPv4) MarshalText() ([]byte, error) {}

// UnmarshalText hydrates this instance from text
func (u *IPv4) UnmarshalText(data []byte) error {}

// Scan read a value from a database driver
func (u *IPv4) Scan(raw interface{}

func (u IPv4) String() string {}

// MarshalJSON returns the IPv4 as JSON
func (u IPv4) MarshalJSON() ([]byte, error) {}

// UnmarshalJSON sets the IPv4 from JSON
func (u *IPv4) UnmarshalJSON(data []byte) error {}

// DeepCopyInto copies the receiver and writes its value into out.
func (u *IPv4) DeepCopyInto(out *IPv4) {}

// DeepCopy copies the receiver into a new IPv4.
func (u *IPv4) DeepCopy() *IPv4 {}

type IPv6

// MarshalText turns this instance into text
func (u IPv6) MarshalText() ([]byte, error) {}

// UnmarshalText hydrates this instance from text
func (u *IPv6) UnmarshalText(data []byte) error {}

// Scan read a value from a database driver
func (u *IPv6) Scan(raw interface{}

func (u IPv6) String() string {}

// MarshalJSON returns the IPv6 as JSON
func (u IPv6) MarshalJSON() ([]byte, error) {}

// UnmarshalJSON sets the IPv6 from JSON
func (u *IPv6) UnmarshalJSON(data []byte) error {}

// DeepCopyInto copies the receiver and writes its value into out.
func (u *IPv6) DeepCopyInto(out *IPv6) {}

// DeepCopy copies the receiver into a new IPv6.
func (u *IPv6) DeepCopy() *IPv6 {}

type CIDR

// MarshalText turns this instance into text
func (u CIDR) MarshalText() ([]byte, error) {}

// UnmarshalText hydrates this instance from text
func (u *CIDR) UnmarshalText(data []byte) error {}

// Scan read a value from a database driver
func (u *CIDR) Scan(raw interface{}

func (u CIDR) String() string {}

// MarshalJSON returns the CIDR as JSON
func (u CIDR) MarshalJSON() ([]byte, error) {}

// UnmarshalJSON sets the CIDR from JSON
func (u *CIDR) UnmarshalJSON(data []byte) error {}

// DeepCopyInto copies the receiver and writes its value into out.
func (u *CIDR) DeepCopyInto(out *CIDR) {}

// DeepCopy copies the receiver into a new CIDR.
func (u *CIDR) DeepCopy() *CIDR {}

type MAC

// MarshalText turns this instance into text
func (u MAC) MarshalText() ([]byte, error) {}

// UnmarshalText hydrates this instance from text
func (u *MAC) UnmarshalText(data []byte) error {}

// Scan read a value from a database driver
func (u *MAC) Scan(raw interface{}

func (u MAC) String() string {}

// MarshalJSON returns the MAC as JSON
func (u MAC) MarshalJSON() ([]byte, error) {}

// UnmarshalJSON sets the MAC from JSON
func (u *MAC) UnmarshalJSON(data []byte) error {}

// DeepCopyInto copies the receiver and writes its value into out.
func (u *MAC) DeepCopyInto(out *MAC) {}

// DeepCopy copies the receiver into a new MAC.
func (u *MAC) DeepCopy() *MAC {}

type UUID

// MarshalText turns this instance into text
func (u UUID) MarshalText() ([]byte, error) {}

// UnmarshalText hydrates this instance from text
func (u *UUID) UnmarshalText(data []byte) error {}

// Scan read a value from a database driver
func (u *UUID) Scan(raw interface{}

func (u UUID) String() string {}

// MarshalJSON returns the UUID as JSON
func (u UUID) MarshalJSON() ([]byte, error) {}

// UnmarshalJSON sets the UUID from JSON
func (u *UUID) UnmarshalJSON(data []byte) error {}

// DeepCopyInto copies the receiver and writes its value into out.
func (u *UUID) DeepCopyInto(out *UUID) {}

// DeepCopy copies the receiver into a new UUID.
func (u *UUID) DeepCopy() *UUID {}

type UUID3

// MarshalText turns this instance into text
func (u UUID3) MarshalText() ([]byte, error) {}

// UnmarshalText hydrates this instance from text
func (u *UUID3) UnmarshalText(data []byte) error {}

// Scan read a value from a database driver
func (u *UUID3) Scan(raw interface{}

func (u UUID3) String() string {}

// MarshalJSON returns the UUID as JSON
func (u UUID3) MarshalJSON() ([]byte, error) {}

// UnmarshalJSON sets the UUID from JSON
func (u *UUID3) UnmarshalJSON(data []byte) error {}

// DeepCopyInto copies the receiver and writes its value into out.
func (u *UUID3) DeepCopyInto(out *UUID3) {}

// DeepCopy copies the receiver into a new UUID3.
func (u *UUID3) DeepCopy() *UUID3 {}

type UUID4

// MarshalText turns this instance into text
func (u UUID4) MarshalText() ([]byte, error) {}

// UnmarshalText hydrates this instance from text
func (u *UUID4) UnmarshalText(data []byte) error {}

// Scan read a value from a database driver
func (u *UUID4) Scan(raw interface{}

func (u UUID4) String() string {}

// MarshalJSON returns the UUID as JSON
func (u UUID4) MarshalJSON() ([]byte, error) {}

// UnmarshalJSON sets the UUID from JSON
func (u *UUID4) UnmarshalJSON(data []byte) error {}

// DeepCopyInto copies the receiver and writes its value into out.
func (u *UUID4) DeepCopyInto(out *UUID4) {}

// DeepCopy copies the receiver into a new UUID4.
func (u *UUID4) DeepCopy() *UUID4 {}

type UUID5

// MarshalText turns this instance into text
func (u UUID5) MarshalText() ([]byte, error) {}

// UnmarshalText hydrates this instance from text
func (u *UUID5) UnmarshalText(data []byte) error {}

// Scan read a value from a database driver
func (u *UUID5) Scan(raw interface{}

func (u UUID5) String() string {}

// MarshalJSON returns the UUID as JSON
func (u UUID5) MarshalJSON() ([]byte, error) {}

// UnmarshalJSON sets the UUID from JSON
func (u *UUID5) UnmarshalJSON(data []byte) error {}

// DeepCopyInto copies the receiver and writes its value into out.
func (u *UUID5) DeepCopyInto(out *UUID5) {}

// DeepCopy copies the receiver into a new UUID5.
func (u *UUID5) DeepCopy() *UUID5 {}

type ISBN

// MarshalText turns this instance into text
func (u ISBN) MarshalText() ([]byte, error) {}

// UnmarshalText hydrates this instance from text
func (u *ISBN) UnmarshalText(data []byte) error {}

// Scan read a value from a database driver
func (u *ISBN) Scan(raw interface{}

func (u ISBN) String() string {}

// MarshalJSON returns the ISBN as JSON
func (u ISBN) MarshalJSON() ([]byte, error) {}

// UnmarshalJSON sets the ISBN from JSON
func (u *ISBN) UnmarshalJSON(data []byte) error {}

// DeepCopyInto copies the receiver and writes its value into out.
func (u *ISBN) DeepCopyInto(out *ISBN) {}

// DeepCopy copies the receiver into a new ISBN.
func (u *ISBN) DeepCopy() *ISBN {}

type ISBN10

// MarshalText turns this instance into text
func (u ISBN10) MarshalText() ([]byte, error) {}

// UnmarshalText hydrates this instance from text
func (u *ISBN10) UnmarshalText(data []byte) error {}

// Scan read a value from a database driver
func (u *ISBN10) Scan(raw interface{}

func (u ISBN10) String() string {}

// MarshalJSON returns the ISBN10 as JSON
func (u ISBN10) MarshalJSON() ([]byte, error) {}

// UnmarshalJSON sets the ISBN10 from JSON
func (u *ISBN10) UnmarshalJSON(data []byte) error {}

// DeepCopyInto copies the receiver and writes its value into out.
func (u *ISBN10) DeepCopyInto(out *ISBN10) {}

// DeepCopy copies the receiver into a new ISBN10.
func (u *ISBN10) DeepCopy() *ISBN10 {}

type ISBN13

// MarshalText turns this instance into text
func (u ISBN13) MarshalText() ([]byte, error) {}

// UnmarshalText hydrates this instance from text
func (u *ISBN13) UnmarshalText(data []byte) error {}

// Scan read a value from a database driver
func (u *ISBN13) Scan(raw interface{}

func (u ISBN13) String() string {}

// MarshalJSON returns the ISBN13 as JSON
func (u ISBN13) MarshalJSON() ([]byte, error) {}

// UnmarshalJSON sets the ISBN13 from JSON
func (u *ISBN13) UnmarshalJSON(data []byte) error {}

// DeepCopyInto copies the receiver and writes its value into out.
func (u *ISBN13) DeepCopyInto(out *ISBN13) {}

// DeepCopy copies the receiver into a new ISBN13.
func (u *ISBN13) DeepCopy() *ISBN13 {}

type CreditCard

// MarshalText turns this instance into text
func (u CreditCard) MarshalText() ([]byte, error) {}

// UnmarshalText hydrates this instance from text
func (u *CreditCard) UnmarshalText(data []byte) error {}

// Scan read a value from a database driver
func (u *CreditCard) Scan(raw interface{}

func (u CreditCard) String() string {}

// MarshalJSON returns the CreditCard as JSON
func (u CreditCard) MarshalJSON() ([]byte, error) {}

// UnmarshalJSON sets the CreditCard from JSON
func (u *CreditCard) UnmarshalJSON(data []byte) error {}

// DeepCopyInto copies the receiver and writes its value into out.
func (u *CreditCard) DeepCopyInto(out *CreditCard) {}

// DeepCopy copies the receiver into a new CreditCard.
func (u *CreditCard) DeepCopy() *CreditCard {}

type SSN

// MarshalText turns this instance into text
func (u SSN) MarshalText() ([]byte, error) {}

// UnmarshalText hydrates this instance from text
func (u *SSN) UnmarshalText(data []byte) error {}

// Scan read a value from a database driver
func (u *SSN) Scan(raw interface{}

func (u SSN) String() string {}

// MarshalJSON returns the SSN as JSON
func (u SSN) MarshalJSON() ([]byte, error) {}

// UnmarshalJSON sets the SSN from JSON
func (u *SSN) UnmarshalJSON(data []byte) error {}

// DeepCopyInto copies the receiver and writes its value into out.
func (u *SSN) DeepCopyInto(out *SSN) {}

// DeepCopy copies the receiver into a new SSN.
func (u *SSN) DeepCopy() *SSN {}

type HexColor

// MarshalText turns this instance into text
func (h HexColor) MarshalText() ([]byte, error) {}

// UnmarshalText hydrates this instance from text
func (h *HexColor) UnmarshalText(data []byte) error {}

// Scan read a value from a database driver
func (h *HexColor) Scan(raw interface{}

func (h HexColor) String() string {}

// MarshalJSON returns the HexColor as JSON
func (h HexColor) MarshalJSON() ([]byte, error) {}

// UnmarshalJSON sets the HexColor from JSON
func (h *HexColor) UnmarshalJSON(data []byte) error {}

// DeepCopyInto copies the receiver and writes its value into out.
func (h *HexColor) DeepCopyInto(out *HexColor) {}

// DeepCopy copies the receiver into a new HexColor.
func (h *HexColor) DeepCopy() *HexColor {}

type RGBColor

// MarshalText turns this instance into text
func (r RGBColor) MarshalText() ([]byte, error) {}

// UnmarshalText hydrates this instance from text
func (r *RGBColor) UnmarshalText(data []byte) error {}

// Scan read a value from a database driver
func (r *RGBColor) Scan(raw interface{}

func (r RGBColor) String() string {}

// MarshalJSON returns the RGBColor as JSON
func (r RGBColor) MarshalJSON() ([]byte, error) {}

// UnmarshalJSON sets the RGBColor from JSON
func (r *RGBColor) UnmarshalJSON(data []byte) error {}

// DeepCopyInto copies the receiver and writes its value into out.
func (r *RGBColor) DeepCopyInto(out *RGBColor) {}

// DeepCopy copies the receiver into a new RGBColor.
func (r *RGBColor) DeepCopy() *RGBColor {}

type Password

// MarshalText turns this instance into text
func (r Password) MarshalText() ([]byte, error) {}

// UnmarshalText hydrates this instance from text
func (r *Password) UnmarshalText(data []byte) error {}

// Scan read a value from a database driver
func (r *Password) Scan(raw interface{}

func (r Password) String() string {}

// MarshalJSON returns the Password as JSON
func (r Password) MarshalJSON() ([]byte, error) {}

// UnmarshalJSON sets the Password from JSON
func (r *Password) UnmarshalJSON(data []byte) error {}

// DeepCopyInto copies the receiver and writes its value into out.
func (r *Password) DeepCopyInto(out *Password) {}

// DeepCopy copies the receiver into a new Password.
func (r *Password) DeepCopy() *Password {}