Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeconfigProvider ¶
type KubeconfigProvider struct {
// contains filtered or unexported fields
}
func New ¶
func New(clientConfig *rest.Config, kubeClient kubernetes.Interface) *KubeconfigProvider
func (*KubeconfigProvider) GetBearerToken ¶
func (p *KubeconfigProvider) GetBearerToken() string
func (*KubeconfigProvider) GetKubeconfig ¶
func (p *KubeconfigProvider) GetKubeconfig(ctx context.Context, log *zap.SugaredLogger) (*clientcmdapi.Config, error)
Click to show internal directories.
Click to hide internal directories.