package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Jun 18, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 7
Opens a new window with list of known importers.
Documentation
¶
Package spire provides two simple functions:
- Start to start a SpireServer/SpireAgent for local testing
- AddEntry to add entries into the spire server
AddEntry - adds an entry to the spire server for parentID, spiffeID, and selector
parentID is usually the same as the agentID provided to Start()
Start - start a spire-server and spire-agent with the given agentId
type Option func(*option)
Option for spire
WithAgentID - agentID for starting spire
WithContext - use ctx as context for starting spire
WithEntry - Option to add Entry to spire-server. May be used multiple times.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.