Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrWrongOperator = fmt.Errorf( "wrong operator, try: \"%s\", \"%s\", \"%s\", \"%s\", \"%s\", \"%s\", \"%s\", \"%s\"", EqualFilterType, NotEqualFilterType, AboveFilterType, AboveOrEqualFilterType, LessFilterType, LessOrEqualFilterType, InFilterType, ToFilterType, ) ErrOnlyOneValue = errors.New("errors values: must contain one value") ErrOnlyTwoValues = errors.New("errors values: must contain two values") )
View Source
var Int64MapAttr = schema.MapAttribute{ ElementType: types.Int64Type, Computed: true, }
Functions ¶
func Apply ¶
func Apply(physicalPorts []autonomisdkmodel.PhysicalPort, filtersTerraform []Filter) ([]autonomisdkmodel.PhysicalPort, error)
func GetFiltersString ¶
func GetSortString ¶
Types ¶
type FilterType ¶
type FilterType string
const ( EqualFilterType FilterType = "=" NotEqualFilterType FilterType = "!=" AboveFilterType FilterType = ">" AboveOrEqualFilterType FilterType = ">=" LessFilterType FilterType = "<" LessOrEqualFilterType FilterType = "<=" InFilterType FilterType = "IN" ToFilterType FilterType = "TO" )
func (FilterType) String ¶
func (ft FilterType) String() string
Click to show internal directories.
Click to hide internal directories.