Documentation ¶
Index ¶
Constants ¶
View Source
const ( VolumeContextKeyServiceAccountName = "csi.storage.k8s.io/serviceAccount.name" VolumeContextKeyPodNamespace = "csi.storage.k8s.io/pod.namespace" )
NodePublishVolume VolumeContext keys.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeGCPTokenSource ¶
type FakeGCPTokenSource struct {
// contains filtered or unexported fields
}
type GCPTokenSource ¶
type GCPTokenSource struct {
// contains filtered or unexported fields
}
GCPTokenSource generates a GCP IAM SA token with a Kubernetes Service Account token.
type TokenManager ¶
type TokenManager interface {
GetTokenSourceFromK8sServiceAccount(saNamespace, saName, saToken string) oauth2.TokenSource
}
func NewFakeTokenManager ¶
func NewFakeTokenManager() TokenManager
func NewTokenManager ¶
func NewTokenManager(meta metadata.Service, clientset clientset.Interface) TokenManager
Click to show internal directories.
Click to hide internal directories.