github.com/cilium/cilium@v1.16.2/pkg/datapath/orchestrator/cells.go (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright Authors of Cilium
     3  
     4  package orchestrator
     5  
     6  import (
     7  	"github.com/cilium/hive/cell"
     8  
     9  	"github.com/cilium/cilium/pkg/datapath/types"
    10  )
    11  
    12  var Cell = cell.Module(
    13  	"orchestrator",
    14  	"Orchestrator",
    15  
    16  	cell.Provide(NewOrchestrator),
    17  )
    18  
    19  func NewOrchestrator(params orchestratorParams) types.Orchestrator {
    20  	return newOrchestrator(params)
    21  }