Documentation ¶
Index ¶
- Constants
- Variables
- func GetSecretIfExists(ctx *synccontext.SyncContext, pClient client.Client, ...) (*corev1.Secret, error)
- func IgnoreAcceptableErrors(err error) error
- func SATokenSecret(ctx *synccontext.SyncContext, pClient client.Client, vPod *corev1.Pod, ...) error
- func SecretNameFromPodName(ctx *synccontext.SyncContext, podName, namespace string) types.NamespacedName
- func SetPodAsOwner(ctx context.Context, pPod *corev1.Pod, pClient client.Client, ...) error
Constants ¶
View Source
const (
PodKind string = "Pod"
)
Variables ¶
View Source
var ErrNotFound = errors.New("translate: not found")
View Source
var PodServiceAccountTokenSecretName string
Functions ¶
func GetSecretIfExists ¶
func GetSecretIfExists(ctx *synccontext.SyncContext, pClient client.Client, vPodName, vNamespace string) (*corev1.Secret, error)
func IgnoreAcceptableErrors ¶
func SATokenSecret ¶
func SATokenSecret(ctx *synccontext.SyncContext, pClient client.Client, vPod *corev1.Pod, tokens map[string]string) error
func SecretNameFromPodName ¶
func SecretNameFromPodName(ctx *synccontext.SyncContext, podName, namespace string) types.NamespacedName
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.