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 topology.Provider `yaml:"provider"`
Engine topology.Engine `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 StatusInformer ¶ added in v0.3.0
type StatusInformer struct {
// contains filtered or unexported fields
}
func NewStatusInformer ¶ added in v0.3.0
func NewStatusInformer(ctx context.Context, client kubernetes.Interface, trigger *Trigger, reqFunc httpreq.RequestFunc) (*StatusInformer, error)
func (*StatusInformer) Start ¶ added in v0.3.0
func (s *StatusInformer) Start() error
func (*StatusInformer) Stop ¶ added in v0.3.0
func (s *StatusInformer) Stop(_ error)
Click to show internal directories.
Click to hide internal directories.