Documentation ¶
Index ¶
- func CreateClientWithCertificate(clientCert, clientKey []byte) (*http.Client, error)
- func CreateOauth2Client(clientID, clientSecret, tokenURL string, scopes []string, ...) *http.Client
- type ArtifactDriver
- func (h *ArtifactDriver) Delete(s *wfv1.Artifact) error
- func (h *ArtifactDriver) IsDirectory(artifact *wfv1.Artifact) (bool, error)
- func (h *ArtifactDriver) ListObjects(artifact *wfv1.Artifact) ([]string, error)
- func (h *ArtifactDriver) Load(inputArtifact *wfv1.Artifact, path string) error
- func (h *ArtifactDriver) OpenStream(inputArtifact *wfv1.Artifact) (io.ReadCloser, error)
- func (h *ArtifactDriver) Save(path string, outputArtifact *wfv1.Artifact) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateClientWithCertificate ¶ added in v3.4.0
func CreateOauth2Client ¶ added in v3.4.0
Types ¶
type ArtifactDriver ¶ added in v3.1.0
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)
Click to show internal directories.
Click to hide internal directories.