Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GaladrielAPIClient ¶ added in v0.2.0
type GaladrielAPIClient interface { CreateTrustDomain(context.Context, api.TrustDomainName) (*entity.TrustDomain, error) GetTrustDomainByName(context.Context, api.TrustDomainName) (*entity.TrustDomain, error) UpdateTrustDomainByName(context.Context, api.TrustDomainName) (*entity.TrustDomain, error) CreateRelationship(context.Context, *entity.Relationship) (*entity.Relationship, error) GetRelationshipByID(context.Context, uuid.UUID) (*entity.Relationship, error) GetRelationships(context.Context, api.ConsentStatus, api.TrustDomainName) (*entity.Relationship, error) GetJoinToken(context.Context, api.TrustDomainName, int32) (*entity.JoinToken, error) }
GaladrielAPIClient represents an API client for the Galadriel Server API.
func NewGaladrielUDSClient ¶ added in v0.2.0
func NewGaladrielUDSClient(socketPath string, httpClient *http.Client) (GaladrielAPIClient, error)
NewGaladrielUDSClient creates a Galadriel API client that connects to the Galadriel Server using a Unix Domain Socket (UDS) specified by the socketPath parameter.
Click to show internal directories.
Click to hide internal directories.