Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller watches the extension resources and has several control loops.
func NewController ¶
func NewController(ctx context.Context, gardenClient, seedClient kubernetes.Interface, seedName string, log *logrus.Entry, recorder record.EventRecorder) (*Controller, error)
NewController creates new controller that syncs extensions states to ShootState
type ShootStateControl ¶ added in v1.18.0
type ShootStateControl struct {
// contains filtered or unexported fields
}
ShootStateControl is used to update data about extensions and any resources required by them in the ShootState.
func NewShootStateControl ¶ added in v1.18.0
func NewShootStateControl(k8sGardenClient, seedClient kubernetes.Interface, log *logrus.Entry, recorder record.EventRecorder) *ShootStateControl
NewShootStateControl creates a new instance of ShootStateControl.
func (*ShootStateControl) CreateShootStateSyncReconcileFunc ¶ added in v1.18.0
func (s *ShootStateControl) CreateShootStateSyncReconcileFunc(kind string, objectCreator func() client.Object) reconcile.Func
CreateShootStateSyncReconcileFunc creates a function which can be used by the reconciliation loop to sync the extension state and its resources to the ShootState
Click to show internal directories.
Click to hide internal directories.