Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BoolValue ¶
type BoolValue interface { Value() bool IsTrue() bool IsFalse() bool // contains filtered or unexported methods }
func BoolDefault ¶
func BoolExplicit ¶
type BytesValue ¶
func Bytes ¶
func Bytes(value []byte, m *Metadata) BytesValue
func BytesDefault ¶
func BytesDefault(value []byte, m *Metadata) BytesValue
func BytesExplicit ¶
func BytesExplicit(value []byte, m *Metadata) BytesValue
type FakeReference ¶
type FakeReference struct { }
func (*FakeReference) LogicalID ¶
func (f *FakeReference) LogicalID() string
func (*FakeReference) RefersTo ¶
func (f *FakeReference) RefersTo(r Reference) bool
func (*FakeReference) String ¶
func (f *FakeReference) String() string
type IntValue ¶
type IntValue interface { Value() int EqualTo(i int) bool NotEqualTo(i int) bool LessThan(i int) bool GreaterThan(i int) bool // contains filtered or unexported methods }
func IntDefault ¶
func IntExplicit ¶
type MapValue ¶
type Metadata ¶
type Metadata struct {
// contains filtered or unexported fields
}
func NewMetadata ¶
func NewUnmanagedMetadata ¶
func (*Metadata) IsExplicit ¶
type StringEqualityOption ¶
type StringEqualityOption int
const (
IgnoreCase StringEqualityOption = iota
)
type StringValue ¶
type StringValue interface { Value() string IsEmpty() bool IsNotEmpty() bool IsOneOf(values ...string) bool EqualTo(value string, equalityOptions ...StringEqualityOption) bool NotEqualTo(value string, equalityOptions ...StringEqualityOption) bool StartsWith(prefix string, equalityOptions ...StringEqualityOption) bool EndsWith(suffix string, equalityOptions ...StringEqualityOption) bool Contains(value string, equalityOptions ...StringEqualityOption) bool // contains filtered or unexported methods }
func String ¶
func String(str string, m Metadata) StringValue
func StringDefault ¶
func StringDefault(value string, m Metadata) StringValue
func StringExplicit ¶
func StringExplicit(value string, m Metadata) StringValue
func StringUnresolvable ¶
func StringUnresolvable(m Metadata) StringValue
Click to show internal directories.
Click to hide internal directories.