Documentation ¶
Index ¶
- func ContourDeploymentPodSelector(contour *model.Contour) *metav1.LabelSelector
- func CurrentDeployment(ctx context.Context, cli client.Client, namespace, name string) (client.Object, error)
- func DesiredDeployment(contour *model.Contour, image string) *appsv1.Deployment
- func EnsureDeployment(ctx context.Context, cli client.Client, contour *model.Contour, image string) error
- func EnsureDeploymentDeleted(ctx context.Context, cli client.Client, contour *model.Contour) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContourDeploymentPodSelector ¶
func ContourDeploymentPodSelector(contour *model.Contour) *metav1.LabelSelector
ContourDeploymentPodSelector returns a label selector using "app: contour" as the key/value pair.
func CurrentDeployment ¶
func CurrentDeployment(ctx context.Context, cli client.Client, namespace, name string) (client.Object, error)
CurrentDeployment returns the Deployment resource for the provided contour.
func DesiredDeployment ¶
func DesiredDeployment(contour *model.Contour, image string) *appsv1.Deployment
DesiredDeployment returns the desired deployment for the provided contour using image as Contour's container image.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.