Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(kumacp): mesh access log - proto + validation #4998

Merged
merged 27 commits into from
Sep 15, 2022
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
24c8bf3
feat(kumacp): bootstrap new policy
slonka Sep 13, 2022
aae1085
feat(kumacp): modify policy
slonka Sep 13, 2022
a9c4a73
feat(kumacp): update madr formats
slonka Sep 13, 2022
e871718
feat(kumacp): make full mesh access log example pass validator
slonka Sep 13, 2022
10096a0
feat(kumacp): more validations
slonka Sep 13, 2022
a5d9cfb
feat(kumacp): more validations
slonka Sep 13, 2022
af672ba
feat(kumacp): more validations - tcp and reference
slonka Sep 13, 2022
6e738fc
feat(kumacp): more validations - to and mesh gateway route
slonka Sep 13, 2022
b49d532
feat(kumacp): more validations - default must be defined
slonka Sep 13, 2022
6d986d1
feat(kumacp): update madr
slonka Sep 13, 2022
bc3f09a
feat(kumacp): make check pass
slonka Sep 13, 2022
8f47948
feat(kumacp): make check pass
slonka Sep 13, 2022
d10ea43
feat(kumacp): make policies stable
slonka Sep 13, 2022
14f0759
feat(kumacp): make check pass
slonka Sep 13, 2022
d5a86ab
feat(kumacp): update golden files
slonka Sep 13, 2022
dd9b3c4
feat(kumacp): skip registration
slonka Sep 13, 2022
cb8f771
feat(kumacp): skip registration 2
slonka Sep 13, 2022
98f71c0
Apply suggestions from code review
slonka Sep 14, 2022
4d17bd1
feat(kumacp): fix typos in test assertions
slonka Sep 14, 2022
e6f55e6
feat(kumacp): rename mesh access log types
slonka Sep 14, 2022
d16bcb4
feat(kumacp): change skip_registration to false
slonka Sep 14, 2022
0ae60d7
feat(kumacp): update golden files
slonka Sep 14, 2022
39a475d
feat(kumacp): add validations for file and tcp backend
slonka Sep 14, 2022
08c9767
feat(kumacp): add validation for reference
slonka Sep 14, 2022
99b4203
feat(kumacp): remove reference since it's not for this stage, this co…
slonka Sep 14, 2022
ec79f37
feat(kumacp): make check pass
slonka Sep 14, 2022
b20824e
feat(kumacp): update golden files
slonka Sep 14, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
103 changes: 103 additions & 0 deletions app/kumactl/cmd/completion/testdata/bash.golden
Original file line number Diff line number Diff line change
Expand Up @@ -1515,6 +1515,76 @@ _kumactl_get_mesh()
noun_aliases=()
}

_kumactl_get_meshaccesslog()
{
last_command="kumactl_get_meshaccesslog"

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_meshaccesslogs()
{
last_command="kumactl_get_meshaccesslogs"

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_meshes()
{
last_command="kumactl_get_meshes"
Expand Down Expand Up @@ -2692,6 +2762,8 @@ _kumactl_get()
commands+=("healthcheck")
commands+=("healthchecks")
commands+=("mesh")
commands+=("meshaccesslog")
commands+=("meshaccesslogs")
commands+=("meshes")
commands+=("meshgateway")
commands+=("meshgatewayroute")
Expand Down Expand Up @@ -2938,6 +3010,36 @@ _kumactl_inspect_healthcheck()
noun_aliases=()
}

_kumactl_inspect_meshaccesslog()
{
last_command="kumactl_inspect_meshaccesslog"

command_aliases=()

commands=()

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

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_inspect_meshes()
{
last_command="kumactl_inspect_meshes"
Expand Down Expand Up @@ -3467,6 +3569,7 @@ _kumactl_inspect()
commands+=("dataplanes")
commands+=("fault-injection")
commands+=("healthcheck")
commands+=("meshaccesslog")
commands+=("meshes")
commands+=("meshgateway")
commands+=("meshtrafficpermission")
Expand Down
Loading