Discover Packages
github.com/agent-substrate/substrate
cmd
benchmarking
isolate
internal
fakeworker
fakeworkertest
package
Version:
v0.5.0
Opens a new window with list of versions in this module.
Published: Oct 14, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package fakeworkertest issues pod-identity-shaped certificates for tests of
the fake data plane's capacity relay: a throwaway CA, and leaf certificates
that carry a SPIFFE ID as their only SAN, as the pod-identity signer's do.
Rotate replaces the trust bundle at path with the certificates of cas, as
kubelet rotates a projected trust bundle: a new file renamed over the old.
type CA struct {
TrustBundle string
}
CA is a throwaway signer whose files live in a test's temp dir.
NewCA creates a CA and writes its trust bundle.
Issue writes a credential bundle (leaf certificate, then its PKCS #8 key)
for spiffeID and returns its path.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.