mirror of
https://github.com/kubernetes/client-go.git
synced 2025-10-21 22:09:33 +00:00
Generated files and compat data from API changes
Kubernetes-commit: 3c70be1a1231e11c45698e209b01e91b92f8c5d2
This commit is contained in:
committed by
Kubernetes Publisher
parent
b46677097d
commit
85d57cfad9
@@ -39,6 +39,7 @@ type PodStatusApplyConfiguration struct {
|
||||
ContainerStatuses []ContainerStatusApplyConfiguration `json:"containerStatuses,omitempty"`
|
||||
QOSClass *v1.PodQOSClass `json:"qosClass,omitempty"`
|
||||
EphemeralContainerStatuses []ContainerStatusApplyConfiguration `json:"ephemeralContainerStatuses,omitempty"`
|
||||
Resize *v1.PodResizeStatus `json:"resize,omitempty"`
|
||||
}
|
||||
|
||||
// PodStatusApplyConfiguration constructs an declarative configuration of the PodStatus type for use with
|
||||
@@ -175,3 +176,11 @@ func (b *PodStatusApplyConfiguration) WithEphemeralContainerStatuses(values ...*
|
||||
}
|
||||
return b
|
||||
}
|
||||
|
||||
// WithResize sets the Resize 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 Resize field is set to the value of the last call.
|
||||
func (b *PodStatusApplyConfiguration) WithResize(value v1.PodResizeStatus) *PodStatusApplyConfiguration {
|
||||
b.Resize = &value
|
||||
return b
|
||||
}
|
||||
|
Reference in New Issue
Block a user