Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
NotOnboardedErr = errors.New("client has not been onboarded to Galadriel Server")
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { SyncBundles(context.Context, []*entity.Bundle) ([]*entity.Bundle, map[spiffeid.TrustDomain][]byte, error) PostBundle(context.Context, *entity.Bundle) error GetRelationships(context.Context, entity.ConsentStatus) ([]*entity.Relationship, error) UpdateRelationship(context.Context, uuid.UUID, entity.ConsentStatus) (*entity.Relationship, error) }
Client represents a client to interact with the Galadriel Server API.
Click to show internal directories.
Click to hide internal directories.