Documentation
¶
Index ¶
- func NewServiceAccountSyncController(operatorClient v1helpers.OperatorClient, ...) factory.Controller
- type ServiceAccountSyncController
- func (c *ServiceAccountSyncController) DefaultServiceAccount(cr *operatorv1.Console) (*corev1.ServiceAccount, error)
- func (c *ServiceAccountSyncController) Sync(ctx context.Context, controllerContext factory.SyncContext) error
- func (c *ServiceAccountSyncController) SyncServiceAccount(ctx context.Context, operatorConfigCopy *operatorv1.Console, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServiceAccountSyncController ¶
func NewServiceAccountSyncController( operatorClient v1helpers.OperatorClient, configInformer configinformer.SharedInformerFactory, operatorConfigInformer operatorinformerv1.ConsoleInformer, serviceAccountClient coreclientv1.ServiceAccountsGetter, serviceAccountInformer coreinformersv1.ServiceAccountInformer, recorder events.Recorder, serviceAccountName string, controllerName string, ) factory.Controller
Types ¶
type ServiceAccountSyncController ¶
type ServiceAccountSyncController struct {
// contains filtered or unexported fields
}
func (*ServiceAccountSyncController) DefaultServiceAccount ¶
func (c *ServiceAccountSyncController) DefaultServiceAccount(cr *operatorv1.Console) (*corev1.ServiceAccount, error)
func (*ServiceAccountSyncController) Sync ¶
func (c *ServiceAccountSyncController) Sync(ctx context.Context, controllerContext factory.SyncContext) error
func (*ServiceAccountSyncController) SyncServiceAccount ¶
func (c *ServiceAccountSyncController) SyncServiceAccount(ctx context.Context, operatorConfigCopy *operatorv1.Console, controllerContext factory.SyncContext) error
Click to show internal directories.
Click to hide internal directories.