Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAndInitTree ¶
Types ¶
type ClientManager ¶ added in v1.4.1
type ClientManager struct {
// contains filtered or unexported fields
}
ClientManager creates and caches Trillian clients and their underlying gRPC connections.
func NewClientManager ¶ added in v1.4.1
func NewClientManager(treeIDToConfig map[int64]GRPCConfig, defaultConfig GRPCConfig) *ClientManager
NewClientManager creates a new ClientManager.
func (*ClientManager) Close ¶ added in v1.4.1
func (cm *ClientManager) Close() error
Close stops clients and closes underlying gRPC connections.
func (*ClientManager) GetClient ¶ added in v1.5.4
func (cm *ClientManager) GetClient(treeID int64) (internalclient.Client, error)
GetClient returns a Rekor Trillian client wrapper for the given tree ID.
Click to show internal directories.
Click to hide internal directories.