Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JobInfoIsUnset ¶ added in v0.3.16
func JobInfoIsUnset(ji drmaa2interface.JobInfo) bool
JobInfoIsUnset returns true when the job info struct does not filter any jobs, i.e. all fields are set to the specified unset value. Un Unset JobInfo struct is returned by drmaa2interface.CreateJobInfo().
func JobInfoMatches ¶
func JobInfoMatches(ji drmaa2interface.JobInfo, filter drmaa2interface.JobInfo) bool
JobInfoMatches returns true when the given job info is affected by the given JobInfo filter.
Types ¶
type StringFilter ¶ added in v0.3.16
type StringFilter struct {
// contains filtered or unexported fields
}
StringFilter implements a lookup method for strings
func NewStringFilter ¶ added in v0.3.16
func NewStringFilter(filter []string) *StringFilter
func (*StringFilter) IsIncluded ¶ added in v0.3.16
func (sf *StringFilter) IsIncluded(item string) bool
IsIncluded returns true when the item is found in the filter list.
Click to show internal directories.
Click to hide internal directories.