Documentation
¶
Index ¶
- Constants
- type APIServerProvider
- func (r *APIServerProvider) GetAPIServerHandlerForType(ctx context.Context, t openmcpv1alpha1.APIServerType, ...) (apiserverhandler.APIServerHandler, error)
- func (r *APIServerProvider) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *APIServerProvider) SetupWithManager(mgr ctrl.Manager) error
Constants ¶
View Source
const ControllerName = "APIServer"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIServerProvider ¶
type APIServerProvider struct {
apiserverconfig.CompletedAPIServerProviderConfiguration
// Client is the registration cluster client.
Client client.Client
// FakeHandler is a fake APIServerHandler for testing purposes.
// It should only be non-nil in tests.
FakeHandler apiserverhandler.APIServerHandler
}
APIServerProvider reconciles a ManagedControlPlane object
func NewAPIServerProvider ¶
func NewAPIServerProvider(ctx context.Context, client client.Client, cfg *apiserverconfig.APIServerProviderConfiguration) (*APIServerProvider, error)
func (*APIServerProvider) GetAPIServerHandlerForType ¶
func (r *APIServerProvider) GetAPIServerHandlerForType(ctx context.Context, t openmcpv1alpha1.APIServerType, cfg apiserverconfig.CompletedAPIServerProviderConfiguration) (apiserverhandler.APIServerHandler, error)
func (*APIServerProvider) SetupWithManager ¶
func (r *APIServerProvider) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.