mirror of
https://github.com/int128/kubelogin.git
synced 2026-02-14 16:39:51 +00:00
* Infer apiVersion from KUBERNETES_EXEC_INFO * Test client.authentication.k8s.io/v1 * Set --exec-interactive-mode * Set --exec-interactive-mode=Never * Fix comments
18 lines
512 B
Go
18 lines
512 B
Go
// Package credentialplugin provides the types for client-go credential plugins.
|
|
package credentialplugin
|
|
|
|
import "time"
|
|
|
|
// Input represents an input object of the credential plugin.
|
|
// This may be a zero value if the input is not available.
|
|
type Input struct {
|
|
ClientAuthenticationAPIVersion string
|
|
}
|
|
|
|
// Output represents an output object of the credential plugin.
|
|
type Output struct {
|
|
Token string
|
|
Expiry time.Time
|
|
ClientAuthenticationAPIVersion string
|
|
}
|