Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAPIServiceController ¶
func NewAPIServiceController( name, targetNamespace string, getAPIServicesToManageFunc GetAPIServicesToMangeFunc, operatorClient v1helpers.OperatorClient, apiregistrationInformers apiregistrationinformers.SharedInformerFactory, apiregistrationv1Client apiregistrationv1client.ApiregistrationV1Interface, kubeInformersForNamespaces v1helpers.KubeInformersForNamespaces, kubeClient kubernetes.Interface, eventRecorder events.Recorder, informers ...factory.Informer, ) factory.Controller
Types ¶
type APIServiceController ¶
type APIServiceController struct {
// contains filtered or unexported fields
}
type GetAPIServicesToMangeFunc ¶
type GetAPIServicesToMangeFunc func() (enabled []*apiregistrationv1.APIService, disabled []*apiregistrationv1.APIService, err error)
GetAPIServicesToMangeFunc provides list of enabled and disabled managed APIService items. Both lists need to always contain all the managed APIServices so the controller can avoid reconciling user-created/unmanaged objects.
Click to show internal directories.
Click to hide internal directories.