Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeatureFactory ¶
type FeatureFactory = func(*runtime.ControllerContext) (runtime.FeatureControllerI, error)
type Manager ¶
type Manager struct {
Config *config.ControllerConfig
}
Manager defines the controller manager
type Registry ¶
type Registry map[string]FeatureFactory
func NewRegistry ¶
func NewRegistry() Registry
type UpstreamController ¶
type UpstreamController struct {
// contains filtered or unexported fields
}
UpstreamController subscribes the updates from edge and syncs to k8s api server
func NewUpstreamController ¶
func NewUpstreamController(cc *runtime.ControllerContext) (*UpstreamController, error)
NewUpstreamController creates a new Upstream controller from config
func (*UpstreamController) Add ¶
func (uc *UpstreamController) Add(kind string, handler runtime.UpstreamHandler) error
func (*UpstreamController) Run ¶
func (uc *UpstreamController) Run(stopCh <-chan struct{})
Run starts the upstream controller
Click to show internal directories.
Click to hide internal directories.