MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / IsSystem

Function IsSystem

app/controlplane/pkg/data/ent/apitoken/where.go:105–107  ·  view source on GitHub ↗

IsSystem applies equality check predicate on the "is_system" field. It's identical to IsSystemEQ.

(v bool)

Source from the content-addressed store, hash-verified

103
104// IsSystem applies equality check predicate on the "is_system" field. It's identical to IsSystemEQ.
105func IsSystem(v bool) predicate.APIToken {
106 return predicate.APIToken(sql.FieldEQ(FieldIsSystem, v))
107}
108
109// NameEQ applies the EQ predicate on the "name" field.
110func NameEQ(v string) predicate.APIToken {

Callers 1

ListMethod · 0.92

Calls 1

APITokenFuncType · 0.92

Tested by

no test coverage detected