Documentation ¶
Index ¶
- Constants
- Variables
- type Bool
- type Duration
- type Forcible
- func (instance Forcible) Evaluate(other Value, def Value) interface{}
- func (instance Forcible) Get() interface{}
- func (instance Forcible) IsForced() bool
- func (instance Forcible) IsPresent() bool
- func (instance Forcible) Select(target Forcible) Forcible
- func (instance *Forcible) Set(plain string) error
- func (instance Forcible) String() string
- type ForcibleBool
- type ForcibleDuration
- type ForcibleString
- type Fqdn
- func (instance Fqdn) Get() interface{}
- func (instance Fqdn) IsPresent() bool
- func (instance Fqdn) MarshalText() (text []byte, err error)
- func (instance Fqdn) Parent() Fqdn
- func (instance *Fqdn) Set(plain string) error
- func (instance Fqdn) String() string
- func (instance *Fqdn) UnmarshalText(b []byte) error
- type MutableValue
- type String
- type Value
- type WildcardSupportingFqdn
- func (instance WildcardSupportingFqdn) Get() interface{}
- func (instance WildcardSupportingFqdn) IsPresent() bool
- func (instance WildcardSupportingFqdn) MarshalText() (text []byte, err error)
- func (instance *WildcardSupportingFqdn) Set(plain string) error
- func (instance WildcardSupportingFqdn) String() string
- func (instance *WildcardSupportingFqdn) UnmarshalText(b []byte) error
- func (instance WildcardSupportingFqdn) WithoutWildcard() (hadWildcard bool, withoutWildcard Fqdn, err error)
Constants ¶
View Source
const ( UndefinedBool = Bool(0) False = Bool(1) True = Bool(2) )
Variables ¶
View Source
var (
ErrIllegalFqdn = errors.New("illegal fqdn")
)
Functions ¶
This section is empty.
Types ¶
type Duration ¶
func ParseDuration ¶
type Forcible ¶
type Forcible struct {
// contains filtered or unexported fields
}
func NewForcible ¶
func NewForcible(value MutableValue, forced bool) Forcible
type ForcibleBool ¶
type ForcibleBool struct {
Forcible
}
func NewForcibleBool ¶
func NewForcibleBool(init Bool, forced bool) ForcibleBool
func (ForcibleBool) GetOr ¶
func (instance ForcibleBool) GetOr(def bool) bool
func (ForcibleBool) Select ¶
func (instance ForcibleBool) Select(target ForcibleBool) ForcibleBool
type ForcibleDuration ¶
type ForcibleDuration struct {
Forcible
}
func NewForcibleDuration ¶
func NewForcibleDuration(init Duration, forced bool) ForcibleDuration
type ForcibleString ¶
type ForcibleString struct {
Forcible
}
func NewForcibleString ¶
func NewForcibleString(init String, forced bool) ForcibleString
type MutableValue ¶
type WildcardSupportingFqdn ¶
type WildcardSupportingFqdn Fqdn
func (WildcardSupportingFqdn) Get ¶
func (instance WildcardSupportingFqdn) Get() interface{}
func (WildcardSupportingFqdn) IsPresent ¶
func (instance WildcardSupportingFqdn) IsPresent() bool
func (WildcardSupportingFqdn) MarshalText ¶
func (instance WildcardSupportingFqdn) MarshalText() (text []byte, err error)
func (*WildcardSupportingFqdn) Set ¶
func (instance *WildcardSupportingFqdn) Set(plain string) error
func (WildcardSupportingFqdn) String ¶
func (instance WildcardSupportingFqdn) String() string
func (*WildcardSupportingFqdn) UnmarshalText ¶
func (instance *WildcardSupportingFqdn) UnmarshalText(b []byte) error
func (WildcardSupportingFqdn) WithoutWildcard ¶
func (instance WildcardSupportingFqdn) WithoutWildcard() (hadWildcard bool, withoutWildcard Fqdn, err error)
Click to show internal directories.
Click to hide internal directories.