urlprovider

package
v0.0.0-...-aaba22b Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2025 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GroupReport

func GroupReport(param string, value string) string

GroupReport generates a url to the group report page for the given parameter. It does not need to access Git and we will use is as a static funciton.

Types

type URLProvider

type URLProvider struct {
	// contains filtered or unexported fields
}

func New

func New(perfgit perfgit.Git) *URLProvider

New creates a new instance of the UrlProvider struct

func (*URLProvider) Explore

func (prov *URLProvider) Explore(ctx context.Context, startCommitNumber int, endCommitNumber int, parameters map[string][]string, disableFilterParentTraces bool, queryParams url.Values) string

Explore generates a url to the explore page for the given parameters

func (*URLProvider) GetQueryStringFromParameters

func (prov *URLProvider) GetQueryStringFromParameters(parameters map[string][]string) string

func (*URLProvider) MultiGraph

func (prov *URLProvider) MultiGraph(ctx context.Context, startCommitNumber int, endCommitNumber int, shortcutId string, disableFilterParentTraces bool, queryParams url.Values) string

MultiGraph generates a url to the multigraph page for the given parameters.

Jump to

Keyboard shortcuts

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