Documentation ¶
Index ¶
- func Ensure(ctx context.Context, kubeClient kubernetes.Interface, namespace string, ...) (*corev1.ServiceAccount, error)
- func EnsureFromYAML(ctx context.Context, kubeClient kubernetes.Interface, namespace, yaml string) (bool, error)
- func EnsureTokenSecret(ctx context.Context, client kubernetes.Interface, namespace, saName string) (*corev1.Secret, error)
- func GetTokenSecretFor(ctx context.Context, kubeClient kubernetes.Interface, ...) (*corev1.Secret, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Ensure ¶
func Ensure(ctx context.Context, kubeClient kubernetes.Interface, namespace string, sa *corev1.ServiceAccount, ) (*corev1.ServiceAccount, error)
func EnsureFromYAML ¶
func EnsureFromYAML(ctx context.Context, kubeClient kubernetes.Interface, namespace, yaml string) (bool, error)
EnsureFromYAML creates the given service account from the YAML representation.
func EnsureTokenSecret ¶ added in v0.16.0
func GetTokenSecretFor ¶ added in v0.16.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.