Skip to content

Commit

Permalink
feat(HostnameGenerator): add API (#10333)
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Beaumont <mjboamail@gmail.com>
  • Loading branch information
michaelbeaumont authored May 28, 2024
1 parent b0abc25 commit 8e7fb30
Show file tree
Hide file tree
Showing 46 changed files with 1,701 additions and 497 deletions.
72 changes: 72 additions & 0 deletions app/kumactl/cmd/completion/testdata/bash.golden
Original file line number Diff line number Diff line change
Expand Up @@ -1549,6 +1549,76 @@ _kumactl_get_healthchecks()
noun_aliases=()
}

_kumactl_get_hostnamegenerator()
{
last_command="kumactl_get_hostnamegenerator"

command_aliases=()

commands=()

flags=()
two_word_flags=()
local_nonpersistent_flags=()
flags_with_completion=()
flags_completion=()

flags+=("--mesh=")
two_word_flags+=("--mesh")
two_word_flags+=("-m")
flags+=("--api-timeout=")
two_word_flags+=("--api-timeout")
flags+=("--config-file=")
two_word_flags+=("--config-file")
flags+=("--log-level=")
two_word_flags+=("--log-level")
flags+=("--no-config")
flags+=("--output=")
two_word_flags+=("--output")
two_word_flags+=("-o")

must_have_one_flag=()
must_have_one_noun=()
noun_aliases=()
}

_kumactl_get_hostnamegenerators()
{
last_command="kumactl_get_hostnamegenerators"

command_aliases=()

commands=()

flags=()
two_word_flags=()
local_nonpersistent_flags=()
flags_with_completion=()
flags_completion=()

flags+=("--mesh=")
two_word_flags+=("--mesh")
two_word_flags+=("-m")
flags+=("--offset=")
two_word_flags+=("--offset")
flags+=("--size=")
two_word_flags+=("--size")
flags+=("--api-timeout=")
two_word_flags+=("--api-timeout")
flags+=("--config-file=")
two_word_flags+=("--config-file")
flags+=("--log-level=")
two_word_flags+=("--log-level")
flags+=("--no-config")
flags+=("--output=")
two_word_flags+=("--output")
two_word_flags+=("-o")

must_have_one_flag=()
must_have_one_noun=()
noun_aliases=()
}

_kumactl_get_mesh()
{
last_command="kumactl_get_mesh"
Expand Down Expand Up @@ -3808,6 +3878,8 @@ _kumactl_get()
commands+=("global-secrets")
commands+=("healthcheck")
commands+=("healthchecks")
commands+=("hostnamegenerator")
commands+=("hostnamegenerators")
commands+=("mesh")
commands+=("meshaccesslog")
commands+=("meshaccesslogs")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ rules:
- meshtimeouts
- meshtraces
- meshtrafficpermissions
- hostnamegenerators
- meshexternalservices
- meshservices
verbs:
Expand Down Expand Up @@ -584,7 +585,7 @@ spec:
metadata:
annotations:
checksum/config: fd9d1d8386f97f2bd49e50f476520816168a1c9f60bbc43dec1347a64d239155
checksum/tls-secrets: 5d8bf933450db9c5aed6e9527b122165259f6664da30f9fbfc5fa292d79f703d
checksum/tls-secrets: 6d5bad86237f64f0dc1d6b4d091060e8a70725807ab98c600ead717d22c1935c
labels:
app: kuma-control-plane
app.kubernetes.io/name: kuma
Expand Down Expand Up @@ -779,6 +780,7 @@ webhooks:
- meshtimeouts
- meshtraces
- meshtrafficpermissions
- hostnamegenerators
- meshexternalservices
- meshservices
sideEffects: None
Expand Down Expand Up @@ -833,6 +835,7 @@ webhooks:
- meshtimeouts
- meshtraces
- meshtrafficpermissions
- hostnamegenerators
- meshexternalservices
- meshservices

Expand Down Expand Up @@ -960,6 +963,7 @@ webhooks:
- meshtimeouts
- meshtraces
- meshtrafficpermissions
- hostnamegenerators
- meshexternalservices
- meshservices

Expand Down
Loading

0 comments on commit 8e7fb30

Please sign in to comment.