Documentation ¶
Index ¶
- func GetTestDeployment(name, namespace string) *appsv1.Deployment
- func IsReady(ctx context.Context, cli client.Client, listOptions *client.ListOptions, ...) (bool, error)
- func Make(name, namespace string, opts ...func(dp *appsv1.Deployment)) *appsv1.Deployment
- func WithNodeSelector(nodeSelector map[string]string) func(dp *appsv1.Deployment)
- func WithPodTemplate(podTemplate *corev1.Pod) func(dp *appsv1.Deployment)
- func WithReplicas(replicas int32) func(dp *appsv1.Deployment)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTestDeployment ¶
func GetTestDeployment(name, namespace string) *appsv1.Deployment
func Make ¶
func Make(name, namespace string, opts ...func(dp *appsv1.Deployment)) *appsv1.Deployment
func WithNodeSelector ¶
func WithNodeSelector(nodeSelector map[string]string) func(dp *appsv1.Deployment)
func WithPodTemplate ¶
func WithPodTemplate(podTemplate *corev1.Pod) func(dp *appsv1.Deployment)
func WithReplicas ¶
func WithReplicas(replicas int32) func(dp *appsv1.Deployment)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.