v1

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

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

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver.

func (*DeploymentApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver.

func (*DeploymentApplyConfiguration) WithGenerateName

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

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver.

func (*DeploymentApplyConfiguration) WithName

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

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL