Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupKubeObject ¶
func CleanupKubeObject(logger *zap.Logger, kubeClient *kubernetes.Clientset, kubeobj *apiv1.ObjectReference)
CleanupKubeObject deletes given kubernetes object
func CleanupOldExecutorObjects ¶
func CleanupOldExecutorObjects(logger *zap.Logger, kubernetesClient *kubernetes.Clientset, instanceId string)
CleanupOldExecutorObjects cleans up resources created by old executor instances
func CleanupRoleBindings ¶
func CleanupRoleBindings(logger *zap.Logger, client *kubernetes.Clientset, fissionClient *crd.FissionClient, functionNs, envBuilderNs string, cleanupRoleBindingInterval time.Duration)
CleanupRoleBindings periodically lists rolebindings across all namespaces and removes Service Accounts from them or deletes the rolebindings completely if there are no Service Accounts in a rolebinding object.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.