mirror of
https://github.com/kubernetes/client-go.git
synced 2025-07-04 10:46:16 +00:00
Add json tag
Kubernetes-commit: d0677f528c03ff5556830bc2e9b9c40824b160ee
This commit is contained in:
parent
1ec6a37b5c
commit
3b78b11d95
@ -252,7 +252,7 @@ type ExecConfig struct {
|
|||||||
// recommended as one of the prime benefits of exec plugins is that no secrets need
|
// recommended as one of the prime benefits of exec plugins is that no secrets need
|
||||||
// to be stored directly in the kubeconfig.
|
// to be stored directly in the kubeconfig.
|
||||||
// +k8s:conversion-gen=false
|
// +k8s:conversion-gen=false
|
||||||
Config runtime.Object
|
Config runtime.Object `json:"-"`
|
||||||
|
|
||||||
// InteractiveMode determines this plugin's relationship with standard input. Valid
|
// InteractiveMode determines this plugin's relationship with standard input. Valid
|
||||||
// values are "Never" (this exec plugin never uses standard input), "IfAvailable" (this
|
// values are "Never" (this exec plugin never uses standard input), "IfAvailable" (this
|
||||||
@ -264,7 +264,7 @@ type ExecConfig struct {
|
|||||||
// client.authentication.k8s.io/v1beta1, then this field is optional and defaults
|
// client.authentication.k8s.io/v1beta1, then this field is optional and defaults
|
||||||
// to "IfAvailable" when unset. Otherwise, this field is required.
|
// to "IfAvailable" when unset. Otherwise, this field is required.
|
||||||
// +optional
|
// +optional
|
||||||
InteractiveMode ExecInteractiveMode
|
InteractiveMode ExecInteractiveMode `json:"interactiveMode,omitempty"`
|
||||||
|
|
||||||
// StdinUnavailable indicates whether the exec authenticator can pass standard
|
// StdinUnavailable indicates whether the exec authenticator can pass standard
|
||||||
// input through to this exec plugin. For example, a higher level entity might be using
|
// input through to this exec plugin. For example, a higher level entity might be using
|
||||||
@ -272,14 +272,14 @@ type ExecConfig struct {
|
|||||||
// plugin to use standard input. This is kept here in order to keep all of the exec configuration
|
// plugin to use standard input. This is kept here in order to keep all of the exec configuration
|
||||||
// together, but it is never serialized.
|
// together, but it is never serialized.
|
||||||
// +k8s:conversion-gen=false
|
// +k8s:conversion-gen=false
|
||||||
StdinUnavailable bool
|
StdinUnavailable bool `json:"-"`
|
||||||
|
|
||||||
// StdinUnavailableMessage is an optional message to be displayed when the exec authenticator
|
// StdinUnavailableMessage is an optional message to be displayed when the exec authenticator
|
||||||
// cannot successfully run this exec plugin because it needs to use standard input and
|
// cannot successfully run this exec plugin because it needs to use standard input and
|
||||||
// StdinUnavailable is true. For example, a process that is already using standard input to
|
// StdinUnavailable is true. For example, a process that is already using standard input to
|
||||||
// read user instructions might set this to "used by my-program to read user instructions".
|
// read user instructions might set this to "used by my-program to read user instructions".
|
||||||
// +k8s:conversion-gen=false
|
// +k8s:conversion-gen=false
|
||||||
StdinUnavailableMessage string
|
StdinUnavailableMessage string `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
var _ fmt.Stringer = new(ExecConfig)
|
var _ fmt.Stringer = new(ExecConfig)
|
||||||
|
Loading…
Reference in New Issue
Block a user