Documentation ¶
Index ¶
- func Deployment(name, namespace string, opt ...DeploymentOption) *appsv1.Deployment
- func DeploymentWith(deployment *appsv1.Deployment, opt ...DeploymentOption) *appsv1.Deployment
- type DeploymentOption
- func WithDeploymentLabels(m map[string]string) DeploymentOption
- func WithDeploymentOwnerReference(ownerReference metav1.OwnerReference) DeploymentOption
- func WithDeploymentPodSpec(podSpec *corev1.PodSpec) DeploymentOption
- func WithDeploymentReplicas(replicas int32) DeploymentOption
- func WithDeploymentSelector(m map[string]string) DeploymentOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Deployment ¶
func Deployment(name, namespace string, opt ...DeploymentOption) *appsv1.Deployment
func DeploymentWith ¶
func DeploymentWith(deployment *appsv1.Deployment, opt ...DeploymentOption) *appsv1.Deployment
Types ¶
type DeploymentOption ¶
type DeploymentOption func(*appsv1.Deployment)
func WithDeploymentLabels ¶
func WithDeploymentLabels(m map[string]string) DeploymentOption
func WithDeploymentOwnerReference ¶
func WithDeploymentOwnerReference(ownerReference metav1.OwnerReference) DeploymentOption
func WithDeploymentPodSpec ¶
func WithDeploymentPodSpec(podSpec *corev1.PodSpec) DeploymentOption
func WithDeploymentReplicas ¶
func WithDeploymentReplicas(replicas int32) DeploymentOption
func WithDeploymentSelector ¶
func WithDeploymentSelector(m map[string]string) DeploymentOption
Click to show internal directories.
Click to hide internal directories.