Help us shape the future of Go! Take the 2026 Go Developer Survey

privateactionrunner

package
v0.84.6 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateTestPrivateActionRunnerConfig

func GenerateTestPrivateActionRunnerConfig(t *testing.T) string

GenerateTestPrivateActionRunnerConfig returns datadog.yaml snippet with PAR enabled and a valid test identity so the runner can start without self-enrollment.

func GenerateTestRunnerIdentity

func GenerateTestRunnerIdentity(t *testing.T) (urn string, privateKeyB64 string)

GenerateTestRunnerIdentity generates a fresh ECDSA key pair and returns the runner URN and base64-encoded private JWK for agent config or Helm values.

func PushFakeRunnerKeysConfig added in v0.84.0

func PushFakeRunnerKeysConfig(t *testing.T, client *fakeintakeclient.Client)

PushFakeRunnerKeysConfig lets a PAR under test complete KeysManager startup without a real backend.

func SetupPARTaskSigning added in v0.84.0

func SetupPARTaskSigning(t *testing.T, client *fakeintakeclient.Client, orgID int64, runnerID string)

SetupPARTaskSigning additionally registers the private key with fakeintake's PAR server so dequeued tasks pass real signature verification.

Types

This section is empty.

Jump to

Keyboard shortcuts

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