2020-07-27 23:49:43 +00:00
|
|
|
/*
|
|
|
|
Copyright 2020 VMware, Inc.
|
|
|
|
SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
package client
|
|
|
|
|
2020-07-28 14:10:40 +00:00
|
|
|
import (
|
|
|
|
"context"
|
2020-07-27 23:49:43 +00:00
|
|
|
|
2020-07-28 14:10:40 +00:00
|
|
|
"k8s.io/client-go/pkg/apis/clientauthentication"
|
|
|
|
)
|
|
|
|
|
|
|
|
func ExchangeToken(ctx context.Context, token, caBundle, apiEndpoint string) (*clientauthentication.ExecCredential, error) {
|
|
|
|
_, _, _, _ = ctx, token, caBundle, apiEndpoint
|
2020-07-27 23:49:43 +00:00
|
|
|
return nil, nil
|
|
|
|
}
|