Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
GenerateTopologyURL string `yaml:"generateTopologyUrl"`
Trigger Trigger `yaml:"trigger"`
Provider string `yaml:"provider"`
Engine string `yaml:"engine"`
Params map[string]any `yaml:"params"`
}
func NewConfigFromFile ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(ctx context.Context, client kubernetes.Interface, cfg *Config) (*Controller, error)
func (*Controller) Start ¶
func (c *Controller) Start() error
func (*Controller) Stop ¶
func (c *Controller) Stop(err error)
type NodeInformer ¶
type NodeInformer struct {
// contains filtered or unexported fields
}
func NewNodeInformer ¶
func NewNodeInformer(ctx context.Context, client kubernetes.Interface, trigger *Trigger, reqFunc httpreq.RequestFunc) (*NodeInformer, error)
func (*NodeInformer) Start ¶
func (n *NodeInformer) Start() error
func (*NodeInformer) Stop ¶
func (n *NodeInformer) Stop(_ error)
Click to show internal directories.
Click to hide internal directories.