Skip to content

Commit

Permalink
Merge pull request #875 from jakobmoellerdev/expose-controller-server…
Browse files Browse the repository at this point in the history
…-settings

chore: expose controller server settings for external use
  • Loading branch information
daichimukai committed Apr 8, 2024
2 parents 821fef3 + 3f8fab9 commit 5675329
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/driver/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,10 @@ import (
internalDriver "github.com/topolvm/topolvm/internal/driver"
)

// NewControllerServer is a externally consumable wrapper.
// It allows starting a new controller server even without access to the package internals.
var NewControllerServer = internalDriver.NewControllerServer

// ControllerServerSettings is a externally consumable wrapper.
// It is used to configure the controller server.
type ControllerServerSettings = internalDriver.ControllerServerSettings

0 comments on commit 5675329

Please sign in to comment.