http

package
v3.7.18 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2026 License: Apache-2.0 Imports: 12 Imported by: 3 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClientWithCertificate added in v3.4.0

func CreateClientWithCertificate(clientCert, clientKey []byte) (*http.Client, error)

func CreateOauth2Client added in v3.4.0

func CreateOauth2Client(clientID, clientSecret, tokenURL string, scopes []string, endpointParams []wfv1.OAuth2EndpointParam) *http.Client

Types

type ArtifactDriver added in v3.1.0

type ArtifactDriver struct {
	Username string
	Password string
	Client   *http.Client
}

ArtifactDriver is the artifact driver for artifactory and http URLs

func (*ArtifactDriver) Delete added in v3.4.0

func (h *ArtifactDriver) Delete(s *wfv1.Artifact) error

Delete is unsupported for the http artifacts

func (*ArtifactDriver) IsDirectory added in v3.4.0

func (h *ArtifactDriver) IsDirectory(artifact *wfv1.Artifact) (bool, error)

func (*ArtifactDriver) ListObjects added in v3.1.0

func (h *ArtifactDriver) ListObjects(artifact *wfv1.Artifact) ([]string, error)

func (*ArtifactDriver) Load added in v3.1.0

func (h *ArtifactDriver) Load(inputArtifact *wfv1.Artifact, path string) error

Load reads the artifact from the HTTP URL

func (*ArtifactDriver) OpenStream added in v3.4.0

func (h *ArtifactDriver) OpenStream(inputArtifact *wfv1.Artifact) (io.ReadCloser, error)

func (*ArtifactDriver) Save added in v3.1.0

func (h *ArtifactDriver) Save(path string, outputArtifact *wfv1.Artifact) error

Save writes the artifact to the URL

Jump to

Keyboard shortcuts

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