Documentation ¶
Index ¶
- func GetNamespace(ctx context.Context, cli client.Client, nsName string) (*corev1.Namespace, error)
- func GetSecret(ctx context.Context, cli client.Client, secretName, namespace string) (*corev1.Secret, error)
- func GetServiceAccount(ctx context.Context, cli client.Client, selector map[string]string) (*corev1.ServiceAccountList, error)
- type KubeClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNamespace ¶ added in v1.2.0
GetNamespace gets namespace
Types ¶
type KubeClient ¶
type KubeClient struct{}
Click to show internal directories.
Click to hide internal directories.