mirror of
https://github.com/kubernetes/client-go.git
synced 2025-08-26 10:49:00 +00:00
Generated changes for probe terminationGracePeriodSeconds
Kubernetes-commit: 7df1259d091322f2817b2db243f76470f61a3a7e
This commit is contained in:
parent
a5722b416f
commit
2407de6b73
@ -27,6 +27,7 @@ type ProbeApplyConfiguration struct {
|
||||
PeriodSeconds *int32 `json:"periodSeconds,omitempty"`
|
||||
SuccessThreshold *int32 `json:"successThreshold,omitempty"`
|
||||
FailureThreshold *int32 `json:"failureThreshold,omitempty"`
|
||||
TerminationGracePeriodSeconds *int64 `json:"terminationGracePeriodSeconds,omitempty"`
|
||||
}
|
||||
|
||||
// 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
|
||||
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
|
||||
type:
|
||||
namedType: io.k8s.api.core.v1.TCPSocketAction
|
||||
- name: terminationGracePeriodSeconds
|
||||
type:
|
||||
scalar: numeric
|
||||
- name: timeoutSeconds
|
||||
type:
|
||||
scalar: numeric
|
||||
|
Loading…
Reference in New Issue
Block a user