mirror of
https://github.com/kubernetes/client-go.git
synced 2026-01-21 13:56:40 +00:00
This plugin acquires a fresh access token for apiserver from Azure Active Directory using the device code flow. The access token is saved in the configuration in order to be reused for upcomming accesses to appiserver. In additon the access token is automatically refreshed when expired. Kubernetes-commit: 682d5ec01f37c65117b2496865cc9bf0cd9e0902
20 lines
516 B
Python
20 lines
516 B
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
licenses(["notice"])
|
|
|
|
load(
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
"go_library",
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["plugins.go"],
|
|
tags = ["automanaged"],
|
|
deps = [
|
|
"//vendor/k8s.io/client-go/plugin/pkg/client/auth/azure:go_default_library",
|
|
"//vendor/k8s.io/client-go/plugin/pkg/client/auth/gcp:go_default_library",
|
|
"//vendor/k8s.io/client-go/plugin/pkg/client/auth/oidc:go_default_library",
|
|
],
|
|
)
|