weblinker

package
v2.9.6 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package weblinker generates links to Pachyderm resources served over HTTP.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Linker

type Linker struct {
	// HTTPS is true if resources should be fetched with HTTPS.
	HTTPS bool
	// HostPort is the host:port (port optional if 80/443) of the Pachyderm proxy.
	HostPort string
	// Version is the version of Pachyderm that will handle the links.
	Version *versionpb.Version
}

Linker can generate links to HTTP resources.

func (*Linker) ArchiveDownloadBaseURL

func (l *Linker) ArchiveDownloadBaseURL() string

ArchiveDownloadBaseURL returns the prefix of archive download URLs.

func (*Linker) CreatePipelineRequestJSONSchemaURL

func (l *Linker) CreatePipelineRequestJSONSchemaURL() string

CreatePipelineRequestJSONSchemaURL returns the URL of the JSON Schema for a CreatePipelineRequest.

Jump to

Keyboard shortcuts

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