jx/internal/resource/filter.go

19 lines
302 B
Go
Raw Permalink Normal View History

2024-07-17 08:34:57 +00:00
// Copyright 2024 Matthew Rich <matthewrich.conf@gmail.com>. All rights reserved.
package resource
import (
)
type FilterTerm string
type FilterDefinition struct {
FilterTerms []FilterTerm `yaml:"term" json:"term"`
}
func NewFilterDefinition() *FilterDefinition {
return &FilterDefinition{}
}