url

package
v1.26.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

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

Builder handles building urls in a central place having knowledge of the url structures and base host names.

func NewBuilder

func NewBuilder(importAPIHost, datasetAPIHost string) *Builder

NewBuilder returns a new instance of url.Builder

func (Builder) GetInstanceURL

func (builder Builder) GetInstanceURL(instanceID string) string

GetInstanceURL

func (Builder) GetJobURL

func (builder Builder) GetJobURL(jobID string) string

GetJobURL returns the url to get a job for the given job ID.

Jump to

Keyboard shortcuts

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