Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResyncObserver ¶
func ResyncObserver( ctx context.Context, log logrus.FieldLogger, snaphotProvider SnapshotProvider, client castai.Client, ) telemetry.Observer
Types ¶
type Controller ¶ added in v0.41.0
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶ added in v0.41.0
func NewController( log logrus.FieldLogger, logLevel logrus.Level, cfg Config, client castaiClient, stateProvider SnapshotProvider, k8sVersionMinor int, podOwnerGetter podOwnerGetter, ) *Controller
func (*Controller) OnAdd ¶ added in v0.41.0
func (s *Controller) OnAdd(obj kube.Object)
func (*Controller) OnDelete ¶ added in v0.41.0
func (s *Controller) OnDelete(obj kube.Object)
func (*Controller) OnUpdate ¶ added in v0.41.0
func (s *Controller) OnUpdate(obj kube.Object)
func (*Controller) RequiredInformers ¶ added in v0.41.0
func (s *Controller) RequiredInformers() []reflect.Type
type SnapshotProvider ¶
type SnapshotProvider interface {
// contains filtered or unexported methods
}
func NewSnapshotProvider ¶
func NewSnapshotProvider() SnapshotProvider
Click to show internal directories.
Click to hide internal directories.