util

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL