Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Helper ¶
type Helper struct {
// contains filtered or unexported fields
}
Helper is the component that consumes the Workload API and renews certs implements the interface Helper
func NewHelper ¶
func NewHelper(config *HelperConfig) (*Helper, error)
NewHelper creates a new SPIFFE helper
func (*Helper) CertReadyChan ¶
func (h *Helper) CertReadyChan() <-chan struct{}
CertReadyChan returns a channel to know when the trust bundle is ready
func (*Helper) ProcessStarted ¶
func (h *Helper) ProcessStarted()
ProcessStarted is used to notify SPIFFE helper that externally manged process is ready
type HelperConfig ¶
type HelperConfig struct { AgentAddress string Cmd string CmdArgs string CertDir string SvidFileName string SvidKeyFileName string SvidBundleFileName string RenewSignal string Timeout string ExternalProcess bool ProcessReloadFunc func() error }
HelperConfig contains config variables when creating a SPIFFE Helper.
Click to show internal directories.
Click to hide internal directories.