github

package
v1.3.7 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: Apache-2.0 Imports: 15 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GitHubType = cel.ObjectType("github", traits.ReceiverType)
View Source
var Identity = class.MustParseIdentity("github@v0")

Functions

This section is empty.

Types

type GitHubUtil

type GitHubUtil struct{}

func (*GitHubUtil) CompileOptions

func (ut *GitHubUtil) CompileOptions() []cel.EnvOption

func (*GitHubUtil) ConvertToNative

func (*GitHubUtil) ConvertToNative(typeDesc reflect.Type) (any, error)

func (*GitHubUtil) ConvertToType

func (ut *GitHubUtil) ConvertToType(typeVal ref.Type) ref.Val

func (*GitHubUtil) Equal

func (*GitHubUtil) Equal(other ref.Val) ref.Val

func (*GitHubUtil) Functions

func (ut *GitHubUtil) Functions() []cel.EnvOption

func (*GitHubUtil) ProgramOptions

func (ut *GitHubUtil) ProgramOptions() []cel.ProgramOption

func (*GitHubUtil) Type

func (*GitHubUtil) Type() ref.Type

func (*GitHubUtil) Value

func (ut *GitHubUtil) Value() any

type Plugin

type Plugin struct {
	Util *GitHubUtil
}

func New

func New() *Plugin

func (*Plugin) CanRegisterFor

func (h *Plugin) CanRegisterFor(c class.Class) bool

func (*Plugin) Capabilities

func (h *Plugin) Capabilities() []api.Capability

func (*Plugin) Identity added in v1.3.2

func (h *Plugin) Identity() *class.Identity

func (*Plugin) Library

func (h *Plugin) Library() cel.EnvOption

func (*Plugin) VarValues

func (h *Plugin) VarValues(_ *papi.Policy, _ attestation.Subject, _ []attestation.Predicate) map[string]any

type TypeAdapter

type TypeAdapter struct{}

func (TypeAdapter) NativeToValue

func (TypeAdapter) NativeToValue(value any) ref.Val

Jump to

Keyboard shortcuts

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