Documentation ¶
Index ¶
- Variables
- func BeginIdentityKeyRotation(ctx context.Context, cli kubernetes.Clientset, name string, namespace string) (*corev1.Secret, error)
- func CompleteIdentityKeyRotation(ctx context.Context, cli kubernetes.Clientset, name string, namespace string) (*string, error)
- func CreateNewTokenVersion(ctx context.Context, cli kubernetes.Clientset, name string, namespace string) (*corev1.Secret, error)
- func GetKubeconfig(cli kubernetes.Clientset, token *ServiceAccountToken, ...) ([]byte, error)
- func RevokeIdentityKey(ctx context.Context, cli kubernetes.Clientset, name string, namespace string, ...) (*string, error)
- func RollbackIdentityKey(ctx context.Context, cli kubernetes.Clientset, name string, namespace string, ...) (*corev1.Secret, error)
- type GetKubeconfigOptions
- type Instance
- type ServiceAccountToken
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSecretMalformed = fmt.Errorf("service account's secret malformed")
Functions ¶
func CreateNewTokenVersion ¶
func GetKubeconfig ¶
func GetKubeconfig(cli kubernetes.Clientset, token *ServiceAccountToken, opts GetKubeconfigOptions) ([]byte, error)
func RevokeIdentityKey ¶
Types ¶
type GetKubeconfigOptions ¶
Click to show internal directories.
Click to hide internal directories.