Documentation
¶
Overview ¶
Package effects performs the effect an allowed action names, with credentials the hands never see. This is the mediation the standard asks for (C7.1.4a): the credentials and the transport for the effect are held inside the attesting environment, which emits the request itself.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoAdapter = errors.New("no effect adapter for this kind")
ErrNoAdapter: an allowed action nobody can perform is not performed.
Functions ¶
This section is empty.
Types ¶
type GitHub ¶
type GitHub struct {
SecretsDir string
Client *http.Client
Base string // https://api.github.com
}
GitHub performs workflow.dispatch and pull.open on owner/repo resources with a token per owner read from the secrets directory as github-token-<owner>.
Click to show internal directories.
Click to hide internal directories.