Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchGetFederatedBundleStatus ¶
type BatchGetFederatedBundleStatus struct {
Bundle *spiffebundle.Bundle
}
type BatchSetFederatedBundleStatus ¶
type BatchSetFederatedBundleStatus struct { Bundle *spiffebundle.Bundle Status *Status }
type BundleClient ¶
type BundleClient interface { GetBundle(context.Context) (*spiffebundle.Bundle, error) BatchSetFederatedBundle(context.Context, []*spiffebundle.Bundle) ([]*BatchSetFederatedBundleStatus, error) ListFederatedBundles(context.Context) (*ListFederatedBundlesResponse, error) }
func NewBundleClient ¶
func NewBundleClient(cc grpc.ClientConnInterface) BundleClient
NewBundleClient creates a new SPIRE Bundle API client
type ListFederatedBundlesResponse ¶
type ListFederatedBundlesResponse struct {
Bundles []*spiffebundle.Bundle
}
type SpireServer ¶
type SpireServer interface { GetBundle(context.Context) (*spiffebundle.Bundle, error) SetFederatedBundles(context.Context, []*spiffebundle.Bundle) ([]*BatchSetFederatedBundleStatus, error) GetFederatedBundles(context.Context) (*ListFederatedBundlesResponse, error) }
TODO: can we change the name to SpireServerLocalClient?
func NewLocalSpireServer ¶
func NewLocalSpireServer(ctx context.Context, addr net.Addr) SpireServer
NewLocalSpireServer creates and initializes a new client to communicate with a SPIRE Server given an address to its admin API
Click to show internal directories.
Click to hide internal directories.