Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerLocalClient ¶
type ServerLocalClient interface { CreateMember(m *common.Member) error ListMembers() ([]*common.Member, error) CreateRelationship(r *common.Relationship) error ListRelationships() ([]*common.Relationship, error) GenerateAccessToken(trustDomain spiffeid.TrustDomain) (*common.AccessToken, error) }
ServerLocalClient represents a local client of the Galadriel Server.
func NewServerClient ¶
func NewServerClient(socketPath string) ServerLocalClient
TODO: improve this adding options for the transport, dialcontext, and http.Client.
Click to show internal directories.
Click to hide internal directories.