MCPcopy
hub / github.com/argoproj/argo-workflows / Driver

Struct Driver

workflow/artifacts/plugin/plugin.go:21–25  ·  view source on GitHub ↗

Driver implements the ArtifactDriver interface by making gRPC calls to a plugin service

Source from the content-addressed store, hash-verified

19
20// Driver implements the ArtifactDriver interface by making gRPC calls to a plugin service
21type Driver struct {
22 pluginName wfv1.ArtifactPluginName
23 conn *grpc.ClientConn
24 client artifact.ArtifactServiceClient
25}
26
27// NewDriver creates a new plugin artifact driver
28func NewDriver(ctx context.Context, pluginName wfv1.ArtifactPluginName, socketPath string, connectionTimeout time.Duration) (*Driver, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected