util

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 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 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.

Jump to

Keyboard shortcuts

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