github.com/projecteru2/core@v0.0.0-20240321043226-06bcc1c23f58/engine/systemd/network.go (about)

     1  package systemd
     2  
     3  import (
     4  	"context"
     5  
     6  	enginetypes "github.com/projecteru2/core/engine/types"
     7  	"github.com/projecteru2/core/types"
     8  )
     9  
    10  // NetworkConnect connects target netloc
    11  func (e *Engine) NetworkConnect(_ context.Context, _, _, _, _ string) (subnets []string, err error) {
    12  	err = types.ErrEngineNotImplemented
    13  	return
    14  }
    15  
    16  // NetworkDisconnect disconnects target netloc
    17  func (e *Engine) NetworkDisconnect(_ context.Context, _, _ string, _ bool) (err error) {
    18  	err = types.ErrEngineNotImplemented
    19  	return
    20  }
    21  
    22  // NetworkList lists networks
    23  func (e *Engine) NetworkList(_ context.Context, _ []string) (networks []*enginetypes.Network, err error) {
    24  	err = types.ErrEngineNotImplemented
    25  	return
    26  }