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