Documentation ¶
Index ¶
- func AddControllerToManager(logger logging.Logger, mgr manager.Manager, ...) error
- func NewController(logger logging.Logger, c client.Client, scheme *runtime.Scheme, ...) (reconcile.Reconciler, error)
- func TransferLsHealthCheckStatusToAvailabilityInstance(availabilityInstance *lssv1alpha1.AvailabilityInstance, ...)
- type Controller
- type ServiceTargetConfigKubeClientExtractor
- type ServiceTargetConfigKubeClientExtractorInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddControllerToManager ¶
func AddControllerToManager(logger logging.Logger, mgr manager.Manager, config *config.LandscaperServiceConfiguration) error
AddControllerToManager adds the HealthWatcher controller to the manager
func NewController ¶
func TransferLsHealthCheckStatusToAvailabilityInstance ¶
func TransferLsHealthCheckStatusToAvailabilityInstance(availabilityInstance *lssv1alpha1.AvailabilityInstance, lsHealthChecks *lsv1alpha1.LsHealthCheckList, timeout time.Duration)
Types ¶
type Controller ¶
func NewTestActuator ¶
func NewTestActuator(op operation.Operation, kubeClientExtractor ServiceTargetConfigKubeClientExtractorInterface, logger logging.Logger) *Controller
NewTestActuator creates a new controller for testing purposes.
type ServiceTargetConfigKubeClientExtractor ¶
type ServiceTargetConfigKubeClientExtractor struct{}
type ServiceTargetConfigKubeClientExtractorInterface ¶
type ServiceTargetConfigKubeClientExtractorInterface interface {
GetKubeClientFromServiceTargetConfig(ctx context.Context, name string, namespace string, client client.Client) (client.Client, error)
}
ServiceTargetConfigKubeClientExtractorInterface implements functionality to create a kubeclient from a servive target config ref
Click to show internal directories.
Click to hide internal directories.