Documentation ¶
Overview ¶
Package tree implements fetching tree status from Tree Status App.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TreeName ¶
func TreeName(config *cfgpb.Verifiers_TreeStatus) string
TreeName extracts tree name from the config.
Converts a tree status endpoint URL to a tree name if only the URL is specified
Types ¶
type ClientFactory ¶
type ClientFactory interface {
MakeClient(ctx context.Context, luciProject string) (tspb.TreeStatusClient, error)
}
ClientFactory creates client for tree status server that ties to a LUCI project.
func NewClientFactory ¶
func NewClientFactory(host string) ClientFactory
NewClientFactory returns a ClientFactory instance.
Click to show internal directories.
Click to hide internal directories.