d2hlp

package
v0.3.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL