Documentation
¶
Index ¶
- type DeploymentApplyConfiguration
- func (b *DeploymentApplyConfiguration) WithAnnotations(entries map[string]string) *DeploymentApplyConfiguration
- func (b *DeploymentApplyConfiguration) WithFinalizers(values ...string) *DeploymentApplyConfiguration
- func (b *DeploymentApplyConfiguration) WithGenerateName(value string) *DeploymentApplyConfiguration
- func (b *DeploymentApplyConfiguration) WithLabels(entries map[string]string) *DeploymentApplyConfiguration
- func (b *DeploymentApplyConfiguration) WithName(value string) *DeploymentApplyConfiguration
- func (b *DeploymentApplyConfiguration) WithNamespace(value string) *DeploymentApplyConfiguration
- func (b *DeploymentApplyConfiguration) WithSpec(value *appsv1.DeploymentSpec) *DeploymentApplyConfiguration
- func (b *DeploymentApplyConfiguration) WithStatus(value int32) *DeploymentApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentApplyConfiguration ¶
type DeploymentApplyConfiguration struct {
meshmeta.TypeMetaApplyConfiguration `json:",inline"`
*meshmeta.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *appsv1.DeploymentSpec `json:"spec,omitempty"`
Status *int32 `json:"status,omitempty"`
}
DeploymentApplyConfiguration represents a declarative configuration of the Deployment type for use with apply.
func Deployment ¶
func Deployment(name, namespace string) *DeploymentApplyConfiguration
Deployment constructs a declarative configuration of the Deployment type for use with apply.
func (*DeploymentApplyConfiguration) WithAnnotations ¶
func (b *DeploymentApplyConfiguration) WithAnnotations(entries map[string]string) *DeploymentApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver.
func (*DeploymentApplyConfiguration) WithFinalizers ¶
func (b *DeploymentApplyConfiguration) WithFinalizers(values ...string) *DeploymentApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver.
func (*DeploymentApplyConfiguration) WithGenerateName ¶
func (b *DeploymentApplyConfiguration) WithGenerateName(value string) *DeploymentApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations.
func (*DeploymentApplyConfiguration) WithLabels ¶
func (b *DeploymentApplyConfiguration) WithLabels(entries map[string]string) *DeploymentApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver.
func (*DeploymentApplyConfiguration) WithName ¶
func (b *DeploymentApplyConfiguration) WithName(value string) *DeploymentApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations.
func (*DeploymentApplyConfiguration) WithNamespace ¶
func (b *DeploymentApplyConfiguration) WithNamespace(value string) *DeploymentApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations.
func (*DeploymentApplyConfiguration) WithSpec ¶
func (b *DeploymentApplyConfiguration) WithSpec(value *appsv1.DeploymentSpec) *DeploymentApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations.
func (*DeploymentApplyConfiguration) WithStatus ¶
func (b *DeploymentApplyConfiguration) WithStatus(value int32) *DeploymentApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations.