Documentation ¶
Index ¶
- type Config
- type NodeAttestor
- func (p *NodeAttestor) Configure(context.Context, *plugin.ConfigureRequest) (*plugin.ConfigureResponse, error)
- func (p *NodeAttestor) FetchAttestationData(stream nodeattestor.NodeAttestor_FetchAttestationDataServer) (err error)
- func (p *NodeAttestor) GetPluginInfo(context.Context, *plugin.GetPluginInfoRequest) (*plugin.GetPluginInfoResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Fail indicates whether or not fetching attestation data should fail. Fail bool // DeprecatedAgentID is the SPIFFE ID of the agent. If set, it will be // returned with the attestation response. DeprecatedAgentID string // Responses is list of echo responses. The response to each challenge is // expected to match the challenge value. Responses []string }
type NodeAttestor ¶
type NodeAttestor struct {
// contains filtered or unexported fields
}
func New ¶
func New(config Config) *NodeAttestor
func (*NodeAttestor) Configure ¶
func (p *NodeAttestor) Configure(context.Context, *plugin.ConfigureRequest) (*plugin.ConfigureResponse, error)
func (*NodeAttestor) FetchAttestationData ¶
func (p *NodeAttestor) FetchAttestationData(stream nodeattestor.NodeAttestor_FetchAttestationDataServer) (err error)
func (*NodeAttestor) GetPluginInfo ¶
func (p *NodeAttestor) GetPluginInfo(context.Context, *plugin.GetPluginInfoRequest) (*plugin.GetPluginInfoResponse, error)
Click to show internal directories.
Click to hide internal directories.