refactor: rename functions to be plural

They are plural for the scheduler-k3s plugin.
This commit is contained in:
Jose Diaz-Gonzalez
2025-11-16 18:12:28 -05:00
parent d9073272df
commit d212fd44c7
21 changed files with 139 additions and 139 deletions

View File

@@ -125,10 +125,10 @@ Refer to the upstream [caddy-docker-proxy](https://github.com/lucaslorentz/caddy
#### Adding a label
To add a custom container label to an app, use the `caddy:label:add` command:
To add a custom container label to an app, use the `caddy:labels:add` command:
```shell
dokku caddy:label:add node-js-app caddy.directive value
dokku caddy:labels:add node-js-app caddy.directive value
```
This will add the label `caddy.directive=value` to the app's containers. After adding a label, you will need to rebuild or redeploy the app for the label to be applied to running containers.
@@ -139,10 +139,10 @@ dokku ps:rebuild node-js-app
#### Removing a label
To remove a custom container label from an app, use the `caddy:label:remove` command:
To remove a custom container label from an app, use the `caddy:labels:remove` command:
```shell
dokku caddy:label:remove node-js-app caddy.directive
dokku caddy:labels:remove node-js-app caddy.directive
```
This will remove the specified label from the app. After removing a label, you will need to rebuild or redeploy the app for the change to be applied to running containers.
@@ -153,16 +153,16 @@ dokku ps:rebuild node-js-app
#### Showing labels
To view all custom container labels for an app, use the `caddy:label:show` command:
To view all custom container labels for an app, use the `caddy:labels:show` command:
```shell
dokku caddy:label:show node-js-app
dokku caddy:labels:show node-js-app
```
To view a specific label value, provide the label name:
```shell
dokku caddy:label:show node-js-app caddy.directive
dokku caddy:labels:show node-js-app caddy.directive
```
### SSL Configuration

View File

@@ -121,10 +121,10 @@ Refer to the upstream [EasyHaproxy](https://github.com/byjg/docker-easy-haproxy)
#### Adding a label
To add a custom container label to an app, use the `haproxy:label:add` command:
To add a custom container label to an app, use the `haproxy:labels:add` command:
```shell
dokku haproxy:label:add node-js-app haproxy.directive value
dokku haproxy:labels:add node-js-app haproxy.directive value
```
This will add the label `haproxy.directive=value` to the app's containers. After adding a label, you will need to rebuild or redeploy the app for the label to be applied to running containers.
@@ -135,10 +135,10 @@ dokku ps:rebuild node-js-app
#### Removing a label
To remove a custom container label from an app, use the `haproxy:label:remove` command:
To remove a custom container label from an app, use the `haproxy:labels:remove` command:
```shell
dokku haproxy:label:remove node-js-app haproxy.directive
dokku haproxy:labels:remove node-js-app haproxy.directive
```
This will remove the specified label from the app. After removing a label, you will need to rebuild or redeploy the app for the change to be applied to running containers.
@@ -149,16 +149,16 @@ dokku ps:rebuild node-js-app
#### Showing labels
To view all custom container labels for an app, use the `haproxy:label:show` command:
To view all custom container labels for an app, use the `haproxy:labels:show` command:
```shell
dokku haproxy:label:show node-js-app
dokku haproxy:labels:show node-js-app
```
To view a specific label value, provide the label name:
```shell
dokku haproxy:label:show node-js-app haproxy.directive
dokku haproxy:labels:show node-js-app haproxy.directive
```
### SSL Configuration

View File

@@ -132,10 +132,10 @@ Refer to the upstream [openresty-docker-proxy](https://github.com/dokku/openrest
#### Adding a label
To add a custom container label to an app, use the `openresty:label:add` command:
To add a custom container label to an app, use the `openresty:labels:add` command:
```shell
dokku openresty:label:add node-js-app openresty.directive value
dokku openresty:labels:add node-js-app openresty.directive value
```
This will add the label `openresty.directive=value` to the app's containers. After adding a label, you will need to rebuild or redeploy the app for the label to be applied to running containers.
@@ -146,10 +146,10 @@ dokku ps:rebuild node-js-app
#### Removing a label
To remove a custom container label from an app, use the `openresty:label:remove` command:
To remove a custom container label from an app, use the `openresty:labels:remove` command:
```shell
dokku openresty:label:remove node-js-app openresty.directive
dokku openresty:labels:remove node-js-app openresty.directive
```
This will remove the specified label from the app. After removing a label, you will need to rebuild or redeploy the app for the change to be applied to running containers.
@@ -160,16 +160,16 @@ dokku ps:rebuild node-js-app
#### Showing labels
To view all custom container labels for an app, use the `openresty:label:show` command:
To view all custom container labels for an app, use the `openresty:labels:show` command:
```shell
dokku openresty:label:show node-js-app
dokku openresty:labels:show node-js-app
```
To view a specific label value, provide the label name:
```shell
dokku openresty:label:show node-js-app openresty.directive
dokku openresty:labels:show node-js-app openresty.directive
```
### SSL Configuration

View File

@@ -135,10 +135,10 @@ Refer to the upstream [Traefik](https://doc.traefik.io/traefik/) documentation f
#### Adding a label
To add a custom container label to an app, use the `traefik:label:add` command:
To add a custom container label to an app, use the `traefik:labels:add` command:
```shell
dokku traefik:label:add node-js-app traefik.directive value
dokku traefik:labels:add node-js-app traefik.directive value
```
This will add the label `traefik.directive=value` to the app's containers. After adding a label, you will need to rebuild or redeploy the app for the label to be applied to running containers.
@@ -149,10 +149,10 @@ dokku ps:rebuild node-js-app
#### Removing a label
To remove a custom container label from an app, use the `traefik:label:remove` command:
To remove a custom container label from an app, use the `traefik:labels:remove` command:
```shell
dokku traefik:label:remove node-js-app traefik.directive
dokku traefik:labels:remove node-js-app traefik.directive
```
This will remove the specified label from the app. After removing a label, you will need to rebuild or redeploy the app for the change to be applied to running containers.
@@ -163,16 +163,16 @@ dokku ps:rebuild node-js-app
#### Showing labels
To view all custom container labels for an app, use the `traefik:label:show` command:
To view all custom container labels for an app, use the `traefik:labels:show` command:
```shell
dokku traefik:label:show node-js-app
dokku traefik:labels:show node-js-app
```
To view a specific label value, provide the label name:
```shell
dokku traefik:label:show node-js-app traefik.directive
dokku traefik:labels:show node-js-app traefik.directive
```
### SSL Configuration