Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ControllerName is the name of this controller.
ControllerName = "bastion-controller"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller controls Bastions.
func NewBastionController ¶
func NewBastionController(ctx context.Context, clientMap clientmap.ClientMap, config *config.GardenletConfiguration) (*Controller, error)
NewBastionController takes a context <ctx>, a map of Kubernetes clients for for both the garden and seed clusters <clientMap> and the gardenlet configuration to extract the config for itself <config>. It creates a new Gardener controller.
Click to show internal directories.
Click to hide internal directories.