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 ShootRetriever ¶
ShootRetriever decodes raw Shoots into objects
func NewShootRetriever ¶
func NewShootRetriever() *ShootRetriever
NewShootRetriever returns a new shoot retriever.
func (*ShootRetriever) FromCluster ¶
func (s *ShootRetriever) FromCluster(cluster *extensionsv1alpha1.Cluster) (*gardencorev1beta1.Shoot, error)
FromCluster retrieves the shoot resource from the Cluster resource
Click to show internal directories.
Click to hide internal directories.