Documentation ¶
Index ¶
- func Contains(s []string, str string) bool
- func GetInt64List(result []gjson.Result) types.List
- func GetStringList(result []gjson.Result) types.List
- func GetValueSlice(result []gjson.Result) []attr.Value
- func LastElement(path string) string
- type AttributeDescription
- func (d *AttributeDescription) AddDefaultValueDescription(defaultValue string) *AttributeDescription
- func (d *AttributeDescription) AddFloatRangeDescription(min, max float64) *AttributeDescription
- func (d *AttributeDescription) AddIntegerRangeDescription(min, max int64) *AttributeDescription
- func (d *AttributeDescription) AddStringEnumDescription(values ...string) *AttributeDescription
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LastElement ¶
Types ¶
type AttributeDescription ¶
type AttributeDescription struct {
String string
}
func NewAttributeDescription ¶
func NewAttributeDescription(s string) *AttributeDescription
func (*AttributeDescription) AddDefaultValueDescription ¶
func (d *AttributeDescription) AddDefaultValueDescription(defaultValue string) *AttributeDescription
func (*AttributeDescription) AddFloatRangeDescription ¶ added in v0.1.9
func (d *AttributeDescription) AddFloatRangeDescription(min, max float64) *AttributeDescription
func (*AttributeDescription) AddIntegerRangeDescription ¶
func (d *AttributeDescription) AddIntegerRangeDescription(min, max int64) *AttributeDescription
func (*AttributeDescription) AddStringEnumDescription ¶
func (d *AttributeDescription) AddStringEnumDescription(values ...string) *AttributeDescription
Click to show internal directories.
Click to hide internal directories.