Documentation ¶
Index ¶
- func CreateResourceIsImport(err error) (bool, error)
- func ExternalNameHelper(sa *v1alpha1.ServiceAccount) (string, bool)
- func ObserveCreateResource(sa *v1alpha1.ServiceAccount, err error) (bool, error)
- func ObserveUpdateResource(sa *v1alpha1.ServiceAccount, sac serviceaccount.ServiceAccount) bool
- func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateResourceIsImport ¶
CreateResourceIsImport Checks if a ServiceAccount k8s object is considered an import
func ExternalNameHelper ¶
func ExternalNameHelper(sa *v1alpha1.ServiceAccount) (string, bool)
ExternalNameHelper Checks if a ServiceAccount k8s object has an external-name attached. If it does, return that external-name, if it doesn't, return the name of the k8s object
func ObserveCreateResource ¶
func ObserveCreateResource(sa *v1alpha1.ServiceAccount, err error) (bool, error)
ObserveCreateResource Checks if a ServiceAccount should be created
func ObserveUpdateResource ¶
func ObserveUpdateResource(sa *v1alpha1.ServiceAccount, sac serviceaccount.ServiceAccount) bool
ObserveUpdateResource Checks if a ServiceAccount should be updated
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.