serviceaccount

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateResourceIsImport

func CreateResourceIsImport(err error) (bool, error)

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

func Setup

Setup adds a controller that reconciles ServiceAccount managed resources.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL