tree

package
v0.0.0-...-ace5eba Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

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.

Directories

Path Synopsis
Package treetest implements fake Tree for testing in CV.
Package treetest implements fake Tree for testing in CV.

Jump to

Keyboard shortcuts

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