strategy

package
v0.0.0-...-b08115d Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewArtifactoryHttpStrategy

func NewArtifactoryHttpStrategy(rt artifactory.ArtifactoryServicesManager) *artifactoryHttpStrategy

Types

type Http

type Http interface {
	// Returns the api path to use for the remote service's available nodes endpoint.
	NodesEndpoint() string
	// Performs a GET request to the remote service, using the passed endpoint.
	// if nodeId is not empty, it is appended as the X-JFrog-Node-Id header value.
	SendGet(ctx context.Context, endpoint, nodeId string) ([]byte, error)
}

Jump to

Keyboard shortcuts

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