func (p *Provisioner) GetNodeInfo(ctx context.Context) (provisioner.NodeInfo, error) {
	return provisioner.NodeInfo{
		NodeName: p.NodeName,
	}, nil
}
GetNodeInfo fetches information from the current node.
package service
import (
	"context"
	"os"
	"github.com/arangodb/kube-arangodb/pkg/util/errors"
	"github.com/rs/zerolog"
	"golang.org/x/sys/unix"
	"github.com/arangodb/kube-arangodb/pkg/storage/provisioner"
)
type Config struct {
	Address  string  
	NodeName string  
}
type Dependencies struct {
	Log zerolog.Logger
}
type Provisioner struct {
	Config
	Dependencies
}
func New(config Config, deps Dependencies) (*Provisioner, error) {
	return &Provisioner{
		Config:       config,
		Dependencies: deps,
	}, nil
}
func (p *Provisioner) Run(ctx context.Context) {
	runServer(ctx, p.Log, p.Address, p)
}