Documentation ¶
Index ¶
- type ArtifactDriver
- func (h *ArtifactDriver) Delete(s *wfv1.Artifact) error
- func (g *ArtifactDriver) IsDirectory(artifact *wfv1.Artifact) (bool, error)
- func (g *ArtifactDriver) ListObjects(artifact *wfv1.Artifact) ([]string, error)
- func (g *ArtifactDriver) Load(inputArtifact *wfv1.Artifact, path string) error
- func (g *ArtifactDriver) OpenStream(a *wfv1.Artifact) (io.ReadCloser, error)
- func (g *ArtifactDriver) Save(path string, outputArtifact *wfv1.Artifact) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtifactDriver ¶
type ArtifactDriver struct {
ServiceAccountKey string
}
ArtifactDriver is a driver for GCS
func (*ArtifactDriver) Delete ¶ added in v3.4.0
func (h *ArtifactDriver) Delete(s *wfv1.Artifact) error
Delete deletes an artifact from GCS
func (*ArtifactDriver) IsDirectory ¶ added in v3.4.0
func (g *ArtifactDriver) IsDirectory(artifact *wfv1.Artifact) (bool, error)
func (*ArtifactDriver) ListObjects ¶ added in v3.1.0
func (g *ArtifactDriver) ListObjects(artifact *wfv1.Artifact) ([]string, error)
func (*ArtifactDriver) Load ¶
func (g *ArtifactDriver) Load(inputArtifact *wfv1.Artifact, path string) error
Load function downloads objects from GCS
func (*ArtifactDriver) OpenStream ¶ added in v3.4.0
func (g *ArtifactDriver) OpenStream(a *wfv1.Artifact) (io.ReadCloser, error)
Click to show internal directories.
Click to hide internal directories.