mirror of
https://github.com/kubernetes/client-go.git
synced 2025-08-26 02:39:01 +00:00
Generated changes for probe terminationGracePeriodSeconds
Kubernetes-commit: 7df1259d091322f2817b2db243f76470f61a3a7e
This commit is contained in:
parent
a5722b416f
commit
2407de6b73
@ -21,12 +21,13 @@ package v1
|
|||||||
// ProbeApplyConfiguration represents an declarative configuration of the Probe type for use
|
// ProbeApplyConfiguration represents an declarative configuration of the Probe type for use
|
||||||
// with apply.
|
// with apply.
|
||||||
type ProbeApplyConfiguration struct {
|
type ProbeApplyConfiguration struct {
|
||||||
HandlerApplyConfiguration `json:",inline"`
|
HandlerApplyConfiguration `json:",inline"`
|
||||||
InitialDelaySeconds *int32 `json:"initialDelaySeconds,omitempty"`
|
InitialDelaySeconds *int32 `json:"initialDelaySeconds,omitempty"`
|
||||||
TimeoutSeconds *int32 `json:"timeoutSeconds,omitempty"`
|
TimeoutSeconds *int32 `json:"timeoutSeconds,omitempty"`
|
||||||
PeriodSeconds *int32 `json:"periodSeconds,omitempty"`
|
PeriodSeconds *int32 `json:"periodSeconds,omitempty"`
|
||||||
SuccessThreshold *int32 `json:"successThreshold,omitempty"`
|
SuccessThreshold *int32 `json:"successThreshold,omitempty"`
|
||||||
FailureThreshold *int32 `json:"failureThreshold,omitempty"`
|
FailureThreshold *int32 `json:"failureThreshold,omitempty"`
|
||||||
|
TerminationGracePeriodSeconds *int64 `json:"terminationGracePeriodSeconds,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// ProbeApplyConfiguration constructs an declarative configuration of the Probe type for use with
|
// ProbeApplyConfiguration constructs an declarative configuration of the Probe type for use with
|
||||||
@ -98,3 +99,11 @@ func (b *ProbeApplyConfiguration) WithFailureThreshold(value int32) *ProbeApplyC
|
|||||||
b.FailureThreshold = &value
|
b.FailureThreshold = &value
|
||||||
return b
|
return b
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// WithTerminationGracePeriodSeconds sets the TerminationGracePeriodSeconds field in the declarative configuration to the given value
|
||||||
|
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
|
||||||
|
// If called multiple times, the TerminationGracePeriodSeconds field is set to the value of the last call.
|
||||||
|
func (b *ProbeApplyConfiguration) WithTerminationGracePeriodSeconds(value int64) *ProbeApplyConfiguration {
|
||||||
|
b.TerminationGracePeriodSeconds = &value
|
||||||
|
return b
|
||||||
|
}
|
||||||
|
@ -5514,6 +5514,9 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
- name: tcpSocket
|
- name: tcpSocket
|
||||||
type:
|
type:
|
||||||
namedType: io.k8s.api.core.v1.TCPSocketAction
|
namedType: io.k8s.api.core.v1.TCPSocketAction
|
||||||
|
- name: terminationGracePeriodSeconds
|
||||||
|
type:
|
||||||
|
scalar: numeric
|
||||||
- name: timeoutSeconds
|
- name: timeoutSeconds
|
||||||
type:
|
type:
|
||||||
scalar: numeric
|
scalar: numeric
|
||||||
|
Loading…
Reference in New Issue
Block a user