Affected by GO-2023-1879
and 1 other vulnerabilities
GO-2023-1879 : Temporal Server vulnerable to Incorrect Authorization and Insecure Default Initialization of Resource in go.temporal.io/server
GO-2024-2689 : Temporal Server Denial of Service in go.temporal.io/server
Discover Packages
go.temporal.io/server
common
predicates
package
Version:
v1.17.3
Opens a new window with list of versions in this module.
Published: Aug 17, 2022
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Index Constants Variables Functions Types type AndImpl type EmptyImpl type NotImpl type OrImpl type Predicate type UniversalImpl (a) Equals(predicate) (a) Test(t) (n) Equals(predicate) (n) Test(t) (n) Equals(predicate) (n) Test(t) (o) Equals(predicate) (o) Test(t) And(predicates) Empty() Not(predicate) Or(predicates) Universal() (a) Equals(predicate) (a) Test(t)
Documentation
¶
type AndImpl[T any] struct {
Predicates []Predicate[T]
}
func (*AndImpl[T]) Equals ¶
func (a *AndImpl[T]) Equals(
predicate Predicate[T],
) bool
func (*AndImpl[T]) Test ¶
func (a *AndImpl[T]) Test(t T) bool
type EmptyImpl[T any] struct {}
func (n *EmptyImpl[T]) Equals(
predicate Predicate[T],
) bool
func (n *EmptyImpl[T]) Test(t T) bool
type NotImpl[T any] struct {
Predicate Predicate[T]
}
func (n *NotImpl[T]) Equals(
predicate Predicate[T],
) bool
func (n *NotImpl[T]) Test(t T) bool
type OrImpl[T any] struct {
Predicates []Predicate[T]
}
func (o *OrImpl[T]) Equals(
predicate Predicate[T],
) bool
func (o *OrImpl[T]) Test(t T) bool
type Predicate[T any] interface {
Test(T) bool
Equals(Predicate[T]) bool
}
func And [T any ](
predicates ...Predicate[T],
) Predicate[T]
func Empty [T any ]() Predicate[T]
func Not [T any ](
predicate Predicate[T],
) Predicate[T]
func Or [T any ](
predicates ...Predicate[T],
) Predicate[T]
func Universal [T any ]() Predicate[T]
type UniversalImpl[T any] struct {}
func (a *UniversalImpl[T]) Equals(
predicate Predicate[T],
) bool
func (a *UniversalImpl[T]) Test(t T) bool
Source Files
¶
Click to show internal directories.
Click to hide internal directories.