func NewDRAPluginClient(pluginName string) (*Plugin, error) { … }
type Plugin …
func (p *Plugin) getOrCreateGRPCConn() (*grpc.ClientConn, error) { … }
func (p *Plugin) NodePrepareResources(
ctx context.Context,
req *drapb.NodePrepareResourcesRequest,
opts ...grpc.CallOption,
) (*drapb.NodePrepareResourcesResponse, error) { … }
func (p *Plugin) NodeUnprepareResources(
ctx context.Context,
req *drapb.NodeUnprepareResourcesRequest,
opts ...grpc.CallOption,
) (*drapb.NodeUnprepareResourcesResponse, error) { … }